Graphics.Rendering.Chart.Axis.Types:linMap from Chart-1.5.3

Percentage Accurate: 68.1% → 88.7%
Time: 10.4s
Alternatives: 18
Speedup: 0.8×

Specification

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

\\
x + \frac{\left(y - x\right) \cdot \left(z - t\right)}{a - t}
\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 18 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: 68.1% accurate, 1.0× speedup?

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

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

Alternative 1: 88.7% accurate, 0.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(a - z\right) \cdot \frac{y - x}{t}\\ \mathbf{if}\;t \leq -2.75 \cdot 10^{+219}:\\ \;\;\;\;\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\ \mathbf{elif}\;t \leq 1.8 \cdot 10^{+110}:\\ \;\;\;\;x - \frac{x - y}{\frac{t - a}{t - z}}\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(t\_1, \frac{a}{t}, t\_1\right) + y\\ \end{array} \end{array} \]
(FPCore (x y z t a)
 :precision binary64
 (let* ((t_1 (* (- a z) (/ (- y x) t))))
   (if (<= t -2.75e+219)
     (fma (/ (- x y) t) (- z a) y)
     (if (<= t 1.8e+110)
       (- x (/ (- x y) (/ (- t a) (- t z))))
       (+ (fma t_1 (/ a t) t_1) y)))))
double code(double x, double y, double z, double t, double a) {
	double t_1 = (a - z) * ((y - x) / t);
	double tmp;
	if (t <= -2.75e+219) {
		tmp = fma(((x - y) / t), (z - a), y);
	} else if (t <= 1.8e+110) {
		tmp = x - ((x - y) / ((t - a) / (t - z)));
	} else {
		tmp = fma(t_1, (a / t), t_1) + y;
	}
	return tmp;
}
function code(x, y, z, t, a)
	t_1 = Float64(Float64(a - z) * Float64(Float64(y - x) / t))
	tmp = 0.0
	if (t <= -2.75e+219)
		tmp = fma(Float64(Float64(x - y) / t), Float64(z - a), y);
	elseif (t <= 1.8e+110)
		tmp = Float64(x - Float64(Float64(x - y) / Float64(Float64(t - a) / Float64(t - z))));
	else
		tmp = Float64(fma(t_1, Float64(a / t), t_1) + y);
	end
	return tmp
end
code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(a - z), $MachinePrecision] * N[(N[(y - x), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -2.75e+219], N[(N[(N[(x - y), $MachinePrecision] / t), $MachinePrecision] * N[(z - a), $MachinePrecision] + y), $MachinePrecision], If[LessEqual[t, 1.8e+110], N[(x - N[(N[(x - y), $MachinePrecision] / N[(N[(t - a), $MachinePrecision] / N[(t - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(t$95$1 * N[(a / t), $MachinePrecision] + t$95$1), $MachinePrecision] + y), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \left(a - z\right) \cdot \frac{y - x}{t}\\
\mathbf{if}\;t \leq -2.75 \cdot 10^{+219}:\\
\;\;\;\;\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\

\mathbf{elif}\;t \leq 1.8 \cdot 10^{+110}:\\
\;\;\;\;x - \frac{x - y}{\frac{t - a}{t - z}}\\

\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(t\_1, \frac{a}{t}, t\_1\right) + y\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -2.74999999999999986e219

    1. Initial program 18.1%

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

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

        \[\leadsto \color{blue}{y + \left(-1 \cdot \frac{z \cdot \left(y - x\right)}{t} - -1 \cdot \frac{a \cdot \left(y - x\right)}{t}\right)} \]
      2. distribute-lft-out--N/A

        \[\leadsto y + \color{blue}{-1 \cdot \left(\frac{z \cdot \left(y - x\right)}{t} - \frac{a \cdot \left(y - x\right)}{t}\right)} \]
      3. div-subN/A

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

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

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{z \cdot \left(y - x\right) - a \cdot \left(y - x\right)}{t}\right)\right)} + y \]
      6. div-subN/A

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

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

        \[\leadsto \left(\mathsf{neg}\left(\left(z \cdot \frac{y - x}{t} - \color{blue}{a \cdot \frac{y - x}{t}}\right)\right)\right) + y \]
      9. distribute-rgt-out--N/A

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

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{y - x}{t}\right)\right) \cdot \left(z - a\right)} + y \]
      11. lower-fma.f64N/A

        \[\leadsto \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\frac{y - x}{t}\right), z - a, y\right)} \]
    5. Applied rewrites99.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)} \]

    if -2.74999999999999986e219 < t < 1.7999999999999998e110

    1. Initial program 82.8%

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

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

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

        \[\leadsto x + \color{blue}{\left(y - x\right) \cdot \frac{z - t}{a - t}} \]
      4. clear-numN/A

        \[\leadsto x + \left(y - x\right) \cdot \color{blue}{\frac{1}{\frac{a - t}{z - t}}} \]
      5. un-div-invN/A

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

        \[\leadsto x + \color{blue}{\frac{y - x}{\frac{a - t}{z - t}}} \]
      7. lower-/.f6491.8

        \[\leadsto x + \frac{y - x}{\color{blue}{\frac{a - t}{z - t}}} \]
    4. Applied rewrites91.8%

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

    if 1.7999999999999998e110 < t

    1. Initial program 27.6%

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

      \[\leadsto \color{blue}{\left(y + \left(-1 \cdot \frac{z \cdot \left(y - x\right)}{t} + \frac{a \cdot \left(-1 \cdot \left(z \cdot \left(y - x\right)\right) - -1 \cdot \left(a \cdot \left(y - x\right)\right)\right)}{{t}^{2}}\right)\right) - -1 \cdot \frac{a \cdot \left(y - x\right)}{t}} \]
    4. Applied rewrites85.6%

      \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{x - y}{t} \cdot \left(z - a\right), \frac{a}{t}, \frac{x - y}{t} \cdot \left(z - a\right)\right) + y} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification91.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.75 \cdot 10^{+219}:\\ \;\;\;\;\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\ \mathbf{elif}\;t \leq 1.8 \cdot 10^{+110}:\\ \;\;\;\;x - \frac{x - y}{\frac{t - a}{t - z}}\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\left(a - z\right) \cdot \frac{y - x}{t}, \frac{a}{t}, \left(a - z\right) \cdot \frac{y - x}{t}\right) + y\\ \end{array} \]
  5. Add Preprocessing

Alternative 2: 87.7% accurate, 0.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -2.75 \cdot 10^{+219}:\\ \;\;\;\;\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\ \mathbf{elif}\;t \leq 4 \cdot 10^{+27}:\\ \;\;\;\;x - \frac{x - y}{\frac{t - a}{t - z}}\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(x - y, \frac{z - a}{t}, y\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a)
 :precision binary64
 (if (<= t -2.75e+219)
   (fma (/ (- x y) t) (- z a) y)
   (if (<= t 4e+27)
     (- x (/ (- x y) (/ (- t a) (- t z))))
     (fma (- x y) (/ (- z a) t) y))))
double code(double x, double y, double z, double t, double a) {
	double tmp;
	if (t <= -2.75e+219) {
		tmp = fma(((x - y) / t), (z - a), y);
	} else if (t <= 4e+27) {
		tmp = x - ((x - y) / ((t - a) / (t - z)));
	} else {
		tmp = fma((x - y), ((z - a) / t), y);
	}
	return tmp;
}
function code(x, y, z, t, a)
	tmp = 0.0
	if (t <= -2.75e+219)
		tmp = fma(Float64(Float64(x - y) / t), Float64(z - a), y);
	elseif (t <= 4e+27)
		tmp = Float64(x - Float64(Float64(x - y) / Float64(Float64(t - a) / Float64(t - z))));
	else
		tmp = fma(Float64(x - y), Float64(Float64(z - a) / t), y);
	end
	return tmp
end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, -2.75e+219], N[(N[(N[(x - y), $MachinePrecision] / t), $MachinePrecision] * N[(z - a), $MachinePrecision] + y), $MachinePrecision], If[LessEqual[t, 4e+27], N[(x - N[(N[(x - y), $MachinePrecision] / N[(N[(t - a), $MachinePrecision] / N[(t - z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x - y), $MachinePrecision] * N[(N[(z - a), $MachinePrecision] / t), $MachinePrecision] + y), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq -2.75 \cdot 10^{+219}:\\
\;\;\;\;\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\

\mathbf{elif}\;t \leq 4 \cdot 10^{+27}:\\
\;\;\;\;x - \frac{x - y}{\frac{t - a}{t - z}}\\

\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(x - y, \frac{z - a}{t}, y\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -2.74999999999999986e219

    1. Initial program 18.1%

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

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

        \[\leadsto \color{blue}{y + \left(-1 \cdot \frac{z \cdot \left(y - x\right)}{t} - -1 \cdot \frac{a \cdot \left(y - x\right)}{t}\right)} \]
      2. distribute-lft-out--N/A

        \[\leadsto y + \color{blue}{-1 \cdot \left(\frac{z \cdot \left(y - x\right)}{t} - \frac{a \cdot \left(y - x\right)}{t}\right)} \]
      3. div-subN/A

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

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

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{z \cdot \left(y - x\right) - a \cdot \left(y - x\right)}{t}\right)\right)} + y \]
      6. div-subN/A

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

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

        \[\leadsto \left(\mathsf{neg}\left(\left(z \cdot \frac{y - x}{t} - \color{blue}{a \cdot \frac{y - x}{t}}\right)\right)\right) + y \]
      9. distribute-rgt-out--N/A

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

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{y - x}{t}\right)\right) \cdot \left(z - a\right)} + y \]
      11. lower-fma.f64N/A

        \[\leadsto \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\frac{y - x}{t}\right), z - a, y\right)} \]
    5. Applied rewrites99.8%

      \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)} \]

    if -2.74999999999999986e219 < t < 4.0000000000000001e27

    1. Initial program 83.7%

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

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

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

        \[\leadsto x + \color{blue}{\left(y - x\right) \cdot \frac{z - t}{a - t}} \]
      4. clear-numN/A

        \[\leadsto x + \left(y - x\right) \cdot \color{blue}{\frac{1}{\frac{a - t}{z - t}}} \]
      5. un-div-invN/A

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

        \[\leadsto x + \color{blue}{\frac{y - x}{\frac{a - t}{z - t}}} \]
      7. lower-/.f6492.9

        \[\leadsto x + \frac{y - x}{\color{blue}{\frac{a - t}{z - t}}} \]
    4. Applied rewrites92.9%

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

    if 4.0000000000000001e27 < t

    1. Initial program 38.7%

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

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

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

        \[\leadsto x + \color{blue}{\left(y - x\right) \cdot \frac{z - t}{a - t}} \]
      4. clear-numN/A

        \[\leadsto x + \left(y - x\right) \cdot \color{blue}{\frac{1}{\frac{a - t}{z - t}}} \]
      5. un-div-invN/A

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

        \[\leadsto x + \color{blue}{\frac{y - x}{\frac{a - t}{z - t}}} \]
      7. lower-/.f6468.4

        \[\leadsto x + \frac{y - x}{\color{blue}{\frac{a - t}{z - t}}} \]
    4. Applied rewrites68.4%

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

      \[\leadsto \color{blue}{\left(y + -1 \cdot \frac{z \cdot \left(y - x\right)}{t}\right) - -1 \cdot \frac{a \cdot \left(y - x\right)}{t}} \]
    6. Step-by-step derivation
      1. associate--l+N/A

        \[\leadsto \color{blue}{y + \left(-1 \cdot \frac{z \cdot \left(y - x\right)}{t} - -1 \cdot \frac{a \cdot \left(y - x\right)}{t}\right)} \]
      2. distribute-lft-out--N/A

        \[\leadsto y + \color{blue}{-1 \cdot \left(\frac{z \cdot \left(y - x\right)}{t} - \frac{a \cdot \left(y - x\right)}{t}\right)} \]
      3. div-subN/A

        \[\leadsto y + -1 \cdot \color{blue}{\frac{z \cdot \left(y - x\right) - a \cdot \left(y - x\right)}{t}} \]
      4. distribute-rgt-out--N/A

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

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

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

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

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

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

        \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot \left(y - x\right), \frac{z - a}{t}, y\right)} \]
      11. mul-1-negN/A

        \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(\left(y - x\right)\right)}, \frac{z - a}{t}, y\right) \]
      12. lower-neg.f64N/A

        \[\leadsto \mathsf{fma}\left(\color{blue}{-\left(y - x\right)}, \frac{z - a}{t}, y\right) \]
      13. lower--.f64N/A

        \[\leadsto \mathsf{fma}\left(-\color{blue}{\left(y - x\right)}, \frac{z - a}{t}, y\right) \]
      14. lower-/.f64N/A

        \[\leadsto \mathsf{fma}\left(-\left(y - x\right), \color{blue}{\frac{z - a}{t}}, y\right) \]
      15. lower--.f6483.1

        \[\leadsto \mathsf{fma}\left(-\left(y - x\right), \frac{\color{blue}{z - a}}{t}, y\right) \]
    7. Applied rewrites83.1%

      \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y - x\right), \frac{z - a}{t}, y\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification91.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.75 \cdot 10^{+219}:\\ \;\;\;\;\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\ \mathbf{elif}\;t \leq 4 \cdot 10^{+27}:\\ \;\;\;\;x - \frac{x - y}{\frac{t - a}{t - z}}\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(x - y, \frac{z - a}{t}, y\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 3: 62.5% accurate, 0.7× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -1.85 \cdot 10^{+99}:\\ \;\;\;\;y - \frac{z}{t} \cdot y\\ \mathbf{elif}\;t \leq -3.7 \cdot 10^{+37}:\\ \;\;\;\;\frac{z}{t - a} \cdot \left(x - y\right)\\ \mathbf{elif}\;t \leq 8.8 \cdot 10^{-39}:\\ \;\;\;\;\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{y}{t - a} \cdot \left(t - z\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a)
 :precision binary64
 (if (<= t -1.85e+99)
   (- y (* (/ z t) y))
   (if (<= t -3.7e+37)
     (* (/ z (- t a)) (- x y))
     (if (<= t 8.8e-39) (fma (/ (- y x) a) z x) (* (/ y (- t a)) (- t z))))))
double code(double x, double y, double z, double t, double a) {
	double tmp;
	if (t <= -1.85e+99) {
		tmp = y - ((z / t) * y);
	} else if (t <= -3.7e+37) {
		tmp = (z / (t - a)) * (x - y);
	} else if (t <= 8.8e-39) {
		tmp = fma(((y - x) / a), z, x);
	} else {
		tmp = (y / (t - a)) * (t - z);
	}
	return tmp;
}
function code(x, y, z, t, a)
	tmp = 0.0
	if (t <= -1.85e+99)
		tmp = Float64(y - Float64(Float64(z / t) * y));
	elseif (t <= -3.7e+37)
		tmp = Float64(Float64(z / Float64(t - a)) * Float64(x - y));
	elseif (t <= 8.8e-39)
		tmp = fma(Float64(Float64(y - x) / a), z, x);
	else
		tmp = Float64(Float64(y / Float64(t - a)) * Float64(t - z));
	end
	return tmp
end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, -1.85e+99], N[(y - N[(N[(z / t), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -3.7e+37], N[(N[(z / N[(t - a), $MachinePrecision]), $MachinePrecision] * N[(x - y), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 8.8e-39], N[(N[(N[(y - x), $MachinePrecision] / a), $MachinePrecision] * z + x), $MachinePrecision], N[(N[(y / N[(t - a), $MachinePrecision]), $MachinePrecision] * N[(t - z), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.85 \cdot 10^{+99}:\\
\;\;\;\;y - \frac{z}{t} \cdot y\\

\mathbf{elif}\;t \leq -3.7 \cdot 10^{+37}:\\
\;\;\;\;\frac{z}{t - a} \cdot \left(x - y\right)\\

\mathbf{elif}\;t \leq 8.8 \cdot 10^{-39}:\\
\;\;\;\;\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)\\

\mathbf{else}:\\
\;\;\;\;\frac{y}{t - a} \cdot \left(t - z\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if t < -1.85000000000000005e99

    1. Initial program 39.1%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(\frac{z - t}{t}, \color{blue}{x} - y, x\right) \]
      16. lower--.f6451.5

        \[\leadsto \mathsf{fma}\left(\frac{z - t}{t}, \color{blue}{x - y}, x\right) \]
    5. Applied rewrites51.5%

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

      \[\leadsto -1 \cdot \color{blue}{\frac{y \cdot \left(z - t\right)}{t}} \]
    7. Step-by-step derivation
      1. Applied rewrites54.8%

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

        \[\leadsto -1 \cdot \left(-y\right) \]
      3. Step-by-step derivation
        1. Applied rewrites45.9%

          \[\leadsto -1 \cdot \left(-y\right) \]
        2. Taylor expanded in t around inf

          \[\leadsto y + -1 \cdot \color{blue}{\frac{y \cdot z}{t}} \]
        3. Step-by-step derivation
          1. Applied rewrites54.8%

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

          if -1.85000000000000005e99 < t < -3.6999999999999999e37

          1. Initial program 62.0%

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

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

              \[\leadsto z \cdot \color{blue}{\frac{y - x}{a - t}} \]
            2. associate-/l*N/A

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

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

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

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

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

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

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

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

          if -3.6999999999999999e37 < t < 8.80000000000000003e-39

          1. Initial program 91.5%

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

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

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

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

              \[\leadsto \color{blue}{\frac{y - x}{a} \cdot z} + x \]
            4. lower-fma.f64N/A

              \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)} \]
            5. lower-/.f64N/A

              \[\leadsto \mathsf{fma}\left(\color{blue}{\frac{y - x}{a}}, z, x\right) \]
            6. lower--.f6473.4

              \[\leadsto \mathsf{fma}\left(\frac{\color{blue}{y - x}}{a}, z, x\right) \]
          5. Applied rewrites73.4%

            \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)} \]

          if 8.80000000000000003e-39 < t

          1. Initial program 48.6%

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

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

              \[\leadsto y \cdot \color{blue}{\frac{z - t}{a - t}} \]
            2. associate-/l*N/A

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

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

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

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

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

              \[\leadsto \left(z - t\right) \cdot \color{blue}{\frac{y}{a - t}} \]
            8. lower--.f6456.6

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

            \[\leadsto \color{blue}{\left(z - t\right) \cdot \frac{y}{a - t}} \]
        4. Recombined 4 regimes into one program.
        5. Final simplification65.2%

          \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.85 \cdot 10^{+99}:\\ \;\;\;\;y - \frac{z}{t} \cdot y\\ \mathbf{elif}\;t \leq -3.7 \cdot 10^{+37}:\\ \;\;\;\;\frac{z}{t - a} \cdot \left(x - y\right)\\ \mathbf{elif}\;t \leq 8.8 \cdot 10^{-39}:\\ \;\;\;\;\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{y}{t - a} \cdot \left(t - z\right)\\ \end{array} \]
        6. Add Preprocessing

        Alternative 4: 83.9% accurate, 0.7× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -1.35 \cdot 10^{+76}:\\ \;\;\;\;\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\ \mathbf{elif}\;t \leq 4 \cdot 10^{+27}:\\ \;\;\;\;x - \frac{\left(t - z\right) \cdot \left(y - x\right)}{a - t}\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(x - y, \frac{z - a}{t}, y\right)\\ \end{array} \end{array} \]
        (FPCore (x y z t a)
         :precision binary64
         (if (<= t -1.35e+76)
           (fma (/ (- x y) t) (- z a) y)
           (if (<= t 4e+27)
             (- x (/ (* (- t z) (- y x)) (- a t)))
             (fma (- x y) (/ (- z a) t) y))))
        double code(double x, double y, double z, double t, double a) {
        	double tmp;
        	if (t <= -1.35e+76) {
        		tmp = fma(((x - y) / t), (z - a), y);
        	} else if (t <= 4e+27) {
        		tmp = x - (((t - z) * (y - x)) / (a - t));
        	} else {
        		tmp = fma((x - y), ((z - a) / t), y);
        	}
        	return tmp;
        }
        
        function code(x, y, z, t, a)
        	tmp = 0.0
        	if (t <= -1.35e+76)
        		tmp = fma(Float64(Float64(x - y) / t), Float64(z - a), y);
        	elseif (t <= 4e+27)
        		tmp = Float64(x - Float64(Float64(Float64(t - z) * Float64(y - x)) / Float64(a - t)));
        	else
        		tmp = fma(Float64(x - y), Float64(Float64(z - a) / t), y);
        	end
        	return tmp
        end
        
        code[x_, y_, z_, t_, a_] := If[LessEqual[t, -1.35e+76], N[(N[(N[(x - y), $MachinePrecision] / t), $MachinePrecision] * N[(z - a), $MachinePrecision] + y), $MachinePrecision], If[LessEqual[t, 4e+27], N[(x - N[(N[(N[(t - z), $MachinePrecision] * N[(y - x), $MachinePrecision]), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x - y), $MachinePrecision] * N[(N[(z - a), $MachinePrecision] / t), $MachinePrecision] + y), $MachinePrecision]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        \mathbf{if}\;t \leq -1.35 \cdot 10^{+76}:\\
        \;\;\;\;\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\
        
        \mathbf{elif}\;t \leq 4 \cdot 10^{+27}:\\
        \;\;\;\;x - \frac{\left(t - z\right) \cdot \left(y - x\right)}{a - t}\\
        
        \mathbf{else}:\\
        \;\;\;\;\mathsf{fma}\left(x - y, \frac{z - a}{t}, y\right)\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 3 regimes
        2. if t < -1.34999999999999995e76

          1. Initial program 38.9%

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

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

              \[\leadsto \color{blue}{y + \left(-1 \cdot \frac{z \cdot \left(y - x\right)}{t} - -1 \cdot \frac{a \cdot \left(y - x\right)}{t}\right)} \]
            2. distribute-lft-out--N/A

              \[\leadsto y + \color{blue}{-1 \cdot \left(\frac{z \cdot \left(y - x\right)}{t} - \frac{a \cdot \left(y - x\right)}{t}\right)} \]
            3. div-subN/A

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

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

              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{z \cdot \left(y - x\right) - a \cdot \left(y - x\right)}{t}\right)\right)} + y \]
            6. div-subN/A

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

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

              \[\leadsto \left(\mathsf{neg}\left(\left(z \cdot \frac{y - x}{t} - \color{blue}{a \cdot \frac{y - x}{t}}\right)\right)\right) + y \]
            9. distribute-rgt-out--N/A

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

              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{y - x}{t}\right)\right) \cdot \left(z - a\right)} + y \]
            11. lower-fma.f64N/A

              \[\leadsto \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\frac{y - x}{t}\right), z - a, y\right)} \]
          5. Applied rewrites82.3%

            \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)} \]

          if -1.34999999999999995e76 < t < 4.0000000000000001e27

          1. Initial program 89.9%

            \[x + \frac{\left(y - x\right) \cdot \left(z - t\right)}{a - t} \]
          2. Add Preprocessing

          if 4.0000000000000001e27 < t

          1. Initial program 38.7%

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

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

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

              \[\leadsto x + \color{blue}{\left(y - x\right) \cdot \frac{z - t}{a - t}} \]
            4. clear-numN/A

              \[\leadsto x + \left(y - x\right) \cdot \color{blue}{\frac{1}{\frac{a - t}{z - t}}} \]
            5. un-div-invN/A

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

              \[\leadsto x + \color{blue}{\frac{y - x}{\frac{a - t}{z - t}}} \]
            7. lower-/.f6468.4

              \[\leadsto x + \frac{y - x}{\color{blue}{\frac{a - t}{z - t}}} \]
          4. Applied rewrites68.4%

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

            \[\leadsto \color{blue}{\left(y + -1 \cdot \frac{z \cdot \left(y - x\right)}{t}\right) - -1 \cdot \frac{a \cdot \left(y - x\right)}{t}} \]
          6. Step-by-step derivation
            1. associate--l+N/A

              \[\leadsto \color{blue}{y + \left(-1 \cdot \frac{z \cdot \left(y - x\right)}{t} - -1 \cdot \frac{a \cdot \left(y - x\right)}{t}\right)} \]
            2. distribute-lft-out--N/A

              \[\leadsto y + \color{blue}{-1 \cdot \left(\frac{z \cdot \left(y - x\right)}{t} - \frac{a \cdot \left(y - x\right)}{t}\right)} \]
            3. div-subN/A

              \[\leadsto y + -1 \cdot \color{blue}{\frac{z \cdot \left(y - x\right) - a \cdot \left(y - x\right)}{t}} \]
            4. distribute-rgt-out--N/A

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

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

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

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

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

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

              \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot \left(y - x\right), \frac{z - a}{t}, y\right)} \]
            11. mul-1-negN/A

              \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(\left(y - x\right)\right)}, \frac{z - a}{t}, y\right) \]
            12. lower-neg.f64N/A

              \[\leadsto \mathsf{fma}\left(\color{blue}{-\left(y - x\right)}, \frac{z - a}{t}, y\right) \]
            13. lower--.f64N/A

              \[\leadsto \mathsf{fma}\left(-\color{blue}{\left(y - x\right)}, \frac{z - a}{t}, y\right) \]
            14. lower-/.f64N/A

              \[\leadsto \mathsf{fma}\left(-\left(y - x\right), \color{blue}{\frac{z - a}{t}}, y\right) \]
            15. lower--.f6483.1

              \[\leadsto \mathsf{fma}\left(-\left(y - x\right), \frac{\color{blue}{z - a}}{t}, y\right) \]
          7. Applied rewrites83.1%

            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y - x\right), \frac{z - a}{t}, y\right)} \]
        3. Recombined 3 regimes into one program.
        4. Final simplification86.9%

          \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.35 \cdot 10^{+76}:\\ \;\;\;\;\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\ \mathbf{elif}\;t \leq 4 \cdot 10^{+27}:\\ \;\;\;\;x - \frac{\left(t - z\right) \cdot \left(y - x\right)}{a - t}\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(x - y, \frac{z - a}{t}, y\right)\\ \end{array} \]
        5. Add Preprocessing

        Alternative 5: 78.2% accurate, 0.8× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -9 \cdot 10^{+45}:\\ \;\;\;\;\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\ \mathbf{elif}\;t \leq 1.55 \cdot 10^{+27}:\\ \;\;\;\;x - \frac{\left(y - x\right) \cdot z}{t - a}\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(x - y, \frac{z - a}{t}, y\right)\\ \end{array} \end{array} \]
        (FPCore (x y z t a)
         :precision binary64
         (if (<= t -9e+45)
           (fma (/ (- x y) t) (- z a) y)
           (if (<= t 1.55e+27)
             (- x (/ (* (- y x) z) (- t a)))
             (fma (- x y) (/ (- z a) t) y))))
        double code(double x, double y, double z, double t, double a) {
        	double tmp;
        	if (t <= -9e+45) {
        		tmp = fma(((x - y) / t), (z - a), y);
        	} else if (t <= 1.55e+27) {
        		tmp = x - (((y - x) * z) / (t - a));
        	} else {
        		tmp = fma((x - y), ((z - a) / t), y);
        	}
        	return tmp;
        }
        
        function code(x, y, z, t, a)
        	tmp = 0.0
        	if (t <= -9e+45)
        		tmp = fma(Float64(Float64(x - y) / t), Float64(z - a), y);
        	elseif (t <= 1.55e+27)
        		tmp = Float64(x - Float64(Float64(Float64(y - x) * z) / Float64(t - a)));
        	else
        		tmp = fma(Float64(x - y), Float64(Float64(z - a) / t), y);
        	end
        	return tmp
        end
        
        code[x_, y_, z_, t_, a_] := If[LessEqual[t, -9e+45], N[(N[(N[(x - y), $MachinePrecision] / t), $MachinePrecision] * N[(z - a), $MachinePrecision] + y), $MachinePrecision], If[LessEqual[t, 1.55e+27], N[(x - N[(N[(N[(y - x), $MachinePrecision] * z), $MachinePrecision] / N[(t - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x - y), $MachinePrecision] * N[(N[(z - a), $MachinePrecision] / t), $MachinePrecision] + y), $MachinePrecision]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        \mathbf{if}\;t \leq -9 \cdot 10^{+45}:\\
        \;\;\;\;\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\
        
        \mathbf{elif}\;t \leq 1.55 \cdot 10^{+27}:\\
        \;\;\;\;x - \frac{\left(y - x\right) \cdot z}{t - a}\\
        
        \mathbf{else}:\\
        \;\;\;\;\mathsf{fma}\left(x - y, \frac{z - a}{t}, y\right)\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 3 regimes
        2. if t < -8.9999999999999997e45

          1. Initial program 44.0%

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

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

              \[\leadsto \color{blue}{y + \left(-1 \cdot \frac{z \cdot \left(y - x\right)}{t} - -1 \cdot \frac{a \cdot \left(y - x\right)}{t}\right)} \]
            2. distribute-lft-out--N/A

              \[\leadsto y + \color{blue}{-1 \cdot \left(\frac{z \cdot \left(y - x\right)}{t} - \frac{a \cdot \left(y - x\right)}{t}\right)} \]
            3. div-subN/A

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

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

              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{z \cdot \left(y - x\right) - a \cdot \left(y - x\right)}{t}\right)\right)} + y \]
            6. div-subN/A

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

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

              \[\leadsto \left(\mathsf{neg}\left(\left(z \cdot \frac{y - x}{t} - \color{blue}{a \cdot \frac{y - x}{t}}\right)\right)\right) + y \]
            9. distribute-rgt-out--N/A

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

              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{y - x}{t}\right)\right) \cdot \left(z - a\right)} + y \]
            11. lower-fma.f64N/A

              \[\leadsto \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\frac{y - x}{t}\right), z - a, y\right)} \]
          5. Applied rewrites79.7%

            \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)} \]

          if -8.9999999999999997e45 < t < 1.54999999999999998e27

          1. Initial program 90.6%

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

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

              \[\leadsto x + \frac{\color{blue}{z \cdot \left(y - x\right)}}{a - t} \]
            2. lower--.f6481.4

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

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

          if 1.54999999999999998e27 < t

          1. Initial program 38.7%

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

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

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

              \[\leadsto x + \color{blue}{\left(y - x\right) \cdot \frac{z - t}{a - t}} \]
            4. clear-numN/A

              \[\leadsto x + \left(y - x\right) \cdot \color{blue}{\frac{1}{\frac{a - t}{z - t}}} \]
            5. un-div-invN/A

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

              \[\leadsto x + \color{blue}{\frac{y - x}{\frac{a - t}{z - t}}} \]
            7. lower-/.f6468.4

              \[\leadsto x + \frac{y - x}{\color{blue}{\frac{a - t}{z - t}}} \]
          4. Applied rewrites68.4%

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

            \[\leadsto \color{blue}{\left(y + -1 \cdot \frac{z \cdot \left(y - x\right)}{t}\right) - -1 \cdot \frac{a \cdot \left(y - x\right)}{t}} \]
          6. Step-by-step derivation
            1. associate--l+N/A

              \[\leadsto \color{blue}{y + \left(-1 \cdot \frac{z \cdot \left(y - x\right)}{t} - -1 \cdot \frac{a \cdot \left(y - x\right)}{t}\right)} \]
            2. distribute-lft-out--N/A

              \[\leadsto y + \color{blue}{-1 \cdot \left(\frac{z \cdot \left(y - x\right)}{t} - \frac{a \cdot \left(y - x\right)}{t}\right)} \]
            3. div-subN/A

              \[\leadsto y + -1 \cdot \color{blue}{\frac{z \cdot \left(y - x\right) - a \cdot \left(y - x\right)}{t}} \]
            4. distribute-rgt-out--N/A

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

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

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

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

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

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

              \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot \left(y - x\right), \frac{z - a}{t}, y\right)} \]
            11. mul-1-negN/A

              \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(\left(y - x\right)\right)}, \frac{z - a}{t}, y\right) \]
            12. lower-neg.f64N/A

              \[\leadsto \mathsf{fma}\left(\color{blue}{-\left(y - x\right)}, \frac{z - a}{t}, y\right) \]
            13. lower--.f64N/A

              \[\leadsto \mathsf{fma}\left(-\color{blue}{\left(y - x\right)}, \frac{z - a}{t}, y\right) \]
            14. lower-/.f64N/A

              \[\leadsto \mathsf{fma}\left(-\left(y - x\right), \color{blue}{\frac{z - a}{t}}, y\right) \]
            15. lower--.f6483.1

              \[\leadsto \mathsf{fma}\left(-\left(y - x\right), \frac{\color{blue}{z - a}}{t}, y\right) \]
          7. Applied rewrites83.1%

            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y - x\right), \frac{z - a}{t}, y\right)} \]
        3. Recombined 3 regimes into one program.
        4. Final simplification81.4%

          \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -9 \cdot 10^{+45}:\\ \;\;\;\;\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\ \mathbf{elif}\;t \leq 1.55 \cdot 10^{+27}:\\ \;\;\;\;x - \frac{\left(y - x\right) \cdot z}{t - a}\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(x - y, \frac{z - a}{t}, y\right)\\ \end{array} \]
        5. Add Preprocessing

        Alternative 6: 75.9% accurate, 0.8× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(\frac{z - t}{a}, y - x, x\right)\\ \mathbf{if}\;a \leq -3.1 \cdot 10^{+65}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;a \leq 4.5:\\ \;\;\;\;\mathsf{fma}\left(x - y, \frac{z - a}{t}, y\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
        (FPCore (x y z t a)
         :precision binary64
         (let* ((t_1 (fma (/ (- z t) a) (- y x) x)))
           (if (<= a -3.1e+65) t_1 (if (<= a 4.5) (fma (- x y) (/ (- z a) t) y) t_1))))
        double code(double x, double y, double z, double t, double a) {
        	double t_1 = fma(((z - t) / a), (y - x), x);
        	double tmp;
        	if (a <= -3.1e+65) {
        		tmp = t_1;
        	} else if (a <= 4.5) {
        		tmp = fma((x - y), ((z - a) / t), y);
        	} else {
        		tmp = t_1;
        	}
        	return tmp;
        }
        
        function code(x, y, z, t, a)
        	t_1 = fma(Float64(Float64(z - t) / a), Float64(y - x), x)
        	tmp = 0.0
        	if (a <= -3.1e+65)
        		tmp = t_1;
        	elseif (a <= 4.5)
        		tmp = fma(Float64(x - y), Float64(Float64(z - a) / t), y);
        	else
        		tmp = t_1;
        	end
        	return tmp
        end
        
        code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(N[(z - t), $MachinePrecision] / a), $MachinePrecision] * N[(y - x), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[a, -3.1e+65], t$95$1, If[LessEqual[a, 4.5], N[(N[(x - y), $MachinePrecision] * N[(N[(z - a), $MachinePrecision] / t), $MachinePrecision] + y), $MachinePrecision], t$95$1]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        t_1 := \mathsf{fma}\left(\frac{z - t}{a}, y - x, x\right)\\
        \mathbf{if}\;a \leq -3.1 \cdot 10^{+65}:\\
        \;\;\;\;t\_1\\
        
        \mathbf{elif}\;a \leq 4.5:\\
        \;\;\;\;\mathsf{fma}\left(x - y, \frac{z - a}{t}, y\right)\\
        
        \mathbf{else}:\\
        \;\;\;\;t\_1\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 2 regimes
        2. if a < -3.09999999999999991e65 or 4.5 < a

          1. Initial program 73.1%

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

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

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

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

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

              \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{z - t}{a}, y - x, x\right)} \]
            5. lower-/.f64N/A

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

              \[\leadsto \mathsf{fma}\left(\frac{\color{blue}{z - t}}{a}, y - x, x\right) \]
            7. lower--.f6481.9

              \[\leadsto \mathsf{fma}\left(\frac{z - t}{a}, \color{blue}{y - x}, x\right) \]
          5. Applied rewrites81.9%

            \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{z - t}{a}, y - x, x\right)} \]

          if -3.09999999999999991e65 < a < 4.5

          1. Initial program 65.6%

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

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

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

              \[\leadsto x + \color{blue}{\left(y - x\right) \cdot \frac{z - t}{a - t}} \]
            4. clear-numN/A

              \[\leadsto x + \left(y - x\right) \cdot \color{blue}{\frac{1}{\frac{a - t}{z - t}}} \]
            5. un-div-invN/A

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

              \[\leadsto x + \color{blue}{\frac{y - x}{\frac{a - t}{z - t}}} \]
            7. lower-/.f6478.0

              \[\leadsto x + \frac{y - x}{\color{blue}{\frac{a - t}{z - t}}} \]
          4. Applied rewrites78.0%

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

            \[\leadsto \color{blue}{\left(y + -1 \cdot \frac{z \cdot \left(y - x\right)}{t}\right) - -1 \cdot \frac{a \cdot \left(y - x\right)}{t}} \]
          6. Step-by-step derivation
            1. associate--l+N/A

              \[\leadsto \color{blue}{y + \left(-1 \cdot \frac{z \cdot \left(y - x\right)}{t} - -1 \cdot \frac{a \cdot \left(y - x\right)}{t}\right)} \]
            2. distribute-lft-out--N/A

              \[\leadsto y + \color{blue}{-1 \cdot \left(\frac{z \cdot \left(y - x\right)}{t} - \frac{a \cdot \left(y - x\right)}{t}\right)} \]
            3. div-subN/A

              \[\leadsto y + -1 \cdot \color{blue}{\frac{z \cdot \left(y - x\right) - a \cdot \left(y - x\right)}{t}} \]
            4. distribute-rgt-out--N/A

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

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

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

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

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

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

              \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot \left(y - x\right), \frac{z - a}{t}, y\right)} \]
            11. mul-1-negN/A

              \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(\left(y - x\right)\right)}, \frac{z - a}{t}, y\right) \]
            12. lower-neg.f64N/A

              \[\leadsto \mathsf{fma}\left(\color{blue}{-\left(y - x\right)}, \frac{z - a}{t}, y\right) \]
            13. lower--.f64N/A

              \[\leadsto \mathsf{fma}\left(-\color{blue}{\left(y - x\right)}, \frac{z - a}{t}, y\right) \]
            14. lower-/.f64N/A

              \[\leadsto \mathsf{fma}\left(-\left(y - x\right), \color{blue}{\frac{z - a}{t}}, y\right) \]
            15. lower--.f6478.3

              \[\leadsto \mathsf{fma}\left(-\left(y - x\right), \frac{\color{blue}{z - a}}{t}, y\right) \]
          7. Applied rewrites78.3%

            \[\leadsto \color{blue}{\mathsf{fma}\left(-\left(y - x\right), \frac{z - a}{t}, y\right)} \]
        3. Recombined 2 regimes into one program.
        4. Final simplification79.8%

          \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -3.1 \cdot 10^{+65}:\\ \;\;\;\;\mathsf{fma}\left(\frac{z - t}{a}, y - x, x\right)\\ \mathbf{elif}\;a \leq 4.5:\\ \;\;\;\;\mathsf{fma}\left(x - y, \frac{z - a}{t}, y\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\frac{z - t}{a}, y - x, x\right)\\ \end{array} \]
        5. Add Preprocessing

        Alternative 7: 74.8% accurate, 0.8× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(\frac{z - t}{a}, y - x, x\right)\\ \mathbf{if}\;a \leq -3.1 \cdot 10^{+65}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;a \leq 4.5:\\ \;\;\;\;\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
        (FPCore (x y z t a)
         :precision binary64
         (let* ((t_1 (fma (/ (- z t) a) (- y x) x)))
           (if (<= a -3.1e+65) t_1 (if (<= a 4.5) (fma (/ (- x y) t) (- z a) y) t_1))))
        double code(double x, double y, double z, double t, double a) {
        	double t_1 = fma(((z - t) / a), (y - x), x);
        	double tmp;
        	if (a <= -3.1e+65) {
        		tmp = t_1;
        	} else if (a <= 4.5) {
        		tmp = fma(((x - y) / t), (z - a), y);
        	} else {
        		tmp = t_1;
        	}
        	return tmp;
        }
        
        function code(x, y, z, t, a)
        	t_1 = fma(Float64(Float64(z - t) / a), Float64(y - x), x)
        	tmp = 0.0
        	if (a <= -3.1e+65)
        		tmp = t_1;
        	elseif (a <= 4.5)
        		tmp = fma(Float64(Float64(x - y) / t), Float64(z - a), y);
        	else
        		tmp = t_1;
        	end
        	return tmp
        end
        
        code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(N[(z - t), $MachinePrecision] / a), $MachinePrecision] * N[(y - x), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[a, -3.1e+65], t$95$1, If[LessEqual[a, 4.5], N[(N[(N[(x - y), $MachinePrecision] / t), $MachinePrecision] * N[(z - a), $MachinePrecision] + y), $MachinePrecision], t$95$1]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        t_1 := \mathsf{fma}\left(\frac{z - t}{a}, y - x, x\right)\\
        \mathbf{if}\;a \leq -3.1 \cdot 10^{+65}:\\
        \;\;\;\;t\_1\\
        
        \mathbf{elif}\;a \leq 4.5:\\
        \;\;\;\;\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\
        
        \mathbf{else}:\\
        \;\;\;\;t\_1\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 2 regimes
        2. if a < -3.09999999999999991e65 or 4.5 < a

          1. Initial program 73.1%

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

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

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

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

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

              \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{z - t}{a}, y - x, x\right)} \]
            5. lower-/.f64N/A

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

              \[\leadsto \mathsf{fma}\left(\frac{\color{blue}{z - t}}{a}, y - x, x\right) \]
            7. lower--.f6481.9

              \[\leadsto \mathsf{fma}\left(\frac{z - t}{a}, \color{blue}{y - x}, x\right) \]
          5. Applied rewrites81.9%

            \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{z - t}{a}, y - x, x\right)} \]

          if -3.09999999999999991e65 < a < 4.5

          1. Initial program 65.6%

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

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

              \[\leadsto \color{blue}{y + \left(-1 \cdot \frac{z \cdot \left(y - x\right)}{t} - -1 \cdot \frac{a \cdot \left(y - x\right)}{t}\right)} \]
            2. distribute-lft-out--N/A

              \[\leadsto y + \color{blue}{-1 \cdot \left(\frac{z \cdot \left(y - x\right)}{t} - \frac{a \cdot \left(y - x\right)}{t}\right)} \]
            3. div-subN/A

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

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

              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{z \cdot \left(y - x\right) - a \cdot \left(y - x\right)}{t}\right)\right)} + y \]
            6. div-subN/A

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

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

              \[\leadsto \left(\mathsf{neg}\left(\left(z \cdot \frac{y - x}{t} - \color{blue}{a \cdot \frac{y - x}{t}}\right)\right)\right) + y \]
            9. distribute-rgt-out--N/A

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

              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{y - x}{t}\right)\right) \cdot \left(z - a\right)} + y \]
            11. lower-fma.f64N/A

              \[\leadsto \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\frac{y - x}{t}\right), z - a, y\right)} \]
          5. Applied rewrites78.2%

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

        Alternative 8: 72.0% accurate, 0.8× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\ \mathbf{if}\;t \leq -2.2 \cdot 10^{-20}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 7.2 \cdot 10^{-39}:\\ \;\;\;\;\frac{\left(y - x\right) \cdot z}{a} + x\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
        (FPCore (x y z t a)
         :precision binary64
         (let* ((t_1 (fma (/ (- x y) t) (- z a) y)))
           (if (<= t -2.2e-20) t_1 (if (<= t 7.2e-39) (+ (/ (* (- y x) z) a) x) t_1))))
        double code(double x, double y, double z, double t, double a) {
        	double t_1 = fma(((x - y) / t), (z - a), y);
        	double tmp;
        	if (t <= -2.2e-20) {
        		tmp = t_1;
        	} else if (t <= 7.2e-39) {
        		tmp = (((y - x) * z) / a) + x;
        	} else {
        		tmp = t_1;
        	}
        	return tmp;
        }
        
        function code(x, y, z, t, a)
        	t_1 = fma(Float64(Float64(x - y) / t), Float64(z - a), y)
        	tmp = 0.0
        	if (t <= -2.2e-20)
        		tmp = t_1;
        	elseif (t <= 7.2e-39)
        		tmp = Float64(Float64(Float64(Float64(y - x) * z) / a) + x);
        	else
        		tmp = t_1;
        	end
        	return tmp
        end
        
        code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(N[(x - y), $MachinePrecision] / t), $MachinePrecision] * N[(z - a), $MachinePrecision] + y), $MachinePrecision]}, If[LessEqual[t, -2.2e-20], t$95$1, If[LessEqual[t, 7.2e-39], N[(N[(N[(N[(y - x), $MachinePrecision] * z), $MachinePrecision] / a), $MachinePrecision] + x), $MachinePrecision], t$95$1]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        t_1 := \mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\
        \mathbf{if}\;t \leq -2.2 \cdot 10^{-20}:\\
        \;\;\;\;t\_1\\
        
        \mathbf{elif}\;t \leq 7.2 \cdot 10^{-39}:\\
        \;\;\;\;\frac{\left(y - x\right) \cdot z}{a} + x\\
        
        \mathbf{else}:\\
        \;\;\;\;t\_1\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 2 regimes
        2. if t < -2.19999999999999991e-20 or 7.2000000000000001e-39 < t

          1. Initial program 49.4%

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

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

              \[\leadsto \color{blue}{y + \left(-1 \cdot \frac{z \cdot \left(y - x\right)}{t} - -1 \cdot \frac{a \cdot \left(y - x\right)}{t}\right)} \]
            2. distribute-lft-out--N/A

              \[\leadsto y + \color{blue}{-1 \cdot \left(\frac{z \cdot \left(y - x\right)}{t} - \frac{a \cdot \left(y - x\right)}{t}\right)} \]
            3. div-subN/A

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

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

              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{z \cdot \left(y - x\right) - a \cdot \left(y - x\right)}{t}\right)\right)} + y \]
            6. div-subN/A

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

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

              \[\leadsto \left(\mathsf{neg}\left(\left(z \cdot \frac{y - x}{t} - \color{blue}{a \cdot \frac{y - x}{t}}\right)\right)\right) + y \]
            9. distribute-rgt-out--N/A

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

              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\frac{y - x}{t}\right)\right) \cdot \left(z - a\right)} + y \]
            11. lower-fma.f64N/A

              \[\leadsto \color{blue}{\mathsf{fma}\left(\mathsf{neg}\left(\frac{y - x}{t}\right), z - a, y\right)} \]
          5. Applied rewrites75.9%

            \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)} \]

          if -2.19999999999999991e-20 < t < 7.2000000000000001e-39

          1. Initial program 93.9%

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

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

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

              \[\leadsto x + \frac{\color{blue}{z \cdot \left(y - x\right)}}{a} \]
            3. lower--.f6477.3

              \[\leadsto x + \frac{z \cdot \color{blue}{\left(y - x\right)}}{a} \]
          5. Applied rewrites77.3%

            \[\leadsto x + \color{blue}{\frac{z \cdot \left(y - x\right)}{a}} \]
        3. Recombined 2 regimes into one program.
        4. Final simplification76.5%

          \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.2 \cdot 10^{-20}:\\ \;\;\;\;\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\ \mathbf{elif}\;t \leq 7.2 \cdot 10^{-39}:\\ \;\;\;\;\frac{\left(y - x\right) \cdot z}{a} + x\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\frac{x - y}{t}, z - a, y\right)\\ \end{array} \]
        5. Add Preprocessing

        Alternative 9: 68.3% accurate, 0.8× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{z}{t - a} \cdot \left(x - y\right)\\ \mathbf{if}\;z \leq -3.3 \cdot 10^{+79}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;z \leq 510:\\ \;\;\;\;\mathsf{fma}\left(x - y, \frac{t}{a - t}, x\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
        (FPCore (x y z t a)
         :precision binary64
         (let* ((t_1 (* (/ z (- t a)) (- x y))))
           (if (<= z -3.3e+79)
             t_1
             (if (<= z 510.0) (fma (- x y) (/ t (- a t)) x) t_1))))
        double code(double x, double y, double z, double t, double a) {
        	double t_1 = (z / (t - a)) * (x - y);
        	double tmp;
        	if (z <= -3.3e+79) {
        		tmp = t_1;
        	} else if (z <= 510.0) {
        		tmp = fma((x - y), (t / (a - t)), x);
        	} else {
        		tmp = t_1;
        	}
        	return tmp;
        }
        
        function code(x, y, z, t, a)
        	t_1 = Float64(Float64(z / Float64(t - a)) * Float64(x - y))
        	tmp = 0.0
        	if (z <= -3.3e+79)
        		tmp = t_1;
        	elseif (z <= 510.0)
        		tmp = fma(Float64(x - y), Float64(t / Float64(a - t)), x);
        	else
        		tmp = t_1;
        	end
        	return tmp
        end
        
        code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(z / N[(t - a), $MachinePrecision]), $MachinePrecision] * N[(x - y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.3e+79], t$95$1, If[LessEqual[z, 510.0], N[(N[(x - y), $MachinePrecision] * N[(t / N[(a - t), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], t$95$1]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        t_1 := \frac{z}{t - a} \cdot \left(x - y\right)\\
        \mathbf{if}\;z \leq -3.3 \cdot 10^{+79}:\\
        \;\;\;\;t\_1\\
        
        \mathbf{elif}\;z \leq 510:\\
        \;\;\;\;\mathsf{fma}\left(x - y, \frac{t}{a - t}, x\right)\\
        
        \mathbf{else}:\\
        \;\;\;\;t\_1\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 2 regimes
        2. if z < -3.3000000000000002e79 or 510 < z

          1. Initial program 66.1%

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

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

              \[\leadsto z \cdot \color{blue}{\frac{y - x}{a - t}} \]
            2. associate-/l*N/A

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

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

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

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

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

              \[\leadsto \left(y - x\right) \cdot \color{blue}{\frac{z}{a - t}} \]
            8. lower--.f6474.6

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

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

          if -3.3000000000000002e79 < z < 510

          1. Initial program 70.5%

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

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

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

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

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

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

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

              \[\leadsto \color{blue}{\left(-1 \cdot \left(y - x\right)\right)} \cdot \frac{t}{a - t} + x \]
            7. lower-fma.f64N/A

              \[\leadsto \color{blue}{\mathsf{fma}\left(-1 \cdot \left(y - x\right), \frac{t}{a - t}, x\right)} \]
            8. mul-1-negN/A

              \[\leadsto \mathsf{fma}\left(\color{blue}{\mathsf{neg}\left(\left(y - x\right)\right)}, \frac{t}{a - t}, x\right) \]
            9. sub-negN/A

              \[\leadsto \mathsf{fma}\left(\mathsf{neg}\left(\color{blue}{\left(y + \left(\mathsf{neg}\left(x\right)\right)\right)}\right), \frac{t}{a - t}, x\right) \]
            10. +-commutativeN/A

              \[\leadsto \mathsf{fma}\left(\mathsf{neg}\left(\color{blue}{\left(\left(\mathsf{neg}\left(x\right)\right) + y\right)}\right), \frac{t}{a - t}, x\right) \]
            11. distribute-neg-inN/A

              \[\leadsto \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(x\right)\right)\right)\right) + \left(\mathsf{neg}\left(y\right)\right)}, \frac{t}{a - t}, x\right) \]
            12. unsub-negN/A

              \[\leadsto \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(x\right)\right)\right)\right) - y}, \frac{t}{a - t}, x\right) \]
            13. remove-double-negN/A

              \[\leadsto \mathsf{fma}\left(\color{blue}{x} - y, \frac{t}{a - t}, x\right) \]
            14. lower--.f64N/A

              \[\leadsto \mathsf{fma}\left(\color{blue}{x - y}, \frac{t}{a - t}, x\right) \]
            15. lower-/.f64N/A

              \[\leadsto \mathsf{fma}\left(x - y, \color{blue}{\frac{t}{a - t}}, x\right) \]
            16. lower--.f6468.6

              \[\leadsto \mathsf{fma}\left(x - y, \frac{t}{\color{blue}{a - t}}, x\right) \]
          5. Applied rewrites68.6%

            \[\leadsto \color{blue}{\mathsf{fma}\left(x - y, \frac{t}{a - t}, x\right)} \]
        3. Recombined 2 regimes into one program.
        4. Final simplification71.1%

          \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -3.3 \cdot 10^{+79}:\\ \;\;\;\;\frac{z}{t - a} \cdot \left(x - y\right)\\ \mathbf{elif}\;z \leq 510:\\ \;\;\;\;\mathsf{fma}\left(x - y, \frac{t}{a - t}, x\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{z}{t - a} \cdot \left(x - y\right)\\ \end{array} \]
        5. Add Preprocessing

        Alternative 10: 65.9% accurate, 0.8× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(\frac{y - x}{a}, z, x\right)\\ \mathbf{if}\;a \leq -4.2 \cdot 10^{-106}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;a \leq 2.3 \cdot 10^{-32}:\\ \;\;\;\;y - \frac{\left(y - x\right) \cdot z}{t}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
        (FPCore (x y z t a)
         :precision binary64
         (let* ((t_1 (fma (/ (- y x) a) z x)))
           (if (<= a -4.2e-106)
             t_1
             (if (<= a 2.3e-32) (- y (/ (* (- y x) z) t)) t_1))))
        double code(double x, double y, double z, double t, double a) {
        	double t_1 = fma(((y - x) / a), z, x);
        	double tmp;
        	if (a <= -4.2e-106) {
        		tmp = t_1;
        	} else if (a <= 2.3e-32) {
        		tmp = y - (((y - x) * z) / t);
        	} else {
        		tmp = t_1;
        	}
        	return tmp;
        }
        
        function code(x, y, z, t, a)
        	t_1 = fma(Float64(Float64(y - x) / a), z, x)
        	tmp = 0.0
        	if (a <= -4.2e-106)
        		tmp = t_1;
        	elseif (a <= 2.3e-32)
        		tmp = Float64(y - Float64(Float64(Float64(y - x) * z) / t));
        	else
        		tmp = t_1;
        	end
        	return tmp
        end
        
        code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(N[(y - x), $MachinePrecision] / a), $MachinePrecision] * z + x), $MachinePrecision]}, If[LessEqual[a, -4.2e-106], t$95$1, If[LessEqual[a, 2.3e-32], N[(y - N[(N[(N[(y - x), $MachinePrecision] * z), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision], t$95$1]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        t_1 := \mathsf{fma}\left(\frac{y - x}{a}, z, x\right)\\
        \mathbf{if}\;a \leq -4.2 \cdot 10^{-106}:\\
        \;\;\;\;t\_1\\
        
        \mathbf{elif}\;a \leq 2.3 \cdot 10^{-32}:\\
        \;\;\;\;y - \frac{\left(y - x\right) \cdot z}{t}\\
        
        \mathbf{else}:\\
        \;\;\;\;t\_1\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 2 regimes
        2. if a < -4.20000000000000007e-106 or 2.3000000000000001e-32 < a

          1. Initial program 70.4%

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

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

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

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

              \[\leadsto \color{blue}{\frac{y - x}{a} \cdot z} + x \]
            4. lower-fma.f64N/A

              \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)} \]
            5. lower-/.f64N/A

              \[\leadsto \mathsf{fma}\left(\color{blue}{\frac{y - x}{a}}, z, x\right) \]
            6. lower--.f6463.8

              \[\leadsto \mathsf{fma}\left(\frac{\color{blue}{y - x}}{a}, z, x\right) \]
          5. Applied rewrites63.8%

            \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)} \]

          if -4.20000000000000007e-106 < a < 2.3000000000000001e-32

          1. Initial program 66.3%

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

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

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

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

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

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

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

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

              \[\leadsto y - \frac{z \cdot \left(y - x\right)}{t} \]
          8. Recombined 2 regimes into one program.
          9. Final simplification69.9%

            \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -4.2 \cdot 10^{-106}:\\ \;\;\;\;\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)\\ \mathbf{elif}\;a \leq 2.3 \cdot 10^{-32}:\\ \;\;\;\;y - \frac{\left(y - x\right) \cdot z}{t}\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)\\ \end{array} \]
          10. Add Preprocessing

          Alternative 11: 58.7% accurate, 0.9× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(\frac{y - x}{a}, z, x\right)\\ \mathbf{if}\;a \leq -9.2 \cdot 10^{-117}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;a \leq 9.2 \cdot 10^{-33}:\\ \;\;\;\;y - \frac{z}{t} \cdot y\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
          (FPCore (x y z t a)
           :precision binary64
           (let* ((t_1 (fma (/ (- y x) a) z x)))
             (if (<= a -9.2e-117) t_1 (if (<= a 9.2e-33) (- y (* (/ z t) y)) t_1))))
          double code(double x, double y, double z, double t, double a) {
          	double t_1 = fma(((y - x) / a), z, x);
          	double tmp;
          	if (a <= -9.2e-117) {
          		tmp = t_1;
          	} else if (a <= 9.2e-33) {
          		tmp = y - ((z / t) * y);
          	} else {
          		tmp = t_1;
          	}
          	return tmp;
          }
          
          function code(x, y, z, t, a)
          	t_1 = fma(Float64(Float64(y - x) / a), z, x)
          	tmp = 0.0
          	if (a <= -9.2e-117)
          		tmp = t_1;
          	elseif (a <= 9.2e-33)
          		tmp = Float64(y - Float64(Float64(z / t) * y));
          	else
          		tmp = t_1;
          	end
          	return tmp
          end
          
          code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(N[(y - x), $MachinePrecision] / a), $MachinePrecision] * z + x), $MachinePrecision]}, If[LessEqual[a, -9.2e-117], t$95$1, If[LessEqual[a, 9.2e-33], N[(y - N[(N[(z / t), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision], t$95$1]]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          t_1 := \mathsf{fma}\left(\frac{y - x}{a}, z, x\right)\\
          \mathbf{if}\;a \leq -9.2 \cdot 10^{-117}:\\
          \;\;\;\;t\_1\\
          
          \mathbf{elif}\;a \leq 9.2 \cdot 10^{-33}:\\
          \;\;\;\;y - \frac{z}{t} \cdot y\\
          
          \mathbf{else}:\\
          \;\;\;\;t\_1\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 2 regimes
          2. if a < -9.19999999999999978e-117 or 9.19999999999999942e-33 < a

            1. Initial program 70.2%

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

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

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

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

                \[\leadsto \color{blue}{\frac{y - x}{a} \cdot z} + x \]
              4. lower-fma.f64N/A

                \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)} \]
              5. lower-/.f64N/A

                \[\leadsto \mathsf{fma}\left(\color{blue}{\frac{y - x}{a}}, z, x\right) \]
              6. lower--.f6463.0

                \[\leadsto \mathsf{fma}\left(\frac{\color{blue}{y - x}}{a}, z, x\right) \]
            5. Applied rewrites63.0%

              \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)} \]

            if -9.19999999999999978e-117 < a < 9.19999999999999942e-33

            1. Initial program 66.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                \[\leadsto \mathsf{fma}\left(\frac{z - t}{t}, \color{blue}{x} - y, x\right) \]
              16. lower--.f6468.4

                \[\leadsto \mathsf{fma}\left(\frac{z - t}{t}, \color{blue}{x - y}, x\right) \]
            5. Applied rewrites68.4%

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

              \[\leadsto -1 \cdot \color{blue}{\frac{y \cdot \left(z - t\right)}{t}} \]
            7. Step-by-step derivation
              1. Applied rewrites64.2%

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

                \[\leadsto -1 \cdot \left(-y\right) \]
              3. Step-by-step derivation
                1. Applied rewrites39.7%

                  \[\leadsto -1 \cdot \left(-y\right) \]
                2. Taylor expanded in t around inf

                  \[\leadsto y + -1 \cdot \color{blue}{\frac{y \cdot z}{t}} \]
                3. Step-by-step derivation
                  1. Applied rewrites64.2%

                    \[\leadsto y - y \cdot \color{blue}{\frac{z}{t}} \]
                4. Recombined 2 regimes into one program.
                5. Final simplification63.5%

                  \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -9.2 \cdot 10^{-117}:\\ \;\;\;\;\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)\\ \mathbf{elif}\;a \leq 9.2 \cdot 10^{-33}:\\ \;\;\;\;y - \frac{z}{t} \cdot y\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)\\ \end{array} \]
                6. Add Preprocessing

                Alternative 12: 53.6% accurate, 0.9× speedup?

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

                  1. Initial program 70.4%

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

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

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

                      \[\leadsto x + \frac{\color{blue}{z \cdot \left(y - x\right)}}{a} \]
                    3. lower--.f6457.8

                      \[\leadsto x + \frac{z \cdot \color{blue}{\left(y - x\right)}}{a} \]
                  5. Applied rewrites57.8%

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

                    \[\leadsto x + \frac{y \cdot z}{a} \]
                  7. Step-by-step derivation
                    1. Applied rewrites51.7%

                      \[\leadsto x + \frac{z \cdot y}{a} \]
                    2. Taylor expanded in y around inf

                      \[\leadsto x + \frac{y \cdot z}{\color{blue}{a}} \]
                    3. Step-by-step derivation
                      1. Applied rewrites56.5%

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

                      if -4.4000000000000002e-117 < a < 9.19999999999999942e-33

                      1. Initial program 66.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                          \[\leadsto \mathsf{fma}\left(\frac{z - t}{t}, \color{blue}{x} - y, x\right) \]
                        16. lower--.f6468.1

                          \[\leadsto \mathsf{fma}\left(\frac{z - t}{t}, \color{blue}{x - y}, x\right) \]
                      5. Applied rewrites68.1%

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

                        \[\leadsto -1 \cdot \color{blue}{\frac{y \cdot \left(z - t\right)}{t}} \]
                      7. Step-by-step derivation
                        1. Applied rewrites64.8%

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

                          \[\leadsto -1 \cdot \left(-y\right) \]
                        3. Step-by-step derivation
                          1. Applied rewrites40.1%

                            \[\leadsto -1 \cdot \left(-y\right) \]
                          2. Taylor expanded in t around inf

                            \[\leadsto y + -1 \cdot \color{blue}{\frac{y \cdot z}{t}} \]
                          3. Step-by-step derivation
                            1. Applied rewrites64.8%

                              \[\leadsto y - y \cdot \color{blue}{\frac{z}{t}} \]
                          4. Recombined 2 regimes into one program.
                          5. Final simplification59.9%

                            \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -4.4 \cdot 10^{-117}:\\ \;\;\;\;\frac{z}{a} \cdot y + x\\ \mathbf{elif}\;a \leq 9.2 \cdot 10^{-33}:\\ \;\;\;\;y - \frac{z}{t} \cdot y\\ \mathbf{else}:\\ \;\;\;\;\frac{z}{a} \cdot y + x\\ \end{array} \]
                          6. Add Preprocessing

                          Alternative 13: 46.4% accurate, 0.9× speedup?

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

                            1. Initial program 72.5%

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

                              \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                            4. Step-by-step derivation
                              1. lower--.f649.7

                                \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                            5. Applied rewrites9.7%

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

                              \[\leadsto x + y \cdot \color{blue}{\left(1 + -1 \cdot \frac{x}{y}\right)} \]
                            7. Step-by-step derivation
                              1. Applied rewrites9.7%

                                \[\leadsto x + \left(1 - \frac{x}{y}\right) \cdot \color{blue}{y} \]
                              2. Taylor expanded in y around inf

                                \[\leadsto x + 1 \cdot y \]
                              3. Step-by-step derivation
                                1. Applied rewrites42.5%

                                  \[\leadsto x + 1 \cdot y \]

                                if -5.4999999999999996e64 < a < 0.00110000000000000007

                                1. Initial program 66.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                    \[\leadsto \mathsf{fma}\left(\frac{z - t}{t}, \color{blue}{x} - y, x\right) \]
                                  16. lower--.f6459.5

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

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

                                  \[\leadsto -1 \cdot \color{blue}{\frac{y \cdot \left(z - t\right)}{t}} \]
                                7. Step-by-step derivation
                                  1. Applied rewrites54.5%

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

                                    \[\leadsto -1 \cdot \left(-y\right) \]
                                  3. Step-by-step derivation
                                    1. Applied rewrites35.0%

                                      \[\leadsto -1 \cdot \left(-y\right) \]
                                    2. Taylor expanded in t around inf

                                      \[\leadsto y + -1 \cdot \color{blue}{\frac{y \cdot z}{t}} \]
                                    3. Step-by-step derivation
                                      1. Applied rewrites54.5%

                                        \[\leadsto y - y \cdot \color{blue}{\frac{z}{t}} \]
                                    4. Recombined 2 regimes into one program.
                                    5. Final simplification49.5%

                                      \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq -5.5 \cdot 10^{+64}:\\ \;\;\;\;1 \cdot y + x\\ \mathbf{elif}\;a \leq 0.0011:\\ \;\;\;\;y - \frac{z}{t} \cdot y\\ \mathbf{else}:\\ \;\;\;\;1 \cdot y + x\\ \end{array} \]
                                    6. Add Preprocessing

                                    Alternative 14: 39.6% accurate, 1.0× speedup?

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

                                      1. Initial program 65.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                          \[\leadsto \mathsf{fma}\left(\frac{z - t}{t}, \color{blue}{x} - y, x\right) \]
                                        16. lower--.f6457.2

                                          \[\leadsto \mathsf{fma}\left(\frac{z - t}{t}, \color{blue}{x - y}, x\right) \]
                                      5. Applied rewrites57.2%

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

                                        \[\leadsto \frac{x \cdot z}{\color{blue}{t}} \]
                                      7. Step-by-step derivation
                                        1. Applied rewrites37.9%

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

                                        if -7.50000000000000039e108 < z < 400

                                        1. Initial program 70.7%

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

                                          \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                                        4. Step-by-step derivation
                                          1. lower--.f6424.5

                                            \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                                        5. Applied rewrites24.5%

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

                                          \[\leadsto x + y \cdot \color{blue}{\left(1 + -1 \cdot \frac{x}{y}\right)} \]
                                        7. Step-by-step derivation
                                          1. Applied rewrites24.4%

                                            \[\leadsto x + \left(1 - \frac{x}{y}\right) \cdot \color{blue}{y} \]
                                          2. Taylor expanded in y around inf

                                            \[\leadsto x + 1 \cdot y \]
                                          3. Step-by-step derivation
                                            1. Applied rewrites46.0%

                                              \[\leadsto x + 1 \cdot y \]
                                          4. Recombined 2 regimes into one program.
                                          5. Final simplification42.8%

                                            \[\leadsto \begin{array}{l} \mathbf{if}\;z \leq -7.5 \cdot 10^{+108}:\\ \;\;\;\;\frac{z}{t} \cdot x\\ \mathbf{elif}\;z \leq 400:\\ \;\;\;\;1 \cdot y + x\\ \mathbf{else}:\\ \;\;\;\;\frac{z}{t} \cdot x\\ \end{array} \]
                                          6. Add Preprocessing

                                          Alternative 15: 35.9% accurate, 1.9× speedup?

                                          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq 4.3 \cdot 10^{+46}:\\ \;\;\;\;1 \cdot y + x\\ \mathbf{else}:\\ \;\;\;\;\left(-y\right) \cdot -1\\ \end{array} \end{array} \]
                                          (FPCore (x y z t a)
                                           :precision binary64
                                           (if (<= t 4.3e+46) (+ (* 1.0 y) x) (* (- y) -1.0)))
                                          double code(double x, double y, double z, double t, double a) {
                                          	double tmp;
                                          	if (t <= 4.3e+46) {
                                          		tmp = (1.0 * y) + x;
                                          	} else {
                                          		tmp = -y * -1.0;
                                          	}
                                          	return tmp;
                                          }
                                          
                                          real(8) function code(x, y, z, t, a)
                                              real(8), intent (in) :: x
                                              real(8), intent (in) :: y
                                              real(8), intent (in) :: z
                                              real(8), intent (in) :: t
                                              real(8), intent (in) :: a
                                              real(8) :: tmp
                                              if (t <= 4.3d+46) then
                                                  tmp = (1.0d0 * y) + x
                                              else
                                                  tmp = -y * (-1.0d0)
                                              end if
                                              code = tmp
                                          end function
                                          
                                          public static double code(double x, double y, double z, double t, double a) {
                                          	double tmp;
                                          	if (t <= 4.3e+46) {
                                          		tmp = (1.0 * y) + x;
                                          	} else {
                                          		tmp = -y * -1.0;
                                          	}
                                          	return tmp;
                                          }
                                          
                                          def code(x, y, z, t, a):
                                          	tmp = 0
                                          	if t <= 4.3e+46:
                                          		tmp = (1.0 * y) + x
                                          	else:
                                          		tmp = -y * -1.0
                                          	return tmp
                                          
                                          function code(x, y, z, t, a)
                                          	tmp = 0.0
                                          	if (t <= 4.3e+46)
                                          		tmp = Float64(Float64(1.0 * y) + x);
                                          	else
                                          		tmp = Float64(Float64(-y) * -1.0);
                                          	end
                                          	return tmp
                                          end
                                          
                                          function tmp_2 = code(x, y, z, t, a)
                                          	tmp = 0.0;
                                          	if (t <= 4.3e+46)
                                          		tmp = (1.0 * y) + x;
                                          	else
                                          		tmp = -y * -1.0;
                                          	end
                                          	tmp_2 = tmp;
                                          end
                                          
                                          code[x_, y_, z_, t_, a_] := If[LessEqual[t, 4.3e+46], N[(N[(1.0 * y), $MachinePrecision] + x), $MachinePrecision], N[((-y) * -1.0), $MachinePrecision]]
                                          
                                          \begin{array}{l}
                                          
                                          \\
                                          \begin{array}{l}
                                          \mathbf{if}\;t \leq 4.3 \cdot 10^{+46}:\\
                                          \;\;\;\;1 \cdot y + x\\
                                          
                                          \mathbf{else}:\\
                                          \;\;\;\;\left(-y\right) \cdot -1\\
                                          
                                          
                                          \end{array}
                                          \end{array}
                                          
                                          Derivation
                                          1. Split input into 2 regimes
                                          2. if t < 4.30000000000000005e46

                                            1. Initial program 76.7%

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

                                              \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                                            4. Step-by-step derivation
                                              1. lower--.f6415.1

                                                \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                                            5. Applied rewrites15.1%

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

                                              \[\leadsto x + y \cdot \color{blue}{\left(1 + -1 \cdot \frac{x}{y}\right)} \]
                                            7. Step-by-step derivation
                                              1. Applied rewrites16.5%

                                                \[\leadsto x + \left(1 - \frac{x}{y}\right) \cdot \color{blue}{y} \]
                                              2. Taylor expanded in y around inf

                                                \[\leadsto x + 1 \cdot y \]
                                              3. Step-by-step derivation
                                                1. Applied rewrites34.8%

                                                  \[\leadsto x + 1 \cdot y \]

                                                if 4.30000000000000005e46 < t

                                                1. Initial program 36.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                    \[\leadsto \mathsf{fma}\left(\frac{z - t}{t}, \color{blue}{x} - y, x\right) \]
                                                  16. lower--.f6451.0

                                                    \[\leadsto \mathsf{fma}\left(\frac{z - t}{t}, \color{blue}{x - y}, x\right) \]
                                                5. Applied rewrites51.0%

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

                                                  \[\leadsto -1 \cdot \color{blue}{\frac{y \cdot \left(z - t\right)}{t}} \]
                                                7. Step-by-step derivation
                                                  1. Applied rewrites60.0%

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

                                                    \[\leadsto -1 \cdot \left(-y\right) \]
                                                  3. Step-by-step derivation
                                                    1. Applied rewrites54.3%

                                                      \[\leadsto -1 \cdot \left(-y\right) \]
                                                  4. Recombined 2 regimes into one program.
                                                  5. Final simplification38.7%

                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq 4.3 \cdot 10^{+46}:\\ \;\;\;\;1 \cdot y + x\\ \mathbf{else}:\\ \;\;\;\;\left(-y\right) \cdot -1\\ \end{array} \]
                                                  6. Add Preprocessing

                                                  Alternative 16: 24.8% accurate, 3.6× speedup?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                      \[\leadsto \mathsf{fma}\left(\frac{z - t}{t}, \color{blue}{x} - y, x\right) \]
                                                    16. lower--.f6440.0

                                                      \[\leadsto \mathsf{fma}\left(\frac{z - t}{t}, \color{blue}{x - y}, x\right) \]
                                                  5. Applied rewrites40.0%

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

                                                    \[\leadsto -1 \cdot \color{blue}{\frac{y \cdot \left(z - t\right)}{t}} \]
                                                  7. Step-by-step derivation
                                                    1. Applied rewrites36.5%

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

                                                      \[\leadsto -1 \cdot \left(-y\right) \]
                                                    3. Step-by-step derivation
                                                      1. Applied rewrites24.8%

                                                        \[\leadsto -1 \cdot \left(-y\right) \]
                                                      2. Final simplification24.8%

                                                        \[\leadsto \left(-y\right) \cdot -1 \]
                                                      3. Add Preprocessing

                                                      Alternative 17: 19.3% accurate, 4.1× speedup?

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

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

                                                        \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                                                      4. Step-by-step derivation
                                                        1. lower--.f6419.6

                                                          \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                                                      5. Applied rewrites19.6%

                                                        \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                                                      6. Final simplification19.6%

                                                        \[\leadsto \left(y - x\right) + x \]
                                                      7. Add Preprocessing

                                                      Alternative 18: 2.8% accurate, 4.8× speedup?

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

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

                                                        \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                                                      4. Step-by-step derivation
                                                        1. lower--.f6419.6

                                                          \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                                                      5. Applied rewrites19.6%

                                                        \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                                                      6. Taylor expanded in y around 0

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

                                                          \[\leadsto x + \left(-x\right) \]
                                                        2. Final simplification2.9%

                                                          \[\leadsto \left(-x\right) + x \]
                                                        3. Add Preprocessing

                                                        Developer Target 1: 86.5% accurate, 0.6× speedup?

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

                                                        Reproduce

                                                        ?
                                                        herbie shell --seed 2024277 
                                                        (FPCore (x y z t a)
                                                          :name "Graphics.Rendering.Chart.Axis.Types:linMap from Chart-1.5.3"
                                                          :precision binary64
                                                        
                                                          :alt
                                                          (! :herbie-platform default (if (< a -646122513817703/4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ x (* (/ (- y x) 1) (/ (- z t) (- a t)))) (if (< a 1887201585041587/50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (- y (* (/ z t) (- y x))) (+ x (* (/ (- y x) 1) (/ (- z t) (- a t)))))))
                                                        
                                                          (+ x (/ (* (- y x) (- z t)) (- a t))))