Graphics.Rendering.Plot.Render.Plot.Axis:renderAxisTicks from plot-0.2.3.4, B

Percentage Accurate: 85.4% → 98.4%
Time: 9.1s
Alternatives: 12
Speedup: 1.0×

Specification

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

\\
x + \frac{y \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 12 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: 85.4% accurate, 1.0× speedup?

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

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

Alternative 1: 98.4% accurate, 1.0× speedup?

\[\begin{array}{l} \\ x + \frac{y}{\frac{a - t}{z - t}} \end{array} \]
(FPCore (x y z t a) :precision binary64 (+ x (/ y (/ (- a t) (- z t)))))
double code(double x, double y, double z, double t, double a) {
	return x + (y / ((a - t) / (z - 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 / ((a - t) / (z - t)))
end function
public static double code(double x, double y, double z, double t, double a) {
	return x + (y / ((a - t) / (z - t)));
}
def code(x, y, z, t, a):
	return x + (y / ((a - t) / (z - t)))
function code(x, y, z, t, a)
	return Float64(x + Float64(y / Float64(Float64(a - t) / Float64(z - t))))
end
function tmp = code(x, y, z, t, a)
	tmp = x + (y / ((a - t) / (z - t)));
end
code[x_, y_, z_, t_, a_] := N[(x + N[(y / N[(N[(a - t), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

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

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

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

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

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

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

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

      \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(a, t\right), \left(\color{blue}{z} - t\right)\right)\right)\right) \]
    7. --lowering--.f6497.2%

      \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(a, t\right), \mathsf{\_.f64}\left(z, \color{blue}{t}\right)\right)\right)\right) \]
  4. Applied egg-rr97.2%

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

Alternative 2: 73.9% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -2.7 \cdot 10^{+151}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq -6.8 \cdot 10^{-90}:\\ \;\;\;\;x - \frac{t}{\frac{a}{y}}\\ \mathbf{elif}\;t \leq 1.9 \cdot 10^{+72}:\\ \;\;\;\;x + \frac{y}{\frac{a}{z}}\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \end{array} \]
(FPCore (x y z t a)
 :precision binary64
 (if (<= t -2.7e+151)
   (+ x y)
   (if (<= t -6.8e-90)
     (- x (/ t (/ a y)))
     (if (<= t 1.9e+72) (+ x (/ y (/ a z))) (+ x y)))))
double code(double x, double y, double z, double t, double a) {
	double tmp;
	if (t <= -2.7e+151) {
		tmp = x + y;
	} else if (t <= -6.8e-90) {
		tmp = x - (t / (a / y));
	} else if (t <= 1.9e+72) {
		tmp = x + (y / (a / z));
	} else {
		tmp = x + y;
	}
	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 <= (-2.7d+151)) then
        tmp = x + y
    else if (t <= (-6.8d-90)) then
        tmp = x - (t / (a / y))
    else if (t <= 1.9d+72) then
        tmp = x + (y / (a / z))
    else
        tmp = x + y
    end if
    code = tmp
end function
public static double code(double x, double y, double z, double t, double a) {
	double tmp;
	if (t <= -2.7e+151) {
		tmp = x + y;
	} else if (t <= -6.8e-90) {
		tmp = x - (t / (a / y));
	} else if (t <= 1.9e+72) {
		tmp = x + (y / (a / z));
	} else {
		tmp = x + y;
	}
	return tmp;
}
def code(x, y, z, t, a):
	tmp = 0
	if t <= -2.7e+151:
		tmp = x + y
	elif t <= -6.8e-90:
		tmp = x - (t / (a / y))
	elif t <= 1.9e+72:
		tmp = x + (y / (a / z))
	else:
		tmp = x + y
	return tmp
function code(x, y, z, t, a)
	tmp = 0.0
	if (t <= -2.7e+151)
		tmp = Float64(x + y);
	elseif (t <= -6.8e-90)
		tmp = Float64(x - Float64(t / Float64(a / y)));
	elseif (t <= 1.9e+72)
		tmp = Float64(x + Float64(y / Float64(a / z)));
	else
		tmp = Float64(x + y);
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a)
	tmp = 0.0;
	if (t <= -2.7e+151)
		tmp = x + y;
	elseif (t <= -6.8e-90)
		tmp = x - (t / (a / y));
	elseif (t <= 1.9e+72)
		tmp = x + (y / (a / z));
	else
		tmp = x + y;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, -2.7e+151], N[(x + y), $MachinePrecision], If[LessEqual[t, -6.8e-90], N[(x - N[(t / N[(a / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.9e+72], N[(x + N[(y / N[(a / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;t \leq -2.7 \cdot 10^{+151}:\\
\;\;\;\;x + y\\

\mathbf{elif}\;t \leq -6.8 \cdot 10^{-90}:\\
\;\;\;\;x - \frac{t}{\frac{a}{y}}\\

\mathbf{elif}\;t \leq 1.9 \cdot 10^{+72}:\\
\;\;\;\;x + \frac{y}{\frac{a}{z}}\\

\mathbf{else}:\\
\;\;\;\;x + y\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if t < -2.7000000000000001e151 or 1.90000000000000003e72 < t

    1. Initial program 70.2%

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

      \[\leadsto \color{blue}{x + y} \]
    4. Step-by-step derivation
      1. +-commutativeN/A

        \[\leadsto y + \color{blue}{x} \]
      2. +-lowering-+.f6494.3%

        \[\leadsto \mathsf{+.f64}\left(y, \color{blue}{x}\right) \]
    5. Simplified94.3%

      \[\leadsto \color{blue}{y + x} \]

    if -2.7000000000000001e151 < t < -6.79999999999999988e-90

    1. Initial program 85.9%

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

      \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, \mathsf{\_.f64}\left(z, t\right)\right), \color{blue}{a}\right)\right) \]
    4. Step-by-step derivation
      1. Simplified64.9%

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

        \[\leadsto \color{blue}{x + -1 \cdot \frac{t \cdot y}{a}} \]
      3. Step-by-step derivation
        1. mul-1-negN/A

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

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

          \[\leadsto \mathsf{\_.f64}\left(x, \color{blue}{\left(\frac{t \cdot y}{a}\right)}\right) \]
        4. /-lowering-/.f64N/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{/.f64}\left(\left(t \cdot y\right), \color{blue}{a}\right)\right) \]
        5. *-commutativeN/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{/.f64}\left(\left(y \cdot t\right), a\right)\right) \]
        6. *-lowering-*.f6469.8%

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, t\right), a\right)\right) \]
      4. Simplified69.8%

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

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

          \[\leadsto \mathsf{\_.f64}\left(x, \left(\frac{t \cdot y}{a}\right)\right) \]
        3. associate-/l*N/A

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

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

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

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{/.f64}\left(t, \color{blue}{\left(\frac{a}{y}\right)}\right)\right) \]
        7. /-lowering-/.f6480.7%

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{/.f64}\left(t, \mathsf{/.f64}\left(a, \color{blue}{y}\right)\right)\right) \]
      6. Applied egg-rr80.7%

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

      if -6.79999999999999988e-90 < t < 1.90000000000000003e72

      1. Initial program 94.9%

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

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

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

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

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

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

          \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(a, t\right), \left(\color{blue}{z} - t\right)\right)\right)\right) \]
        7. --lowering--.f6496.0%

          \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(a, t\right), \mathsf{\_.f64}\left(z, \color{blue}{t}\right)\right)\right)\right) \]
      4. Applied egg-rr96.0%

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

        \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \color{blue}{\left(\frac{a}{z}\right)}\right)\right) \]
      6. Step-by-step derivation
        1. /-lowering-/.f6481.3%

          \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(a, \color{blue}{z}\right)\right)\right) \]
      7. Simplified81.3%

        \[\leadsto x + \frac{y}{\color{blue}{\frac{a}{z}}} \]
    5. Recombined 3 regimes into one program.
    6. Final simplification85.4%

      \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.7 \cdot 10^{+151}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq -6.8 \cdot 10^{-90}:\\ \;\;\;\;x - \frac{t}{\frac{a}{y}}\\ \mathbf{elif}\;t \leq 1.9 \cdot 10^{+72}:\\ \;\;\;\;x + \frac{y}{\frac{a}{z}}\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \]
    7. Add Preprocessing

    Alternative 3: 85.8% accurate, 0.6× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -1.95 \cdot 10^{-47}:\\ \;\;\;\;x + y \cdot \frac{t}{t - a}\\ \mathbf{elif}\;t \leq 1.45 \cdot 10^{+84}:\\ \;\;\;\;x + \frac{y \cdot z}{a - t}\\ \mathbf{else}:\\ \;\;\;\;x - y \cdot \left(-1 + \frac{z}{t}\right)\\ \end{array} \end{array} \]
    (FPCore (x y z t a)
     :precision binary64
     (if (<= t -1.95e-47)
       (+ x (* y (/ t (- t a))))
       (if (<= t 1.45e+84)
         (+ x (/ (* y z) (- a t)))
         (- x (* y (+ -1.0 (/ z t)))))))
    double code(double x, double y, double z, double t, double a) {
    	double tmp;
    	if (t <= -1.95e-47) {
    		tmp = x + (y * (t / (t - a)));
    	} else if (t <= 1.45e+84) {
    		tmp = x + ((y * z) / (a - t));
    	} else {
    		tmp = x - (y * (-1.0 + (z / t)));
    	}
    	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 <= (-1.95d-47)) then
            tmp = x + (y * (t / (t - a)))
        else if (t <= 1.45d+84) then
            tmp = x + ((y * z) / (a - t))
        else
            tmp = x - (y * ((-1.0d0) + (z / t)))
        end if
        code = tmp
    end function
    
    public static double code(double x, double y, double z, double t, double a) {
    	double tmp;
    	if (t <= -1.95e-47) {
    		tmp = x + (y * (t / (t - a)));
    	} else if (t <= 1.45e+84) {
    		tmp = x + ((y * z) / (a - t));
    	} else {
    		tmp = x - (y * (-1.0 + (z / t)));
    	}
    	return tmp;
    }
    
    def code(x, y, z, t, a):
    	tmp = 0
    	if t <= -1.95e-47:
    		tmp = x + (y * (t / (t - a)))
    	elif t <= 1.45e+84:
    		tmp = x + ((y * z) / (a - t))
    	else:
    		tmp = x - (y * (-1.0 + (z / t)))
    	return tmp
    
    function code(x, y, z, t, a)
    	tmp = 0.0
    	if (t <= -1.95e-47)
    		tmp = Float64(x + Float64(y * Float64(t / Float64(t - a))));
    	elseif (t <= 1.45e+84)
    		tmp = Float64(x + Float64(Float64(y * z) / Float64(a - t)));
    	else
    		tmp = Float64(x - Float64(y * Float64(-1.0 + Float64(z / t))));
    	end
    	return tmp
    end
    
    function tmp_2 = code(x, y, z, t, a)
    	tmp = 0.0;
    	if (t <= -1.95e-47)
    		tmp = x + (y * (t / (t - a)));
    	elseif (t <= 1.45e+84)
    		tmp = x + ((y * z) / (a - t));
    	else
    		tmp = x - (y * (-1.0 + (z / t)));
    	end
    	tmp_2 = tmp;
    end
    
    code[x_, y_, z_, t_, a_] := If[LessEqual[t, -1.95e-47], N[(x + N[(y * N[(t / N[(t - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.45e+84], N[(x + N[(N[(y * z), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x - N[(y * N[(-1.0 + N[(z / t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    \mathbf{if}\;t \leq -1.95 \cdot 10^{-47}:\\
    \;\;\;\;x + y \cdot \frac{t}{t - a}\\
    
    \mathbf{elif}\;t \leq 1.45 \cdot 10^{+84}:\\
    \;\;\;\;x + \frac{y \cdot z}{a - t}\\
    
    \mathbf{else}:\\
    \;\;\;\;x - y \cdot \left(-1 + \frac{z}{t}\right)\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 3 regimes
    2. if t < -1.94999999999999989e-47

      1. Initial program 76.9%

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

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

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

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

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

          \[\leadsto \mathsf{\_.f64}\left(x, \left(\frac{y \cdot t}{\color{blue}{a} - t}\right)\right) \]
        5. associate-/l*N/A

          \[\leadsto \mathsf{\_.f64}\left(x, \left(y \cdot \color{blue}{\frac{t}{a - t}}\right)\right) \]
        6. *-lowering-*.f64N/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \color{blue}{\left(\frac{t}{a - t}\right)}\right)\right) \]
        7. /-lowering-/.f64N/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(t, \color{blue}{\left(a - t\right)}\right)\right)\right) \]
        8. --lowering--.f6494.5%

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(t, \mathsf{\_.f64}\left(a, \color{blue}{t}\right)\right)\right)\right) \]
      5. Simplified94.5%

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

      if -1.94999999999999989e-47 < t < 1.44999999999999994e84

      1. Initial program 95.2%

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

        \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(\color{blue}{\left(y \cdot z\right)}, \mathsf{\_.f64}\left(a, t\right)\right)\right) \]
      4. Step-by-step derivation
        1. *-lowering-*.f6488.9%

          \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, z\right), \mathsf{\_.f64}\left(\color{blue}{a}, t\right)\right)\right) \]
      5. Simplified88.9%

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

      if 1.44999999999999994e84 < t

      1. Initial program 69.5%

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

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

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

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

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

          \[\leadsto \mathsf{\_.f64}\left(x, \left(y \cdot \color{blue}{\frac{z - t}{t}}\right)\right) \]
        5. *-lowering-*.f64N/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \color{blue}{\left(\frac{z - t}{t}\right)}\right)\right) \]
        6. div-subN/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(\frac{z}{t} - \color{blue}{\frac{t}{t}}\right)\right)\right) \]
        7. sub-negN/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(\frac{z}{t} + \color{blue}{\left(\mathsf{neg}\left(\frac{t}{t}\right)\right)}\right)\right)\right) \]
        8. *-inversesN/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(\frac{z}{t} + \left(\mathsf{neg}\left(1\right)\right)\right)\right)\right) \]
        9. metadata-evalN/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(\frac{z}{t} + -1\right)\right)\right) \]
        10. +-commutativeN/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(-1 + \color{blue}{\frac{z}{t}}\right)\right)\right) \]
        11. +-lowering-+.f64N/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \mathsf{+.f64}\left(-1, \color{blue}{\left(\frac{z}{t}\right)}\right)\right)\right) \]
        12. /-lowering-/.f64100.0%

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \mathsf{+.f64}\left(-1, \mathsf{/.f64}\left(z, \color{blue}{t}\right)\right)\right)\right) \]
      5. Simplified100.0%

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

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

    Alternative 4: 85.5% accurate, 0.6× speedup?

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

      1. Initial program 69.3%

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

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

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

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

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

          \[\leadsto \mathsf{\_.f64}\left(x, \left(y \cdot \color{blue}{\frac{z - t}{t}}\right)\right) \]
        5. *-lowering-*.f64N/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \color{blue}{\left(\frac{z - t}{t}\right)}\right)\right) \]
        6. div-subN/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(\frac{z}{t} - \color{blue}{\frac{t}{t}}\right)\right)\right) \]
        7. sub-negN/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(\frac{z}{t} + \color{blue}{\left(\mathsf{neg}\left(\frac{t}{t}\right)\right)}\right)\right)\right) \]
        8. *-inversesN/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(\frac{z}{t} + \left(\mathsf{neg}\left(1\right)\right)\right)\right)\right) \]
        9. metadata-evalN/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(\frac{z}{t} + -1\right)\right)\right) \]
        10. +-commutativeN/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \left(-1 + \color{blue}{\frac{z}{t}}\right)\right)\right) \]
        11. +-lowering-+.f64N/A

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \mathsf{+.f64}\left(-1, \color{blue}{\left(\frac{z}{t}\right)}\right)\right)\right) \]
        12. /-lowering-/.f6496.7%

          \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{*.f64}\left(y, \mathsf{+.f64}\left(-1, \mathsf{/.f64}\left(z, \color{blue}{t}\right)\right)\right)\right) \]
      5. Simplified96.7%

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

      if -5.80000000000000023e134 < t < 1e76

      1. Initial program 93.8%

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

        \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(\color{blue}{\left(y \cdot z\right)}, \mathsf{\_.f64}\left(a, t\right)\right)\right) \]
      4. Step-by-step derivation
        1. *-lowering-*.f6486.8%

          \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, z\right), \mathsf{\_.f64}\left(\color{blue}{a}, t\right)\right)\right) \]
      5. Simplified86.8%

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

    Alternative 5: 82.7% accurate, 0.6× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -5.8 \cdot 10^{+134}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq 2.7 \cdot 10^{+74}:\\ \;\;\;\;x + \frac{y \cdot z}{a - t}\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \end{array} \]
    (FPCore (x y z t a)
     :precision binary64
     (if (<= t -5.8e+134)
       (+ x y)
       (if (<= t 2.7e+74) (+ x (/ (* y z) (- a t))) (+ x y))))
    double code(double x, double y, double z, double t, double a) {
    	double tmp;
    	if (t <= -5.8e+134) {
    		tmp = x + y;
    	} else if (t <= 2.7e+74) {
    		tmp = x + ((y * z) / (a - t));
    	} else {
    		tmp = x + y;
    	}
    	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 <= (-5.8d+134)) then
            tmp = x + y
        else if (t <= 2.7d+74) then
            tmp = x + ((y * z) / (a - t))
        else
            tmp = x + y
        end if
        code = tmp
    end function
    
    public static double code(double x, double y, double z, double t, double a) {
    	double tmp;
    	if (t <= -5.8e+134) {
    		tmp = x + y;
    	} else if (t <= 2.7e+74) {
    		tmp = x + ((y * z) / (a - t));
    	} else {
    		tmp = x + y;
    	}
    	return tmp;
    }
    
    def code(x, y, z, t, a):
    	tmp = 0
    	if t <= -5.8e+134:
    		tmp = x + y
    	elif t <= 2.7e+74:
    		tmp = x + ((y * z) / (a - t))
    	else:
    		tmp = x + y
    	return tmp
    
    function code(x, y, z, t, a)
    	tmp = 0.0
    	if (t <= -5.8e+134)
    		tmp = Float64(x + y);
    	elseif (t <= 2.7e+74)
    		tmp = Float64(x + Float64(Float64(y * z) / Float64(a - t)));
    	else
    		tmp = Float64(x + y);
    	end
    	return tmp
    end
    
    function tmp_2 = code(x, y, z, t, a)
    	tmp = 0.0;
    	if (t <= -5.8e+134)
    		tmp = x + y;
    	elseif (t <= 2.7e+74)
    		tmp = x + ((y * z) / (a - t));
    	else
    		tmp = x + y;
    	end
    	tmp_2 = tmp;
    end
    
    code[x_, y_, z_, t_, a_] := If[LessEqual[t, -5.8e+134], N[(x + y), $MachinePrecision], If[LessEqual[t, 2.7e+74], N[(x + N[(N[(y * z), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    \mathbf{if}\;t \leq -5.8 \cdot 10^{+134}:\\
    \;\;\;\;x + y\\
    
    \mathbf{elif}\;t \leq 2.7 \cdot 10^{+74}:\\
    \;\;\;\;x + \frac{y \cdot z}{a - t}\\
    
    \mathbf{else}:\\
    \;\;\;\;x + y\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 2 regimes
    2. if t < -5.80000000000000023e134 or 2.6999999999999998e74 < t

      1. Initial program 69.3%

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

        \[\leadsto \color{blue}{x + y} \]
      4. Step-by-step derivation
        1. +-commutativeN/A

          \[\leadsto y + \color{blue}{x} \]
        2. +-lowering-+.f6492.4%

          \[\leadsto \mathsf{+.f64}\left(y, \color{blue}{x}\right) \]
      5. Simplified92.4%

        \[\leadsto \color{blue}{y + x} \]

      if -5.80000000000000023e134 < t < 2.6999999999999998e74

      1. Initial program 93.8%

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

        \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(\color{blue}{\left(y \cdot z\right)}, \mathsf{\_.f64}\left(a, t\right)\right)\right) \]
      4. Step-by-step derivation
        1. *-lowering-*.f6486.8%

          \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, z\right), \mathsf{\_.f64}\left(\color{blue}{a}, t\right)\right)\right) \]
      5. Simplified86.8%

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

      \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -5.8 \cdot 10^{+134}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq 2.7 \cdot 10^{+74}:\\ \;\;\;\;x + \frac{y \cdot z}{a - t}\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \]
    5. Add Preprocessing

    Alternative 6: 77.2% accurate, 0.6× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -2.7 \cdot 10^{+151}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq 4.4 \cdot 10^{+53}:\\ \;\;\;\;x + \frac{y}{\frac{a}{z - t}}\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \end{array} \]
    (FPCore (x y z t a)
     :precision binary64
     (if (<= t -2.7e+151)
       (+ x y)
       (if (<= t 4.4e+53) (+ x (/ y (/ a (- z t)))) (+ x y))))
    double code(double x, double y, double z, double t, double a) {
    	double tmp;
    	if (t <= -2.7e+151) {
    		tmp = x + y;
    	} else if (t <= 4.4e+53) {
    		tmp = x + (y / (a / (z - t)));
    	} else {
    		tmp = x + y;
    	}
    	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 <= (-2.7d+151)) then
            tmp = x + y
        else if (t <= 4.4d+53) then
            tmp = x + (y / (a / (z - t)))
        else
            tmp = x + y
        end if
        code = tmp
    end function
    
    public static double code(double x, double y, double z, double t, double a) {
    	double tmp;
    	if (t <= -2.7e+151) {
    		tmp = x + y;
    	} else if (t <= 4.4e+53) {
    		tmp = x + (y / (a / (z - t)));
    	} else {
    		tmp = x + y;
    	}
    	return tmp;
    }
    
    def code(x, y, z, t, a):
    	tmp = 0
    	if t <= -2.7e+151:
    		tmp = x + y
    	elif t <= 4.4e+53:
    		tmp = x + (y / (a / (z - t)))
    	else:
    		tmp = x + y
    	return tmp
    
    function code(x, y, z, t, a)
    	tmp = 0.0
    	if (t <= -2.7e+151)
    		tmp = Float64(x + y);
    	elseif (t <= 4.4e+53)
    		tmp = Float64(x + Float64(y / Float64(a / Float64(z - t))));
    	else
    		tmp = Float64(x + y);
    	end
    	return tmp
    end
    
    function tmp_2 = code(x, y, z, t, a)
    	tmp = 0.0;
    	if (t <= -2.7e+151)
    		tmp = x + y;
    	elseif (t <= 4.4e+53)
    		tmp = x + (y / (a / (z - t)));
    	else
    		tmp = x + y;
    	end
    	tmp_2 = tmp;
    end
    
    code[x_, y_, z_, t_, a_] := If[LessEqual[t, -2.7e+151], N[(x + y), $MachinePrecision], If[LessEqual[t, 4.4e+53], N[(x + N[(y / N[(a / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    \mathbf{if}\;t \leq -2.7 \cdot 10^{+151}:\\
    \;\;\;\;x + y\\
    
    \mathbf{elif}\;t \leq 4.4 \cdot 10^{+53}:\\
    \;\;\;\;x + \frac{y}{\frac{a}{z - t}}\\
    
    \mathbf{else}:\\
    \;\;\;\;x + y\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 2 regimes
    2. if t < -2.7000000000000001e151 or 4.39999999999999997e53 < t

      1. Initial program 71.8%

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

        \[\leadsto \color{blue}{x + y} \]
      4. Step-by-step derivation
        1. +-commutativeN/A

          \[\leadsto y + \color{blue}{x} \]
        2. +-lowering-+.f6491.6%

          \[\leadsto \mathsf{+.f64}\left(y, \color{blue}{x}\right) \]
      5. Simplified91.6%

        \[\leadsto \color{blue}{y + x} \]

      if -2.7000000000000001e151 < t < 4.39999999999999997e53

      1. Initial program 93.0%

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

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

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

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

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

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

          \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(a, t\right), \left(\color{blue}{z} - t\right)\right)\right)\right) \]
        7. --lowering--.f6495.6%

          \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(a, t\right), \mathsf{\_.f64}\left(z, \color{blue}{t}\right)\right)\right)\right) \]
      4. Applied egg-rr95.6%

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

        \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \color{blue}{\left(\frac{a}{z - t}\right)}\right)\right) \]
      6. Step-by-step derivation
        1. /-lowering-/.f64N/A

          \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(a, \color{blue}{\left(z - t\right)}\right)\right)\right) \]
        2. --lowering--.f6484.0%

          \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(a, \mathsf{\_.f64}\left(z, \color{blue}{t}\right)\right)\right)\right) \]
      7. Simplified84.0%

        \[\leadsto x + \frac{y}{\color{blue}{\frac{a}{z - t}}} \]
    3. Recombined 2 regimes into one program.
    4. Final simplification86.7%

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

    Alternative 7: 77.1% accurate, 0.6× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -2.7 \cdot 10^{+151}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq 8.5 \cdot 10^{+52}:\\ \;\;\;\;x + y \cdot \frac{z - t}{a}\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \end{array} \]
    (FPCore (x y z t a)
     :precision binary64
     (if (<= t -2.7e+151)
       (+ x y)
       (if (<= t 8.5e+52) (+ x (* y (/ (- z t) a))) (+ x y))))
    double code(double x, double y, double z, double t, double a) {
    	double tmp;
    	if (t <= -2.7e+151) {
    		tmp = x + y;
    	} else if (t <= 8.5e+52) {
    		tmp = x + (y * ((z - t) / a));
    	} else {
    		tmp = x + y;
    	}
    	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 <= (-2.7d+151)) then
            tmp = x + y
        else if (t <= 8.5d+52) then
            tmp = x + (y * ((z - t) / a))
        else
            tmp = x + y
        end if
        code = tmp
    end function
    
    public static double code(double x, double y, double z, double t, double a) {
    	double tmp;
    	if (t <= -2.7e+151) {
    		tmp = x + y;
    	} else if (t <= 8.5e+52) {
    		tmp = x + (y * ((z - t) / a));
    	} else {
    		tmp = x + y;
    	}
    	return tmp;
    }
    
    def code(x, y, z, t, a):
    	tmp = 0
    	if t <= -2.7e+151:
    		tmp = x + y
    	elif t <= 8.5e+52:
    		tmp = x + (y * ((z - t) / a))
    	else:
    		tmp = x + y
    	return tmp
    
    function code(x, y, z, t, a)
    	tmp = 0.0
    	if (t <= -2.7e+151)
    		tmp = Float64(x + y);
    	elseif (t <= 8.5e+52)
    		tmp = Float64(x + Float64(y * Float64(Float64(z - t) / a)));
    	else
    		tmp = Float64(x + y);
    	end
    	return tmp
    end
    
    function tmp_2 = code(x, y, z, t, a)
    	tmp = 0.0;
    	if (t <= -2.7e+151)
    		tmp = x + y;
    	elseif (t <= 8.5e+52)
    		tmp = x + (y * ((z - t) / a));
    	else
    		tmp = x + y;
    	end
    	tmp_2 = tmp;
    end
    
    code[x_, y_, z_, t_, a_] := If[LessEqual[t, -2.7e+151], N[(x + y), $MachinePrecision], If[LessEqual[t, 8.5e+52], N[(x + N[(y * N[(N[(z - t), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    \mathbf{if}\;t \leq -2.7 \cdot 10^{+151}:\\
    \;\;\;\;x + y\\
    
    \mathbf{elif}\;t \leq 8.5 \cdot 10^{+52}:\\
    \;\;\;\;x + y \cdot \frac{z - t}{a}\\
    
    \mathbf{else}:\\
    \;\;\;\;x + y\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 2 regimes
    2. if t < -2.7000000000000001e151 or 8.49999999999999994e52 < t

      1. Initial program 71.8%

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

        \[\leadsto \color{blue}{x + y} \]
      4. Step-by-step derivation
        1. +-commutativeN/A

          \[\leadsto y + \color{blue}{x} \]
        2. +-lowering-+.f6491.6%

          \[\leadsto \mathsf{+.f64}\left(y, \color{blue}{x}\right) \]
      5. Simplified91.6%

        \[\leadsto \color{blue}{y + x} \]

      if -2.7000000000000001e151 < t < 8.49999999999999994e52

      1. Initial program 93.0%

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

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

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

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

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

          \[\leadsto \mathsf{+.f64}\left(x, \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(\left(z - t\right), \color{blue}{a}\right)\right)\right) \]
        5. --lowering--.f6483.7%

          \[\leadsto \mathsf{+.f64}\left(x, \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(z, t\right), a\right)\right)\right) \]
      5. Simplified83.7%

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

      \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -2.7 \cdot 10^{+151}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq 8.5 \cdot 10^{+52}:\\ \;\;\;\;x + y \cdot \frac{z - t}{a}\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \]
    5. Add Preprocessing

    Alternative 8: 76.4% accurate, 0.6× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -1.36 \cdot 10^{+114}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq 4.2 \cdot 10^{+72}:\\ \;\;\;\;x + \frac{y}{\frac{a}{z}}\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \end{array} \]
    (FPCore (x y z t a)
     :precision binary64
     (if (<= t -1.36e+114)
       (+ x y)
       (if (<= t 4.2e+72) (+ x (/ y (/ a z))) (+ x y))))
    double code(double x, double y, double z, double t, double a) {
    	double tmp;
    	if (t <= -1.36e+114) {
    		tmp = x + y;
    	} else if (t <= 4.2e+72) {
    		tmp = x + (y / (a / z));
    	} else {
    		tmp = x + y;
    	}
    	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 <= (-1.36d+114)) then
            tmp = x + y
        else if (t <= 4.2d+72) then
            tmp = x + (y / (a / z))
        else
            tmp = x + y
        end if
        code = tmp
    end function
    
    public static double code(double x, double y, double z, double t, double a) {
    	double tmp;
    	if (t <= -1.36e+114) {
    		tmp = x + y;
    	} else if (t <= 4.2e+72) {
    		tmp = x + (y / (a / z));
    	} else {
    		tmp = x + y;
    	}
    	return tmp;
    }
    
    def code(x, y, z, t, a):
    	tmp = 0
    	if t <= -1.36e+114:
    		tmp = x + y
    	elif t <= 4.2e+72:
    		tmp = x + (y / (a / z))
    	else:
    		tmp = x + y
    	return tmp
    
    function code(x, y, z, t, a)
    	tmp = 0.0
    	if (t <= -1.36e+114)
    		tmp = Float64(x + y);
    	elseif (t <= 4.2e+72)
    		tmp = Float64(x + Float64(y / Float64(a / z)));
    	else
    		tmp = Float64(x + y);
    	end
    	return tmp
    end
    
    function tmp_2 = code(x, y, z, t, a)
    	tmp = 0.0;
    	if (t <= -1.36e+114)
    		tmp = x + y;
    	elseif (t <= 4.2e+72)
    		tmp = x + (y / (a / z));
    	else
    		tmp = x + y;
    	end
    	tmp_2 = tmp;
    end
    
    code[x_, y_, z_, t_, a_] := If[LessEqual[t, -1.36e+114], N[(x + y), $MachinePrecision], If[LessEqual[t, 4.2e+72], N[(x + N[(y / N[(a / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    \mathbf{if}\;t \leq -1.36 \cdot 10^{+114}:\\
    \;\;\;\;x + y\\
    
    \mathbf{elif}\;t \leq 4.2 \cdot 10^{+72}:\\
    \;\;\;\;x + \frac{y}{\frac{a}{z}}\\
    
    \mathbf{else}:\\
    \;\;\;\;x + y\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 2 regimes
    2. if t < -1.36000000000000008e114 or 4.2000000000000003e72 < t

      1. Initial program 69.3%

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

        \[\leadsto \color{blue}{x + y} \]
      4. Step-by-step derivation
        1. +-commutativeN/A

          \[\leadsto y + \color{blue}{x} \]
        2. +-lowering-+.f6490.5%

          \[\leadsto \mathsf{+.f64}\left(y, \color{blue}{x}\right) \]
      5. Simplified90.5%

        \[\leadsto \color{blue}{y + x} \]

      if -1.36000000000000008e114 < t < 4.2000000000000003e72

      1. Initial program 94.2%

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

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

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

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

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

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

          \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(a, t\right), \left(\color{blue}{z} - t\right)\right)\right)\right) \]
        7. --lowering--.f6495.7%

          \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(\mathsf{\_.f64}\left(a, t\right), \mathsf{\_.f64}\left(z, \color{blue}{t}\right)\right)\right)\right) \]
      4. Applied egg-rr95.7%

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

        \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \color{blue}{\left(\frac{a}{z}\right)}\right)\right) \]
      6. Step-by-step derivation
        1. /-lowering-/.f6480.0%

          \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(y, \mathsf{/.f64}\left(a, \color{blue}{z}\right)\right)\right) \]
      7. Simplified80.0%

        \[\leadsto x + \frac{y}{\color{blue}{\frac{a}{z}}} \]
    3. Recombined 2 regimes into one program.
    4. Final simplification83.6%

      \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -1.36 \cdot 10^{+114}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq 4.2 \cdot 10^{+72}:\\ \;\;\;\;x + \frac{y}{\frac{a}{z}}\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \]
    5. Add Preprocessing

    Alternative 9: 61.4% accurate, 0.8× speedup?

    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -5.8 \cdot 10^{+134}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq 5 \cdot 10^{+52}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \end{array} \]
    (FPCore (x y z t a)
     :precision binary64
     (if (<= t -5.8e+134) (+ x y) (if (<= t 5e+52) x (+ x y))))
    double code(double x, double y, double z, double t, double a) {
    	double tmp;
    	if (t <= -5.8e+134) {
    		tmp = x + y;
    	} else if (t <= 5e+52) {
    		tmp = x;
    	} else {
    		tmp = x + y;
    	}
    	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 <= (-5.8d+134)) then
            tmp = x + y
        else if (t <= 5d+52) then
            tmp = x
        else
            tmp = x + y
        end if
        code = tmp
    end function
    
    public static double code(double x, double y, double z, double t, double a) {
    	double tmp;
    	if (t <= -5.8e+134) {
    		tmp = x + y;
    	} else if (t <= 5e+52) {
    		tmp = x;
    	} else {
    		tmp = x + y;
    	}
    	return tmp;
    }
    
    def code(x, y, z, t, a):
    	tmp = 0
    	if t <= -5.8e+134:
    		tmp = x + y
    	elif t <= 5e+52:
    		tmp = x
    	else:
    		tmp = x + y
    	return tmp
    
    function code(x, y, z, t, a)
    	tmp = 0.0
    	if (t <= -5.8e+134)
    		tmp = Float64(x + y);
    	elseif (t <= 5e+52)
    		tmp = x;
    	else
    		tmp = Float64(x + y);
    	end
    	return tmp
    end
    
    function tmp_2 = code(x, y, z, t, a)
    	tmp = 0.0;
    	if (t <= -5.8e+134)
    		tmp = x + y;
    	elseif (t <= 5e+52)
    		tmp = x;
    	else
    		tmp = x + y;
    	end
    	tmp_2 = tmp;
    end
    
    code[x_, y_, z_, t_, a_] := If[LessEqual[t, -5.8e+134], N[(x + y), $MachinePrecision], If[LessEqual[t, 5e+52], x, N[(x + y), $MachinePrecision]]]
    
    \begin{array}{l}
    
    \\
    \begin{array}{l}
    \mathbf{if}\;t \leq -5.8 \cdot 10^{+134}:\\
    \;\;\;\;x + y\\
    
    \mathbf{elif}\;t \leq 5 \cdot 10^{+52}:\\
    \;\;\;\;x\\
    
    \mathbf{else}:\\
    \;\;\;\;x + y\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 2 regimes
    2. if t < -5.80000000000000023e134 or 5e52 < t

      1. Initial program 70.9%

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

        \[\leadsto \color{blue}{x + y} \]
      4. Step-by-step derivation
        1. +-commutativeN/A

          \[\leadsto y + \color{blue}{x} \]
        2. +-lowering-+.f6490.0%

          \[\leadsto \mathsf{+.f64}\left(y, \color{blue}{x}\right) \]
      5. Simplified90.0%

        \[\leadsto \color{blue}{y + x} \]

      if -5.80000000000000023e134 < t < 5e52

      1. Initial program 94.0%

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

        \[\leadsto \color{blue}{x} \]
      4. Step-by-step derivation
        1. Simplified61.7%

          \[\leadsto \color{blue}{x} \]
      5. Recombined 2 regimes into one program.
      6. Final simplification72.1%

        \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -5.8 \cdot 10^{+134}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq 5 \cdot 10^{+52}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \]
      7. Add Preprocessing

      Alternative 10: 53.2% accurate, 1.0× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -1.1 \cdot 10^{+197}:\\ \;\;\;\;y\\ \mathbf{elif}\;y \leq 4.1 \cdot 10^{+197}:\\ \;\;\;\;x\\ \mathbf{else}:\\ \;\;\;\;y\\ \end{array} \end{array} \]
      (FPCore (x y z t a)
       :precision binary64
       (if (<= y -1.1e+197) y (if (<= y 4.1e+197) x y)))
      double code(double x, double y, double z, double t, double a) {
      	double tmp;
      	if (y <= -1.1e+197) {
      		tmp = y;
      	} else if (y <= 4.1e+197) {
      		tmp = x;
      	} else {
      		tmp = y;
      	}
      	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 (y <= (-1.1d+197)) then
              tmp = y
          else if (y <= 4.1d+197) then
              tmp = x
          else
              tmp = y
          end if
          code = tmp
      end function
      
      public static double code(double x, double y, double z, double t, double a) {
      	double tmp;
      	if (y <= -1.1e+197) {
      		tmp = y;
      	} else if (y <= 4.1e+197) {
      		tmp = x;
      	} else {
      		tmp = y;
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a):
      	tmp = 0
      	if y <= -1.1e+197:
      		tmp = y
      	elif y <= 4.1e+197:
      		tmp = x
      	else:
      		tmp = y
      	return tmp
      
      function code(x, y, z, t, a)
      	tmp = 0.0
      	if (y <= -1.1e+197)
      		tmp = y;
      	elseif (y <= 4.1e+197)
      		tmp = x;
      	else
      		tmp = y;
      	end
      	return tmp
      end
      
      function tmp_2 = code(x, y, z, t, a)
      	tmp = 0.0;
      	if (y <= -1.1e+197)
      		tmp = y;
      	elseif (y <= 4.1e+197)
      		tmp = x;
      	else
      		tmp = y;
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_] := If[LessEqual[y, -1.1e+197], y, If[LessEqual[y, 4.1e+197], x, y]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      \mathbf{if}\;y \leq -1.1 \cdot 10^{+197}:\\
      \;\;\;\;y\\
      
      \mathbf{elif}\;y \leq 4.1 \cdot 10^{+197}:\\
      \;\;\;\;x\\
      
      \mathbf{else}:\\
      \;\;\;\;y\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if y < -1.09999999999999995e197 or 4.1000000000000003e197 < y

        1. Initial program 54.3%

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

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

            \[\leadsto \mathsf{/.f64}\left(\left(y \cdot \left(z - t\right)\right), \color{blue}{\left(a - t\right)}\right) \]
          2. *-lowering-*.f64N/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, \left(z - t\right)\right), \left(\color{blue}{a} - t\right)\right) \]
          3. --lowering--.f64N/A

            \[\leadsto \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, \mathsf{\_.f64}\left(z, t\right)\right), \left(a - t\right)\right) \]
          4. --lowering--.f6452.2%

            \[\leadsto \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, \mathsf{\_.f64}\left(z, t\right)\right), \mathsf{\_.f64}\left(a, \color{blue}{t}\right)\right) \]
        5. Simplified52.2%

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

          \[\leadsto \color{blue}{y} \]
        7. Step-by-step derivation
          1. Simplified29.8%

            \[\leadsto \color{blue}{y} \]

          if -1.09999999999999995e197 < y < 4.1000000000000003e197

          1. Initial program 92.6%

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

            \[\leadsto \color{blue}{x} \]
          4. Step-by-step derivation
            1. Simplified69.3%

              \[\leadsto \color{blue}{x} \]
          5. Recombined 2 regimes into one program.
          6. Add Preprocessing

          Alternative 11: 95.4% accurate, 1.0× speedup?

          \[\begin{array}{l} \\ x + \left(z - t\right) \cdot \frac{y}{a - t} \end{array} \]
          (FPCore (x y z t a) :precision binary64 (+ x (* (- z t) (/ y (- a t)))))
          double code(double x, double y, double z, double t, double a) {
          	return x + ((z - t) * (y / (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 + ((z - t) * (y / (a - t)))
          end function
          
          public static double code(double x, double y, double z, double t, double a) {
          	return x + ((z - t) * (y / (a - t)));
          }
          
          def code(x, y, z, t, a):
          	return x + ((z - t) * (y / (a - t)))
          
          function code(x, y, z, t, a)
          	return Float64(x + Float64(Float64(z - t) * Float64(y / Float64(a - t))))
          end
          
          function tmp = code(x, y, z, t, a)
          	tmp = x + ((z - t) * (y / (a - t)));
          end
          
          code[x_, y_, z_, t_, a_] := N[(x + N[(N[(z - t), $MachinePrecision] * N[(y / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
          
          \begin{array}{l}
          
          \\
          x + \left(z - t\right) \cdot \frac{y}{a - t}
          \end{array}
          
          Derivation
          1. Initial program 85.5%

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

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

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

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

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

              \[\leadsto \mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, \left(a - t\right)\right), \left(\color{blue}{z} - t\right)\right)\right) \]
            6. --lowering--.f64N/A

              \[\leadsto \mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, \mathsf{\_.f64}\left(a, t\right)\right), \left(z - t\right)\right)\right) \]
            7. --lowering--.f6496.4%

              \[\leadsto \mathsf{+.f64}\left(x, \mathsf{*.f64}\left(\mathsf{/.f64}\left(y, \mathsf{\_.f64}\left(a, t\right)\right), \mathsf{\_.f64}\left(z, \color{blue}{t}\right)\right)\right) \]
          4. Applied egg-rr96.4%

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

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

          Alternative 12: 50.2% accurate, 11.0× speedup?

          \[\begin{array}{l} \\ x \end{array} \]
          (FPCore (x y z t a) :precision binary64 x)
          double code(double x, double y, double z, double t, double a) {
          	return 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
          end function
          
          public static double code(double x, double y, double z, double t, double a) {
          	return x;
          }
          
          def code(x, y, z, t, a):
          	return x
          
          function code(x, y, z, t, a)
          	return x
          end
          
          function tmp = code(x, y, z, t, a)
          	tmp = x;
          end
          
          code[x_, y_, z_, t_, a_] := x
          
          \begin{array}{l}
          
          \\
          x
          \end{array}
          
          Derivation
          1. Initial program 85.5%

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

            \[\leadsto \color{blue}{x} \]
          4. Step-by-step derivation
            1. Simplified57.8%

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

            Developer Target 1: 98.4% accurate, 1.0× speedup?

            \[\begin{array}{l} \\ x + \frac{y}{\frac{a - t}{z - t}} \end{array} \]
            (FPCore (x y z t a) :precision binary64 (+ x (/ y (/ (- a t) (- z t)))))
            double code(double x, double y, double z, double t, double a) {
            	return x + (y / ((a - t) / (z - 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 / ((a - t) / (z - t)))
            end function
            
            public static double code(double x, double y, double z, double t, double a) {
            	return x + (y / ((a - t) / (z - t)));
            }
            
            def code(x, y, z, t, a):
            	return x + (y / ((a - t) / (z - t)))
            
            function code(x, y, z, t, a)
            	return Float64(x + Float64(y / Float64(Float64(a - t) / Float64(z - t))))
            end
            
            function tmp = code(x, y, z, t, a)
            	tmp = x + (y / ((a - t) / (z - t)));
            end
            
            code[x_, y_, z_, t_, a_] := N[(x + N[(y / N[(N[(a - t), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
            
            \begin{array}{l}
            
            \\
            x + \frac{y}{\frac{a - t}{z - t}}
            \end{array}
            

            Reproduce

            ?
            herbie shell --seed 2024161 
            (FPCore (x y z t a)
              :name "Graphics.Rendering.Plot.Render.Plot.Axis:renderAxisTicks from plot-0.2.3.4, B"
              :precision binary64
            
              :alt
              (! :herbie-platform default (+ x (/ y (/ (- a t) (- z t)))))
            
              (+ x (/ (* y (- z t)) (- a t))))