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

Percentage Accurate: 85.6% → 98.3%
Time: 7.9s
Alternatives: 13
Speedup: 1.1×

Specification

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

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

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

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

Accuracy vs Speed?

Herbie found 13 alternatives:

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

Initial Program: 85.6% accurate, 1.0× speedup?

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

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

Alternative 1: 98.3% accurate, 0.4× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;x + \frac{y \cdot \left(z - t\right)}{z - a} \leq -5 \cdot 10^{-17}:\\
\;\;\;\;x + \frac{z - t}{\frac{z - a}{y}}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (+.f64 x (/.f64 (*.f64 y (-.f64 z t)) (-.f64 z a))) < -4.9999999999999999e-17

    1. Initial program 84.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if -4.9999999999999999e-17 < (+.f64 x (/.f64 (*.f64 y (-.f64 z t)) (-.f64 z a)))

    1. Initial program 90.8%

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

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

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

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

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

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

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

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

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

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

Alternative 2: 82.2% accurate, 0.2× speedup?

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

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

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

\mathbf{elif}\;t\_2 \leq 5 \cdot 10^{+62}:\\
\;\;\;\;x + \frac{t \cdot y}{a}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if (/.f64 (*.f64 y (-.f64 z t)) (-.f64 z a)) < -2.0000000000000001e96 or 5.00000000000000029e62 < (/.f64 (*.f64 y (-.f64 z t)) (-.f64 z a))

    1. Initial program 69.7%

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

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

        \[\leadsto \color{blue}{y \cdot \frac{z - t}{z - a}} \]
      2. div-subN/A

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

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

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

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

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

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

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

        \[\leadsto \color{blue}{z \cdot \frac{y}{z - a}} - t \cdot \frac{y}{z - a} \]
      10. distribute-rgt-out--N/A

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

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

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

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

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

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

    if -2.0000000000000001e96 < (/.f64 (*.f64 y (-.f64 z t)) (-.f64 z a)) < 9.9999999999999999e-117

    1. Initial program 99.9%

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

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

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

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

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

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

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

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

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

    if 9.9999999999999999e-117 < (/.f64 (*.f64 y (-.f64 z t)) (-.f64 z a)) < 5.00000000000000029e62

    1. Initial program 99.9%

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

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

        \[\leadsto x + \color{blue}{\frac{t \cdot y}{a}} \]
      2. lower-*.f6474.4

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

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

Alternative 3: 75.3% accurate, 0.7× speedup?

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

\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.4 \cdot 10^{+143}:\\
\;\;\;\;y + x\\

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

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

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


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if z < -2.3999999999999998e143 or 3.1999999999999998e163 < z

    1. Initial program 70.3%

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

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

        \[\leadsto \color{blue}{y + x} \]
      2. lower-+.f6490.3

        \[\leadsto \color{blue}{y + x} \]
    5. Applied rewrites90.3%

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

    if -2.3999999999999998e143 < z < 5.5000000000000002e-27

    1. Initial program 95.3%

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \mathsf{fma}\left(\color{blue}{\frac{t}{a}}, y, x\right) \]
    6. Step-by-step derivation
      1. lower-/.f6481.7

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

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

    if 5.5000000000000002e-27 < z < 3.1999999999999998e163

    1. Initial program 89.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Alternative 4: 74.8% accurate, 0.7× speedup?

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

      1. Initial program 73.0%

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

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

          \[\leadsto \color{blue}{y + x} \]
        2. lower-+.f6486.9

          \[\leadsto \color{blue}{y + x} \]
      5. Applied rewrites86.9%

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

      if -2.3999999999999998e143 < z < 9.60000000000000008e-27

      1. Initial program 95.3%

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \mathsf{fma}\left(\color{blue}{\frac{t}{a}}, y, x\right) \]
      6. Step-by-step derivation
        1. lower-/.f6481.7

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

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

      if 9.60000000000000008e-27 < z < 4.50000000000000043e71

      1. Initial program 94.3%

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

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

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

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

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

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

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

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

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

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

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

          \[\leadsto x - \frac{y \cdot z}{a} \]
      8. Recombined 3 regimes into one program.
      9. Add Preprocessing

      Alternative 5: 81.6% accurate, 0.8× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -4.6 \cdot 10^{+39} \lor \neg \left(z \leq 5.4 \cdot 10^{-27}\right):\\ \;\;\;\;\mathsf{fma}\left(\frac{z - t}{z}, y, x\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\frac{t}{a}, y, x\right)\\ \end{array} \end{array} \]
      (FPCore (x y z t a)
       :precision binary64
       (if (or (<= z -4.6e+39) (not (<= z 5.4e-27)))
         (fma (/ (- z t) z) y x)
         (fma (/ t a) y x)))
      double code(double x, double y, double z, double t, double a) {
      	double tmp;
      	if ((z <= -4.6e+39) || !(z <= 5.4e-27)) {
      		tmp = fma(((z - t) / z), y, x);
      	} else {
      		tmp = fma((t / a), y, x);
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a)
      	tmp = 0.0
      	if ((z <= -4.6e+39) || !(z <= 5.4e-27))
      		tmp = fma(Float64(Float64(z - t) / z), y, x);
      	else
      		tmp = fma(Float64(t / a), y, x);
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -4.6e+39], N[Not[LessEqual[z, 5.4e-27]], $MachinePrecision]], N[(N[(N[(z - t), $MachinePrecision] / z), $MachinePrecision] * y + x), $MachinePrecision], N[(N[(t / a), $MachinePrecision] * y + x), $MachinePrecision]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      \mathbf{if}\;z \leq -4.6 \cdot 10^{+39} \lor \neg \left(z \leq 5.4 \cdot 10^{-27}\right):\\
      \;\;\;\;\mathsf{fma}\left(\frac{z - t}{z}, y, x\right)\\
      
      \mathbf{else}:\\
      \;\;\;\;\mathsf{fma}\left(\frac{t}{a}, y, x\right)\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if z < -4.60000000000000024e39 or 5.39999999999999978e-27 < z

        1. Initial program 79.3%

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

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

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

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

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

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

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

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

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

        if -4.60000000000000024e39 < z < 5.39999999999999978e-27

        1. Initial program 96.5%

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

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

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

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

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

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

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

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

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

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

          \[\leadsto \mathsf{fma}\left(\color{blue}{\frac{t}{a}}, y, x\right) \]
        6. Step-by-step derivation
          1. lower-/.f6485.7

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

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

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

      Alternative 6: 79.5% accurate, 0.8× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -2.05 \cdot 10^{+96} \lor \neg \left(z \leq 1.4 \cdot 10^{-27}\right):\\ \;\;\;\;\mathsf{fma}\left(\frac{z}{z - a}, y, x\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\frac{t}{a}, y, x\right)\\ \end{array} \end{array} \]
      (FPCore (x y z t a)
       :precision binary64
       (if (or (<= z -2.05e+96) (not (<= z 1.4e-27)))
         (fma (/ z (- z a)) y x)
         (fma (/ t a) y x)))
      double code(double x, double y, double z, double t, double a) {
      	double tmp;
      	if ((z <= -2.05e+96) || !(z <= 1.4e-27)) {
      		tmp = fma((z / (z - a)), y, x);
      	} else {
      		tmp = fma((t / a), y, x);
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a)
      	tmp = 0.0
      	if ((z <= -2.05e+96) || !(z <= 1.4e-27))
      		tmp = fma(Float64(z / Float64(z - a)), y, x);
      	else
      		tmp = fma(Float64(t / a), y, x);
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -2.05e+96], N[Not[LessEqual[z, 1.4e-27]], $MachinePrecision]], N[(N[(z / N[(z - a), $MachinePrecision]), $MachinePrecision] * y + x), $MachinePrecision], N[(N[(t / a), $MachinePrecision] * y + x), $MachinePrecision]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      \mathbf{if}\;z \leq -2.05 \cdot 10^{+96} \lor \neg \left(z \leq 1.4 \cdot 10^{-27}\right):\\
      \;\;\;\;\mathsf{fma}\left(\frac{z}{z - a}, y, x\right)\\
      
      \mathbf{else}:\\
      \;\;\;\;\mathsf{fma}\left(\frac{t}{a}, y, x\right)\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if z < -2.04999999999999999e96 or 1.4e-27 < z

        1. Initial program 79.6%

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

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

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

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

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

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

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

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

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

        if -2.04999999999999999e96 < z < 1.4e-27

        1. Initial program 94.9%

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

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

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

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

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

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

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

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

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

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

          \[\leadsto \mathsf{fma}\left(\color{blue}{\frac{t}{a}}, y, x\right) \]
        6. Step-by-step derivation
          1. lower-/.f6484.2

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

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

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

      Alternative 7: 77.7% accurate, 0.8× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -2.05 \cdot 10^{+96} \lor \neg \left(z \leq 1.4 \cdot 10^{-27}\right):\\ \;\;\;\;\mathsf{fma}\left(z, \frac{y}{z - a}, x\right)\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\frac{t}{a}, y, x\right)\\ \end{array} \end{array} \]
      (FPCore (x y z t a)
       :precision binary64
       (if (or (<= z -2.05e+96) (not (<= z 1.4e-27)))
         (fma z (/ y (- z a)) x)
         (fma (/ t a) y x)))
      double code(double x, double y, double z, double t, double a) {
      	double tmp;
      	if ((z <= -2.05e+96) || !(z <= 1.4e-27)) {
      		tmp = fma(z, (y / (z - a)), x);
      	} else {
      		tmp = fma((t / a), y, x);
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a)
      	tmp = 0.0
      	if ((z <= -2.05e+96) || !(z <= 1.4e-27))
      		tmp = fma(z, Float64(y / Float64(z - a)), x);
      	else
      		tmp = fma(Float64(t / a), y, x);
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -2.05e+96], N[Not[LessEqual[z, 1.4e-27]], $MachinePrecision]], N[(z * N[(y / N[(z - a), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], N[(N[(t / a), $MachinePrecision] * y + x), $MachinePrecision]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      \mathbf{if}\;z \leq -2.05 \cdot 10^{+96} \lor \neg \left(z \leq 1.4 \cdot 10^{-27}\right):\\
      \;\;\;\;\mathsf{fma}\left(z, \frac{y}{z - a}, x\right)\\
      
      \mathbf{else}:\\
      \;\;\;\;\mathsf{fma}\left(\frac{t}{a}, y, x\right)\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if z < -2.04999999999999999e96 or 1.4e-27 < z

        1. Initial program 79.6%

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

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

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

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

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

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

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

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

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

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

          if -2.04999999999999999e96 < z < 1.4e-27

          1. Initial program 94.9%

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

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

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

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

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

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

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

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

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

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

            \[\leadsto \mathsf{fma}\left(\color{blue}{\frac{t}{a}}, y, x\right) \]
          6. Step-by-step derivation
            1. lower-/.f6484.2

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

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

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

        Alternative 8: 98.5% accurate, 0.8× speedup?

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

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

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

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

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

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

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

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

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

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

        Alternative 9: 75.2% accurate, 0.9× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -2.4 \cdot 10^{+143} \lor \neg \left(z \leq 8.2 \cdot 10^{-27}\right):\\ \;\;\;\;y + x\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\frac{t}{a}, y, x\right)\\ \end{array} \end{array} \]
        (FPCore (x y z t a)
         :precision binary64
         (if (or (<= z -2.4e+143) (not (<= z 8.2e-27))) (+ y x) (fma (/ t a) y x)))
        double code(double x, double y, double z, double t, double a) {
        	double tmp;
        	if ((z <= -2.4e+143) || !(z <= 8.2e-27)) {
        		tmp = y + x;
        	} else {
        		tmp = fma((t / a), y, x);
        	}
        	return tmp;
        }
        
        function code(x, y, z, t, a)
        	tmp = 0.0
        	if ((z <= -2.4e+143) || !(z <= 8.2e-27))
        		tmp = Float64(y + x);
        	else
        		tmp = fma(Float64(t / a), y, x);
        	end
        	return tmp
        end
        
        code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -2.4e+143], N[Not[LessEqual[z, 8.2e-27]], $MachinePrecision]], N[(y + x), $MachinePrecision], N[(N[(t / a), $MachinePrecision] * y + x), $MachinePrecision]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        \mathbf{if}\;z \leq -2.4 \cdot 10^{+143} \lor \neg \left(z \leq 8.2 \cdot 10^{-27}\right):\\
        \;\;\;\;y + x\\
        
        \mathbf{else}:\\
        \;\;\;\;\mathsf{fma}\left(\frac{t}{a}, y, x\right)\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 2 regimes
        2. if z < -2.3999999999999998e143 or 8.1999999999999997e-27 < z

          1. Initial program 77.0%

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

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

              \[\leadsto \color{blue}{y + x} \]
            2. lower-+.f6480.2

              \[\leadsto \color{blue}{y + x} \]
          5. Applied rewrites80.2%

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

          if -2.3999999999999998e143 < z < 8.1999999999999997e-27

          1. Initial program 95.3%

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

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

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

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

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

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

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

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

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

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

            \[\leadsto \mathsf{fma}\left(\color{blue}{\frac{t}{a}}, y, x\right) \]
          6. Step-by-step derivation
            1. lower-/.f6481.7

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

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

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

        Alternative 10: 75.0% accurate, 0.9× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;z \leq -2.4 \cdot 10^{+143} \lor \neg \left(z \leq 8.2 \cdot 10^{-27}\right):\\ \;\;\;\;y + x\\ \mathbf{else}:\\ \;\;\;\;\mathsf{fma}\left(\frac{y}{a}, t, x\right)\\ \end{array} \end{array} \]
        (FPCore (x y z t a)
         :precision binary64
         (if (or (<= z -2.4e+143) (not (<= z 8.2e-27))) (+ y x) (fma (/ y a) t x)))
        double code(double x, double y, double z, double t, double a) {
        	double tmp;
        	if ((z <= -2.4e+143) || !(z <= 8.2e-27)) {
        		tmp = y + x;
        	} else {
        		tmp = fma((y / a), t, x);
        	}
        	return tmp;
        }
        
        function code(x, y, z, t, a)
        	tmp = 0.0
        	if ((z <= -2.4e+143) || !(z <= 8.2e-27))
        		tmp = Float64(y + x);
        	else
        		tmp = fma(Float64(y / a), t, x);
        	end
        	return tmp
        end
        
        code[x_, y_, z_, t_, a_] := If[Or[LessEqual[z, -2.4e+143], N[Not[LessEqual[z, 8.2e-27]], $MachinePrecision]], N[(y + x), $MachinePrecision], N[(N[(y / a), $MachinePrecision] * t + x), $MachinePrecision]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        \mathbf{if}\;z \leq -2.4 \cdot 10^{+143} \lor \neg \left(z \leq 8.2 \cdot 10^{-27}\right):\\
        \;\;\;\;y + x\\
        
        \mathbf{else}:\\
        \;\;\;\;\mathsf{fma}\left(\frac{y}{a}, t, x\right)\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 2 regimes
        2. if z < -2.3999999999999998e143 or 8.1999999999999997e-27 < z

          1. Initial program 77.0%

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

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

              \[\leadsto \color{blue}{y + x} \]
            2. lower-+.f6480.2

              \[\leadsto \color{blue}{y + x} \]
          5. Applied rewrites80.2%

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

          if -2.3999999999999998e143 < z < 8.1999999999999997e-27

          1. Initial program 95.3%

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

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

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

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

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

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

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

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

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

        Alternative 11: 98.4% accurate, 1.1× speedup?

        \[\begin{array}{l} \\ \mathsf{fma}\left(\frac{z - t}{z - a}, y, x\right) \end{array} \]
        (FPCore (x y z t a) :precision binary64 (fma (/ (- z t) (- z a)) y x))
        double code(double x, double y, double z, double t, double a) {
        	return fma(((z - t) / (z - a)), y, x);
        }
        
        function code(x, y, z, t, a)
        	return fma(Float64(Float64(z - t) / Float64(z - a)), y, x)
        end
        
        code[x_, y_, z_, t_, a_] := N[(N[(N[(z - t), $MachinePrecision] / N[(z - a), $MachinePrecision]), $MachinePrecision] * y + x), $MachinePrecision]
        
        \begin{array}{l}
        
        \\
        \mathsf{fma}\left(\frac{z - t}{z - a}, y, x\right)
        \end{array}
        
        Derivation
        1. Initial program 88.6%

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

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

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

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

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

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

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

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

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

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

        Alternative 12: 59.4% accurate, 1.4× speedup?

        \[\begin{array}{l} \\ \mathsf{fma}\left(z, \frac{y}{z}, x\right) \end{array} \]
        (FPCore (x y z t a) :precision binary64 (fma z (/ y z) x))
        double code(double x, double y, double z, double t, double a) {
        	return fma(z, (y / z), x);
        }
        
        function code(x, y, z, t, a)
        	return fma(z, Float64(y / z), x)
        end
        
        code[x_, y_, z_, t_, a_] := N[(z * N[(y / z), $MachinePrecision] + x), $MachinePrecision]
        
        \begin{array}{l}
        
        \\
        \mathsf{fma}\left(z, \frac{y}{z}, x\right)
        \end{array}
        
        Derivation
        1. Initial program 88.6%

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

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

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

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

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

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

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

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

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

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

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

              \[\leadsto \mathsf{fma}\left(z, \frac{y}{\color{blue}{z}}, x\right) \]
            2. Add Preprocessing

            Alternative 13: 60.5% accurate, 6.5× speedup?

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

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

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

                \[\leadsto \color{blue}{y + x} \]
              2. lower-+.f6454.5

                \[\leadsto \color{blue}{y + x} \]
            5. Applied rewrites54.5%

              \[\leadsto \color{blue}{y + x} \]
            6. Add Preprocessing

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

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

            Reproduce

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