Graphics.Rendering.Chart.Plot.AreaSpots:renderAreaSpots4D from Chart-1.5.3

Percentage Accurate: 84.4% → 97.0%
Time: 8.3s
Alternatives: 14
Speedup: 1.0×

Specification

?
\[\begin{array}{l} \\ \frac{x \cdot \left(y - z\right)}{t - z} \end{array} \]
(FPCore (x y z t) :precision binary64 (/ (* x (- y z)) (- t z)))
double code(double x, double y, double z, double t) {
	return (x * (y - z)) / (t - z);
}
real(8) function code(x, y, z, t)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    code = (x * (y - z)) / (t - z)
end function
public static double code(double x, double y, double z, double t) {
	return (x * (y - z)) / (t - z);
}
def code(x, y, z, t):
	return (x * (y - z)) / (t - z)
function code(x, y, z, t)
	return Float64(Float64(x * Float64(y - z)) / Float64(t - z))
end
function tmp = code(x, y, z, t)
	tmp = (x * (y - z)) / (t - z);
end
code[x_, y_, z_, t_] := N[(N[(x * N[(y - z), $MachinePrecision]), $MachinePrecision] / N[(t - z), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\frac{x \cdot \left(y - z\right)}{t - z}
\end{array}

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

The average percentage accuracy by input value. Horizontal axis shows value of an input variable; the variable is choosen in the title. Vertical axis is accuracy; higher is better. Red represent the original program, while blue represents Herbie's suggestion. These can be toggled with buttons below the plot. The line is an average while dots represent individual samples.

Accuracy vs Speed?

Herbie found 14 alternatives:

AlternativeAccuracySpeedup
The accuracy (vertical axis) and speed (horizontal axis) of each alternatives. Up and to the right is better. The red square shows the initial program, and each blue circle shows an alternative.The line shows the best available speed-accuracy tradeoffs.

Initial Program: 84.4% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \frac{x \cdot \left(y - z\right)}{t - z} \end{array} \]
(FPCore (x y z t) :precision binary64 (/ (* x (- y z)) (- t z)))
double code(double x, double y, double z, double t) {
	return (x * (y - z)) / (t - z);
}
real(8) function code(x, y, z, t)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    code = (x * (y - z)) / (t - z)
end function
public static double code(double x, double y, double z, double t) {
	return (x * (y - z)) / (t - z);
}
def code(x, y, z, t):
	return (x * (y - z)) / (t - z)
function code(x, y, z, t)
	return Float64(Float64(x * Float64(y - z)) / Float64(t - z))
end
function tmp = code(x, y, z, t)
	tmp = (x * (y - z)) / (t - z);
end
code[x_, y_, z_, t_] := N[(N[(x * N[(y - z), $MachinePrecision]), $MachinePrecision] / N[(t - z), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\frac{x \cdot \left(y - z\right)}{t - z}
\end{array}

Alternative 1: 97.0% accurate, 0.8× speedup?

\[\begin{array}{l} \\ \frac{x}{\frac{t - z}{y - z}} \end{array} \]
(FPCore (x y z t) :precision binary64 (/ x (/ (- t z) (- y z))))
double code(double x, double y, double z, double t) {
	return x / ((t - z) / (y - z));
}
real(8) function code(x, y, z, t)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    code = x / ((t - z) / (y - z))
end function
public static double code(double x, double y, double z, double t) {
	return x / ((t - z) / (y - z));
}
def code(x, y, z, t):
	return x / ((t - z) / (y - z))
function code(x, y, z, t)
	return Float64(x / Float64(Float64(t - z) / Float64(y - z)))
end
function tmp = code(x, y, z, t)
	tmp = x / ((t - z) / (y - z));
end
code[x_, y_, z_, t_] := N[(x / N[(N[(t - z), $MachinePrecision] / N[(y - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\frac{x}{\frac{t - z}{y - z}}
\end{array}
Derivation
  1. Initial program 86.9%

    \[\frac{x \cdot \left(y - z\right)}{t - z} \]
  2. Add Preprocessing
  3. Step-by-step derivation
    1. lift-/.f64N/A

      \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t - z}} \]
    2. lift-*.f64N/A

      \[\leadsto \frac{\color{blue}{x \cdot \left(y - z\right)}}{t - z} \]
    3. associate-/l*N/A

      \[\leadsto \color{blue}{x \cdot \frac{y - z}{t - z}} \]
    4. clear-numN/A

      \[\leadsto x \cdot \color{blue}{\frac{1}{\frac{t - z}{y - z}}} \]
    5. un-div-invN/A

      \[\leadsto \color{blue}{\frac{x}{\frac{t - z}{y - z}}} \]
    6. lower-/.f64N/A

      \[\leadsto \color{blue}{\frac{x}{\frac{t - z}{y - z}}} \]
    7. lower-/.f6497.6

      \[\leadsto \frac{x}{\color{blue}{\frac{t - z}{y - z}}} \]
  4. Applied rewrites97.6%

    \[\leadsto \color{blue}{\frac{x}{\frac{t - z}{y - z}}} \]
  5. Add Preprocessing

Alternative 2: 87.0% accurate, 0.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{\left(y - z\right) \cdot x}{t - z}\\ t_2 := \frac{x}{t - z} \cdot \left(y - z\right)\\ \mathbf{if}\;t\_1 \leq -2 \cdot 10^{-180}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t\_1 \leq 10^{-184}:\\ \;\;\;\;\frac{z}{z - t} \cdot x\\ \mathbf{else}:\\ \;\;\;\;t\_2\\ \end{array} \end{array} \]
(FPCore (x y z t)
 :precision binary64
 (let* ((t_1 (/ (* (- y z) x) (- t z))) (t_2 (* (/ x (- t z)) (- y z))))
   (if (<= t_1 -2e-180) t_2 (if (<= t_1 1e-184) (* (/ z (- z t)) x) t_2))))
double code(double x, double y, double z, double t) {
	double t_1 = ((y - z) * x) / (t - z);
	double t_2 = (x / (t - z)) * (y - z);
	double tmp;
	if (t_1 <= -2e-180) {
		tmp = t_2;
	} else if (t_1 <= 1e-184) {
		tmp = (z / (z - t)) * x;
	} else {
		tmp = t_2;
	}
	return tmp;
}
real(8) function code(x, y, z, t)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8) :: t_1
    real(8) :: t_2
    real(8) :: tmp
    t_1 = ((y - z) * x) / (t - z)
    t_2 = (x / (t - z)) * (y - z)
    if (t_1 <= (-2d-180)) then
        tmp = t_2
    else if (t_1 <= 1d-184) then
        tmp = (z / (z - t)) * x
    else
        tmp = t_2
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t) {
	double t_1 = ((y - z) * x) / (t - z);
	double t_2 = (x / (t - z)) * (y - z);
	double tmp;
	if (t_1 <= -2e-180) {
		tmp = t_2;
	} else if (t_1 <= 1e-184) {
		tmp = (z / (z - t)) * x;
	} else {
		tmp = t_2;
	}
	return tmp;
}
def code(x, y, z, t):
	t_1 = ((y - z) * x) / (t - z)
	t_2 = (x / (t - z)) * (y - z)
	tmp = 0
	if t_1 <= -2e-180:
		tmp = t_2
	elif t_1 <= 1e-184:
		tmp = (z / (z - t)) * x
	else:
		tmp = t_2
	return tmp
function code(x, y, z, t)
	t_1 = Float64(Float64(Float64(y - z) * x) / Float64(t - z))
	t_2 = Float64(Float64(x / Float64(t - z)) * Float64(y - z))
	tmp = 0.0
	if (t_1 <= -2e-180)
		tmp = t_2;
	elseif (t_1 <= 1e-184)
		tmp = Float64(Float64(z / Float64(z - t)) * x);
	else
		tmp = t_2;
	end
	return tmp
end
function tmp_2 = code(x, y, z, t)
	t_1 = ((y - z) * x) / (t - z);
	t_2 = (x / (t - z)) * (y - z);
	tmp = 0.0;
	if (t_1 <= -2e-180)
		tmp = t_2;
	elseif (t_1 <= 1e-184)
		tmp = (z / (z - t)) * x;
	else
		tmp = t_2;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(N[(y - z), $MachinePrecision] * x), $MachinePrecision] / N[(t - z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x / N[(t - z), $MachinePrecision]), $MachinePrecision] * N[(y - z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -2e-180], t$95$2, If[LessEqual[t$95$1, 1e-184], N[(N[(z / N[(z - t), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], t$95$2]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \frac{\left(y - z\right) \cdot x}{t - z}\\
t_2 := \frac{x}{t - z} \cdot \left(y - z\right)\\
\mathbf{if}\;t\_1 \leq -2 \cdot 10^{-180}:\\
\;\;\;\;t\_2\\

\mathbf{elif}\;t\_1 \leq 10^{-184}:\\
\;\;\;\;\frac{z}{z - t} \cdot x\\

\mathbf{else}:\\
\;\;\;\;t\_2\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (/.f64 (*.f64 x (-.f64 y z)) (-.f64 t z)) < -2e-180 or 1.0000000000000001e-184 < (/.f64 (*.f64 x (-.f64 y z)) (-.f64 t z))

    1. Initial program 84.4%

      \[\frac{x \cdot \left(y - z\right)}{t - z} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. lift-/.f64N/A

        \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t - z}} \]
      2. lift-*.f64N/A

        \[\leadsto \frac{\color{blue}{x \cdot \left(y - z\right)}}{t - z} \]
      3. *-commutativeN/A

        \[\leadsto \frac{\color{blue}{\left(y - z\right) \cdot x}}{t - z} \]
      4. associate-/l*N/A

        \[\leadsto \color{blue}{\left(y - z\right) \cdot \frac{x}{t - z}} \]
      5. *-commutativeN/A

        \[\leadsto \color{blue}{\frac{x}{t - z} \cdot \left(y - z\right)} \]
      6. lower-*.f64N/A

        \[\leadsto \color{blue}{\frac{x}{t - z} \cdot \left(y - z\right)} \]
      7. lower-/.f6495.7

        \[\leadsto \color{blue}{\frac{x}{t - z}} \cdot \left(y - z\right) \]
    4. Applied rewrites95.7%

      \[\leadsto \color{blue}{\frac{x}{t - z} \cdot \left(y - z\right)} \]

    if -2e-180 < (/.f64 (*.f64 x (-.f64 y z)) (-.f64 t z)) < 1.0000000000000001e-184

    1. Initial program 94.9%

      \[\frac{x \cdot \left(y - z\right)}{t - z} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. lift-/.f64N/A

        \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t - z}} \]
      2. lift-*.f64N/A

        \[\leadsto \frac{\color{blue}{x \cdot \left(y - z\right)}}{t - z} \]
      3. associate-/l*N/A

        \[\leadsto \color{blue}{x \cdot \frac{y - z}{t - z}} \]
      4. *-commutativeN/A

        \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
      5. lower-*.f64N/A

        \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
      6. lower-/.f6499.8

        \[\leadsto \color{blue}{\frac{y - z}{t - z}} \cdot x \]
    4. Applied rewrites99.8%

      \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
    5. Taylor expanded in y around 0

      \[\leadsto \color{blue}{\left(-1 \cdot \frac{z}{t - z}\right)} \cdot x \]
    6. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{z}{t - z}\right)\right)} \cdot x \]
      2. distribute-neg-frac2N/A

        \[\leadsto \color{blue}{\frac{z}{\mathsf{neg}\left(\left(t - z\right)\right)}} \cdot x \]
      3. mul-1-negN/A

        \[\leadsto \frac{z}{\color{blue}{-1 \cdot \left(t - z\right)}} \cdot x \]
      4. lower-/.f64N/A

        \[\leadsto \color{blue}{\frac{z}{-1 \cdot \left(t - z\right)}} \cdot x \]
      5. mul-1-negN/A

        \[\leadsto \frac{z}{\color{blue}{\mathsf{neg}\left(\left(t - z\right)\right)}} \cdot x \]
      6. sub-negN/A

        \[\leadsto \frac{z}{\mathsf{neg}\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(z\right)\right)\right)}\right)} \cdot x \]
      7. +-commutativeN/A

        \[\leadsto \frac{z}{\mathsf{neg}\left(\color{blue}{\left(\left(\mathsf{neg}\left(z\right)\right) + t\right)}\right)} \cdot x \]
      8. distribute-neg-inN/A

        \[\leadsto \frac{z}{\color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(z\right)\right)\right)\right) + \left(\mathsf{neg}\left(t\right)\right)}} \cdot x \]
      9. unsub-negN/A

        \[\leadsto \frac{z}{\color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(z\right)\right)\right)\right) - t}} \cdot x \]
      10. remove-double-negN/A

        \[\leadsto \frac{z}{\color{blue}{z} - t} \cdot x \]
      11. lower--.f6485.6

        \[\leadsto \frac{z}{\color{blue}{z - t}} \cdot x \]
    7. Applied rewrites85.6%

      \[\leadsto \color{blue}{\frac{z}{z - t}} \cdot x \]
  3. Recombined 2 regimes into one program.
  4. Final simplification93.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{\left(y - z\right) \cdot x}{t - z} \leq -2 \cdot 10^{-180}:\\ \;\;\;\;\frac{x}{t - z} \cdot \left(y - z\right)\\ \mathbf{elif}\;\frac{\left(y - z\right) \cdot x}{t - z} \leq 10^{-184}:\\ \;\;\;\;\frac{z}{z - t} \cdot x\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{t - z} \cdot \left(y - z\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 3: 69.7% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z \cdot x}{z - t}\\ \mathbf{if}\;z \leq -5.8 \cdot 10^{+159}:\\ \;\;\;\;x - \frac{y \cdot x}{z}\\ \mathbf{elif}\;z \leq -5200000:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -4.2 \cdot 10^{-59}:\\ \;\;\;\;\frac{x}{t - z} \cdot y\\ \mathbf{elif}\;z \leq 1.26 \cdot 10^{-70}:\\ \;\;\;\;\frac{\left(y - z\right) \cdot x}{t}\\ \mathbf{elif}\;z \leq 1.9 \cdot 10^{+121}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;1 \cdot x\\ \end{array} \end{array} \]
(FPCore (x y z t)
 :precision binary64
 (let* ((t_1 (/ (* z x) (- z t))))
   (if (<= z -5.8e+159)
     (- x (/ (* y x) z))
     (if (<= z -5200000.0)
       t_1
       (if (<= z -4.2e-59)
         (* (/ x (- t z)) y)
         (if (<= z 1.26e-70)
           (/ (* (- y z) x) t)
           (if (<= z 1.9e+121) t_1 (* 1.0 x))))))))
double code(double x, double y, double z, double t) {
	double t_1 = (z * x) / (z - t);
	double tmp;
	if (z <= -5.8e+159) {
		tmp = x - ((y * x) / z);
	} else if (z <= -5200000.0) {
		tmp = t_1;
	} else if (z <= -4.2e-59) {
		tmp = (x / (t - z)) * y;
	} else if (z <= 1.26e-70) {
		tmp = ((y - z) * x) / t;
	} else if (z <= 1.9e+121) {
		tmp = t_1;
	} else {
		tmp = 1.0 * x;
	}
	return tmp;
}
real(8) function code(x, y, z, t)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8) :: t_1
    real(8) :: tmp
    t_1 = (z * x) / (z - t)
    if (z <= (-5.8d+159)) then
        tmp = x - ((y * x) / z)
    else if (z <= (-5200000.0d0)) then
        tmp = t_1
    else if (z <= (-4.2d-59)) then
        tmp = (x / (t - z)) * y
    else if (z <= 1.26d-70) then
        tmp = ((y - z) * x) / t
    else if (z <= 1.9d+121) then
        tmp = t_1
    else
        tmp = 1.0d0 * x
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t) {
	double t_1 = (z * x) / (z - t);
	double tmp;
	if (z <= -5.8e+159) {
		tmp = x - ((y * x) / z);
	} else if (z <= -5200000.0) {
		tmp = t_1;
	} else if (z <= -4.2e-59) {
		tmp = (x / (t - z)) * y;
	} else if (z <= 1.26e-70) {
		tmp = ((y - z) * x) / t;
	} else if (z <= 1.9e+121) {
		tmp = t_1;
	} else {
		tmp = 1.0 * x;
	}
	return tmp;
}
def code(x, y, z, t):
	t_1 = (z * x) / (z - t)
	tmp = 0
	if z <= -5.8e+159:
		tmp = x - ((y * x) / z)
	elif z <= -5200000.0:
		tmp = t_1
	elif z <= -4.2e-59:
		tmp = (x / (t - z)) * y
	elif z <= 1.26e-70:
		tmp = ((y - z) * x) / t
	elif z <= 1.9e+121:
		tmp = t_1
	else:
		tmp = 1.0 * x
	return tmp
function code(x, y, z, t)
	t_1 = Float64(Float64(z * x) / Float64(z - t))
	tmp = 0.0
	if (z <= -5.8e+159)
		tmp = Float64(x - Float64(Float64(y * x) / z));
	elseif (z <= -5200000.0)
		tmp = t_1;
	elseif (z <= -4.2e-59)
		tmp = Float64(Float64(x / Float64(t - z)) * y);
	elseif (z <= 1.26e-70)
		tmp = Float64(Float64(Float64(y - z) * x) / t);
	elseif (z <= 1.9e+121)
		tmp = t_1;
	else
		tmp = Float64(1.0 * x);
	end
	return tmp
end
function tmp_2 = code(x, y, z, t)
	t_1 = (z * x) / (z - t);
	tmp = 0.0;
	if (z <= -5.8e+159)
		tmp = x - ((y * x) / z);
	elseif (z <= -5200000.0)
		tmp = t_1;
	elseif (z <= -4.2e-59)
		tmp = (x / (t - z)) * y;
	elseif (z <= 1.26e-70)
		tmp = ((y - z) * x) / t;
	elseif (z <= 1.9e+121)
		tmp = t_1;
	else
		tmp = 1.0 * x;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(z * x), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -5.8e+159], N[(x - N[(N[(y * x), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -5200000.0], t$95$1, If[LessEqual[z, -4.2e-59], N[(N[(x / N[(t - z), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[z, 1.26e-70], N[(N[(N[(y - z), $MachinePrecision] * x), $MachinePrecision] / t), $MachinePrecision], If[LessEqual[z, 1.9e+121], t$95$1, N[(1.0 * x), $MachinePrecision]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \frac{z \cdot x}{z - t}\\
\mathbf{if}\;z \leq -5.8 \cdot 10^{+159}:\\
\;\;\;\;x - \frac{y \cdot x}{z}\\

\mathbf{elif}\;z \leq -5200000:\\
\;\;\;\;t\_1\\

\mathbf{elif}\;z \leq -4.2 \cdot 10^{-59}:\\
\;\;\;\;\frac{x}{t - z} \cdot y\\

\mathbf{elif}\;z \leq 1.26 \cdot 10^{-70}:\\
\;\;\;\;\frac{\left(y - z\right) \cdot x}{t}\\

\mathbf{elif}\;z \leq 1.9 \cdot 10^{+121}:\\
\;\;\;\;t\_1\\

\mathbf{else}:\\
\;\;\;\;1 \cdot x\\


\end{array}
\end{array}
Derivation
  1. Split input into 5 regimes
  2. if z < -5.80000000000000029e159

    1. Initial program 66.8%

      \[\frac{x \cdot \left(y - z\right)}{t - z} \]
    2. Add Preprocessing
    3. Taylor expanded in t around 0

      \[\leadsto \color{blue}{-1 \cdot \frac{x \cdot \left(y - z\right)}{z}} \]
    4. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(\frac{x \cdot \left(y - z\right)}{z}\right)} \]
      2. neg-sub0N/A

        \[\leadsto \color{blue}{0 - \frac{x \cdot \left(y - z\right)}{z}} \]
      3. associate-/l*N/A

        \[\leadsto 0 - \color{blue}{x \cdot \frac{y - z}{z}} \]
      4. div-subN/A

        \[\leadsto 0 - x \cdot \color{blue}{\left(\frac{y}{z} - \frac{z}{z}\right)} \]
      5. sub-negN/A

        \[\leadsto 0 - x \cdot \color{blue}{\left(\frac{y}{z} + \left(\mathsf{neg}\left(\frac{z}{z}\right)\right)\right)} \]
      6. *-inversesN/A

        \[\leadsto 0 - x \cdot \left(\frac{y}{z} + \left(\mathsf{neg}\left(\color{blue}{1}\right)\right)\right) \]
      7. metadata-evalN/A

        \[\leadsto 0 - x \cdot \left(\frac{y}{z} + \color{blue}{-1}\right) \]
      8. distribute-lft-outN/A

        \[\leadsto 0 - \color{blue}{\left(x \cdot \frac{y}{z} + x \cdot -1\right)} \]
      9. associate-/l*N/A

        \[\leadsto 0 - \left(\color{blue}{\frac{x \cdot y}{z}} + x \cdot -1\right) \]
      10. *-commutativeN/A

        \[\leadsto 0 - \left(\frac{x \cdot y}{z} + \color{blue}{-1 \cdot x}\right) \]
      11. mul-1-negN/A

        \[\leadsto 0 - \left(\frac{x \cdot y}{z} + \color{blue}{\left(\mathsf{neg}\left(x\right)\right)}\right) \]
      12. unsub-negN/A

        \[\leadsto 0 - \color{blue}{\left(\frac{x \cdot y}{z} - x\right)} \]
      13. associate-+l-N/A

        \[\leadsto \color{blue}{\left(0 - \frac{x \cdot y}{z}\right) + x} \]
      14. neg-sub0N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{x \cdot y}{z}\right)\right)} + x \]
      15. mul-1-negN/A

        \[\leadsto \color{blue}{-1 \cdot \frac{x \cdot y}{z}} + x \]
      16. +-commutativeN/A

        \[\leadsto \color{blue}{x + -1 \cdot \frac{x \cdot y}{z}} \]
      17. mul-1-negN/A

        \[\leadsto x + \color{blue}{\left(\mathsf{neg}\left(\frac{x \cdot y}{z}\right)\right)} \]
      18. unsub-negN/A

        \[\leadsto \color{blue}{x - \frac{x \cdot y}{z}} \]
      19. lower--.f64N/A

        \[\leadsto \color{blue}{x - \frac{x \cdot y}{z}} \]
      20. lower-/.f64N/A

        \[\leadsto x - \color{blue}{\frac{x \cdot y}{z}} \]
      21. *-commutativeN/A

        \[\leadsto x - \frac{\color{blue}{y \cdot x}}{z} \]
      22. lower-*.f6493.3

        \[\leadsto x - \frac{\color{blue}{y \cdot x}}{z} \]
    5. Applied rewrites93.3%

      \[\leadsto \color{blue}{x - \frac{y \cdot x}{z}} \]

    if -5.80000000000000029e159 < z < -5.2e6 or 1.2600000000000001e-70 < z < 1.9e121

    1. Initial program 91.1%

      \[\frac{x \cdot \left(y - z\right)}{t - z} \]
    2. Add Preprocessing
    3. Taylor expanded in z around 0

      \[\leadsto \color{blue}{\frac{x \cdot y}{t}} \]
    4. Step-by-step derivation
      1. lower-/.f64N/A

        \[\leadsto \color{blue}{\frac{x \cdot y}{t}} \]
      2. *-commutativeN/A

        \[\leadsto \frac{\color{blue}{y \cdot x}}{t} \]
      3. lower-*.f6415.7

        \[\leadsto \frac{\color{blue}{y \cdot x}}{t} \]
    5. Applied rewrites15.7%

      \[\leadsto \color{blue}{\frac{y \cdot x}{t}} \]
    6. Taylor expanded in y around 0

      \[\leadsto \color{blue}{-1 \cdot \frac{x \cdot z}{t - z}} \]
    7. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(\frac{x \cdot z}{t - z}\right)} \]
      2. distribute-neg-frac2N/A

        \[\leadsto \color{blue}{\frac{x \cdot z}{\mathsf{neg}\left(\left(t - z\right)\right)}} \]
      3. mul-1-negN/A

        \[\leadsto \frac{x \cdot z}{\color{blue}{-1 \cdot \left(t - z\right)}} \]
      4. lower-/.f64N/A

        \[\leadsto \color{blue}{\frac{x \cdot z}{-1 \cdot \left(t - z\right)}} \]
      5. *-commutativeN/A

        \[\leadsto \frac{\color{blue}{z \cdot x}}{-1 \cdot \left(t - z\right)} \]
      6. lower-*.f64N/A

        \[\leadsto \frac{\color{blue}{z \cdot x}}{-1 \cdot \left(t - z\right)} \]
      7. mul-1-negN/A

        \[\leadsto \frac{z \cdot x}{\color{blue}{\mathsf{neg}\left(\left(t - z\right)\right)}} \]
      8. sub-negN/A

        \[\leadsto \frac{z \cdot x}{\mathsf{neg}\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(z\right)\right)\right)}\right)} \]
      9. +-commutativeN/A

        \[\leadsto \frac{z \cdot x}{\mathsf{neg}\left(\color{blue}{\left(\left(\mathsf{neg}\left(z\right)\right) + t\right)}\right)} \]
      10. distribute-neg-inN/A

        \[\leadsto \frac{z \cdot x}{\color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(z\right)\right)\right)\right) + \left(\mathsf{neg}\left(t\right)\right)}} \]
      11. unsub-negN/A

        \[\leadsto \frac{z \cdot x}{\color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(z\right)\right)\right)\right) - t}} \]
      12. remove-double-negN/A

        \[\leadsto \frac{z \cdot x}{\color{blue}{z} - t} \]
      13. lower--.f6476.4

        \[\leadsto \frac{z \cdot x}{\color{blue}{z - t}} \]
    8. Applied rewrites76.4%

      \[\leadsto \color{blue}{\frac{z \cdot x}{z - t}} \]

    if -5.2e6 < z < -4.19999999999999993e-59

    1. Initial program 99.7%

      \[\frac{x \cdot \left(y - z\right)}{t - z} \]
    2. Add Preprocessing
    3. Taylor expanded in y around inf

      \[\leadsto \color{blue}{\frac{x \cdot y}{t - z}} \]
    4. Step-by-step derivation
      1. associate-*l/N/A

        \[\leadsto \color{blue}{\frac{x}{t - z} \cdot y} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\frac{x}{t - z} \cdot y} \]
      3. lower-/.f64N/A

        \[\leadsto \color{blue}{\frac{x}{t - z}} \cdot y \]
      4. lower--.f6481.1

        \[\leadsto \frac{x}{\color{blue}{t - z}} \cdot y \]
    5. Applied rewrites81.1%

      \[\leadsto \color{blue}{\frac{x}{t - z} \cdot y} \]

    if -4.19999999999999993e-59 < z < 1.2600000000000001e-70

    1. Initial program 96.2%

      \[\frac{x \cdot \left(y - z\right)}{t - z} \]
    2. Add Preprocessing
    3. Taylor expanded in t around inf

      \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t}} \]
    4. Step-by-step derivation
      1. lower-/.f64N/A

        \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t}} \]
      2. *-commutativeN/A

        \[\leadsto \frac{\color{blue}{\left(y - z\right) \cdot x}}{t} \]
      3. lower-*.f64N/A

        \[\leadsto \frac{\color{blue}{\left(y - z\right) \cdot x}}{t} \]
      4. lower--.f6484.9

        \[\leadsto \frac{\color{blue}{\left(y - z\right)} \cdot x}{t} \]
    5. Applied rewrites84.9%

      \[\leadsto \color{blue}{\frac{\left(y - z\right) \cdot x}{t}} \]

    if 1.9e121 < z

    1. Initial program 64.8%

      \[\frac{x \cdot \left(y - z\right)}{t - z} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. lift-/.f64N/A

        \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t - z}} \]
      2. lift-*.f64N/A

        \[\leadsto \frac{\color{blue}{x \cdot \left(y - z\right)}}{t - z} \]
      3. associate-/l*N/A

        \[\leadsto \color{blue}{x \cdot \frac{y - z}{t - z}} \]
      4. *-commutativeN/A

        \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
      5. lower-*.f64N/A

        \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
      6. lower-/.f6499.9

        \[\leadsto \color{blue}{\frac{y - z}{t - z}} \cdot x \]
    4. Applied rewrites99.9%

      \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
    5. Taylor expanded in z around inf

      \[\leadsto \color{blue}{1} \cdot x \]
    6. Step-by-step derivation
      1. Applied rewrites72.1%

        \[\leadsto \color{blue}{1} \cdot x \]
    7. Recombined 5 regimes into one program.
    8. Add Preprocessing

    Alternative 4: 71.3% accurate, 0.5× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z \cdot x}{z - t}\\ \mathbf{if}\;z \leq -5.8 \cdot 10^{+159}:\\ \;\;\;\;x - \frac{y \cdot x}{z}\\ \mathbf{elif}\;z \leq -5200000:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 8 \cdot 10^{-71}:\\ \;\;\;\;\frac{x}{t - z} \cdot y\\ \mathbf{elif}\;z \leq 1.9 \cdot 10^{+121}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;1 \cdot x\\ \end{array} \end{array} \]
    (FPCore (x y z t)
     :precision binary64
     (let* ((t_1 (/ (* z x) (- z t))))
       (if (<= z -5.8e+159)
         (- x (/ (* y x) z))
         (if (<= z -5200000.0)
           t_1
           (if (<= z 8e-71)
             (* (/ x (- t z)) y)
             (if (<= z 1.9e+121) t_1 (* 1.0 x)))))))
    double code(double x, double y, double z, double t) {
    	double t_1 = (z * x) / (z - t);
    	double tmp;
    	if (z <= -5.8e+159) {
    		tmp = x - ((y * x) / z);
    	} else if (z <= -5200000.0) {
    		tmp = t_1;
    	} else if (z <= 8e-71) {
    		tmp = (x / (t - z)) * y;
    	} else if (z <= 1.9e+121) {
    		tmp = t_1;
    	} else {
    		tmp = 1.0 * x;
    	}
    	return tmp;
    }
    
    real(8) function code(x, y, z, t)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        real(8), intent (in) :: z
        real(8), intent (in) :: t
        real(8) :: t_1
        real(8) :: tmp
        t_1 = (z * x) / (z - t)
        if (z <= (-5.8d+159)) then
            tmp = x - ((y * x) / z)
        else if (z <= (-5200000.0d0)) then
            tmp = t_1
        else if (z <= 8d-71) then
            tmp = (x / (t - z)) * y
        else if (z <= 1.9d+121) then
            tmp = t_1
        else
            tmp = 1.0d0 * x
        end if
        code = tmp
    end function
    
    public static double code(double x, double y, double z, double t) {
    	double t_1 = (z * x) / (z - t);
    	double tmp;
    	if (z <= -5.8e+159) {
    		tmp = x - ((y * x) / z);
    	} else if (z <= -5200000.0) {
    		tmp = t_1;
    	} else if (z <= 8e-71) {
    		tmp = (x / (t - z)) * y;
    	} else if (z <= 1.9e+121) {
    		tmp = t_1;
    	} else {
    		tmp = 1.0 * x;
    	}
    	return tmp;
    }
    
    def code(x, y, z, t):
    	t_1 = (z * x) / (z - t)
    	tmp = 0
    	if z <= -5.8e+159:
    		tmp = x - ((y * x) / z)
    	elif z <= -5200000.0:
    		tmp = t_1
    	elif z <= 8e-71:
    		tmp = (x / (t - z)) * y
    	elif z <= 1.9e+121:
    		tmp = t_1
    	else:
    		tmp = 1.0 * x
    	return tmp
    
    function code(x, y, z, t)
    	t_1 = Float64(Float64(z * x) / Float64(z - t))
    	tmp = 0.0
    	if (z <= -5.8e+159)
    		tmp = Float64(x - Float64(Float64(y * x) / z));
    	elseif (z <= -5200000.0)
    		tmp = t_1;
    	elseif (z <= 8e-71)
    		tmp = Float64(Float64(x / Float64(t - z)) * y);
    	elseif (z <= 1.9e+121)
    		tmp = t_1;
    	else
    		tmp = Float64(1.0 * x);
    	end
    	return tmp
    end
    
    function tmp_2 = code(x, y, z, t)
    	t_1 = (z * x) / (z - t);
    	tmp = 0.0;
    	if (z <= -5.8e+159)
    		tmp = x - ((y * x) / z);
    	elseif (z <= -5200000.0)
    		tmp = t_1;
    	elseif (z <= 8e-71)
    		tmp = (x / (t - z)) * y;
    	elseif (z <= 1.9e+121)
    		tmp = t_1;
    	else
    		tmp = 1.0 * x;
    	end
    	tmp_2 = tmp;
    end
    
    code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(z * x), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -5.8e+159], N[(x - N[(N[(y * x), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -5200000.0], t$95$1, If[LessEqual[z, 8e-71], N[(N[(x / N[(t - z), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[z, 1.9e+121], t$95$1, N[(1.0 * x), $MachinePrecision]]]]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    t_1 := \frac{z \cdot x}{z - t}\\
    \mathbf{if}\;z \leq -5.8 \cdot 10^{+159}:\\
    \;\;\;\;x - \frac{y \cdot x}{z}\\
    
    \mathbf{elif}\;z \leq -5200000:\\
    \;\;\;\;t\_1\\
    
    \mathbf{elif}\;z \leq 8 \cdot 10^{-71}:\\
    \;\;\;\;\frac{x}{t - z} \cdot y\\
    
    \mathbf{elif}\;z \leq 1.9 \cdot 10^{+121}:\\
    \;\;\;\;t\_1\\
    
    \mathbf{else}:\\
    \;\;\;\;1 \cdot x\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 4 regimes
    2. if z < -5.80000000000000029e159

      1. Initial program 66.8%

        \[\frac{x \cdot \left(y - z\right)}{t - z} \]
      2. Add Preprocessing
      3. Taylor expanded in t around 0

        \[\leadsto \color{blue}{-1 \cdot \frac{x \cdot \left(y - z\right)}{z}} \]
      4. Step-by-step derivation
        1. mul-1-negN/A

          \[\leadsto \color{blue}{\mathsf{neg}\left(\frac{x \cdot \left(y - z\right)}{z}\right)} \]
        2. neg-sub0N/A

          \[\leadsto \color{blue}{0 - \frac{x \cdot \left(y - z\right)}{z}} \]
        3. associate-/l*N/A

          \[\leadsto 0 - \color{blue}{x \cdot \frac{y - z}{z}} \]
        4. div-subN/A

          \[\leadsto 0 - x \cdot \color{blue}{\left(\frac{y}{z} - \frac{z}{z}\right)} \]
        5. sub-negN/A

          \[\leadsto 0 - x \cdot \color{blue}{\left(\frac{y}{z} + \left(\mathsf{neg}\left(\frac{z}{z}\right)\right)\right)} \]
        6. *-inversesN/A

          \[\leadsto 0 - x \cdot \left(\frac{y}{z} + \left(\mathsf{neg}\left(\color{blue}{1}\right)\right)\right) \]
        7. metadata-evalN/A

          \[\leadsto 0 - x \cdot \left(\frac{y}{z} + \color{blue}{-1}\right) \]
        8. distribute-lft-outN/A

          \[\leadsto 0 - \color{blue}{\left(x \cdot \frac{y}{z} + x \cdot -1\right)} \]
        9. associate-/l*N/A

          \[\leadsto 0 - \left(\color{blue}{\frac{x \cdot y}{z}} + x \cdot -1\right) \]
        10. *-commutativeN/A

          \[\leadsto 0 - \left(\frac{x \cdot y}{z} + \color{blue}{-1 \cdot x}\right) \]
        11. mul-1-negN/A

          \[\leadsto 0 - \left(\frac{x \cdot y}{z} + \color{blue}{\left(\mathsf{neg}\left(x\right)\right)}\right) \]
        12. unsub-negN/A

          \[\leadsto 0 - \color{blue}{\left(\frac{x \cdot y}{z} - x\right)} \]
        13. associate-+l-N/A

          \[\leadsto \color{blue}{\left(0 - \frac{x \cdot y}{z}\right) + x} \]
        14. neg-sub0N/A

          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{x \cdot y}{z}\right)\right)} + x \]
        15. mul-1-negN/A

          \[\leadsto \color{blue}{-1 \cdot \frac{x \cdot y}{z}} + x \]
        16. +-commutativeN/A

          \[\leadsto \color{blue}{x + -1 \cdot \frac{x \cdot y}{z}} \]
        17. mul-1-negN/A

          \[\leadsto x + \color{blue}{\left(\mathsf{neg}\left(\frac{x \cdot y}{z}\right)\right)} \]
        18. unsub-negN/A

          \[\leadsto \color{blue}{x - \frac{x \cdot y}{z}} \]
        19. lower--.f64N/A

          \[\leadsto \color{blue}{x - \frac{x \cdot y}{z}} \]
        20. lower-/.f64N/A

          \[\leadsto x - \color{blue}{\frac{x \cdot y}{z}} \]
        21. *-commutativeN/A

          \[\leadsto x - \frac{\color{blue}{y \cdot x}}{z} \]
        22. lower-*.f6493.3

          \[\leadsto x - \frac{\color{blue}{y \cdot x}}{z} \]
      5. Applied rewrites93.3%

        \[\leadsto \color{blue}{x - \frac{y \cdot x}{z}} \]

      if -5.80000000000000029e159 < z < -5.2e6 or 7.9999999999999993e-71 < z < 1.9e121

      1. Initial program 91.1%

        \[\frac{x \cdot \left(y - z\right)}{t - z} \]
      2. Add Preprocessing
      3. Taylor expanded in z around 0

        \[\leadsto \color{blue}{\frac{x \cdot y}{t}} \]
      4. Step-by-step derivation
        1. lower-/.f64N/A

          \[\leadsto \color{blue}{\frac{x \cdot y}{t}} \]
        2. *-commutativeN/A

          \[\leadsto \frac{\color{blue}{y \cdot x}}{t} \]
        3. lower-*.f6415.7

          \[\leadsto \frac{\color{blue}{y \cdot x}}{t} \]
      5. Applied rewrites15.7%

        \[\leadsto \color{blue}{\frac{y \cdot x}{t}} \]
      6. Taylor expanded in y around 0

        \[\leadsto \color{blue}{-1 \cdot \frac{x \cdot z}{t - z}} \]
      7. Step-by-step derivation
        1. mul-1-negN/A

          \[\leadsto \color{blue}{\mathsf{neg}\left(\frac{x \cdot z}{t - z}\right)} \]
        2. distribute-neg-frac2N/A

          \[\leadsto \color{blue}{\frac{x \cdot z}{\mathsf{neg}\left(\left(t - z\right)\right)}} \]
        3. mul-1-negN/A

          \[\leadsto \frac{x \cdot z}{\color{blue}{-1 \cdot \left(t - z\right)}} \]
        4. lower-/.f64N/A

          \[\leadsto \color{blue}{\frac{x \cdot z}{-1 \cdot \left(t - z\right)}} \]
        5. *-commutativeN/A

          \[\leadsto \frac{\color{blue}{z \cdot x}}{-1 \cdot \left(t - z\right)} \]
        6. lower-*.f64N/A

          \[\leadsto \frac{\color{blue}{z \cdot x}}{-1 \cdot \left(t - z\right)} \]
        7. mul-1-negN/A

          \[\leadsto \frac{z \cdot x}{\color{blue}{\mathsf{neg}\left(\left(t - z\right)\right)}} \]
        8. sub-negN/A

          \[\leadsto \frac{z \cdot x}{\mathsf{neg}\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(z\right)\right)\right)}\right)} \]
        9. +-commutativeN/A

          \[\leadsto \frac{z \cdot x}{\mathsf{neg}\left(\color{blue}{\left(\left(\mathsf{neg}\left(z\right)\right) + t\right)}\right)} \]
        10. distribute-neg-inN/A

          \[\leadsto \frac{z \cdot x}{\color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(z\right)\right)\right)\right) + \left(\mathsf{neg}\left(t\right)\right)}} \]
        11. unsub-negN/A

          \[\leadsto \frac{z \cdot x}{\color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(z\right)\right)\right)\right) - t}} \]
        12. remove-double-negN/A

          \[\leadsto \frac{z \cdot x}{\color{blue}{z} - t} \]
        13. lower--.f6476.4

          \[\leadsto \frac{z \cdot x}{\color{blue}{z - t}} \]
      8. Applied rewrites76.4%

        \[\leadsto \color{blue}{\frac{z \cdot x}{z - t}} \]

      if -5.2e6 < z < 7.9999999999999993e-71

      1. Initial program 96.6%

        \[\frac{x \cdot \left(y - z\right)}{t - z} \]
      2. Add Preprocessing
      3. Taylor expanded in y around inf

        \[\leadsto \color{blue}{\frac{x \cdot y}{t - z}} \]
      4. Step-by-step derivation
        1. associate-*l/N/A

          \[\leadsto \color{blue}{\frac{x}{t - z} \cdot y} \]
        2. lower-*.f64N/A

          \[\leadsto \color{blue}{\frac{x}{t - z} \cdot y} \]
        3. lower-/.f64N/A

          \[\leadsto \color{blue}{\frac{x}{t - z}} \cdot y \]
        4. lower--.f6480.3

          \[\leadsto \frac{x}{\color{blue}{t - z}} \cdot y \]
      5. Applied rewrites80.3%

        \[\leadsto \color{blue}{\frac{x}{t - z} \cdot y} \]

      if 1.9e121 < z

      1. Initial program 64.8%

        \[\frac{x \cdot \left(y - z\right)}{t - z} \]
      2. Add Preprocessing
      3. Step-by-step derivation
        1. lift-/.f64N/A

          \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t - z}} \]
        2. lift-*.f64N/A

          \[\leadsto \frac{\color{blue}{x \cdot \left(y - z\right)}}{t - z} \]
        3. associate-/l*N/A

          \[\leadsto \color{blue}{x \cdot \frac{y - z}{t - z}} \]
        4. *-commutativeN/A

          \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
        5. lower-*.f64N/A

          \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
        6. lower-/.f6499.9

          \[\leadsto \color{blue}{\frac{y - z}{t - z}} \cdot x \]
      4. Applied rewrites99.9%

        \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
      5. Taylor expanded in z around inf

        \[\leadsto \color{blue}{1} \cdot x \]
      6. Step-by-step derivation
        1. Applied rewrites72.1%

          \[\leadsto \color{blue}{1} \cdot x \]
      7. Recombined 4 regimes into one program.
      8. Add Preprocessing

      Alternative 5: 65.2% accurate, 0.5× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x}{z} \cdot \left(z - y\right)\\ \mathbf{if}\;z \leq -1.25 \cdot 10^{+229}:\\ \;\;\;\;1 \cdot x\\ \mathbf{elif}\;z \leq -7.5 \cdot 10^{-65}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 6 \cdot 10^{-27}:\\ \;\;\;\;\frac{y \cdot x}{t}\\ \mathbf{elif}\;z \leq 3.8 \cdot 10^{+218}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;1 \cdot x\\ \end{array} \end{array} \]
      (FPCore (x y z t)
       :precision binary64
       (let* ((t_1 (* (/ x z) (- z y))))
         (if (<= z -1.25e+229)
           (* 1.0 x)
           (if (<= z -7.5e-65)
             t_1
             (if (<= z 6e-27) (/ (* y x) t) (if (<= z 3.8e+218) t_1 (* 1.0 x)))))))
      double code(double x, double y, double z, double t) {
      	double t_1 = (x / z) * (z - y);
      	double tmp;
      	if (z <= -1.25e+229) {
      		tmp = 1.0 * x;
      	} else if (z <= -7.5e-65) {
      		tmp = t_1;
      	} else if (z <= 6e-27) {
      		tmp = (y * x) / t;
      	} else if (z <= 3.8e+218) {
      		tmp = t_1;
      	} else {
      		tmp = 1.0 * x;
      	}
      	return tmp;
      }
      
      real(8) function code(x, y, z, t)
          real(8), intent (in) :: x
          real(8), intent (in) :: y
          real(8), intent (in) :: z
          real(8), intent (in) :: t
          real(8) :: t_1
          real(8) :: tmp
          t_1 = (x / z) * (z - y)
          if (z <= (-1.25d+229)) then
              tmp = 1.0d0 * x
          else if (z <= (-7.5d-65)) then
              tmp = t_1
          else if (z <= 6d-27) then
              tmp = (y * x) / t
          else if (z <= 3.8d+218) then
              tmp = t_1
          else
              tmp = 1.0d0 * x
          end if
          code = tmp
      end function
      
      public static double code(double x, double y, double z, double t) {
      	double t_1 = (x / z) * (z - y);
      	double tmp;
      	if (z <= -1.25e+229) {
      		tmp = 1.0 * x;
      	} else if (z <= -7.5e-65) {
      		tmp = t_1;
      	} else if (z <= 6e-27) {
      		tmp = (y * x) / t;
      	} else if (z <= 3.8e+218) {
      		tmp = t_1;
      	} else {
      		tmp = 1.0 * x;
      	}
      	return tmp;
      }
      
      def code(x, y, z, t):
      	t_1 = (x / z) * (z - y)
      	tmp = 0
      	if z <= -1.25e+229:
      		tmp = 1.0 * x
      	elif z <= -7.5e-65:
      		tmp = t_1
      	elif z <= 6e-27:
      		tmp = (y * x) / t
      	elif z <= 3.8e+218:
      		tmp = t_1
      	else:
      		tmp = 1.0 * x
      	return tmp
      
      function code(x, y, z, t)
      	t_1 = Float64(Float64(x / z) * Float64(z - y))
      	tmp = 0.0
      	if (z <= -1.25e+229)
      		tmp = Float64(1.0 * x);
      	elseif (z <= -7.5e-65)
      		tmp = t_1;
      	elseif (z <= 6e-27)
      		tmp = Float64(Float64(y * x) / t);
      	elseif (z <= 3.8e+218)
      		tmp = t_1;
      	else
      		tmp = Float64(1.0 * x);
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t)
      	t_1 = (x / z) * (z - y);
      	tmp = 0.0;
      	if (z <= -1.25e+229)
      		tmp = 1.0 * x;
      	elseif (z <= -7.5e-65)
      		tmp = t_1;
      	elseif (z <= 6e-27)
      		tmp = (y * x) / t;
      	elseif (z <= 3.8e+218)
      		tmp = t_1;
      	else
      		tmp = 1.0 * x;
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(x / z), $MachinePrecision] * N[(z - y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.25e+229], N[(1.0 * x), $MachinePrecision], If[LessEqual[z, -7.5e-65], t$95$1, If[LessEqual[z, 6e-27], N[(N[(y * x), $MachinePrecision] / t), $MachinePrecision], If[LessEqual[z, 3.8e+218], t$95$1, N[(1.0 * x), $MachinePrecision]]]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \frac{x}{z} \cdot \left(z - y\right)\\
      \mathbf{if}\;z \leq -1.25 \cdot 10^{+229}:\\
      \;\;\;\;1 \cdot x\\
      
      \mathbf{elif}\;z \leq -7.5 \cdot 10^{-65}:\\
      \;\;\;\;t\_1\\
      
      \mathbf{elif}\;z \leq 6 \cdot 10^{-27}:\\
      \;\;\;\;\frac{y \cdot x}{t}\\
      
      \mathbf{elif}\;z \leq 3.8 \cdot 10^{+218}:\\
      \;\;\;\;t\_1\\
      
      \mathbf{else}:\\
      \;\;\;\;1 \cdot x\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if z < -1.25000000000000012e229 or 3.80000000000000012e218 < z

        1. Initial program 62.8%

          \[\frac{x \cdot \left(y - z\right)}{t - z} \]
        2. Add Preprocessing
        3. Step-by-step derivation
          1. lift-/.f64N/A

            \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t - z}} \]
          2. lift-*.f64N/A

            \[\leadsto \frac{\color{blue}{x \cdot \left(y - z\right)}}{t - z} \]
          3. associate-/l*N/A

            \[\leadsto \color{blue}{x \cdot \frac{y - z}{t - z}} \]
          4. *-commutativeN/A

            \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
          5. lower-*.f64N/A

            \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
          6. lower-/.f64100.0

            \[\leadsto \color{blue}{\frac{y - z}{t - z}} \cdot x \]
        4. Applied rewrites100.0%

          \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
        5. Taylor expanded in z around inf

          \[\leadsto \color{blue}{1} \cdot x \]
        6. Step-by-step derivation
          1. Applied rewrites87.8%

            \[\leadsto \color{blue}{1} \cdot x \]

          if -1.25000000000000012e229 < z < -7.5000000000000002e-65 or 6.0000000000000002e-27 < z < 3.80000000000000012e218

          1. Initial program 85.2%

            \[\frac{x \cdot \left(y - z\right)}{t - z} \]
          2. Add Preprocessing
          3. Taylor expanded in z around 0

            \[\leadsto \color{blue}{\frac{x \cdot y}{t}} \]
          4. Step-by-step derivation
            1. lower-/.f64N/A

              \[\leadsto \color{blue}{\frac{x \cdot y}{t}} \]
            2. *-commutativeN/A

              \[\leadsto \frac{\color{blue}{y \cdot x}}{t} \]
            3. lower-*.f6415.5

              \[\leadsto \frac{\color{blue}{y \cdot x}}{t} \]
          5. Applied rewrites15.5%

            \[\leadsto \color{blue}{\frac{y \cdot x}{t}} \]
          6. Taylor expanded in t around 0

            \[\leadsto \color{blue}{-1 \cdot \frac{x \cdot \left(y - z\right)}{z}} \]
          7. Step-by-step derivation
            1. mul-1-negN/A

              \[\leadsto \color{blue}{\mathsf{neg}\left(\frac{x \cdot \left(y - z\right)}{z}\right)} \]
            2. *-commutativeN/A

              \[\leadsto \mathsf{neg}\left(\frac{\color{blue}{\left(y - z\right) \cdot x}}{z}\right) \]
            3. associate-/l*N/A

              \[\leadsto \mathsf{neg}\left(\color{blue}{\left(y - z\right) \cdot \frac{x}{z}}\right) \]
            4. distribute-lft-neg-inN/A

              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\left(y - z\right)\right)\right) \cdot \frac{x}{z}} \]
            5. mul-1-negN/A

              \[\leadsto \color{blue}{\left(-1 \cdot \left(y - z\right)\right)} \cdot \frac{x}{z} \]
            6. lower-*.f64N/A

              \[\leadsto \color{blue}{\left(-1 \cdot \left(y - z\right)\right) \cdot \frac{x}{z}} \]
            7. mul-1-negN/A

              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\left(y - z\right)\right)\right)} \cdot \frac{x}{z} \]
            8. sub-negN/A

              \[\leadsto \left(\mathsf{neg}\left(\color{blue}{\left(y + \left(\mathsf{neg}\left(z\right)\right)\right)}\right)\right) \cdot \frac{x}{z} \]
            9. +-commutativeN/A

              \[\leadsto \left(\mathsf{neg}\left(\color{blue}{\left(\left(\mathsf{neg}\left(z\right)\right) + y\right)}\right)\right) \cdot \frac{x}{z} \]
            10. distribute-neg-inN/A

              \[\leadsto \color{blue}{\left(\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(z\right)\right)\right)\right) + \left(\mathsf{neg}\left(y\right)\right)\right)} \cdot \frac{x}{z} \]
            11. unsub-negN/A

              \[\leadsto \color{blue}{\left(\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(z\right)\right)\right)\right) - y\right)} \cdot \frac{x}{z} \]
            12. remove-double-negN/A

              \[\leadsto \left(\color{blue}{z} - y\right) \cdot \frac{x}{z} \]
            13. lower--.f64N/A

              \[\leadsto \color{blue}{\left(z - y\right)} \cdot \frac{x}{z} \]
            14. lower-/.f6461.9

              \[\leadsto \left(z - y\right) \cdot \color{blue}{\frac{x}{z}} \]
          8. Applied rewrites61.9%

            \[\leadsto \color{blue}{\left(z - y\right) \cdot \frac{x}{z}} \]

          if -7.5000000000000002e-65 < z < 6.0000000000000002e-27

          1. Initial program 96.2%

            \[\frac{x \cdot \left(y - z\right)}{t - z} \]
          2. Add Preprocessing
          3. Taylor expanded in z around 0

            \[\leadsto \color{blue}{\frac{x \cdot y}{t}} \]
          4. Step-by-step derivation
            1. lower-/.f64N/A

              \[\leadsto \color{blue}{\frac{x \cdot y}{t}} \]
            2. *-commutativeN/A

              \[\leadsto \frac{\color{blue}{y \cdot x}}{t} \]
            3. lower-*.f6471.4

              \[\leadsto \frac{\color{blue}{y \cdot x}}{t} \]
          5. Applied rewrites71.4%

            \[\leadsto \color{blue}{\frac{y \cdot x}{t}} \]
        7. Recombined 3 regimes into one program.
        8. Final simplification70.1%

          \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -1.25 \cdot 10^{+229}:\\ \;\;\;\;1 \cdot x\\ \mathbf{elif}\;z \leq -7.5 \cdot 10^{-65}:\\ \;\;\;\;\frac{x}{z} \cdot \left(z - y\right)\\ \mathbf{elif}\;z \leq 6 \cdot 10^{-27}:\\ \;\;\;\;\frac{y \cdot x}{t}\\ \mathbf{elif}\;z \leq 3.8 \cdot 10^{+218}:\\ \;\;\;\;\frac{x}{z} \cdot \left(z - y\right)\\ \mathbf{else}:\\ \;\;\;\;1 \cdot x\\ \end{array} \]
        9. Add Preprocessing

        Alternative 6: 74.2% accurate, 0.6× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z}{z - t} \cdot x\\ \mathbf{if}\;z \leq -5200000:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq -4.2 \cdot 10^{-59}:\\ \;\;\;\;\frac{x}{t - z} \cdot y\\ \mathbf{elif}\;z \leq 8 \cdot 10^{-71}:\\ \;\;\;\;\frac{\left(y - z\right) \cdot x}{t}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
        (FPCore (x y z t)
         :precision binary64
         (let* ((t_1 (* (/ z (- z t)) x)))
           (if (<= z -5200000.0)
             t_1
             (if (<= z -4.2e-59)
               (* (/ x (- t z)) y)
               (if (<= z 8e-71) (/ (* (- y z) x) t) t_1)))))
        double code(double x, double y, double z, double t) {
        	double t_1 = (z / (z - t)) * x;
        	double tmp;
        	if (z <= -5200000.0) {
        		tmp = t_1;
        	} else if (z <= -4.2e-59) {
        		tmp = (x / (t - z)) * y;
        	} else if (z <= 8e-71) {
        		tmp = ((y - z) * x) / t;
        	} else {
        		tmp = t_1;
        	}
        	return tmp;
        }
        
        real(8) function code(x, y, z, t)
            real(8), intent (in) :: x
            real(8), intent (in) :: y
            real(8), intent (in) :: z
            real(8), intent (in) :: t
            real(8) :: t_1
            real(8) :: tmp
            t_1 = (z / (z - t)) * x
            if (z <= (-5200000.0d0)) then
                tmp = t_1
            else if (z <= (-4.2d-59)) then
                tmp = (x / (t - z)) * y
            else if (z <= 8d-71) then
                tmp = ((y - z) * x) / t
            else
                tmp = t_1
            end if
            code = tmp
        end function
        
        public static double code(double x, double y, double z, double t) {
        	double t_1 = (z / (z - t)) * x;
        	double tmp;
        	if (z <= -5200000.0) {
        		tmp = t_1;
        	} else if (z <= -4.2e-59) {
        		tmp = (x / (t - z)) * y;
        	} else if (z <= 8e-71) {
        		tmp = ((y - z) * x) / t;
        	} else {
        		tmp = t_1;
        	}
        	return tmp;
        }
        
        def code(x, y, z, t):
        	t_1 = (z / (z - t)) * x
        	tmp = 0
        	if z <= -5200000.0:
        		tmp = t_1
        	elif z <= -4.2e-59:
        		tmp = (x / (t - z)) * y
        	elif z <= 8e-71:
        		tmp = ((y - z) * x) / t
        	else:
        		tmp = t_1
        	return tmp
        
        function code(x, y, z, t)
        	t_1 = Float64(Float64(z / Float64(z - t)) * x)
        	tmp = 0.0
        	if (z <= -5200000.0)
        		tmp = t_1;
        	elseif (z <= -4.2e-59)
        		tmp = Float64(Float64(x / Float64(t - z)) * y);
        	elseif (z <= 8e-71)
        		tmp = Float64(Float64(Float64(y - z) * x) / t);
        	else
        		tmp = t_1;
        	end
        	return tmp
        end
        
        function tmp_2 = code(x, y, z, t)
        	t_1 = (z / (z - t)) * x;
        	tmp = 0.0;
        	if (z <= -5200000.0)
        		tmp = t_1;
        	elseif (z <= -4.2e-59)
        		tmp = (x / (t - z)) * y;
        	elseif (z <= 8e-71)
        		tmp = ((y - z) * x) / t;
        	else
        		tmp = t_1;
        	end
        	tmp_2 = tmp;
        end
        
        code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(z / N[(z - t), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[z, -5200000.0], t$95$1, If[LessEqual[z, -4.2e-59], N[(N[(x / N[(t - z), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[z, 8e-71], N[(N[(N[(y - z), $MachinePrecision] * x), $MachinePrecision] / t), $MachinePrecision], t$95$1]]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        t_1 := \frac{z}{z - t} \cdot x\\
        \mathbf{if}\;z \leq -5200000:\\
        \;\;\;\;t\_1\\
        
        \mathbf{elif}\;z \leq -4.2 \cdot 10^{-59}:\\
        \;\;\;\;\frac{x}{t - z} \cdot y\\
        
        \mathbf{elif}\;z \leq 8 \cdot 10^{-71}:\\
        \;\;\;\;\frac{\left(y - z\right) \cdot x}{t}\\
        
        \mathbf{else}:\\
        \;\;\;\;t\_1\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 3 regimes
        2. if z < -5.2e6 or 7.9999999999999993e-71 < z

          1. Initial program 78.4%

            \[\frac{x \cdot \left(y - z\right)}{t - z} \]
          2. Add Preprocessing
          3. Step-by-step derivation
            1. lift-/.f64N/A

              \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t - z}} \]
            2. lift-*.f64N/A

              \[\leadsto \frac{\color{blue}{x \cdot \left(y - z\right)}}{t - z} \]
            3. associate-/l*N/A

              \[\leadsto \color{blue}{x \cdot \frac{y - z}{t - z}} \]
            4. *-commutativeN/A

              \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
            5. lower-*.f64N/A

              \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
            6. lower-/.f6499.8

              \[\leadsto \color{blue}{\frac{y - z}{t - z}} \cdot x \]
          4. Applied rewrites99.8%

            \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
          5. Taylor expanded in y around 0

            \[\leadsto \color{blue}{\left(-1 \cdot \frac{z}{t - z}\right)} \cdot x \]
          6. Step-by-step derivation
            1. mul-1-negN/A

              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{z}{t - z}\right)\right)} \cdot x \]
            2. distribute-neg-frac2N/A

              \[\leadsto \color{blue}{\frac{z}{\mathsf{neg}\left(\left(t - z\right)\right)}} \cdot x \]
            3. mul-1-negN/A

              \[\leadsto \frac{z}{\color{blue}{-1 \cdot \left(t - z\right)}} \cdot x \]
            4. lower-/.f64N/A

              \[\leadsto \color{blue}{\frac{z}{-1 \cdot \left(t - z\right)}} \cdot x \]
            5. mul-1-negN/A

              \[\leadsto \frac{z}{\color{blue}{\mathsf{neg}\left(\left(t - z\right)\right)}} \cdot x \]
            6. sub-negN/A

              \[\leadsto \frac{z}{\mathsf{neg}\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(z\right)\right)\right)}\right)} \cdot x \]
            7. +-commutativeN/A

              \[\leadsto \frac{z}{\mathsf{neg}\left(\color{blue}{\left(\left(\mathsf{neg}\left(z\right)\right) + t\right)}\right)} \cdot x \]
            8. distribute-neg-inN/A

              \[\leadsto \frac{z}{\color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(z\right)\right)\right)\right) + \left(\mathsf{neg}\left(t\right)\right)}} \cdot x \]
            9. unsub-negN/A

              \[\leadsto \frac{z}{\color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(z\right)\right)\right)\right) - t}} \cdot x \]
            10. remove-double-negN/A

              \[\leadsto \frac{z}{\color{blue}{z} - t} \cdot x \]
            11. lower--.f6484.5

              \[\leadsto \frac{z}{\color{blue}{z - t}} \cdot x \]
          7. Applied rewrites84.5%

            \[\leadsto \color{blue}{\frac{z}{z - t}} \cdot x \]

          if -5.2e6 < z < -4.19999999999999993e-59

          1. Initial program 99.7%

            \[\frac{x \cdot \left(y - z\right)}{t - z} \]
          2. Add Preprocessing
          3. Taylor expanded in y around inf

            \[\leadsto \color{blue}{\frac{x \cdot y}{t - z}} \]
          4. Step-by-step derivation
            1. associate-*l/N/A

              \[\leadsto \color{blue}{\frac{x}{t - z} \cdot y} \]
            2. lower-*.f64N/A

              \[\leadsto \color{blue}{\frac{x}{t - z} \cdot y} \]
            3. lower-/.f64N/A

              \[\leadsto \color{blue}{\frac{x}{t - z}} \cdot y \]
            4. lower--.f6481.1

              \[\leadsto \frac{x}{\color{blue}{t - z}} \cdot y \]
          5. Applied rewrites81.1%

            \[\leadsto \color{blue}{\frac{x}{t - z} \cdot y} \]

          if -4.19999999999999993e-59 < z < 7.9999999999999993e-71

          1. Initial program 96.2%

            \[\frac{x \cdot \left(y - z\right)}{t - z} \]
          2. Add Preprocessing
          3. Taylor expanded in t around inf

            \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t}} \]
          4. Step-by-step derivation
            1. lower-/.f64N/A

              \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t}} \]
            2. *-commutativeN/A

              \[\leadsto \frac{\color{blue}{\left(y - z\right) \cdot x}}{t} \]
            3. lower-*.f64N/A

              \[\leadsto \frac{\color{blue}{\left(y - z\right) \cdot x}}{t} \]
            4. lower--.f6484.9

              \[\leadsto \frac{\color{blue}{\left(y - z\right)} \cdot x}{t} \]
          5. Applied rewrites84.9%

            \[\leadsto \color{blue}{\frac{\left(y - z\right) \cdot x}{t}} \]
        3. Recombined 3 regimes into one program.
        4. Add Preprocessing

        Alternative 7: 69.9% accurate, 0.6× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -6.5 \cdot 10^{+23}:\\ \;\;\;\;1 \cdot x\\ \mathbf{elif}\;z \leq 6.5 \cdot 10^{-27}:\\ \;\;\;\;\frac{x}{t - z} \cdot y\\ \mathbf{elif}\;z \leq 3.8 \cdot 10^{+218}:\\ \;\;\;\;\frac{x}{z} \cdot \left(z - y\right)\\ \mathbf{else}:\\ \;\;\;\;1 \cdot x\\ \end{array} \end{array} \]
        (FPCore (x y z t)
         :precision binary64
         (if (<= z -6.5e+23)
           (* 1.0 x)
           (if (<= z 6.5e-27)
             (* (/ x (- t z)) y)
             (if (<= z 3.8e+218) (* (/ x z) (- z y)) (* 1.0 x)))))
        double code(double x, double y, double z, double t) {
        	double tmp;
        	if (z <= -6.5e+23) {
        		tmp = 1.0 * x;
        	} else if (z <= 6.5e-27) {
        		tmp = (x / (t - z)) * y;
        	} else if (z <= 3.8e+218) {
        		tmp = (x / z) * (z - y);
        	} else {
        		tmp = 1.0 * x;
        	}
        	return tmp;
        }
        
        real(8) function code(x, y, z, t)
            real(8), intent (in) :: x
            real(8), intent (in) :: y
            real(8), intent (in) :: z
            real(8), intent (in) :: t
            real(8) :: tmp
            if (z <= (-6.5d+23)) then
                tmp = 1.0d0 * x
            else if (z <= 6.5d-27) then
                tmp = (x / (t - z)) * y
            else if (z <= 3.8d+218) then
                tmp = (x / z) * (z - y)
            else
                tmp = 1.0d0 * x
            end if
            code = tmp
        end function
        
        public static double code(double x, double y, double z, double t) {
        	double tmp;
        	if (z <= -6.5e+23) {
        		tmp = 1.0 * x;
        	} else if (z <= 6.5e-27) {
        		tmp = (x / (t - z)) * y;
        	} else if (z <= 3.8e+218) {
        		tmp = (x / z) * (z - y);
        	} else {
        		tmp = 1.0 * x;
        	}
        	return tmp;
        }
        
        def code(x, y, z, t):
        	tmp = 0
        	if z <= -6.5e+23:
        		tmp = 1.0 * x
        	elif z <= 6.5e-27:
        		tmp = (x / (t - z)) * y
        	elif z <= 3.8e+218:
        		tmp = (x / z) * (z - y)
        	else:
        		tmp = 1.0 * x
        	return tmp
        
        function code(x, y, z, t)
        	tmp = 0.0
        	if (z <= -6.5e+23)
        		tmp = Float64(1.0 * x);
        	elseif (z <= 6.5e-27)
        		tmp = Float64(Float64(x / Float64(t - z)) * y);
        	elseif (z <= 3.8e+218)
        		tmp = Float64(Float64(x / z) * Float64(z - y));
        	else
        		tmp = Float64(1.0 * x);
        	end
        	return tmp
        end
        
        function tmp_2 = code(x, y, z, t)
        	tmp = 0.0;
        	if (z <= -6.5e+23)
        		tmp = 1.0 * x;
        	elseif (z <= 6.5e-27)
        		tmp = (x / (t - z)) * y;
        	elseif (z <= 3.8e+218)
        		tmp = (x / z) * (z - y);
        	else
        		tmp = 1.0 * x;
        	end
        	tmp_2 = tmp;
        end
        
        code[x_, y_, z_, t_] := If[LessEqual[z, -6.5e+23], N[(1.0 * x), $MachinePrecision], If[LessEqual[z, 6.5e-27], N[(N[(x / N[(t - z), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[z, 3.8e+218], N[(N[(x / z), $MachinePrecision] * N[(z - y), $MachinePrecision]), $MachinePrecision], N[(1.0 * x), $MachinePrecision]]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        \mathbf{if}\;z \leq -6.5 \cdot 10^{+23}:\\
        \;\;\;\;1 \cdot x\\
        
        \mathbf{elif}\;z \leq 6.5 \cdot 10^{-27}:\\
        \;\;\;\;\frac{x}{t - z} \cdot y\\
        
        \mathbf{elif}\;z \leq 3.8 \cdot 10^{+218}:\\
        \;\;\;\;\frac{x}{z} \cdot \left(z - y\right)\\
        
        \mathbf{else}:\\
        \;\;\;\;1 \cdot x\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 3 regimes
        2. if z < -6.4999999999999996e23 or 3.80000000000000012e218 < z

          1. Initial program 70.6%

            \[\frac{x \cdot \left(y - z\right)}{t - z} \]
          2. Add Preprocessing
          3. Step-by-step derivation
            1. lift-/.f64N/A

              \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t - z}} \]
            2. lift-*.f64N/A

              \[\leadsto \frac{\color{blue}{x \cdot \left(y - z\right)}}{t - z} \]
            3. associate-/l*N/A

              \[\leadsto \color{blue}{x \cdot \frac{y - z}{t - z}} \]
            4. *-commutativeN/A

              \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
            5. lower-*.f64N/A

              \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
            6. lower-/.f6499.9

              \[\leadsto \color{blue}{\frac{y - z}{t - z}} \cdot x \]
          4. Applied rewrites99.9%

            \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
          5. Taylor expanded in z around inf

            \[\leadsto \color{blue}{1} \cdot x \]
          6. Step-by-step derivation
            1. Applied rewrites75.9%

              \[\leadsto \color{blue}{1} \cdot x \]

            if -6.4999999999999996e23 < z < 6.50000000000000025e-27

            1. Initial program 96.7%

              \[\frac{x \cdot \left(y - z\right)}{t - z} \]
            2. Add Preprocessing
            3. Taylor expanded in y around inf

              \[\leadsto \color{blue}{\frac{x \cdot y}{t - z}} \]
            4. Step-by-step derivation
              1. associate-*l/N/A

                \[\leadsto \color{blue}{\frac{x}{t - z} \cdot y} \]
              2. lower-*.f64N/A

                \[\leadsto \color{blue}{\frac{x}{t - z} \cdot y} \]
              3. lower-/.f64N/A

                \[\leadsto \color{blue}{\frac{x}{t - z}} \cdot y \]
              4. lower--.f6474.9

                \[\leadsto \frac{x}{\color{blue}{t - z}} \cdot y \]
            5. Applied rewrites74.9%

              \[\leadsto \color{blue}{\frac{x}{t - z} \cdot y} \]

            if 6.50000000000000025e-27 < z < 3.80000000000000012e218

            1. Initial program 82.0%

              \[\frac{x \cdot \left(y - z\right)}{t - z} \]
            2. Add Preprocessing
            3. Taylor expanded in z around 0

              \[\leadsto \color{blue}{\frac{x \cdot y}{t}} \]
            4. Step-by-step derivation
              1. lower-/.f64N/A

                \[\leadsto \color{blue}{\frac{x \cdot y}{t}} \]
              2. *-commutativeN/A

                \[\leadsto \frac{\color{blue}{y \cdot x}}{t} \]
              3. lower-*.f6410.9

                \[\leadsto \frac{\color{blue}{y \cdot x}}{t} \]
            5. Applied rewrites10.9%

              \[\leadsto \color{blue}{\frac{y \cdot x}{t}} \]
            6. Taylor expanded in t around 0

              \[\leadsto \color{blue}{-1 \cdot \frac{x \cdot \left(y - z\right)}{z}} \]
            7. Step-by-step derivation
              1. mul-1-negN/A

                \[\leadsto \color{blue}{\mathsf{neg}\left(\frac{x \cdot \left(y - z\right)}{z}\right)} \]
              2. *-commutativeN/A

                \[\leadsto \mathsf{neg}\left(\frac{\color{blue}{\left(y - z\right) \cdot x}}{z}\right) \]
              3. associate-/l*N/A

                \[\leadsto \mathsf{neg}\left(\color{blue}{\left(y - z\right) \cdot \frac{x}{z}}\right) \]
              4. distribute-lft-neg-inN/A

                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\left(y - z\right)\right)\right) \cdot \frac{x}{z}} \]
              5. mul-1-negN/A

                \[\leadsto \color{blue}{\left(-1 \cdot \left(y - z\right)\right)} \cdot \frac{x}{z} \]
              6. lower-*.f64N/A

                \[\leadsto \color{blue}{\left(-1 \cdot \left(y - z\right)\right) \cdot \frac{x}{z}} \]
              7. mul-1-negN/A

                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\left(y - z\right)\right)\right)} \cdot \frac{x}{z} \]
              8. sub-negN/A

                \[\leadsto \left(\mathsf{neg}\left(\color{blue}{\left(y + \left(\mathsf{neg}\left(z\right)\right)\right)}\right)\right) \cdot \frac{x}{z} \]
              9. +-commutativeN/A

                \[\leadsto \left(\mathsf{neg}\left(\color{blue}{\left(\left(\mathsf{neg}\left(z\right)\right) + y\right)}\right)\right) \cdot \frac{x}{z} \]
              10. distribute-neg-inN/A

                \[\leadsto \color{blue}{\left(\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(z\right)\right)\right)\right) + \left(\mathsf{neg}\left(y\right)\right)\right)} \cdot \frac{x}{z} \]
              11. unsub-negN/A

                \[\leadsto \color{blue}{\left(\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(z\right)\right)\right)\right) - y\right)} \cdot \frac{x}{z} \]
              12. remove-double-negN/A

                \[\leadsto \left(\color{blue}{z} - y\right) \cdot \frac{x}{z} \]
              13. lower--.f64N/A

                \[\leadsto \color{blue}{\left(z - y\right)} \cdot \frac{x}{z} \]
              14. lower-/.f6463.7

                \[\leadsto \left(z - y\right) \cdot \color{blue}{\frac{x}{z}} \]
            8. Applied rewrites63.7%

              \[\leadsto \color{blue}{\left(z - y\right) \cdot \frac{x}{z}} \]
          7. Recombined 3 regimes into one program.
          8. Final simplification72.7%

            \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -6.5 \cdot 10^{+23}:\\ \;\;\;\;1 \cdot x\\ \mathbf{elif}\;z \leq 6.5 \cdot 10^{-27}:\\ \;\;\;\;\frac{x}{t - z} \cdot y\\ \mathbf{elif}\;z \leq 3.8 \cdot 10^{+218}:\\ \;\;\;\;\frac{x}{z} \cdot \left(z - y\right)\\ \mathbf{else}:\\ \;\;\;\;1 \cdot x\\ \end{array} \]
          9. Add Preprocessing

          Alternative 8: 60.4% accurate, 0.6× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -5.6 \cdot 10^{+23}:\\ \;\;\;\;1 \cdot x\\ \mathbf{elif}\;z \leq 1.55 \cdot 10^{-68}:\\ \;\;\;\;\frac{y \cdot x}{t}\\ \mathbf{elif}\;z \leq 1.85 \cdot 10^{+14}:\\ \;\;\;\;\frac{\left(-z\right) \cdot x}{t}\\ \mathbf{else}:\\ \;\;\;\;1 \cdot x\\ \end{array} \end{array} \]
          (FPCore (x y z t)
           :precision binary64
           (if (<= z -5.6e+23)
             (* 1.0 x)
             (if (<= z 1.55e-68)
               (/ (* y x) t)
               (if (<= z 1.85e+14) (/ (* (- z) x) t) (* 1.0 x)))))
          double code(double x, double y, double z, double t) {
          	double tmp;
          	if (z <= -5.6e+23) {
          		tmp = 1.0 * x;
          	} else if (z <= 1.55e-68) {
          		tmp = (y * x) / t;
          	} else if (z <= 1.85e+14) {
          		tmp = (-z * x) / t;
          	} else {
          		tmp = 1.0 * x;
          	}
          	return tmp;
          }
          
          real(8) function code(x, y, z, t)
              real(8), intent (in) :: x
              real(8), intent (in) :: y
              real(8), intent (in) :: z
              real(8), intent (in) :: t
              real(8) :: tmp
              if (z <= (-5.6d+23)) then
                  tmp = 1.0d0 * x
              else if (z <= 1.55d-68) then
                  tmp = (y * x) / t
              else if (z <= 1.85d+14) then
                  tmp = (-z * x) / t
              else
                  tmp = 1.0d0 * x
              end if
              code = tmp
          end function
          
          public static double code(double x, double y, double z, double t) {
          	double tmp;
          	if (z <= -5.6e+23) {
          		tmp = 1.0 * x;
          	} else if (z <= 1.55e-68) {
          		tmp = (y * x) / t;
          	} else if (z <= 1.85e+14) {
          		tmp = (-z * x) / t;
          	} else {
          		tmp = 1.0 * x;
          	}
          	return tmp;
          }
          
          def code(x, y, z, t):
          	tmp = 0
          	if z <= -5.6e+23:
          		tmp = 1.0 * x
          	elif z <= 1.55e-68:
          		tmp = (y * x) / t
          	elif z <= 1.85e+14:
          		tmp = (-z * x) / t
          	else:
          		tmp = 1.0 * x
          	return tmp
          
          function code(x, y, z, t)
          	tmp = 0.0
          	if (z <= -5.6e+23)
          		tmp = Float64(1.0 * x);
          	elseif (z <= 1.55e-68)
          		tmp = Float64(Float64(y * x) / t);
          	elseif (z <= 1.85e+14)
          		tmp = Float64(Float64(Float64(-z) * x) / t);
          	else
          		tmp = Float64(1.0 * x);
          	end
          	return tmp
          end
          
          function tmp_2 = code(x, y, z, t)
          	tmp = 0.0;
          	if (z <= -5.6e+23)
          		tmp = 1.0 * x;
          	elseif (z <= 1.55e-68)
          		tmp = (y * x) / t;
          	elseif (z <= 1.85e+14)
          		tmp = (-z * x) / t;
          	else
          		tmp = 1.0 * x;
          	end
          	tmp_2 = tmp;
          end
          
          code[x_, y_, z_, t_] := If[LessEqual[z, -5.6e+23], N[(1.0 * x), $MachinePrecision], If[LessEqual[z, 1.55e-68], N[(N[(y * x), $MachinePrecision] / t), $MachinePrecision], If[LessEqual[z, 1.85e+14], N[(N[((-z) * x), $MachinePrecision] / t), $MachinePrecision], N[(1.0 * x), $MachinePrecision]]]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          \mathbf{if}\;z \leq -5.6 \cdot 10^{+23}:\\
          \;\;\;\;1 \cdot x\\
          
          \mathbf{elif}\;z \leq 1.55 \cdot 10^{-68}:\\
          \;\;\;\;\frac{y \cdot x}{t}\\
          
          \mathbf{elif}\;z \leq 1.85 \cdot 10^{+14}:\\
          \;\;\;\;\frac{\left(-z\right) \cdot x}{t}\\
          
          \mathbf{else}:\\
          \;\;\;\;1 \cdot x\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 3 regimes
          2. if z < -5.6e23 or 1.85e14 < z

            1. Initial program 74.0%

              \[\frac{x \cdot \left(y - z\right)}{t - z} \]
            2. Add Preprocessing
            3. Step-by-step derivation
              1. lift-/.f64N/A

                \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t - z}} \]
              2. lift-*.f64N/A

                \[\leadsto \frac{\color{blue}{x \cdot \left(y - z\right)}}{t - z} \]
              3. associate-/l*N/A

                \[\leadsto \color{blue}{x \cdot \frac{y - z}{t - z}} \]
              4. *-commutativeN/A

                \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
              5. lower-*.f64N/A

                \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
              6. lower-/.f6499.9

                \[\leadsto \color{blue}{\frac{y - z}{t - z}} \cdot x \]
            4. Applied rewrites99.9%

              \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
            5. Taylor expanded in z around inf

              \[\leadsto \color{blue}{1} \cdot x \]
            6. Step-by-step derivation
              1. Applied rewrites69.7%

                \[\leadsto \color{blue}{1} \cdot x \]

              if -5.6e23 < z < 1.55e-68

              1. Initial program 96.7%

                \[\frac{x \cdot \left(y - z\right)}{t - z} \]
              2. Add Preprocessing
              3. Taylor expanded in z around 0

                \[\leadsto \color{blue}{\frac{x \cdot y}{t}} \]
              4. Step-by-step derivation
                1. lower-/.f64N/A

                  \[\leadsto \color{blue}{\frac{x \cdot y}{t}} \]
                2. *-commutativeN/A

                  \[\leadsto \frac{\color{blue}{y \cdot x}}{t} \]
                3. lower-*.f6469.0

                  \[\leadsto \frac{\color{blue}{y \cdot x}}{t} \]
              5. Applied rewrites69.0%

                \[\leadsto \color{blue}{\frac{y \cdot x}{t}} \]

              if 1.55e-68 < z < 1.85e14

              1. Initial program 94.6%

                \[\frac{x \cdot \left(y - z\right)}{t - z} \]
              2. Add Preprocessing
              3. Taylor expanded in t around inf

                \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t}} \]
              4. Step-by-step derivation
                1. lower-/.f64N/A

                  \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t}} \]
                2. *-commutativeN/A

                  \[\leadsto \frac{\color{blue}{\left(y - z\right) \cdot x}}{t} \]
                3. lower-*.f64N/A

                  \[\leadsto \frac{\color{blue}{\left(y - z\right) \cdot x}}{t} \]
                4. lower--.f6459.5

                  \[\leadsto \frac{\color{blue}{\left(y - z\right)} \cdot x}{t} \]
              5. Applied rewrites59.5%

                \[\leadsto \color{blue}{\frac{\left(y - z\right) \cdot x}{t}} \]
              6. Taylor expanded in z around inf

                \[\leadsto \frac{\left(-1 \cdot z\right) \cdot x}{t} \]
              7. Step-by-step derivation
                1. Applied rewrites47.7%

                  \[\leadsto \frac{\left(-z\right) \cdot x}{t} \]
              8. Recombined 3 regimes into one program.
              9. Add Preprocessing

              Alternative 9: 75.3% accurate, 0.7× speedup?

              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z}{z - t} \cdot x\\ \mathbf{if}\;z \leq -34000000000:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 8 \cdot 10^{-71}:\\ \;\;\;\;\frac{y \cdot x}{t - z}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
              (FPCore (x y z t)
               :precision binary64
               (let* ((t_1 (* (/ z (- z t)) x)))
                 (if (<= z -34000000000.0) t_1 (if (<= z 8e-71) (/ (* y x) (- t z)) t_1))))
              double code(double x, double y, double z, double t) {
              	double t_1 = (z / (z - t)) * x;
              	double tmp;
              	if (z <= -34000000000.0) {
              		tmp = t_1;
              	} else if (z <= 8e-71) {
              		tmp = (y * x) / (t - z);
              	} else {
              		tmp = t_1;
              	}
              	return tmp;
              }
              
              real(8) function code(x, y, z, t)
                  real(8), intent (in) :: x
                  real(8), intent (in) :: y
                  real(8), intent (in) :: z
                  real(8), intent (in) :: t
                  real(8) :: t_1
                  real(8) :: tmp
                  t_1 = (z / (z - t)) * x
                  if (z <= (-34000000000.0d0)) then
                      tmp = t_1
                  else if (z <= 8d-71) then
                      tmp = (y * x) / (t - z)
                  else
                      tmp = t_1
                  end if
                  code = tmp
              end function
              
              public static double code(double x, double y, double z, double t) {
              	double t_1 = (z / (z - t)) * x;
              	double tmp;
              	if (z <= -34000000000.0) {
              		tmp = t_1;
              	} else if (z <= 8e-71) {
              		tmp = (y * x) / (t - z);
              	} else {
              		tmp = t_1;
              	}
              	return tmp;
              }
              
              def code(x, y, z, t):
              	t_1 = (z / (z - t)) * x
              	tmp = 0
              	if z <= -34000000000.0:
              		tmp = t_1
              	elif z <= 8e-71:
              		tmp = (y * x) / (t - z)
              	else:
              		tmp = t_1
              	return tmp
              
              function code(x, y, z, t)
              	t_1 = Float64(Float64(z / Float64(z - t)) * x)
              	tmp = 0.0
              	if (z <= -34000000000.0)
              		tmp = t_1;
              	elseif (z <= 8e-71)
              		tmp = Float64(Float64(y * x) / Float64(t - z));
              	else
              		tmp = t_1;
              	end
              	return tmp
              end
              
              function tmp_2 = code(x, y, z, t)
              	t_1 = (z / (z - t)) * x;
              	tmp = 0.0;
              	if (z <= -34000000000.0)
              		tmp = t_1;
              	elseif (z <= 8e-71)
              		tmp = (y * x) / (t - z);
              	else
              		tmp = t_1;
              	end
              	tmp_2 = tmp;
              end
              
              code[x_, y_, z_, t_] := Block[{t$95$1 = N[(N[(z / N[(z - t), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]}, If[LessEqual[z, -34000000000.0], t$95$1, If[LessEqual[z, 8e-71], N[(N[(y * x), $MachinePrecision] / N[(t - z), $MachinePrecision]), $MachinePrecision], t$95$1]]]
              
              \begin{array}{l}
              
              \\
              \begin{array}{l}
              t_1 := \frac{z}{z - t} \cdot x\\
              \mathbf{if}\;z \leq -34000000000:\\
              \;\;\;\;t\_1\\
              
              \mathbf{elif}\;z \leq 8 \cdot 10^{-71}:\\
              \;\;\;\;\frac{y \cdot x}{t - z}\\
              
              \mathbf{else}:\\
              \;\;\;\;t\_1\\
              
              
              \end{array}
              \end{array}
              
              Derivation
              1. Split input into 2 regimes
              2. if z < -3.4e10 or 7.9999999999999993e-71 < z

                1. Initial program 78.4%

                  \[\frac{x \cdot \left(y - z\right)}{t - z} \]
                2. Add Preprocessing
                3. Step-by-step derivation
                  1. lift-/.f64N/A

                    \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t - z}} \]
                  2. lift-*.f64N/A

                    \[\leadsto \frac{\color{blue}{x \cdot \left(y - z\right)}}{t - z} \]
                  3. associate-/l*N/A

                    \[\leadsto \color{blue}{x \cdot \frac{y - z}{t - z}} \]
                  4. *-commutativeN/A

                    \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
                  5. lower-*.f64N/A

                    \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
                  6. lower-/.f6499.8

                    \[\leadsto \color{blue}{\frac{y - z}{t - z}} \cdot x \]
                4. Applied rewrites99.8%

                  \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
                5. Taylor expanded in y around 0

                  \[\leadsto \color{blue}{\left(-1 \cdot \frac{z}{t - z}\right)} \cdot x \]
                6. Step-by-step derivation
                  1. mul-1-negN/A

                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{z}{t - z}\right)\right)} \cdot x \]
                  2. distribute-neg-frac2N/A

                    \[\leadsto \color{blue}{\frac{z}{\mathsf{neg}\left(\left(t - z\right)\right)}} \cdot x \]
                  3. mul-1-negN/A

                    \[\leadsto \frac{z}{\color{blue}{-1 \cdot \left(t - z\right)}} \cdot x \]
                  4. lower-/.f64N/A

                    \[\leadsto \color{blue}{\frac{z}{-1 \cdot \left(t - z\right)}} \cdot x \]
                  5. mul-1-negN/A

                    \[\leadsto \frac{z}{\color{blue}{\mathsf{neg}\left(\left(t - z\right)\right)}} \cdot x \]
                  6. sub-negN/A

                    \[\leadsto \frac{z}{\mathsf{neg}\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(z\right)\right)\right)}\right)} \cdot x \]
                  7. +-commutativeN/A

                    \[\leadsto \frac{z}{\mathsf{neg}\left(\color{blue}{\left(\left(\mathsf{neg}\left(z\right)\right) + t\right)}\right)} \cdot x \]
                  8. distribute-neg-inN/A

                    \[\leadsto \frac{z}{\color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(z\right)\right)\right)\right) + \left(\mathsf{neg}\left(t\right)\right)}} \cdot x \]
                  9. unsub-negN/A

                    \[\leadsto \frac{z}{\color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(z\right)\right)\right)\right) - t}} \cdot x \]
                  10. remove-double-negN/A

                    \[\leadsto \frac{z}{\color{blue}{z} - t} \cdot x \]
                  11. lower--.f6484.5

                    \[\leadsto \frac{z}{\color{blue}{z - t}} \cdot x \]
                7. Applied rewrites84.5%

                  \[\leadsto \color{blue}{\frac{z}{z - t}} \cdot x \]

                if -3.4e10 < z < 7.9999999999999993e-71

                1. Initial program 96.6%

                  \[\frac{x \cdot \left(y - z\right)}{t - z} \]
                2. Add Preprocessing
                3. Taylor expanded in z around 0

                  \[\leadsto \frac{\color{blue}{x \cdot y}}{t - z} \]
                4. Step-by-step derivation
                  1. *-commutativeN/A

                    \[\leadsto \frac{\color{blue}{y \cdot x}}{t - z} \]
                  2. lower-*.f6482.6

                    \[\leadsto \frac{\color{blue}{y \cdot x}}{t - z} \]
                5. Applied rewrites82.6%

                  \[\leadsto \frac{\color{blue}{y \cdot x}}{t - z} \]
              3. Recombined 2 regimes into one program.
              4. Add Preprocessing

              Alternative 10: 72.4% accurate, 0.7× speedup?

              \[\begin{array}{l} \\ \begin{array}{l} t_1 := x - \frac{y \cdot x}{z}\\ \mathbf{if}\;z \leq -4.8 \cdot 10^{+23}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 6.5 \cdot 10^{-27}:\\ \;\;\;\;\frac{x}{t - z} \cdot y\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
              (FPCore (x y z t)
               :precision binary64
               (let* ((t_1 (- x (/ (* y x) z))))
                 (if (<= z -4.8e+23) t_1 (if (<= z 6.5e-27) (* (/ x (- t z)) y) t_1))))
              double code(double x, double y, double z, double t) {
              	double t_1 = x - ((y * x) / z);
              	double tmp;
              	if (z <= -4.8e+23) {
              		tmp = t_1;
              	} else if (z <= 6.5e-27) {
              		tmp = (x / (t - z)) * y;
              	} else {
              		tmp = t_1;
              	}
              	return tmp;
              }
              
              real(8) function code(x, y, z, t)
                  real(8), intent (in) :: x
                  real(8), intent (in) :: y
                  real(8), intent (in) :: z
                  real(8), intent (in) :: t
                  real(8) :: t_1
                  real(8) :: tmp
                  t_1 = x - ((y * x) / z)
                  if (z <= (-4.8d+23)) then
                      tmp = t_1
                  else if (z <= 6.5d-27) then
                      tmp = (x / (t - z)) * y
                  else
                      tmp = t_1
                  end if
                  code = tmp
              end function
              
              public static double code(double x, double y, double z, double t) {
              	double t_1 = x - ((y * x) / z);
              	double tmp;
              	if (z <= -4.8e+23) {
              		tmp = t_1;
              	} else if (z <= 6.5e-27) {
              		tmp = (x / (t - z)) * y;
              	} else {
              		tmp = t_1;
              	}
              	return tmp;
              }
              
              def code(x, y, z, t):
              	t_1 = x - ((y * x) / z)
              	tmp = 0
              	if z <= -4.8e+23:
              		tmp = t_1
              	elif z <= 6.5e-27:
              		tmp = (x / (t - z)) * y
              	else:
              		tmp = t_1
              	return tmp
              
              function code(x, y, z, t)
              	t_1 = Float64(x - Float64(Float64(y * x) / z))
              	tmp = 0.0
              	if (z <= -4.8e+23)
              		tmp = t_1;
              	elseif (z <= 6.5e-27)
              		tmp = Float64(Float64(x / Float64(t - z)) * y);
              	else
              		tmp = t_1;
              	end
              	return tmp
              end
              
              function tmp_2 = code(x, y, z, t)
              	t_1 = x - ((y * x) / z);
              	tmp = 0.0;
              	if (z <= -4.8e+23)
              		tmp = t_1;
              	elseif (z <= 6.5e-27)
              		tmp = (x / (t - z)) * y;
              	else
              		tmp = t_1;
              	end
              	tmp_2 = tmp;
              end
              
              code[x_, y_, z_, t_] := Block[{t$95$1 = N[(x - N[(N[(y * x), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -4.8e+23], t$95$1, If[LessEqual[z, 6.5e-27], N[(N[(x / N[(t - z), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision], t$95$1]]]
              
              \begin{array}{l}
              
              \\
              \begin{array}{l}
              t_1 := x - \frac{y \cdot x}{z}\\
              \mathbf{if}\;z \leq -4.8 \cdot 10^{+23}:\\
              \;\;\;\;t\_1\\
              
              \mathbf{elif}\;z \leq 6.5 \cdot 10^{-27}:\\
              \;\;\;\;\frac{x}{t - z} \cdot y\\
              
              \mathbf{else}:\\
              \;\;\;\;t\_1\\
              
              
              \end{array}
              \end{array}
              
              Derivation
              1. Split input into 2 regimes
              2. if z < -4.8e23 or 6.50000000000000025e-27 < z

                1. Initial program 75.9%

                  \[\frac{x \cdot \left(y - z\right)}{t - z} \]
                2. Add Preprocessing
                3. Taylor expanded in t around 0

                  \[\leadsto \color{blue}{-1 \cdot \frac{x \cdot \left(y - z\right)}{z}} \]
                4. Step-by-step derivation
                  1. mul-1-negN/A

                    \[\leadsto \color{blue}{\mathsf{neg}\left(\frac{x \cdot \left(y - z\right)}{z}\right)} \]
                  2. neg-sub0N/A

                    \[\leadsto \color{blue}{0 - \frac{x \cdot \left(y - z\right)}{z}} \]
                  3. associate-/l*N/A

                    \[\leadsto 0 - \color{blue}{x \cdot \frac{y - z}{z}} \]
                  4. div-subN/A

                    \[\leadsto 0 - x \cdot \color{blue}{\left(\frac{y}{z} - \frac{z}{z}\right)} \]
                  5. sub-negN/A

                    \[\leadsto 0 - x \cdot \color{blue}{\left(\frac{y}{z} + \left(\mathsf{neg}\left(\frac{z}{z}\right)\right)\right)} \]
                  6. *-inversesN/A

                    \[\leadsto 0 - x \cdot \left(\frac{y}{z} + \left(\mathsf{neg}\left(\color{blue}{1}\right)\right)\right) \]
                  7. metadata-evalN/A

                    \[\leadsto 0 - x \cdot \left(\frac{y}{z} + \color{blue}{-1}\right) \]
                  8. distribute-lft-outN/A

                    \[\leadsto 0 - \color{blue}{\left(x \cdot \frac{y}{z} + x \cdot -1\right)} \]
                  9. associate-/l*N/A

                    \[\leadsto 0 - \left(\color{blue}{\frac{x \cdot y}{z}} + x \cdot -1\right) \]
                  10. *-commutativeN/A

                    \[\leadsto 0 - \left(\frac{x \cdot y}{z} + \color{blue}{-1 \cdot x}\right) \]
                  11. mul-1-negN/A

                    \[\leadsto 0 - \left(\frac{x \cdot y}{z} + \color{blue}{\left(\mathsf{neg}\left(x\right)\right)}\right) \]
                  12. unsub-negN/A

                    \[\leadsto 0 - \color{blue}{\left(\frac{x \cdot y}{z} - x\right)} \]
                  13. associate-+l-N/A

                    \[\leadsto \color{blue}{\left(0 - \frac{x \cdot y}{z}\right) + x} \]
                  14. neg-sub0N/A

                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{x \cdot y}{z}\right)\right)} + x \]
                  15. mul-1-negN/A

                    \[\leadsto \color{blue}{-1 \cdot \frac{x \cdot y}{z}} + x \]
                  16. +-commutativeN/A

                    \[\leadsto \color{blue}{x + -1 \cdot \frac{x \cdot y}{z}} \]
                  17. mul-1-negN/A

                    \[\leadsto x + \color{blue}{\left(\mathsf{neg}\left(\frac{x \cdot y}{z}\right)\right)} \]
                  18. unsub-negN/A

                    \[\leadsto \color{blue}{x - \frac{x \cdot y}{z}} \]
                  19. lower--.f64N/A

                    \[\leadsto \color{blue}{x - \frac{x \cdot y}{z}} \]
                  20. lower-/.f64N/A

                    \[\leadsto x - \color{blue}{\frac{x \cdot y}{z}} \]
                  21. *-commutativeN/A

                    \[\leadsto x - \frac{\color{blue}{y \cdot x}}{z} \]
                  22. lower-*.f6470.7

                    \[\leadsto x - \frac{\color{blue}{y \cdot x}}{z} \]
                5. Applied rewrites70.7%

                  \[\leadsto \color{blue}{x - \frac{y \cdot x}{z}} \]

                if -4.8e23 < z < 6.50000000000000025e-27

                1. Initial program 96.7%

                  \[\frac{x \cdot \left(y - z\right)}{t - z} \]
                2. Add Preprocessing
                3. Taylor expanded in y around inf

                  \[\leadsto \color{blue}{\frac{x \cdot y}{t - z}} \]
                4. Step-by-step derivation
                  1. associate-*l/N/A

                    \[\leadsto \color{blue}{\frac{x}{t - z} \cdot y} \]
                  2. lower-*.f64N/A

                    \[\leadsto \color{blue}{\frac{x}{t - z} \cdot y} \]
                  3. lower-/.f64N/A

                    \[\leadsto \color{blue}{\frac{x}{t - z}} \cdot y \]
                  4. lower--.f6474.9

                    \[\leadsto \frac{x}{\color{blue}{t - z}} \cdot y \]
                5. Applied rewrites74.9%

                  \[\leadsto \color{blue}{\frac{x}{t - z} \cdot y} \]
              3. Recombined 2 regimes into one program.
              4. Add Preprocessing

              Alternative 11: 60.4% accurate, 0.8× speedup?

              \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -5.6 \cdot 10^{+23}:\\ \;\;\;\;1 \cdot x\\ \mathbf{elif}\;z \leq 6 \cdot 10^{-26}:\\ \;\;\;\;\frac{y \cdot x}{t}\\ \mathbf{else}:\\ \;\;\;\;1 \cdot x\\ \end{array} \end{array} \]
              (FPCore (x y z t)
               :precision binary64
               (if (<= z -5.6e+23) (* 1.0 x) (if (<= z 6e-26) (/ (* y x) t) (* 1.0 x))))
              double code(double x, double y, double z, double t) {
              	double tmp;
              	if (z <= -5.6e+23) {
              		tmp = 1.0 * x;
              	} else if (z <= 6e-26) {
              		tmp = (y * x) / t;
              	} else {
              		tmp = 1.0 * x;
              	}
              	return tmp;
              }
              
              real(8) function code(x, y, z, t)
                  real(8), intent (in) :: x
                  real(8), intent (in) :: y
                  real(8), intent (in) :: z
                  real(8), intent (in) :: t
                  real(8) :: tmp
                  if (z <= (-5.6d+23)) then
                      tmp = 1.0d0 * x
                  else if (z <= 6d-26) then
                      tmp = (y * x) / t
                  else
                      tmp = 1.0d0 * x
                  end if
                  code = tmp
              end function
              
              public static double code(double x, double y, double z, double t) {
              	double tmp;
              	if (z <= -5.6e+23) {
              		tmp = 1.0 * x;
              	} else if (z <= 6e-26) {
              		tmp = (y * x) / t;
              	} else {
              		tmp = 1.0 * x;
              	}
              	return tmp;
              }
              
              def code(x, y, z, t):
              	tmp = 0
              	if z <= -5.6e+23:
              		tmp = 1.0 * x
              	elif z <= 6e-26:
              		tmp = (y * x) / t
              	else:
              		tmp = 1.0 * x
              	return tmp
              
              function code(x, y, z, t)
              	tmp = 0.0
              	if (z <= -5.6e+23)
              		tmp = Float64(1.0 * x);
              	elseif (z <= 6e-26)
              		tmp = Float64(Float64(y * x) / t);
              	else
              		tmp = Float64(1.0 * x);
              	end
              	return tmp
              end
              
              function tmp_2 = code(x, y, z, t)
              	tmp = 0.0;
              	if (z <= -5.6e+23)
              		tmp = 1.0 * x;
              	elseif (z <= 6e-26)
              		tmp = (y * x) / t;
              	else
              		tmp = 1.0 * x;
              	end
              	tmp_2 = tmp;
              end
              
              code[x_, y_, z_, t_] := If[LessEqual[z, -5.6e+23], N[(1.0 * x), $MachinePrecision], If[LessEqual[z, 6e-26], N[(N[(y * x), $MachinePrecision] / t), $MachinePrecision], N[(1.0 * x), $MachinePrecision]]]
              
              \begin{array}{l}
              
              \\
              \begin{array}{l}
              \mathbf{if}\;z \leq -5.6 \cdot 10^{+23}:\\
              \;\;\;\;1 \cdot x\\
              
              \mathbf{elif}\;z \leq 6 \cdot 10^{-26}:\\
              \;\;\;\;\frac{y \cdot x}{t}\\
              
              \mathbf{else}:\\
              \;\;\;\;1 \cdot x\\
              
              
              \end{array}
              \end{array}
              
              Derivation
              1. Split input into 2 regimes
              2. if z < -5.6e23 or 6.00000000000000023e-26 < z

                1. Initial program 75.9%

                  \[\frac{x \cdot \left(y - z\right)}{t - z} \]
                2. Add Preprocessing
                3. Step-by-step derivation
                  1. lift-/.f64N/A

                    \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t - z}} \]
                  2. lift-*.f64N/A

                    \[\leadsto \frac{\color{blue}{x \cdot \left(y - z\right)}}{t - z} \]
                  3. associate-/l*N/A

                    \[\leadsto \color{blue}{x \cdot \frac{y - z}{t - z}} \]
                  4. *-commutativeN/A

                    \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
                  5. lower-*.f64N/A

                    \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
                  6. lower-/.f6499.9

                    \[\leadsto \color{blue}{\frac{y - z}{t - z}} \cdot x \]
                4. Applied rewrites99.9%

                  \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
                5. Taylor expanded in z around inf

                  \[\leadsto \color{blue}{1} \cdot x \]
                6. Step-by-step derivation
                  1. Applied rewrites65.3%

                    \[\leadsto \color{blue}{1} \cdot x \]

                  if -5.6e23 < z < 6.00000000000000023e-26

                  1. Initial program 96.7%

                    \[\frac{x \cdot \left(y - z\right)}{t - z} \]
                  2. Add Preprocessing
                  3. Taylor expanded in z around 0

                    \[\leadsto \color{blue}{\frac{x \cdot y}{t}} \]
                  4. Step-by-step derivation
                    1. lower-/.f64N/A

                      \[\leadsto \color{blue}{\frac{x \cdot y}{t}} \]
                    2. *-commutativeN/A

                      \[\leadsto \frac{\color{blue}{y \cdot x}}{t} \]
                    3. lower-*.f6466.1

                      \[\leadsto \frac{\color{blue}{y \cdot x}}{t} \]
                  5. Applied rewrites66.1%

                    \[\leadsto \color{blue}{\frac{y \cdot x}{t}} \]
                7. Recombined 2 regimes into one program.
                8. Add Preprocessing

                Alternative 12: 60.7% accurate, 0.8× speedup?

                \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -4.8 \cdot 10^{+23}:\\ \;\;\;\;1 \cdot x\\ \mathbf{elif}\;z \leq 6 \cdot 10^{-26}:\\ \;\;\;\;\frac{x}{t} \cdot y\\ \mathbf{else}:\\ \;\;\;\;1 \cdot x\\ \end{array} \end{array} \]
                (FPCore (x y z t)
                 :precision binary64
                 (if (<= z -4.8e+23) (* 1.0 x) (if (<= z 6e-26) (* (/ x t) y) (* 1.0 x))))
                double code(double x, double y, double z, double t) {
                	double tmp;
                	if (z <= -4.8e+23) {
                		tmp = 1.0 * x;
                	} else if (z <= 6e-26) {
                		tmp = (x / t) * y;
                	} else {
                		tmp = 1.0 * x;
                	}
                	return tmp;
                }
                
                real(8) function code(x, y, z, t)
                    real(8), intent (in) :: x
                    real(8), intent (in) :: y
                    real(8), intent (in) :: z
                    real(8), intent (in) :: t
                    real(8) :: tmp
                    if (z <= (-4.8d+23)) then
                        tmp = 1.0d0 * x
                    else if (z <= 6d-26) then
                        tmp = (x / t) * y
                    else
                        tmp = 1.0d0 * x
                    end if
                    code = tmp
                end function
                
                public static double code(double x, double y, double z, double t) {
                	double tmp;
                	if (z <= -4.8e+23) {
                		tmp = 1.0 * x;
                	} else if (z <= 6e-26) {
                		tmp = (x / t) * y;
                	} else {
                		tmp = 1.0 * x;
                	}
                	return tmp;
                }
                
                def code(x, y, z, t):
                	tmp = 0
                	if z <= -4.8e+23:
                		tmp = 1.0 * x
                	elif z <= 6e-26:
                		tmp = (x / t) * y
                	else:
                		tmp = 1.0 * x
                	return tmp
                
                function code(x, y, z, t)
                	tmp = 0.0
                	if (z <= -4.8e+23)
                		tmp = Float64(1.0 * x);
                	elseif (z <= 6e-26)
                		tmp = Float64(Float64(x / t) * y);
                	else
                		tmp = Float64(1.0 * x);
                	end
                	return tmp
                end
                
                function tmp_2 = code(x, y, z, t)
                	tmp = 0.0;
                	if (z <= -4.8e+23)
                		tmp = 1.0 * x;
                	elseif (z <= 6e-26)
                		tmp = (x / t) * y;
                	else
                		tmp = 1.0 * x;
                	end
                	tmp_2 = tmp;
                end
                
                code[x_, y_, z_, t_] := If[LessEqual[z, -4.8e+23], N[(1.0 * x), $MachinePrecision], If[LessEqual[z, 6e-26], N[(N[(x / t), $MachinePrecision] * y), $MachinePrecision], N[(1.0 * x), $MachinePrecision]]]
                
                \begin{array}{l}
                
                \\
                \begin{array}{l}
                \mathbf{if}\;z \leq -4.8 \cdot 10^{+23}:\\
                \;\;\;\;1 \cdot x\\
                
                \mathbf{elif}\;z \leq 6 \cdot 10^{-26}:\\
                \;\;\;\;\frac{x}{t} \cdot y\\
                
                \mathbf{else}:\\
                \;\;\;\;1 \cdot x\\
                
                
                \end{array}
                \end{array}
                
                Derivation
                1. Split input into 2 regimes
                2. if z < -4.8e23 or 6.00000000000000023e-26 < z

                  1. Initial program 75.9%

                    \[\frac{x \cdot \left(y - z\right)}{t - z} \]
                  2. Add Preprocessing
                  3. Step-by-step derivation
                    1. lift-/.f64N/A

                      \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t - z}} \]
                    2. lift-*.f64N/A

                      \[\leadsto \frac{\color{blue}{x \cdot \left(y - z\right)}}{t - z} \]
                    3. associate-/l*N/A

                      \[\leadsto \color{blue}{x \cdot \frac{y - z}{t - z}} \]
                    4. *-commutativeN/A

                      \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
                    5. lower-*.f64N/A

                      \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
                    6. lower-/.f6499.9

                      \[\leadsto \color{blue}{\frac{y - z}{t - z}} \cdot x \]
                  4. Applied rewrites99.9%

                    \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
                  5. Taylor expanded in z around inf

                    \[\leadsto \color{blue}{1} \cdot x \]
                  6. Step-by-step derivation
                    1. Applied rewrites65.3%

                      \[\leadsto \color{blue}{1} \cdot x \]

                    if -4.8e23 < z < 6.00000000000000023e-26

                    1. Initial program 96.7%

                      \[\frac{x \cdot \left(y - z\right)}{t - z} \]
                    2. Add Preprocessing
                    3. Taylor expanded in z around 0

                      \[\leadsto \color{blue}{\frac{x \cdot y}{t}} \]
                    4. Step-by-step derivation
                      1. lower-/.f64N/A

                        \[\leadsto \color{blue}{\frac{x \cdot y}{t}} \]
                      2. *-commutativeN/A

                        \[\leadsto \frac{\color{blue}{y \cdot x}}{t} \]
                      3. lower-*.f6466.1

                        \[\leadsto \frac{\color{blue}{y \cdot x}}{t} \]
                    5. Applied rewrites66.1%

                      \[\leadsto \color{blue}{\frac{y \cdot x}{t}} \]
                    6. Step-by-step derivation
                      1. Applied rewrites64.0%

                        \[\leadsto \frac{x}{t} \cdot \color{blue}{y} \]
                    7. Recombined 2 regimes into one program.
                    8. Add Preprocessing

                    Alternative 13: 97.1% accurate, 1.0× speedup?

                    \[\begin{array}{l} \\ \frac{y - z}{t - z} \cdot x \end{array} \]
                    (FPCore (x y z t) :precision binary64 (* (/ (- y z) (- t z)) x))
                    double code(double x, double y, double z, double t) {
                    	return ((y - z) / (t - z)) * x;
                    }
                    
                    real(8) function code(x, y, z, t)
                        real(8), intent (in) :: x
                        real(8), intent (in) :: y
                        real(8), intent (in) :: z
                        real(8), intent (in) :: t
                        code = ((y - z) / (t - z)) * x
                    end function
                    
                    public static double code(double x, double y, double z, double t) {
                    	return ((y - z) / (t - z)) * x;
                    }
                    
                    def code(x, y, z, t):
                    	return ((y - z) / (t - z)) * x
                    
                    function code(x, y, z, t)
                    	return Float64(Float64(Float64(y - z) / Float64(t - z)) * x)
                    end
                    
                    function tmp = code(x, y, z, t)
                    	tmp = ((y - z) / (t - z)) * x;
                    end
                    
                    code[x_, y_, z_, t_] := N[(N[(N[(y - z), $MachinePrecision] / N[(t - z), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]
                    
                    \begin{array}{l}
                    
                    \\
                    \frac{y - z}{t - z} \cdot x
                    \end{array}
                    
                    Derivation
                    1. Initial program 86.9%

                      \[\frac{x \cdot \left(y - z\right)}{t - z} \]
                    2. Add Preprocessing
                    3. Step-by-step derivation
                      1. lift-/.f64N/A

                        \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t - z}} \]
                      2. lift-*.f64N/A

                        \[\leadsto \frac{\color{blue}{x \cdot \left(y - z\right)}}{t - z} \]
                      3. associate-/l*N/A

                        \[\leadsto \color{blue}{x \cdot \frac{y - z}{t - z}} \]
                      4. *-commutativeN/A

                        \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
                      5. lower-*.f64N/A

                        \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
                      6. lower-/.f6497.6

                        \[\leadsto \color{blue}{\frac{y - z}{t - z}} \cdot x \]
                    4. Applied rewrites97.6%

                      \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
                    5. Add Preprocessing

                    Alternative 14: 34.4% accurate, 3.8× speedup?

                    \[\begin{array}{l} \\ 1 \cdot x \end{array} \]
                    (FPCore (x y z t) :precision binary64 (* 1.0 x))
                    double code(double x, double y, double z, double t) {
                    	return 1.0 * x;
                    }
                    
                    real(8) function code(x, y, z, t)
                        real(8), intent (in) :: x
                        real(8), intent (in) :: y
                        real(8), intent (in) :: z
                        real(8), intent (in) :: t
                        code = 1.0d0 * x
                    end function
                    
                    public static double code(double x, double y, double z, double t) {
                    	return 1.0 * x;
                    }
                    
                    def code(x, y, z, t):
                    	return 1.0 * x
                    
                    function code(x, y, z, t)
                    	return Float64(1.0 * x)
                    end
                    
                    function tmp = code(x, y, z, t)
                    	tmp = 1.0 * x;
                    end
                    
                    code[x_, y_, z_, t_] := N[(1.0 * x), $MachinePrecision]
                    
                    \begin{array}{l}
                    
                    \\
                    1 \cdot x
                    \end{array}
                    
                    Derivation
                    1. Initial program 86.9%

                      \[\frac{x \cdot \left(y - z\right)}{t - z} \]
                    2. Add Preprocessing
                    3. Step-by-step derivation
                      1. lift-/.f64N/A

                        \[\leadsto \color{blue}{\frac{x \cdot \left(y - z\right)}{t - z}} \]
                      2. lift-*.f64N/A

                        \[\leadsto \frac{\color{blue}{x \cdot \left(y - z\right)}}{t - z} \]
                      3. associate-/l*N/A

                        \[\leadsto \color{blue}{x \cdot \frac{y - z}{t - z}} \]
                      4. *-commutativeN/A

                        \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
                      5. lower-*.f64N/A

                        \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
                      6. lower-/.f6497.6

                        \[\leadsto \color{blue}{\frac{y - z}{t - z}} \cdot x \]
                    4. Applied rewrites97.6%

                      \[\leadsto \color{blue}{\frac{y - z}{t - z} \cdot x} \]
                    5. Taylor expanded in z around inf

                      \[\leadsto \color{blue}{1} \cdot x \]
                    6. Step-by-step derivation
                      1. Applied rewrites36.1%

                        \[\leadsto \color{blue}{1} \cdot x \]
                      2. Add Preprocessing

                      Developer Target 1: 97.0% accurate, 0.8× speedup?

                      \[\begin{array}{l} \\ \frac{x}{\frac{t - z}{y - z}} \end{array} \]
                      (FPCore (x y z t) :precision binary64 (/ x (/ (- t z) (- y z))))
                      double code(double x, double y, double z, double t) {
                      	return x / ((t - z) / (y - z));
                      }
                      
                      real(8) function code(x, y, z, t)
                          real(8), intent (in) :: x
                          real(8), intent (in) :: y
                          real(8), intent (in) :: z
                          real(8), intent (in) :: t
                          code = x / ((t - z) / (y - z))
                      end function
                      
                      public static double code(double x, double y, double z, double t) {
                      	return x / ((t - z) / (y - z));
                      }
                      
                      def code(x, y, z, t):
                      	return x / ((t - z) / (y - z))
                      
                      function code(x, y, z, t)
                      	return Float64(x / Float64(Float64(t - z) / Float64(y - z)))
                      end
                      
                      function tmp = code(x, y, z, t)
                      	tmp = x / ((t - z) / (y - z));
                      end
                      
                      code[x_, y_, z_, t_] := N[(x / N[(N[(t - z), $MachinePrecision] / N[(y - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
                      
                      \begin{array}{l}
                      
                      \\
                      \frac{x}{\frac{t - z}{y - z}}
                      \end{array}
                      

                      Reproduce

                      ?
                      herbie shell --seed 2024276 
                      (FPCore (x y z t)
                        :name "Graphics.Rendering.Chart.Plot.AreaSpots:renderAreaSpots4D from Chart-1.5.3"
                        :precision binary64
                      
                        :alt
                        (! :herbie-platform default (/ x (/ (- t z) (- y z))))
                      
                        (/ (* x (- y z)) (- t z)))