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

Percentage Accurate: 84.9% → 98.3%
Time: 10.8s
Alternatives: 16
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 16 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: 84.9% 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.3% 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 84.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--.f6498.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-rr98.2%

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

Alternative 2: 59.8% accurate, 0.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -3.8 \cdot 10^{-80}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq -1.1 \cdot 10^{-166}:\\ \;\;\;\;\frac{z}{0 - \frac{t}{y}}\\ \mathbf{elif}\;t \leq -8.6 \cdot 10^{-304}:\\ \;\;\;\;x\\ \mathbf{elif}\;t \leq 1.4 \cdot 10^{-161}:\\ \;\;\;\;y \cdot \frac{z}{a}\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \end{array} \]
(FPCore (x y z t a)
 :precision binary64
 (if (<= t -3.8e-80)
   (+ x y)
   (if (<= t -1.1e-166)
     (/ z (- 0.0 (/ t y)))
     (if (<= t -8.6e-304) x (if (<= t 1.4e-161) (* y (/ z a)) (+ x y))))))
double code(double x, double y, double z, double t, double a) {
	double tmp;
	if (t <= -3.8e-80) {
		tmp = x + y;
	} else if (t <= -1.1e-166) {
		tmp = z / (0.0 - (t / y));
	} else if (t <= -8.6e-304) {
		tmp = x;
	} else if (t <= 1.4e-161) {
		tmp = y * (z / 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 <= (-3.8d-80)) then
        tmp = x + y
    else if (t <= (-1.1d-166)) then
        tmp = z / (0.0d0 - (t / y))
    else if (t <= (-8.6d-304)) then
        tmp = x
    else if (t <= 1.4d-161) then
        tmp = y * (z / 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 <= -3.8e-80) {
		tmp = x + y;
	} else if (t <= -1.1e-166) {
		tmp = z / (0.0 - (t / y));
	} else if (t <= -8.6e-304) {
		tmp = x;
	} else if (t <= 1.4e-161) {
		tmp = y * (z / a);
	} else {
		tmp = x + y;
	}
	return tmp;
}
def code(x, y, z, t, a):
	tmp = 0
	if t <= -3.8e-80:
		tmp = x + y
	elif t <= -1.1e-166:
		tmp = z / (0.0 - (t / y))
	elif t <= -8.6e-304:
		tmp = x
	elif t <= 1.4e-161:
		tmp = y * (z / a)
	else:
		tmp = x + y
	return tmp
function code(x, y, z, t, a)
	tmp = 0.0
	if (t <= -3.8e-80)
		tmp = Float64(x + y);
	elseif (t <= -1.1e-166)
		tmp = Float64(z / Float64(0.0 - Float64(t / y)));
	elseif (t <= -8.6e-304)
		tmp = x;
	elseif (t <= 1.4e-161)
		tmp = Float64(y * Float64(z / a));
	else
		tmp = Float64(x + y);
	end
	return tmp
end
function tmp_2 = code(x, y, z, t, a)
	tmp = 0.0;
	if (t <= -3.8e-80)
		tmp = x + y;
	elseif (t <= -1.1e-166)
		tmp = z / (0.0 - (t / y));
	elseif (t <= -8.6e-304)
		tmp = x;
	elseif (t <= 1.4e-161)
		tmp = y * (z / a);
	else
		tmp = x + y;
	end
	tmp_2 = tmp;
end
code[x_, y_, z_, t_, a_] := If[LessEqual[t, -3.8e-80], N[(x + y), $MachinePrecision], If[LessEqual[t, -1.1e-166], N[(z / N[(0.0 - N[(t / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, -8.6e-304], x, If[LessEqual[t, 1.4e-161], N[(y * N[(z / a), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]]]]
\begin{array}{l}

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

\mathbf{elif}\;t \leq -1.1 \cdot 10^{-166}:\\
\;\;\;\;\frac{z}{0 - \frac{t}{y}}\\

\mathbf{elif}\;t \leq -8.6 \cdot 10^{-304}:\\
\;\;\;\;x\\

\mathbf{elif}\;t \leq 1.4 \cdot 10^{-161}:\\
\;\;\;\;y \cdot \frac{z}{a}\\

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


\end{array}
\end{array}
Derivation
  1. Split input into 4 regimes
  2. if t < -3.79999999999999967e-80 or 1.39999999999999996e-161 < t

    1. Initial program 80.1%

      \[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-+.f6466.6%

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

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

    if -3.79999999999999967e-80 < t < -1.1000000000000001e-166

    1. Initial program 95.3%

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

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

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

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

        \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \color{blue}{\left(a - t\right)}\right)\right) \]
      4. --lowering--.f6463.6%

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

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

      \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \color{blue}{\left(-1 \cdot t\right)}\right)\right) \]
    7. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \left(\mathsf{neg}\left(t\right)\right)\right)\right) \]
      2. neg-sub0N/A

        \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \left(0 - \color{blue}{t}\right)\right)\right) \]
      3. --lowering--.f6443.9%

        \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \mathsf{\_.f64}\left(0, \color{blue}{t}\right)\right)\right) \]
    8. Simplified43.9%

      \[\leadsto y \cdot \frac{z}{\color{blue}{0 - t}} \]
    9. Step-by-step derivation
      1. associate-*r/N/A

        \[\leadsto \frac{y \cdot z}{\color{blue}{0 - t}} \]
      2. sub0-negN/A

        \[\leadsto \frac{y \cdot z}{\mathsf{neg}\left(t\right)} \]
      3. distribute-frac-neg2N/A

        \[\leadsto \mathsf{neg}\left(\frac{y \cdot z}{t}\right) \]
      4. neg-lowering-neg.f64N/A

        \[\leadsto \mathsf{neg.f64}\left(\left(\frac{y \cdot z}{t}\right)\right) \]
      5. /-lowering-/.f64N/A

        \[\leadsto \mathsf{neg.f64}\left(\mathsf{/.f64}\left(\left(y \cdot z\right), t\right)\right) \]
      6. *-commutativeN/A

        \[\leadsto \mathsf{neg.f64}\left(\mathsf{/.f64}\left(\left(z \cdot y\right), t\right)\right) \]
      7. *-lowering-*.f6452.8%

        \[\leadsto \mathsf{neg.f64}\left(\mathsf{/.f64}\left(\mathsf{*.f64}\left(z, y\right), t\right)\right) \]
    10. Applied egg-rr52.8%

      \[\leadsto \color{blue}{-\frac{z \cdot y}{t}} \]
    11. Step-by-step derivation
      1. associate-/l*N/A

        \[\leadsto \mathsf{neg.f64}\left(\left(z \cdot \frac{y}{t}\right)\right) \]
      2. clear-numN/A

        \[\leadsto \mathsf{neg.f64}\left(\left(z \cdot \frac{1}{\frac{t}{y}}\right)\right) \]
      3. un-div-invN/A

        \[\leadsto \mathsf{neg.f64}\left(\left(\frac{z}{\frac{t}{y}}\right)\right) \]
      4. /-lowering-/.f64N/A

        \[\leadsto \mathsf{neg.f64}\left(\mathsf{/.f64}\left(z, \left(\frac{t}{y}\right)\right)\right) \]
      5. /-lowering-/.f6453.3%

        \[\leadsto \mathsf{neg.f64}\left(\mathsf{/.f64}\left(z, \mathsf{/.f64}\left(t, y\right)\right)\right) \]
    12. Applied egg-rr53.3%

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

    if -1.1000000000000001e-166 < t < -8.6000000000000006e-304

    1. Initial program 99.9%

      \[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. Simplified75.9%

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

      if -8.6000000000000006e-304 < t < 1.39999999999999996e-161

      1. Initial program 88.0%

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

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

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

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

          \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \color{blue}{\left(a - t\right)}\right)\right) \]
        4. --lowering--.f6463.0%

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

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

        \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \color{blue}{a}\right)\right) \]
      7. Step-by-step derivation
        1. Simplified63.0%

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -3.8 \cdot 10^{-80}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq -1.1 \cdot 10^{-166}:\\ \;\;\;\;\frac{z}{0 - \frac{t}{y}}\\ \mathbf{elif}\;t \leq -8.6 \cdot 10^{-304}:\\ \;\;\;\;x\\ \mathbf{elif}\;t \leq 1.4 \cdot 10^{-161}:\\ \;\;\;\;y \cdot \frac{z}{a}\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \]
      10. Add Preprocessing

      Alternative 3: 78.7% accurate, 0.5× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -1.02 \cdot 10^{+89}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq -4.8 \cdot 10^{-5}:\\ \;\;\;\;x - \frac{y \cdot z}{t}\\ \mathbf{elif}\;t \leq 1100000:\\ \;\;\;\;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 -1.02e+89)
         (+ x y)
         (if (<= t -4.8e-5)
           (- x (/ (* y z) t))
           (if (<= t 1100000.0) (+ x (/ y (/ a (- z t)))) (+ x y)))))
      double code(double x, double y, double z, double t, double a) {
      	double tmp;
      	if (t <= -1.02e+89) {
      		tmp = x + y;
      	} else if (t <= -4.8e-5) {
      		tmp = x - ((y * z) / t);
      	} else if (t <= 1100000.0) {
      		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 <= (-1.02d+89)) then
              tmp = x + y
          else if (t <= (-4.8d-5)) then
              tmp = x - ((y * z) / t)
          else if (t <= 1100000.0d0) 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 <= -1.02e+89) {
      		tmp = x + y;
      	} else if (t <= -4.8e-5) {
      		tmp = x - ((y * z) / t);
      	} else if (t <= 1100000.0) {
      		tmp = x + (y / (a / (z - t)));
      	} else {
      		tmp = x + y;
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a):
      	tmp = 0
      	if t <= -1.02e+89:
      		tmp = x + y
      	elif t <= -4.8e-5:
      		tmp = x - ((y * z) / t)
      	elif t <= 1100000.0:
      		tmp = x + (y / (a / (z - t)))
      	else:
      		tmp = x + y
      	return tmp
      
      function code(x, y, z, t, a)
      	tmp = 0.0
      	if (t <= -1.02e+89)
      		tmp = Float64(x + y);
      	elseif (t <= -4.8e-5)
      		tmp = Float64(x - Float64(Float64(y * z) / t));
      	elseif (t <= 1100000.0)
      		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 <= -1.02e+89)
      		tmp = x + y;
      	elseif (t <= -4.8e-5)
      		tmp = x - ((y * z) / t);
      	elseif (t <= 1100000.0)
      		tmp = x + (y / (a / (z - t)));
      	else
      		tmp = x + y;
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_] := If[LessEqual[t, -1.02e+89], N[(x + y), $MachinePrecision], If[LessEqual[t, -4.8e-5], N[(x - N[(N[(y * z), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1100000.0], 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 -1.02 \cdot 10^{+89}:\\
      \;\;\;\;x + y\\
      
      \mathbf{elif}\;t \leq -4.8 \cdot 10^{-5}:\\
      \;\;\;\;x - \frac{y \cdot z}{t}\\
      
      \mathbf{elif}\;t \leq 1100000:\\
      \;\;\;\;x + \frac{y}{\frac{a}{z - t}}\\
      
      \mathbf{else}:\\
      \;\;\;\;x + y\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if t < -1.0199999999999999e89 or 1.1e6 < t

        1. Initial program 70.0%

          \[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-+.f6476.6%

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

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

        if -1.0199999999999999e89 < t < -4.8000000000000001e-5

        1. Initial program 95.0%

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

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

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

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

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

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

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

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

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

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

        if -4.8000000000000001e-5 < t < 1.1e6

        1. Initial program 94.6%

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

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

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

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

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

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

      Alternative 4: 75.8% accurate, 0.5× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -5.4 \cdot 10^{+31}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq 1.35 \cdot 10^{-125}:\\ \;\;\;\;x + \frac{y \cdot z}{a}\\ \mathbf{elif}\;t \leq 1.4 \cdot 10^{+97}:\\ \;\;\;\;x - \frac{y \cdot z}{t}\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \end{array} \]
      (FPCore (x y z t a)
       :precision binary64
       (if (<= t -5.4e+31)
         (+ x y)
         (if (<= t 1.35e-125)
           (+ x (/ (* y z) a))
           (if (<= t 1.4e+97) (- x (/ (* y z) t)) (+ x y)))))
      double code(double x, double y, double z, double t, double a) {
      	double tmp;
      	if (t <= -5.4e+31) {
      		tmp = x + y;
      	} else if (t <= 1.35e-125) {
      		tmp = x + ((y * z) / a);
      	} else if (t <= 1.4e+97) {
      		tmp = x - ((y * 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 <= (-5.4d+31)) then
              tmp = x + y
          else if (t <= 1.35d-125) then
              tmp = x + ((y * z) / a)
          else if (t <= 1.4d+97) then
              tmp = x - ((y * 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 <= -5.4e+31) {
      		tmp = x + y;
      	} else if (t <= 1.35e-125) {
      		tmp = x + ((y * z) / a);
      	} else if (t <= 1.4e+97) {
      		tmp = x - ((y * z) / t);
      	} else {
      		tmp = x + y;
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a):
      	tmp = 0
      	if t <= -5.4e+31:
      		tmp = x + y
      	elif t <= 1.35e-125:
      		tmp = x + ((y * z) / a)
      	elif t <= 1.4e+97:
      		tmp = x - ((y * z) / t)
      	else:
      		tmp = x + y
      	return tmp
      
      function code(x, y, z, t, a)
      	tmp = 0.0
      	if (t <= -5.4e+31)
      		tmp = Float64(x + y);
      	elseif (t <= 1.35e-125)
      		tmp = Float64(x + Float64(Float64(y * z) / a));
      	elseif (t <= 1.4e+97)
      		tmp = Float64(x - Float64(Float64(y * 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 <= -5.4e+31)
      		tmp = x + y;
      	elseif (t <= 1.35e-125)
      		tmp = x + ((y * z) / a);
      	elseif (t <= 1.4e+97)
      		tmp = x - ((y * z) / t);
      	else
      		tmp = x + y;
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_] := If[LessEqual[t, -5.4e+31], N[(x + y), $MachinePrecision], If[LessEqual[t, 1.35e-125], N[(x + N[(N[(y * z), $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1.4e+97], N[(x - N[(N[(y * z), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision], N[(x + y), $MachinePrecision]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      \mathbf{if}\;t \leq -5.4 \cdot 10^{+31}:\\
      \;\;\;\;x + y\\
      
      \mathbf{elif}\;t \leq 1.35 \cdot 10^{-125}:\\
      \;\;\;\;x + \frac{y \cdot z}{a}\\
      
      \mathbf{elif}\;t \leq 1.4 \cdot 10^{+97}:\\
      \;\;\;\;x - \frac{y \cdot z}{t}\\
      
      \mathbf{else}:\\
      \;\;\;\;x + y\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if t < -5.39999999999999971e31 or 1.4e97 < t

        1. Initial program 67.1%

          \[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-+.f6478.8%

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

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

        if -5.39999999999999971e31 < t < 1.3499999999999999e-125

        1. Initial program 95.2%

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

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

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

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

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

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

        if 1.3499999999999999e-125 < t < 1.4e97

        1. Initial program 94.6%

          \[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-*.f6473.4%

            \[\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. Simplified73.4%

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

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

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

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

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

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

            \[\leadsto \mathsf{\_.f64}\left(x, \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, z\right), t\right)\right) \]
        8. Simplified65.0%

          \[\leadsto \color{blue}{x - \frac{y \cdot z}{t}} \]
      3. Recombined 3 regimes into one program.
      4. Final simplification76.6%

        \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -5.4 \cdot 10^{+31}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq 1.35 \cdot 10^{-125}:\\ \;\;\;\;x + \frac{y \cdot z}{a}\\ \mathbf{elif}\;t \leq 1.4 \cdot 10^{+97}:\\ \;\;\;\;x - \frac{y \cdot z}{t}\\ \mathbf{else}:\\ \;\;\;\;x + y\\ \end{array} \]
      5. Add Preprocessing

      Alternative 5: 85.5% accurate, 0.6× speedup?

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

        1. Initial program 61.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-/.f6490.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. Simplified90.0%

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

        if -7.5999999999999996e39 < t < 1.69999999999999996

        1. Initial program 94.9%

          \[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-*.f6489.1%

            \[\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. Simplified89.1%

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

        if 1.69999999999999996 < t

        1. Initial program 78.4%

          \[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. associate-/l*N/A

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

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

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

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

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

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

      Alternative 6: 84.1% accurate, 0.6× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := x + t \cdot \frac{y}{t - a}\\ \mathbf{if}\;t \leq -4 \cdot 10^{+86}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t \leq 1.7:\\ \;\;\;\;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 (* t (/ y (- t a))))))
         (if (<= t -4e+86) t_1 (if (<= t 1.7) (+ x (/ (* y z) (- a t))) t_1))))
      double code(double x, double y, double z, double t, double a) {
      	double t_1 = x + (t * (y / (t - a)));
      	double tmp;
      	if (t <= -4e+86) {
      		tmp = t_1;
      	} else if (t <= 1.7) {
      		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 + (t * (y / (t - a)))
          if (t <= (-4d+86)) then
              tmp = t_1
          else if (t <= 1.7d0) 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 + (t * (y / (t - a)));
      	double tmp;
      	if (t <= -4e+86) {
      		tmp = t_1;
      	} else if (t <= 1.7) {
      		tmp = x + ((y * z) / (a - t));
      	} else {
      		tmp = t_1;
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a):
      	t_1 = x + (t * (y / (t - a)))
      	tmp = 0
      	if t <= -4e+86:
      		tmp = t_1
      	elif t <= 1.7:
      		tmp = x + ((y * z) / (a - t))
      	else:
      		tmp = t_1
      	return tmp
      
      function code(x, y, z, t, a)
      	t_1 = Float64(x + Float64(t * Float64(y / Float64(t - a))))
      	tmp = 0.0
      	if (t <= -4e+86)
      		tmp = t_1;
      	elseif (t <= 1.7)
      		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 + (t * (y / (t - a)));
      	tmp = 0.0;
      	if (t <= -4e+86)
      		tmp = t_1;
      	elseif (t <= 1.7)
      		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[(t * N[(y / N[(t - a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -4e+86], t$95$1, If[LessEqual[t, 1.7], 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 + t \cdot \frac{y}{t - a}\\
      \mathbf{if}\;t \leq -4 \cdot 10^{+86}:\\
      \;\;\;\;t\_1\\
      
      \mathbf{elif}\;t \leq 1.7:\\
      \;\;\;\;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 < -4.0000000000000001e86 or 1.69999999999999996 < t

        1. Initial program 70.5%

          \[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. associate-/l*N/A

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

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

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

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

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

        if -4.0000000000000001e86 < t < 1.69999999999999996

        1. Initial program 94.6%

          \[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-*.f6487.7%

            \[\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. Simplified87.7%

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

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

      Alternative 7: 82.7% accurate, 0.6× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -3.5 \cdot 10^{+92}:\\ \;\;\;\;x + y\\ \mathbf{elif}\;t \leq 4.6 \cdot 10^{+124}:\\ \;\;\;\;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 -3.5e+92)
         (+ x y)
         (if (<= t 4.6e+124) (+ x (/ (* y z) (- a t))) (+ x y))))
      double code(double x, double y, double z, double t, double a) {
      	double tmp;
      	if (t <= -3.5e+92) {
      		tmp = x + y;
      	} else if (t <= 4.6e+124) {
      		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 <= (-3.5d+92)) then
              tmp = x + y
          else if (t <= 4.6d+124) 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 <= -3.5e+92) {
      		tmp = x + y;
      	} else if (t <= 4.6e+124) {
      		tmp = x + ((y * z) / (a - t));
      	} else {
      		tmp = x + y;
      	}
      	return tmp;
      }
      
      def code(x, y, z, t, a):
      	tmp = 0
      	if t <= -3.5e+92:
      		tmp = x + y
      	elif t <= 4.6e+124:
      		tmp = x + ((y * z) / (a - t))
      	else:
      		tmp = x + y
      	return tmp
      
      function code(x, y, z, t, a)
      	tmp = 0.0
      	if (t <= -3.5e+92)
      		tmp = Float64(x + y);
      	elseif (t <= 4.6e+124)
      		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 <= -3.5e+92)
      		tmp = x + y;
      	elseif (t <= 4.6e+124)
      		tmp = x + ((y * z) / (a - t));
      	else
      		tmp = x + y;
      	end
      	tmp_2 = tmp;
      end
      
      code[x_, y_, z_, t_, a_] := If[LessEqual[t, -3.5e+92], N[(x + y), $MachinePrecision], If[LessEqual[t, 4.6e+124], 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 -3.5 \cdot 10^{+92}:\\
      \;\;\;\;x + y\\
      
      \mathbf{elif}\;t \leq 4.6 \cdot 10^{+124}:\\
      \;\;\;\;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 < -3.49999999999999986e92 or 4.59999999999999969e124 < t

        1. Initial program 61.7%

          \[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-+.f6482.0%

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

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

        if -3.49999999999999986e92 < t < 4.59999999999999969e124

        1. Initial program 94.5%

          \[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-*.f6483.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. Simplified83.9%

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

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

      Alternative 8: 76.1% accurate, 0.6× speedup?

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

        1. Initial program 72.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-+.f6472.8%

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

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

        if -2.4599999999999999e30 < t < 2.50000000000000016e-10

        1. Initial program 95.4%

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

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

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

            \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(\left(y \cdot z\right), \color{blue}{a}\right)\right) \]
          3. *-lowering-*.f6476.0%

            \[\leadsto \mathsf{+.f64}\left(x, \mathsf{/.f64}\left(\mathsf{*.f64}\left(y, z\right), a\right)\right) \]
        5. Simplified76.0%

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

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

      Alternative 9: 63.4% accurate, 0.6× speedup?

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

        1. Initial program 84.4%

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

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

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

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

            \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \color{blue}{\left(a - t\right)}\right)\right) \]
          4. --lowering--.f6458.0%

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

          \[\leadsto \color{blue}{y \cdot \frac{z}{a - t}} \]
        6. Step-by-step derivation
          1. associate-*r/N/A

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

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

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

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

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

            \[\leadsto \mathsf{*.f64}\left(z, \mathsf{/.f64}\left(y, \mathsf{\_.f64}\left(a, \color{blue}{t}\right)\right)\right) \]
        7. Applied egg-rr59.5%

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

        if -1.04999999999999995e28 < z < 2.4e204

        1. Initial program 83.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-+.f6469.4%

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

          \[\leadsto \color{blue}{y + x} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification66.1%

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

      Alternative 10: 63.6% accurate, 0.6× speedup?

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

        1. Initial program 84.4%

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

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

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

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

            \[\leadsto \mathsf{*.f64}\left(y, \mathsf{/.f64}\left(z, \color{blue}{\left(a - t\right)}\right)\right) \]
          4. --lowering--.f6458.0%

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

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

        if -3.7999999999999999e37 < z < 1.2e204

        1. Initial program 83.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-+.f6469.4%

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

          \[\leadsto \color{blue}{y + x} \]
      3. Recombined 2 regimes into one program.
      4. Final simplification65.7%

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

      Alternative 11: 59.1% accurate, 0.6× speedup?

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

        1. Initial program 86.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-+.f6470.9%

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

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

        if -1.27999999999999995e-101 < x < 1.45e18

        1. Initial program 81.4%

          \[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-/.f6460.4%

            \[\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. Simplified60.4%

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

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

            \[\leadsto \mathsf{neg}\left(y \cdot \left(\frac{z}{t} - 1\right)\right) \]
          2. distribute-rgt-neg-inN/A

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

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

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

            \[\leadsto \mathsf{*.f64}\left(y, \left(-1 \cdot \left(\frac{z}{t} + \color{blue}{\left(\mathsf{neg}\left(1\right)\right)}\right)\right)\right) \]
          6. metadata-evalN/A

            \[\leadsto \mathsf{*.f64}\left(y, \left(-1 \cdot \left(\frac{z}{t} + -1\right)\right)\right) \]
          7. distribute-lft-inN/A

            \[\leadsto \mathsf{*.f64}\left(y, \left(-1 \cdot \frac{z}{t} + \color{blue}{-1 \cdot -1}\right)\right) \]
          8. metadata-evalN/A

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

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

            \[\leadsto \mathsf{*.f64}\left(y, \left(1 + \left(\mathsf{neg}\left(\frac{z}{t}\right)\right)\right)\right) \]
          11. sub-negN/A

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

            \[\leadsto \mathsf{*.f64}\left(y, \mathsf{\_.f64}\left(1, \color{blue}{\left(\frac{z}{t}\right)}\right)\right) \]
          13. /-lowering-/.f6450.2%

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

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

        if 1.45e18 < x

        1. Initial program 85.3%

          \[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. Simplified77.2%

            \[\leadsto \color{blue}{x} \]
        5. Recombined 3 regimes into one program.
        6. Final simplification63.6%

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

        Alternative 12: 98.1% accurate, 1.0× speedup?

        \[\begin{array}{l} \\ x + y \cdot \frac{z - t}{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(y * Float64(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[(y * N[(N[(z - t), $MachinePrecision] / N[(a - t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
        
        \begin{array}{l}
        
        \\
        x + y \cdot \frac{z - t}{a - t}
        \end{array}
        
        Derivation
        1. Initial program 84.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. *-commutativeN/A

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

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

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

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

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

          \[\leadsto x + \color{blue}{\frac{z - t}{a - t} \cdot y} \]
        5. Final simplification98.2%

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

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

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

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

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

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

        Alternative 14: 62.1% accurate, 1.4× speedup?

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

          1. Initial program 85.6%

            \[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-+.f6460.6%

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

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

          if 6.59999999999999966e58 < a

          1. Initial program 79.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.6%

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

            \[\leadsto \begin{array}{l} \mathbf{if}\;a \leq 6.6 \cdot 10^{+58}:\\ \;\;\;\;x + y\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \]
          7. Add Preprocessing

          Alternative 15: 51.1% accurate, 1.8× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -9 \cdot 10^{+28}:\\ \;\;\;\;y\\ \mathbf{else}:\\ \;\;\;\;x\\ \end{array} \end{array} \]
          (FPCore (x y z t a) :precision binary64 (if (<= y -9e+28) y x))
          double code(double x, double y, double z, double t, double a) {
          	double tmp;
          	if (y <= -9e+28) {
          		tmp = y;
          	} else {
          		tmp = x;
          	}
          	return tmp;
          }
          
          real(8) function code(x, y, z, t, a)
              real(8), intent (in) :: x
              real(8), intent (in) :: y
              real(8), intent (in) :: z
              real(8), intent (in) :: t
              real(8), intent (in) :: a
              real(8) :: tmp
              if (y <= (-9d+28)) then
                  tmp = y
              else
                  tmp = x
              end if
              code = tmp
          end function
          
          public static double code(double x, double y, double z, double t, double a) {
          	double tmp;
          	if (y <= -9e+28) {
          		tmp = y;
          	} else {
          		tmp = x;
          	}
          	return tmp;
          }
          
          def code(x, y, z, t, a):
          	tmp = 0
          	if y <= -9e+28:
          		tmp = y
          	else:
          		tmp = x
          	return tmp
          
          function code(x, y, z, t, a)
          	tmp = 0.0
          	if (y <= -9e+28)
          		tmp = y;
          	else
          		tmp = x;
          	end
          	return tmp
          end
          
          function tmp_2 = code(x, y, z, t, a)
          	tmp = 0.0;
          	if (y <= -9e+28)
          		tmp = y;
          	else
          		tmp = x;
          	end
          	tmp_2 = tmp;
          end
          
          code[x_, y_, z_, t_, a_] := If[LessEqual[y, -9e+28], y, x]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          \mathbf{if}\;y \leq -9 \cdot 10^{+28}:\\
          \;\;\;\;y\\
          
          \mathbf{else}:\\
          \;\;\;\;x\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 2 regimes
          2. if y < -8.9999999999999994e28

            1. Initial program 77.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-+.f6447.3%

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

              \[\leadsto \color{blue}{y + x} \]
            6. Taylor expanded in y around inf

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

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

              if -8.9999999999999994e28 < y

              1. Initial program 85.9%

                \[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} \]
              5. Recombined 2 regimes into one program.
              6. Add Preprocessing

              Alternative 16: 51.4% 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 84.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. Simplified49.3%

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

                Developer Target 1: 98.3% 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 2024138 
                (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))))