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

Percentage Accurate: 68.7% → 89.0%
Time: 10.8s
Alternatives: 21
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 21 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.7% 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: 89.0% accurate, 0.6× speedup?

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

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

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

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


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

    1. Initial program 30.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      if -7.2000000000000005e122 < t < 2.4000000000000002e146

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

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

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

      if 2.4000000000000002e146 < t

      1. Initial program 27.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Alternative 2: 36.2% accurate, 0.7× speedup?

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

      1. Initial program 22.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. div-subN/A

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

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

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

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

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

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

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

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

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

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

          if -2.44999999999999992e138 < t < -1.09999999999999993e-82 or 2.6000000000000001e-73 < t < 3.1999999999999998e164

          1. Initial program 75.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if -1.09999999999999993e-82 < t < 2.6000000000000001e-73

            1. Initial program 90.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

              if 3.1999999999999998e164 < t

              1. Initial program 28.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 x + \color{blue}{\left(y - x\right)} \]
              4. Step-by-step derivation
                1. lower--.f6449.2

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

                \[\leadsto x + \color{blue}{\left(y - x\right)} \]
            8. Recombined 4 regimes into one program.
            9. Final simplification44.3%

              \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.45 \cdot 10^{+138}:\\ \;\;\;\;\frac{z - a}{t} \cdot x\\ \mathbf{elif}\;t \leq -1.1 \cdot 10^{-82}:\\ \;\;\;\;\frac{\left(x - y\right) \cdot z}{t}\\ \mathbf{elif}\;t \leq 2.6 \cdot 10^{-73}:\\ \;\;\;\;\frac{z}{a} \cdot \left(y - x\right)\\ \mathbf{elif}\;t \leq 3.2 \cdot 10^{+164}:\\ \;\;\;\;\frac{\left(x - y\right) \cdot z}{t}\\ \mathbf{else}:\\ \;\;\;\;\left(y - x\right) + x\\ \end{array} \]
            10. Add Preprocessing

            Alternative 3: 68.4% accurate, 0.7× speedup?

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

              1. Initial program 40.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                  if -6.1999999999999998e29 < t < 2.10000000000000013e-21

                  1. Initial program 90.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--.f6479.9

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

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

                  if 2.10000000000000013e-21 < t < 2.40000000000000012e110

                  1. Initial program 71.7%

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

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

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

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

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

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

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

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

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

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

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

                  if 2.40000000000000012e110 < t

                  1. Initial program 32.1%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                  Alternative 4: 83.7% accurate, 0.7× speedup?

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

                    1. Initial program 36.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                      if -1.7e65 < t < 1.04999999999999993e54

                      1. Initial program 89.6%

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

                      if 1.04999999999999993e54 < t

                      1. Initial program 38.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                    Alternative 5: 68.4% accurate, 0.7× speedup?

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

                      1. Initial program 40.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                          if -6.1999999999999998e29 < t < 2.9000000000000002e-22

                          1. Initial program 91.1%

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

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

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

                          if 2.9000000000000002e-22 < t < 8.00000000000000037e223

                          1. Initial program 55.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                            if 8.00000000000000037e223 < t

                            1. Initial program 26.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                            Alternative 6: 55.3% accurate, 0.7× speedup?

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

                              1. Initial program 55.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                  if -1.09999999999999993e-82 < t < 4.9999999999999998e-73

                                  1. Initial program 90.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

                                    if 4.9999999999999998e-73 < t < 8.00000000000000037e223

                                    1. Initial program 58.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                      if 8.00000000000000037e223 < t

                                      1. Initial program 26.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                      Alternative 7: 55.0% accurate, 0.7× speedup?

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

                                        1. Initial program 56.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                          if -1.09999999999999993e-82 < t < 4.9999999999999998e-73

                                          1. Initial program 90.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

                                            if 8.00000000000000037e223 < t

                                            1. Initial program 26.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                            Alternative 8: 34.3% accurate, 0.8× speedup?

                                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -7 \cdot 10^{+29}:\\ \;\;\;\;\frac{x}{t} \cdot \left(z - a\right)\\ \mathbf{elif}\;t \leq 2.6 \cdot 10^{-73}:\\ \;\;\;\;\frac{\left(y - x\right) \cdot z}{a}\\ \mathbf{elif}\;t \leq 3.2 \cdot 10^{+164}:\\ \;\;\;\;\frac{\left(x - y\right) \cdot z}{t}\\ \mathbf{else}:\\ \;\;\;\;\left(y - x\right) + x\\ \end{array} \end{array} \]
                                            (FPCore (x y z t a)
                                             :precision binary64
                                             (if (<= t -7e+29)
                                               (* (/ x t) (- z a))
                                               (if (<= t 2.6e-73)
                                                 (/ (* (- y x) z) a)
                                                 (if (<= t 3.2e+164) (/ (* (- x y) z) t) (+ (- y x) x)))))
                                            double code(double x, double y, double z, double t, double a) {
                                            	double tmp;
                                            	if (t <= -7e+29) {
                                            		tmp = (x / t) * (z - a);
                                            	} else if (t <= 2.6e-73) {
                                            		tmp = ((y - x) * z) / a;
                                            	} else if (t <= 3.2e+164) {
                                            		tmp = ((x - y) * z) / t;
                                            	} else {
                                            		tmp = (y - x) + x;
                                            	}
                                            	return tmp;
                                            }
                                            
                                            real(8) function code(x, y, z, t, a)
                                                real(8), intent (in) :: x
                                                real(8), intent (in) :: y
                                                real(8), intent (in) :: z
                                                real(8), intent (in) :: t
                                                real(8), intent (in) :: a
                                                real(8) :: tmp
                                                if (t <= (-7d+29)) then
                                                    tmp = (x / t) * (z - a)
                                                else if (t <= 2.6d-73) then
                                                    tmp = ((y - x) * z) / a
                                                else if (t <= 3.2d+164) then
                                                    tmp = ((x - y) * z) / t
                                                else
                                                    tmp = (y - x) + x
                                                end if
                                                code = tmp
                                            end function
                                            
                                            public static double code(double x, double y, double z, double t, double a) {
                                            	double tmp;
                                            	if (t <= -7e+29) {
                                            		tmp = (x / t) * (z - a);
                                            	} else if (t <= 2.6e-73) {
                                            		tmp = ((y - x) * z) / a;
                                            	} else if (t <= 3.2e+164) {
                                            		tmp = ((x - y) * z) / t;
                                            	} else {
                                            		tmp = (y - x) + x;
                                            	}
                                            	return tmp;
                                            }
                                            
                                            def code(x, y, z, t, a):
                                            	tmp = 0
                                            	if t <= -7e+29:
                                            		tmp = (x / t) * (z - a)
                                            	elif t <= 2.6e-73:
                                            		tmp = ((y - x) * z) / a
                                            	elif t <= 3.2e+164:
                                            		tmp = ((x - y) * z) / t
                                            	else:
                                            		tmp = (y - x) + x
                                            	return tmp
                                            
                                            function code(x, y, z, t, a)
                                            	tmp = 0.0
                                            	if (t <= -7e+29)
                                            		tmp = Float64(Float64(x / t) * Float64(z - a));
                                            	elseif (t <= 2.6e-73)
                                            		tmp = Float64(Float64(Float64(y - x) * z) / a);
                                            	elseif (t <= 3.2e+164)
                                            		tmp = Float64(Float64(Float64(x - y) * z) / t);
                                            	else
                                            		tmp = Float64(Float64(y - x) + x);
                                            	end
                                            	return tmp
                                            end
                                            
                                            function tmp_2 = code(x, y, z, t, a)
                                            	tmp = 0.0;
                                            	if (t <= -7e+29)
                                            		tmp = (x / t) * (z - a);
                                            	elseif (t <= 2.6e-73)
                                            		tmp = ((y - x) * z) / a;
                                            	elseif (t <= 3.2e+164)
                                            		tmp = ((x - y) * z) / t;
                                            	else
                                            		tmp = (y - x) + x;
                                            	end
                                            	tmp_2 = tmp;
                                            end
                                            
                                            code[x_, y_, z_, t_, a_] := If[LessEqual[t, -7e+29], N[(N[(x / t), $MachinePrecision] * N[(z - a), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 2.6e-73], N[(N[(N[(y - x), $MachinePrecision] * z), $MachinePrecision] / a), $MachinePrecision], If[LessEqual[t, 3.2e+164], N[(N[(N[(x - y), $MachinePrecision] * z), $MachinePrecision] / t), $MachinePrecision], N[(N[(y - x), $MachinePrecision] + x), $MachinePrecision]]]]
                                            
                                            \begin{array}{l}
                                            
                                            \\
                                            \begin{array}{l}
                                            \mathbf{if}\;t \leq -7 \cdot 10^{+29}:\\
                                            \;\;\;\;\frac{x}{t} \cdot \left(z - a\right)\\
                                            
                                            \mathbf{elif}\;t \leq 2.6 \cdot 10^{-73}:\\
                                            \;\;\;\;\frac{\left(y - x\right) \cdot z}{a}\\
                                            
                                            \mathbf{elif}\;t \leq 3.2 \cdot 10^{+164}:\\
                                            \;\;\;\;\frac{\left(x - y\right) \cdot z}{t}\\
                                            
                                            \mathbf{else}:\\
                                            \;\;\;\;\left(y - x\right) + x\\
                                            
                                            
                                            \end{array}
                                            \end{array}
                                            
                                            Derivation
                                            1. Split input into 4 regimes
                                            2. if t < -6.99999999999999958e29

                                              1. Initial program 40.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                  \[\leadsto \frac{\left(z - a\right) \cdot x}{\color{blue}{t}} \]
                                                2. Step-by-step derivation
                                                  1. Applied rewrites37.6%

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

                                                  if -6.99999999999999958e29 < t < 2.6000000000000001e-73

                                                  1. Initial program 90.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                    if 2.6000000000000001e-73 < t < 3.1999999999999998e164

                                                    1. Initial program 69.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. div-subN/A

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

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

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

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

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

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

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

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

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

                                                      if 3.1999999999999998e164 < t

                                                      1. Initial program 28.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 x + \color{blue}{\left(y - x\right)} \]
                                                      4. Step-by-step derivation
                                                        1. lower--.f6449.2

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

                                                        \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                                                    8. Recombined 4 regimes into one program.
                                                    9. Final simplification41.3%

                                                      \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -7 \cdot 10^{+29}:\\ \;\;\;\;\frac{x}{t} \cdot \left(z - a\right)\\ \mathbf{elif}\;t \leq 2.6 \cdot 10^{-73}:\\ \;\;\;\;\frac{\left(y - x\right) \cdot z}{a}\\ \mathbf{elif}\;t \leq 3.2 \cdot 10^{+164}:\\ \;\;\;\;\frac{\left(x - y\right) \cdot z}{t}\\ \mathbf{else}:\\ \;\;\;\;\left(y - x\right) + x\\ \end{array} \]
                                                    10. Add Preprocessing

                                                    Alternative 9: 33.7% accurate, 0.8× speedup?

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

                                                      1. Initial program 53.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. div-subN/A

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

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

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

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

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

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

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

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

                                                          \[\leadsto \frac{\left(z - a\right) \cdot x}{\color{blue}{t}} \]
                                                        2. Step-by-step derivation
                                                          1. Applied rewrites35.5%

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

                                                          if -6.99999999999999958e29 < t < 1.4e-65

                                                          1. Initial program 90.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                            if 3.89999999999999991e166 < t

                                                            1. Initial program 28.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 x + \color{blue}{\left(y - x\right)} \]
                                                            4. Step-by-step derivation
                                                              1. lower--.f6449.2

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

                                                              \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                                                          8. Recombined 3 regimes into one program.
                                                          9. Final simplification40.7%

                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -7 \cdot 10^{+29}:\\ \;\;\;\;\frac{x}{t} \cdot \left(z - a\right)\\ \mathbf{elif}\;t \leq 1.4 \cdot 10^{-65}:\\ \;\;\;\;\frac{\left(y - x\right) \cdot z}{a}\\ \mathbf{elif}\;t \leq 3.9 \cdot 10^{+166}:\\ \;\;\;\;\frac{x}{t} \cdot \left(z - a\right)\\ \mathbf{else}:\\ \;\;\;\;\left(y - x\right) + x\\ \end{array} \]
                                                          10. Add Preprocessing

                                                          Alternative 10: 76.9% accurate, 0.8× speedup?

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

                                                            1. Initial program 39.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                              if -1.64999999999999994e34 < t < 3.90000000000000025e-7

                                                              1. Initial program 91.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 x + \frac{\color{blue}{z \cdot \left(y - x\right)}}{a - t} \]
                                                              4. Step-by-step derivation
                                                                1. lower-*.f64N/A

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

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

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

                                                              if 3.90000000000000025e-7 < t

                                                              1. Initial program 44.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. div-subN/A

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

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

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

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

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

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

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

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

                                                            Alternative 11: 72.0% accurate, 0.8× speedup?

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

                                                              1. Initial program 40.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                if -5.9999999999999998e29 < t < 2.9000000000000002e-22

                                                                1. Initial program 91.1%

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

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

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

                                                                if 2.9000000000000002e-22 < t

                                                                1. Initial program 47.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. div-subN/A

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

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

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

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

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

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

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

                                                              Alternative 12: 72.1% 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 -6 \cdot 10^{+29}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 2.9 \cdot 10^{-22}:\\ \;\;\;\;\mathsf{fma}\left(\frac{y - x}{a}, z, 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 -6e+29) t_1 (if (<= t 2.9e-22) (fma (/ (- y x) a) z 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 <= -6e+29) {
                                                              		tmp = t_1;
                                                              	} else if (t <= 2.9e-22) {
                                                              		tmp = fma(((y - x) / a), z, 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 <= -6e+29)
                                                              		tmp = t_1;
                                                              	elseif (t <= 2.9e-22)
                                                              		tmp = fma(Float64(Float64(y - x) / a), z, 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, -6e+29], t$95$1, If[LessEqual[t, 2.9e-22], N[(N[(N[(y - x), $MachinePrecision] / a), $MachinePrecision] * z + 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 -6 \cdot 10^{+29}:\\
                                                              \;\;\;\;t\_1\\
                                                              
                                                              \mathbf{elif}\;t \leq 2.9 \cdot 10^{-22}:\\
                                                              \;\;\;\;\mathsf{fma}\left(\frac{y - x}{a}, z, x\right)\\
                                                              
                                                              \mathbf{else}:\\
                                                              \;\;\;\;t\_1\\
                                                              
                                                              
                                                              \end{array}
                                                              \end{array}
                                                              
                                                              Derivation
                                                              1. Split input into 2 regimes
                                                              2. if t < -5.9999999999999998e29 or 2.9000000000000002e-22 < t

                                                                1. Initial program 44.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                  if -5.9999999999999998e29 < t < 2.9000000000000002e-22

                                                                  1. Initial program 91.1%

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

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

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

                                                                Alternative 13: 27.0% accurate, 0.8× speedup?

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

                                                                  1. Initial program 62.1%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                      \[\leadsto \frac{\left(z - a\right) \cdot x}{\color{blue}{t}} \]
                                                                    2. Step-by-step derivation
                                                                      1. Applied rewrites44.6%

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

                                                                        \[\leadsto x \cdot \frac{z}{t} \]
                                                                      3. Step-by-step derivation
                                                                        1. Applied rewrites43.3%

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

                                                                        if -2.1999999999999998e66 < x < 2.49999999999999993e-305

                                                                        1. Initial program 72.9%

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

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

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

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

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

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

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

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

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

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

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

                                                                            \[\leadsto \frac{z - t}{\color{blue}{\frac{a - t}{y}}} \]
                                                                          2. Taylor expanded in t around 0

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

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

                                                                            if 2.49999999999999993e-305 < x < 3.8000000000000002e67

                                                                            1. Initial program 64.6%

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

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

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

                                                                              \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                                                                          4. Recombined 3 regimes into one program.
                                                                          5. Final simplification34.7%

                                                                            \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -2.2 \cdot 10^{+66}:\\ \;\;\;\;\frac{z}{t} \cdot x\\ \mathbf{elif}\;x \leq 2.5 \cdot 10^{-305}:\\ \;\;\;\;\frac{z}{a} \cdot y\\ \mathbf{elif}\;x \leq 3.8 \cdot 10^{+67}:\\ \;\;\;\;\left(y - x\right) + x\\ \mathbf{else}:\\ \;\;\;\;\frac{z}{t} \cdot x\\ \end{array} \]
                                                                          6. Add Preprocessing

                                                                          Alternative 14: 26.7% accurate, 0.8× speedup?

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

                                                                            1. Initial program 62.1%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                \[\leadsto \frac{\left(z - a\right) \cdot x}{\color{blue}{t}} \]
                                                                              2. Step-by-step derivation
                                                                                1. Applied rewrites44.6%

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

                                                                                  \[\leadsto x \cdot \frac{z}{t} \]
                                                                                3. Step-by-step derivation
                                                                                  1. Applied rewrites43.3%

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

                                                                                  if -2.1999999999999998e66 < x < -9.5000000000000001e-202

                                                                                  1. Initial program 65.7%

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

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

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

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

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

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

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

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

                                                                                      \[\leadsto \left(z - t\right) \cdot \color{blue}{\frac{y}{a - t}} \]
                                                                                    8. lower--.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}} \]
                                                                                  6. Taylor expanded in t around 0

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

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

                                                                                        \[\leadsto \frac{y}{a} \cdot z \]

                                                                                      if -9.5000000000000001e-202 < x < 3.8000000000000002e67

                                                                                      1. Initial program 70.4%

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

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

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

                                                                                        \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                                                                                    3. Recombined 3 regimes into one program.
                                                                                    4. Final simplification34.4%

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

                                                                                    Alternative 15: 54.5% accurate, 0.9× speedup?

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

                                                                                      1. Initial program 52.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                        if -1.09999999999999993e-82 < t < 4.9999999999999998e-73

                                                                                        1. Initial program 90.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                        Alternative 16: 33.6% accurate, 0.9× speedup?

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

                                                                                          1. Initial program 40.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                              \[\leadsto \frac{\left(z - a\right) \cdot x}{\color{blue}{t}} \]
                                                                                            2. Step-by-step derivation
                                                                                              1. Applied rewrites37.6%

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

                                                                                              if -6.99999999999999958e29 < t < 4.9999999999999998e-8

                                                                                              1. Initial program 91.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                                if 4.9999999999999998e-8 < t

                                                                                                1. Initial program 44.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 x + \color{blue}{\left(y - x\right)} \]
                                                                                                4. Step-by-step derivation
                                                                                                  1. lower--.f6436.6

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

                                                                                                  \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                                                                                              8. Recombined 3 regimes into one program.
                                                                                              9. Final simplification39.0%

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

                                                                                              Alternative 17: 31.6% accurate, 0.9× speedup?

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

                                                                                                1. Initial program 40.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                                    \[\leadsto \frac{\left(z - a\right) \cdot x}{\color{blue}{t}} \]
                                                                                                  2. Step-by-step derivation
                                                                                                    1. Applied rewrites37.6%

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

                                                                                                      \[\leadsto x \cdot \frac{z}{t} \]
                                                                                                    3. Step-by-step derivation
                                                                                                      1. Applied rewrites35.8%

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

                                                                                                      if -7.99999999999999931e29 < t < 4.9999999999999998e-8

                                                                                                      1. Initial program 91.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                                        if 4.9999999999999998e-8 < t

                                                                                                        1. Initial program 44.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 x + \color{blue}{\left(y - x\right)} \]
                                                                                                        4. Step-by-step derivation
                                                                                                          1. lower--.f6436.6

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

                                                                                                          \[\leadsto x + \color{blue}{\left(y - x\right)} \]
                                                                                                      8. Recombined 3 regimes into one program.
                                                                                                      9. Final simplification38.6%

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

                                                                                                      Alternative 18: 28.4% accurate, 1.0× speedup?

                                                                                                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(y - x\right) + x\\ \mathbf{if}\;t \leq -2.5 \cdot 10^{+85}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 2.65 \cdot 10^{-8}:\\ \;\;\;\;\frac{z \cdot y}{a}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                      (FPCore (x y z t a)
                                                                                                       :precision binary64
                                                                                                       (let* ((t_1 (+ (- y x) x)))
                                                                                                         (if (<= t -2.5e+85) t_1 (if (<= t 2.65e-8) (/ (* z y) a) t_1))))
                                                                                                      double code(double x, double y, double z, double t, double a) {
                                                                                                      	double t_1 = (y - x) + x;
                                                                                                      	double tmp;
                                                                                                      	if (t <= -2.5e+85) {
                                                                                                      		tmp = t_1;
                                                                                                      	} else if (t <= 2.65e-8) {
                                                                                                      		tmp = (z * y) / a;
                                                                                                      	} 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 <= (-2.5d+85)) then
                                                                                                              tmp = t_1
                                                                                                          else if (t <= 2.65d-8) then
                                                                                                              tmp = (z * y) / a
                                                                                                          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 <= -2.5e+85) {
                                                                                                      		tmp = t_1;
                                                                                                      	} else if (t <= 2.65e-8) {
                                                                                                      		tmp = (z * y) / a;
                                                                                                      	} else {
                                                                                                      		tmp = t_1;
                                                                                                      	}
                                                                                                      	return tmp;
                                                                                                      }
                                                                                                      
                                                                                                      def code(x, y, z, t, a):
                                                                                                      	t_1 = (y - x) + x
                                                                                                      	tmp = 0
                                                                                                      	if t <= -2.5e+85:
                                                                                                      		tmp = t_1
                                                                                                      	elif t <= 2.65e-8:
                                                                                                      		tmp = (z * y) / a
                                                                                                      	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 <= -2.5e+85)
                                                                                                      		tmp = t_1;
                                                                                                      	elseif (t <= 2.65e-8)
                                                                                                      		tmp = Float64(Float64(z * y) / a);
                                                                                                      	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 <= -2.5e+85)
                                                                                                      		tmp = t_1;
                                                                                                      	elseif (t <= 2.65e-8)
                                                                                                      		tmp = (z * y) / a;
                                                                                                      	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, -2.5e+85], t$95$1, If[LessEqual[t, 2.65e-8], N[(N[(z * y), $MachinePrecision] / a), $MachinePrecision], t$95$1]]]
                                                                                                      
                                                                                                      \begin{array}{l}
                                                                                                      
                                                                                                      \\
                                                                                                      \begin{array}{l}
                                                                                                      t_1 := \left(y - x\right) + x\\
                                                                                                      \mathbf{if}\;t \leq -2.5 \cdot 10^{+85}:\\
                                                                                                      \;\;\;\;t\_1\\
                                                                                                      
                                                                                                      \mathbf{elif}\;t \leq 2.65 \cdot 10^{-8}:\\
                                                                                                      \;\;\;\;\frac{z \cdot y}{a}\\
                                                                                                      
                                                                                                      \mathbf{else}:\\
                                                                                                      \;\;\;\;t\_1\\
                                                                                                      
                                                                                                      
                                                                                                      \end{array}
                                                                                                      \end{array}
                                                                                                      
                                                                                                      Derivation
                                                                                                      1. Split input into 2 regimes
                                                                                                      2. if t < -2.5e85 or 2.6499999999999999e-8 < t

                                                                                                        1. Initial program 41.0%

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

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

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

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

                                                                                                        if -2.5e85 < t < 2.6499999999999999e-8

                                                                                                        1. Initial program 89.7%

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                                            \[\leadsto \frac{z \cdot y}{\color{blue}{a}} \]
                                                                                                        8. Recombined 2 regimes into one program.
                                                                                                        9. Final simplification28.8%

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

                                                                                                        Alternative 19: 29.1% accurate, 1.0× speedup?

                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(y - x\right) + x\\ \mathbf{if}\;t \leq -2.45 \cdot 10^{+85}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 2.65 \cdot 10^{-8}:\\ \;\;\;\;\frac{y}{a} \cdot z\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                        (FPCore (x y z t a)
                                                                                                         :precision binary64
                                                                                                         (let* ((t_1 (+ (- y x) x)))
                                                                                                           (if (<= t -2.45e+85) t_1 (if (<= t 2.65e-8) (* (/ y a) z) t_1))))
                                                                                                        double code(double x, double y, double z, double t, double a) {
                                                                                                        	double t_1 = (y - x) + x;
                                                                                                        	double tmp;
                                                                                                        	if (t <= -2.45e+85) {
                                                                                                        		tmp = t_1;
                                                                                                        	} else if (t <= 2.65e-8) {
                                                                                                        		tmp = (y / a) * z;
                                                                                                        	} 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 <= (-2.45d+85)) then
                                                                                                                tmp = t_1
                                                                                                            else if (t <= 2.65d-8) then
                                                                                                                tmp = (y / a) * z
                                                                                                            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 <= -2.45e+85) {
                                                                                                        		tmp = t_1;
                                                                                                        	} else if (t <= 2.65e-8) {
                                                                                                        		tmp = (y / a) * z;
                                                                                                        	} else {
                                                                                                        		tmp = t_1;
                                                                                                        	}
                                                                                                        	return tmp;
                                                                                                        }
                                                                                                        
                                                                                                        def code(x, y, z, t, a):
                                                                                                        	t_1 = (y - x) + x
                                                                                                        	tmp = 0
                                                                                                        	if t <= -2.45e+85:
                                                                                                        		tmp = t_1
                                                                                                        	elif t <= 2.65e-8:
                                                                                                        		tmp = (y / a) * z
                                                                                                        	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 <= -2.45e+85)
                                                                                                        		tmp = t_1;
                                                                                                        	elseif (t <= 2.65e-8)
                                                                                                        		tmp = Float64(Float64(y / a) * z);
                                                                                                        	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 <= -2.45e+85)
                                                                                                        		tmp = t_1;
                                                                                                        	elseif (t <= 2.65e-8)
                                                                                                        		tmp = (y / a) * z;
                                                                                                        	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, -2.45e+85], t$95$1, If[LessEqual[t, 2.65e-8], N[(N[(y / a), $MachinePrecision] * z), $MachinePrecision], t$95$1]]]
                                                                                                        
                                                                                                        \begin{array}{l}
                                                                                                        
                                                                                                        \\
                                                                                                        \begin{array}{l}
                                                                                                        t_1 := \left(y - x\right) + x\\
                                                                                                        \mathbf{if}\;t \leq -2.45 \cdot 10^{+85}:\\
                                                                                                        \;\;\;\;t\_1\\
                                                                                                        
                                                                                                        \mathbf{elif}\;t \leq 2.65 \cdot 10^{-8}:\\
                                                                                                        \;\;\;\;\frac{y}{a} \cdot z\\
                                                                                                        
                                                                                                        \mathbf{else}:\\
                                                                                                        \;\;\;\;t\_1\\
                                                                                                        
                                                                                                        
                                                                                                        \end{array}
                                                                                                        \end{array}
                                                                                                        
                                                                                                        Derivation
                                                                                                        1. Split input into 2 regimes
                                                                                                        2. if t < -2.4499999999999998e85 or 2.6499999999999999e-8 < t

                                                                                                          1. Initial program 41.0%

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

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

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

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

                                                                                                          if -2.4499999999999998e85 < t < 2.6499999999999999e-8

                                                                                                          1. Initial program 89.7%

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                                                \[\leadsto \frac{y}{a} \cdot z \]
                                                                                                            3. Recombined 2 regimes into one program.
                                                                                                            4. Final simplification28.7%

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

                                                                                                            Alternative 20: 19.5% 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 66.3%

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

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

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

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

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

                                                                                                            Alternative 21: 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 66.3%

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

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

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

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

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

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

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

                                                                                                              Developer Target 1: 86.3% 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 2024244 
                                                                                                              (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))))