- Split input into 3 regimes
if (- (/ y z) (/ t (- 1.0 z))) < -2.835758328218971e+274
Initial program 40.0
\[x \cdot \left(\frac{y}{z} - \frac{t}{1 - z}\right)\]
- Using strategy
rm Applied add-cube-cbrt40.0
\[\leadsto x \cdot \left(\frac{y}{z} - \frac{t}{\color{blue}{\left(\sqrt[3]{1 - z} \cdot \sqrt[3]{1 - z}\right) \cdot \sqrt[3]{1 - z}}}\right)\]
Applied *-un-lft-identity40.0
\[\leadsto x \cdot \left(\frac{y}{z} - \frac{\color{blue}{1 \cdot t}}{\left(\sqrt[3]{1 - z} \cdot \sqrt[3]{1 - z}\right) \cdot \sqrt[3]{1 - z}}\right)\]
Applied times-frac40.0
\[\leadsto x \cdot \left(\frac{y}{z} - \color{blue}{\frac{1}{\sqrt[3]{1 - z} \cdot \sqrt[3]{1 - z}} \cdot \frac{t}{\sqrt[3]{1 - z}}}\right)\]
- Using strategy
rm Applied associate-*r/40.0
\[\leadsto x \cdot \left(\frac{y}{z} - \color{blue}{\frac{\frac{1}{\sqrt[3]{1 - z} \cdot \sqrt[3]{1 - z}} \cdot t}{\sqrt[3]{1 - z}}}\right)\]
Applied frac-sub40.0
\[\leadsto x \cdot \color{blue}{\frac{y \cdot \sqrt[3]{1 - z} - z \cdot \left(\frac{1}{\sqrt[3]{1 - z} \cdot \sqrt[3]{1 - z}} \cdot t\right)}{z \cdot \sqrt[3]{1 - z}}}\]
Applied associate-*r/0.3
\[\leadsto \color{blue}{\frac{x \cdot \left(y \cdot \sqrt[3]{1 - z} - z \cdot \left(\frac{1}{\sqrt[3]{1 - z} \cdot \sqrt[3]{1 - z}} \cdot t\right)\right)}{z \cdot \sqrt[3]{1 - z}}}\]
if -2.835758328218971e+274 < (- (/ y z) (/ t (- 1.0 z))) < 1.0260174088170734e+99
Initial program 1.3
\[x \cdot \left(\frac{y}{z} - \frac{t}{1 - z}\right)\]
- Using strategy
rm Applied add-cube-cbrt1.6
\[\leadsto x \cdot \left(\frac{y}{z} - \frac{t}{\color{blue}{\left(\sqrt[3]{1 - z} \cdot \sqrt[3]{1 - z}\right) \cdot \sqrt[3]{1 - z}}}\right)\]
Applied *-un-lft-identity1.6
\[\leadsto x \cdot \left(\frac{y}{z} - \frac{\color{blue}{1 \cdot t}}{\left(\sqrt[3]{1 - z} \cdot \sqrt[3]{1 - z}\right) \cdot \sqrt[3]{1 - z}}\right)\]
Applied times-frac1.6
\[\leadsto x \cdot \left(\frac{y}{z} - \color{blue}{\frac{1}{\sqrt[3]{1 - z} \cdot \sqrt[3]{1 - z}} \cdot \frac{t}{\sqrt[3]{1 - z}}}\right)\]
if 1.0260174088170734e+99 < (- (/ y z) (/ t (- 1.0 z)))
Initial program 10.3
\[x \cdot \left(\frac{y}{z} - \frac{t}{1 - z}\right)\]
- Using strategy
rm Applied add-cube-cbrt11.3
\[\leadsto \color{blue}{\left(\left(\sqrt[3]{x} \cdot \sqrt[3]{x}\right) \cdot \sqrt[3]{x}\right)} \cdot \left(\frac{y}{z} - \frac{t}{1 - z}\right)\]
Applied associate-*l*11.3
\[\leadsto \color{blue}{\left(\sqrt[3]{x} \cdot \sqrt[3]{x}\right) \cdot \left(\sqrt[3]{x} \cdot \left(\frac{y}{z} - \frac{t}{1 - z}\right)\right)}\]
- Using strategy
rm Applied sub-neg11.3
\[\leadsto \left(\sqrt[3]{x} \cdot \sqrt[3]{x}\right) \cdot \left(\sqrt[3]{x} \cdot \color{blue}{\left(\frac{y}{z} + \left(-\frac{t}{1 - z}\right)\right)}\right)\]
Applied distribute-lft-in11.3
\[\leadsto \left(\sqrt[3]{x} \cdot \sqrt[3]{x}\right) \cdot \color{blue}{\left(\sqrt[3]{x} \cdot \frac{y}{z} + \sqrt[3]{x} \cdot \left(-\frac{t}{1 - z}\right)\right)}\]
Applied distribute-lft-in11.3
\[\leadsto \color{blue}{\left(\sqrt[3]{x} \cdot \sqrt[3]{x}\right) \cdot \left(\sqrt[3]{x} \cdot \frac{y}{z}\right) + \left(\sqrt[3]{x} \cdot \sqrt[3]{x}\right) \cdot \left(\sqrt[3]{x} \cdot \left(-\frac{t}{1 - z}\right)\right)}\]
Simplified2.5
\[\leadsto \color{blue}{\frac{x \cdot y}{z}} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x}\right) \cdot \left(\sqrt[3]{x} \cdot \left(-\frac{t}{1 - z}\right)\right)\]
Simplified2.1
\[\leadsto \frac{x \cdot y}{z} + \color{blue}{x \cdot \frac{-\frac{t}{1 - z}}{1}}\]
- Recombined 3 regimes into one program.
Final simplification1.6
\[\leadsto \begin{array}{l}
\mathbf{if}\;\frac{y}{z} - \frac{t}{1 - z} \le -2.835758328218971 \cdot 10^{274}:\\
\;\;\;\;\frac{x \cdot \left(y \cdot \sqrt[3]{1 - z} - z \cdot \left(\frac{1}{\sqrt[3]{1 - z} \cdot \sqrt[3]{1 - z}} \cdot t\right)\right)}{z \cdot \sqrt[3]{1 - z}}\\
\mathbf{elif}\;\frac{y}{z} - \frac{t}{1 - z} \le 1.0260174088170734 \cdot 10^{99}:\\
\;\;\;\;x \cdot \left(\frac{y}{z} - \frac{1}{\sqrt[3]{1 - z} \cdot \sqrt[3]{1 - z}} \cdot \frac{t}{\sqrt[3]{1 - z}}\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{x \cdot y}{z} + x \cdot \frac{-\frac{t}{1 - z}}{1}\\
\end{array}\]