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

Percentage Accurate: 68.0% → 88.1%
Time: 9.5s
Alternatives: 13
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 13 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.0% 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.1% accurate, 0.6× speedup?

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

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

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

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


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

    1. Initial program 10.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. distribute-rgt-out--N/A

        \[\leadsto \left(\mathsf{neg}\left(\frac{\color{blue}{\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)} \]
    5. Applied rewrites89.5%

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

    if -6.1999999999999998e231 < t < 2.1500000000000001e99

    1. Initial program 75.0%

      \[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-/.f6489.7

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

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

    if 2.1500000000000001e99 < t

    1. Initial program 26.9%

      \[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-/.f6455.7

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

      \[\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. mul-1-negN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Alternative 2: 86.0% accurate, 0.7× speedup?

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

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

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

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


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

    1. Initial program 10.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. distribute-rgt-out--N/A

        \[\leadsto \left(\mathsf{neg}\left(\frac{\color{blue}{\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)} \]
    5. Applied rewrites89.5%

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

    if -4.19999999999999969e231 < t < 1.05999999999999999e99

    1. Initial program 75.0%

      \[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 \color{blue}{x + \frac{\left(y - x\right) \cdot \left(z - t\right)}{a - t}} \]
      2. +-commutativeN/A

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

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

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

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

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

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

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

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

    if 1.05999999999999999e99 < t

    1. Initial program 26.9%

      \[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-/.f6455.7

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

      \[\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. mul-1-negN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Alternative 3: 74.0% accurate, 0.8× speedup?

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

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

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -9.99999999999999999e-79

    1. Initial program 51.2%

      \[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. distribute-rgt-out--N/A

        \[\leadsto \left(\mathsf{neg}\left(\frac{\color{blue}{\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)} \]
    5. Applied rewrites69.4%

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

    if -9.99999999999999999e-79 < t < 4.4e-17

    1. Initial program 87.0%

      \[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--.f6485.6

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

      \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)} \]
    6. Step-by-step derivation
      1. Applied rewrites87.1%

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

      if 4.4e-17 < t

      1. Initial program 32.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-/.f6461.0

          \[\leadsto x + \frac{y - x}{\color{blue}{\frac{a - t}{z - t}}} \]
      4. Applied rewrites61.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. mul-1-negN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Alternative 4: 74.5% accurate, 0.8× speedup?

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

      1. Initial program 43.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}{\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. distribute-rgt-out--N/A

          \[\leadsto \left(\mathsf{neg}\left(\frac{\color{blue}{\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)} \]
      5. Applied rewrites74.4%

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

      if -9.99999999999999999e-79 < t < 4.4e-17

      1. Initial program 87.0%

        \[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--.f6485.6

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

        \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)} \]
      6. Step-by-step derivation
        1. Applied rewrites87.1%

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

      Alternative 5: 65.9% accurate, 0.8× speedup?

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

        1. Initial program 45.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-/.f6472.6

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

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

          \[\leadsto \color{blue}{y \cdot \left(\frac{z}{a - t} - \frac{t}{a - t}\right)} \]
        6. 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. lower-/.f64N/A

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

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

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

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

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

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

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

          if -4.00000000000000034e-86 < t < 1.79999999999999996e-87

          1. Initial program 89.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 \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--.f6490.5

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

            \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)} \]
          6. Step-by-step derivation
            1. Applied rewrites92.2%

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

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

          Alternative 6: 61.4% accurate, 0.8× speedup?

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

            1. Initial program 45.8%

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

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

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

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

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

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

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

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

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

            if -4.00000000000000034e-86 < t < 1.79999999999999996e-87

            1. Initial program 89.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 \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--.f6490.5

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

              \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)} \]
            6. Step-by-step derivation
              1. Applied rewrites92.2%

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

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

            Alternative 7: 63.7% accurate, 0.9× speedup?

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

              1. Initial program 34.9%

                \[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-/.f6467.1

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

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

                \[\leadsto \color{blue}{y \cdot \left(\frac{z}{a - t} - \frac{t}{a - t}\right)} \]
              6. 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. lower-/.f64N/A

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

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

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

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

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

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

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

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

                if -3.19999999999999991e60 < t < 1.15000000000000005e-23

                1. Initial program 84.0%

                  \[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--.f6476.3

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

                  \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)} \]
                6. Step-by-step derivation
                  1. Applied rewrites78.0%

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

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

                Alternative 8: 58.1% accurate, 0.9× speedup?

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

                  1. Initial program 34.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-/.f6466.5

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

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

                    \[\leadsto \color{blue}{y \cdot \left(\frac{z}{a - t} - \frac{t}{a - t}\right)} \]
                  6. 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. lower-/.f64N/A

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

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

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

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

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

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

                    \[\leadsto -1 \cdot \color{blue}{\frac{t \cdot y}{a - t}} \]
                  9. Step-by-step derivation
                    1. Applied rewrites49.4%

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

                    if -3.19999999999999991e60 < t < 1.4000000000000001e-13

                    1. Initial program 83.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--.f6475.9

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

                      \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)} \]
                    6. Step-by-step derivation
                      1. Applied rewrites77.7%

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

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

                    Alternative 9: 56.8% accurate, 0.9× speedup?

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

                      1. Initial program 29.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-/.f6462.6

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

                        \[\leadsto x + \color{blue}{\frac{y - x}{\frac{a - t}{z - t}}} \]
                      5. Step-by-step derivation
                        1. lift-/.f64N/A

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

                          \[\leadsto x + \frac{y - x}{\color{blue}{\frac{a - t}{z - t}}} \]
                        3. associate-/r/N/A

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

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

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

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

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

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

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

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

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

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

                          \[\leadsto x + \frac{1}{\frac{\color{blue}{\frac{a - t}{z - t}}}{y - x}} \]
                        14. lower-/.f6462.3

                          \[\leadsto x + \frac{1}{\color{blue}{\frac{\frac{a - t}{z - t}}{y - x}}} \]
                      6. Applied rewrites62.3%

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

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

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

                        \[\leadsto x + \color{blue}{\left(y - x\right)} \]

                      if -3.39999999999999993e161 < t < 4.40000000000000017e88

                      1. Initial program 76.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 \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--.f6466.8

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

                        \[\leadsto \color{blue}{\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)} \]
                      6. Step-by-step derivation
                        1. Applied rewrites68.2%

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

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

                      Alternative 10: 47.5% accurate, 1.0× speedup?

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

                        1. Initial program 30.4%

                          \[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-/.f6464.3

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

                          \[\leadsto x + \color{blue}{\frac{y - x}{\frac{a - t}{z - t}}} \]
                        5. Step-by-step derivation
                          1. lift-/.f64N/A

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

                            \[\leadsto x + \frac{y - x}{\color{blue}{\frac{a - t}{z - t}}} \]
                          3. associate-/r/N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                          \[\leadsto x + \color{blue}{\left(y - x\right)} \]

                        if -3.39999999999999993e161 < t < 4.8e13

                        1. Initial program 79.0%

                          \[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--.f6469.0

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

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

                          \[\leadsto \mathsf{fma}\left(\frac{y}{a}, z, x\right) \]
                        7. Step-by-step derivation
                          1. Applied rewrites57.3%

                            \[\leadsto \mathsf{fma}\left(\frac{y}{a}, z, x\right) \]
                        8. Recombined 2 regimes into one program.
                        9. Final simplification48.8%

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

                        Alternative 11: 31.0% accurate, 1.0× speedup?

                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(y - x\right) + x\\ \mathbf{if}\;t \leq -1.9 \cdot 10^{-12}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 3000:\\ \;\;\;\;\frac{z}{a} \cdot y\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                        (FPCore (x y z t a)
                         :precision binary64
                         (let* ((t_1 (+ (- y x) x)))
                           (if (<= t -1.9e-12) t_1 (if (<= t 3000.0) (* (/ z a) y) t_1))))
                        double code(double x, double y, double z, double t, double a) {
                        	double t_1 = (y - x) + x;
                        	double tmp;
                        	if (t <= -1.9e-12) {
                        		tmp = t_1;
                        	} else if (t <= 3000.0) {
                        		tmp = (z / a) * 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 = (y - x) + x
                            if (t <= (-1.9d-12)) then
                                tmp = t_1
                            else if (t <= 3000.0d0) then
                                tmp = (z / a) * 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 = (y - x) + x;
                        	double tmp;
                        	if (t <= -1.9e-12) {
                        		tmp = t_1;
                        	} else if (t <= 3000.0) {
                        		tmp = (z / a) * y;
                        	} else {
                        		tmp = t_1;
                        	}
                        	return tmp;
                        }
                        
                        def code(x, y, z, t, a):
                        	t_1 = (y - x) + x
                        	tmp = 0
                        	if t <= -1.9e-12:
                        		tmp = t_1
                        	elif t <= 3000.0:
                        		tmp = (z / a) * y
                        	else:
                        		tmp = t_1
                        	return tmp
                        
                        function code(x, y, z, t, a)
                        	t_1 = Float64(Float64(y - x) + x)
                        	tmp = 0.0
                        	if (t <= -1.9e-12)
                        		tmp = t_1;
                        	elseif (t <= 3000.0)
                        		tmp = Float64(Float64(z / a) * y);
                        	else
                        		tmp = t_1;
                        	end
                        	return tmp
                        end
                        
                        function tmp_2 = code(x, y, z, t, a)
                        	t_1 = (y - x) + x;
                        	tmp = 0.0;
                        	if (t <= -1.9e-12)
                        		tmp = t_1;
                        	elseif (t <= 3000.0)
                        		tmp = (z / a) * y;
                        	else
                        		tmp = t_1;
                        	end
                        	tmp_2 = tmp;
                        end
                        
                        code[x_, y_, z_, t_, a_] := Block[{t$95$1 = N[(N[(y - x), $MachinePrecision] + x), $MachinePrecision]}, If[LessEqual[t, -1.9e-12], t$95$1, If[LessEqual[t, 3000.0], N[(N[(z / a), $MachinePrecision] * y), $MachinePrecision], t$95$1]]]
                        
                        \begin{array}{l}
                        
                        \\
                        \begin{array}{l}
                        t_1 := \left(y - x\right) + x\\
                        \mathbf{if}\;t \leq -1.9 \cdot 10^{-12}:\\
                        \;\;\;\;t\_1\\
                        
                        \mathbf{elif}\;t \leq 3000:\\
                        \;\;\;\;\frac{z}{a} \cdot y\\
                        
                        \mathbf{else}:\\
                        \;\;\;\;t\_1\\
                        
                        
                        \end{array}
                        \end{array}
                        
                        Derivation
                        1. Split input into 2 regimes
                        2. if t < -1.89999999999999998e-12 or 3e3 < t

                          1. Initial program 38.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-/.f6469.0

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

                            \[\leadsto x + \color{blue}{\frac{y - x}{\frac{a - t}{z - t}}} \]
                          5. Step-by-step derivation
                            1. lift-/.f64N/A

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

                              \[\leadsto x + \frac{y - x}{\color{blue}{\frac{a - t}{z - t}}} \]
                            3. associate-/r/N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                              \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                          9. Applied rewrites29.2%

                            \[\leadsto x + \color{blue}{\left(y - x\right)} \]

                          if -1.89999999999999998e-12 < t < 3e3

                          1. Initial program 86.3%

                            \[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--.f6480.7

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

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

                            \[\leadsto \frac{y \cdot z}{\color{blue}{a}} \]
                          7. Step-by-step derivation
                            1. Applied rewrites28.6%

                              \[\leadsto \frac{z \cdot y}{\color{blue}{a}} \]
                            2. Step-by-step derivation
                              1. Applied rewrites36.9%

                                \[\leadsto y \cdot \frac{z}{\color{blue}{a}} \]
                            3. Recombined 2 regimes into one program.
                            4. Final simplification33.1%

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

                            Alternative 12: 19.6% 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 63.1%

                              \[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-/.f6481.8

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

                              \[\leadsto x + \color{blue}{\frac{y - x}{\frac{a - t}{z - t}}} \]
                            5. Step-by-step derivation
                              1. lift-/.f64N/A

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

                                \[\leadsto x + \frac{y - x}{\color{blue}{\frac{a - t}{z - t}}} \]
                              3. associate-/r/N/A

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

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

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

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

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

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

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

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

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

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

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

                                \[\leadsto x + \frac{1}{\color{blue}{\frac{\frac{a - t}{z - t}}{y - x}}} \]
                            6. Applied rewrites81.7%

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

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

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

                              \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                            10. Final simplification16.7%

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

                            Alternative 13: 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 63.1%

                              \[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-/.f6481.8

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

                              \[\leadsto x + \color{blue}{\frac{y - x}{\frac{a - t}{z - t}}} \]
                            5. Step-by-step derivation
                              1. lift-/.f64N/A

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

                                \[\leadsto x + \frac{y - x}{\color{blue}{\frac{a - t}{z - t}}} \]
                              3. associate-/r/N/A

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

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

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

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

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

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

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

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

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

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

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

                                \[\leadsto x + \frac{1}{\color{blue}{\frac{\frac{a - t}{z - t}}{y - x}}} \]
                            6. Applied rewrites81.7%

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

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

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

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

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

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

                                \[\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 2024298 
                              (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))))