Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2

Percentage Accurate: 57.2% → 83.9%
Time: 17.0s
Alternatives: 15
Speedup: 0.7×

Specification

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

\\
\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}
\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 15 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: 57.2% accurate, 1.0× speedup?

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

\\
\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}
\end{array}

Alternative 1: 83.9% accurate, 0.2× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)\\ \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\mathsf{fma}\left(y, \frac{230661.510616}{t\_1} + \mathsf{fma}\left(x, \frac{{y}^{3}}{t\_1}, \frac{\mathsf{fma}\left(z, y, 27464.7644705\right) \cdot y}{t\_1}\right), \frac{t}{t\_1}\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i)
 :precision binary64
 (let* ((t_1 (fma (fma (fma (+ a y) y b) y c) y i)))
   (if (<=
        (/
         (+
          t
          (* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
         (+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
        1e+272)
     (fma
      y
      (+
       (/ 230661.510616 t_1)
       (fma x (/ (pow y 3.0) t_1) (/ (* (fma z y 27464.7644705) y) t_1)))
      (/ t t_1))
     (- (+ (/ z y) (+ (/ 27464.7644705 (* y y)) x)) (* (/ x (* y y)) b)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i) {
	double t_1 = fma(fma(fma((a + y), y, b), y, c), y, i);
	double tmp;
	if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= 1e+272) {
		tmp = fma(y, ((230661.510616 / t_1) + fma(x, (pow(y, 3.0) / t_1), ((fma(z, y, 27464.7644705) * y) / t_1))), (t / t_1));
	} else {
		tmp = ((z / y) + ((27464.7644705 / (y * y)) + x)) - ((x / (y * y)) * b);
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i)
	t_1 = fma(fma(fma(Float64(a + y), y, b), y, c), y, i)
	tmp = 0.0
	if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= 1e+272)
		tmp = fma(y, Float64(Float64(230661.510616 / t_1) + fma(x, Float64((y ^ 3.0) / t_1), Float64(Float64(fma(z, y, 27464.7644705) * y) / t_1))), Float64(t / t_1));
	else
		tmp = Float64(Float64(Float64(z / y) + Float64(Float64(27464.7644705 / Float64(y * y)) + x)) - Float64(Float64(x / Float64(y * y)) * b));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]}, If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1e+272], N[(y * N[(N[(230661.510616 / t$95$1), $MachinePrecision] + N[(x * N[(N[Power[y, 3.0], $MachinePrecision] / t$95$1), $MachinePrecision] + N[(N[(N[(z * y + 27464.7644705), $MachinePrecision] * y), $MachinePrecision] / t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(t / t$95$1), $MachinePrecision]), $MachinePrecision], N[(N[(N[(z / y), $MachinePrecision] + N[(N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]), $MachinePrecision] - N[(N[(x / N[(y * y), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)\\
\mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\
\;\;\;\;\mathsf{fma}\left(y, \frac{230661.510616}{t\_1} + \mathsf{fma}\left(x, \frac{{y}^{3}}{t\_1}, \frac{\mathsf{fma}\left(z, y, 27464.7644705\right) \cdot y}{t\_1}\right), \frac{t}{t\_1}\right)\\

\mathbf{else}:\\
\;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < 1.0000000000000001e272

    1. Initial program 89.3%

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

      \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
    4. Step-by-step derivation
      1. +-commutativeN/A

        \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
      2. associate-/l*N/A

        \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
      3. lower-fma.f64N/A

        \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
    5. Applied rewrites89.8%

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

      \[\leadsto \mathsf{fma}\left(y, \frac{28832688827}{125000} \cdot \frac{1}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \color{blue}{\left(\frac{x \cdot {y}^{3}}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right) \]
    7. Step-by-step derivation
      1. Applied rewrites91.5%

        \[\leadsto \mathsf{fma}\left(y, \mathsf{fma}\left(x, \frac{{y}^{3}}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{\mathsf{fma}\left(z, y, 27464.7644705\right) \cdot y}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right) + \color{blue}{\frac{230661.510616}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right) \]

      if 1.0000000000000001e272 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i))

      1. Initial program 1.2%

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

        \[\leadsto \color{blue}{\left(x + \left(\frac{\frac{54929528941}{2000000}}{{y}^{2}} + \frac{z}{y}\right)\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right)} \]
      4. Step-by-step derivation
        1. lower--.f64N/A

          \[\leadsto \color{blue}{\left(x + \left(\frac{\frac{54929528941}{2000000}}{{y}^{2}} + \frac{z}{y}\right)\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right)} \]
        2. associate-+r+N/A

          \[\leadsto \color{blue}{\left(\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right) + \frac{z}{y}\right)} - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
        3. lower-+.f64N/A

          \[\leadsto \color{blue}{\left(\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right) + \frac{z}{y}\right)} - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
        4. lower-+.f64N/A

          \[\leadsto \left(\color{blue}{\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right)} + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
        5. lower-/.f64N/A

          \[\leadsto \left(\left(x + \color{blue}{\frac{\frac{54929528941}{2000000}}{{y}^{2}}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
        6. unpow2N/A

          \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{\color{blue}{y \cdot y}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
        7. lower-*.f64N/A

          \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{\color{blue}{y \cdot y}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
        8. lower-/.f64N/A

          \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \color{blue}{\frac{z}{y}}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
        9. associate-+r+N/A

          \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \color{blue}{\left(\left(\frac{a \cdot x}{y} + \frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}}\right) + \frac{b \cdot x}{{y}^{2}}\right)} \]
        10. associate-/l*N/A

          \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\left(\color{blue}{a \cdot \frac{x}{y}} + \frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}}\right) + \frac{b \cdot x}{{y}^{2}}\right) \]
        11. associate-/l*N/A

          \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\left(a \cdot \frac{x}{y} + \color{blue}{a \cdot \frac{z - a \cdot x}{{y}^{2}}}\right) + \frac{b \cdot x}{{y}^{2}}\right) \]
        12. distribute-lft-outN/A

          \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\color{blue}{a \cdot \left(\frac{x}{y} + \frac{z - a \cdot x}{{y}^{2}}\right)} + \frac{b \cdot x}{{y}^{2}}\right) \]
        13. lower-fma.f64N/A

          \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \color{blue}{\mathsf{fma}\left(a, \frac{x}{y} + \frac{z - a \cdot x}{{y}^{2}}, \frac{b \cdot x}{{y}^{2}}\right)} \]
      5. Applied rewrites71.1%

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

        \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \frac{b \cdot x}{\color{blue}{{y}^{2}}} \]
      7. Step-by-step derivation
        1. Applied rewrites74.4%

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\mathsf{fma}\left(y, \frac{230661.510616}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} + \mathsf{fma}\left(x, \frac{{y}^{3}}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{\mathsf{fma}\left(z, y, 27464.7644705\right) \cdot y}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right), \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\ \end{array} \]
      10. Add Preprocessing

      Alternative 2: 83.5% accurate, 0.2× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)\\ \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right)}{t\_1}, \mathsf{fma}\left(x, \frac{{y}^{4}}{t\_1}, \frac{t}{t\_1}\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i)
       :precision binary64
       (let* ((t_1 (fma (fma (fma (+ a y) y b) y c) y i)))
         (if (<=
              (/
               (+
                t
                (* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
               (+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
              1e+272)
           (fma
            y
            (/ (fma (fma z y 27464.7644705) y 230661.510616) t_1)
            (fma x (/ (pow y 4.0) t_1) (/ t t_1)))
           (- (+ (/ z y) (+ (/ 27464.7644705 (* y y)) x)) (* (/ x (* y y)) b)))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i) {
      	double t_1 = fma(fma(fma((a + y), y, b), y, c), y, i);
      	double tmp;
      	if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= 1e+272) {
      		tmp = fma(y, (fma(fma(z, y, 27464.7644705), y, 230661.510616) / t_1), fma(x, (pow(y, 4.0) / t_1), (t / t_1)));
      	} else {
      		tmp = ((z / y) + ((27464.7644705 / (y * y)) + x)) - ((x / (y * y)) * b);
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i)
      	t_1 = fma(fma(fma(Float64(a + y), y, b), y, c), y, i)
      	tmp = 0.0
      	if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= 1e+272)
      		tmp = fma(y, Float64(fma(fma(z, y, 27464.7644705), y, 230661.510616) / t_1), fma(x, Float64((y ^ 4.0) / t_1), Float64(t / t_1)));
      	else
      		tmp = Float64(Float64(Float64(z / y) + Float64(Float64(27464.7644705 / Float64(y * y)) + x)) - Float64(Float64(x / Float64(y * y)) * b));
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]}, If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1e+272], N[(y * N[(N[(N[(z * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] / t$95$1), $MachinePrecision] + N[(x * N[(N[Power[y, 4.0], $MachinePrecision] / t$95$1), $MachinePrecision] + N[(t / t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[(z / y), $MachinePrecision] + N[(N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]), $MachinePrecision] - N[(N[(x / N[(y * y), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)\\
      \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\
      \;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right)}{t\_1}, \mathsf{fma}\left(x, \frac{{y}^{4}}{t\_1}, \frac{t}{t\_1}\right)\right)\\
      
      \mathbf{else}:\\
      \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < 1.0000000000000001e272

        1. Initial program 89.3%

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

          \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \left(\frac{x \cdot {y}^{4}}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
        4. Step-by-step derivation
          1. +-commutativeN/A

            \[\leadsto \color{blue}{\left(\frac{x \cdot {y}^{4}}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right) + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          2. +-commutativeN/A

            \[\leadsto \color{blue}{\left(\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{x \cdot {y}^{4}}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
          3. associate-+l+N/A

            \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \left(\frac{x \cdot {y}^{4}}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
        5. Applied rewrites91.1%

          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \mathsf{fma}\left(x, \frac{{y}^{4}}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)\right)} \]

        if 1.0000000000000001e272 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i))

        1. Initial program 1.2%

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

          \[\leadsto \color{blue}{\left(x + \left(\frac{\frac{54929528941}{2000000}}{{y}^{2}} + \frac{z}{y}\right)\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right)} \]
        4. Step-by-step derivation
          1. lower--.f64N/A

            \[\leadsto \color{blue}{\left(x + \left(\frac{\frac{54929528941}{2000000}}{{y}^{2}} + \frac{z}{y}\right)\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right)} \]
          2. associate-+r+N/A

            \[\leadsto \color{blue}{\left(\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right) + \frac{z}{y}\right)} - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
          3. lower-+.f64N/A

            \[\leadsto \color{blue}{\left(\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right) + \frac{z}{y}\right)} - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
          4. lower-+.f64N/A

            \[\leadsto \left(\color{blue}{\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right)} + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
          5. lower-/.f64N/A

            \[\leadsto \left(\left(x + \color{blue}{\frac{\frac{54929528941}{2000000}}{{y}^{2}}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
          6. unpow2N/A

            \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{\color{blue}{y \cdot y}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
          7. lower-*.f64N/A

            \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{\color{blue}{y \cdot y}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
          8. lower-/.f64N/A

            \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \color{blue}{\frac{z}{y}}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
          9. associate-+r+N/A

            \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \color{blue}{\left(\left(\frac{a \cdot x}{y} + \frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}}\right) + \frac{b \cdot x}{{y}^{2}}\right)} \]
          10. associate-/l*N/A

            \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\left(\color{blue}{a \cdot \frac{x}{y}} + \frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}}\right) + \frac{b \cdot x}{{y}^{2}}\right) \]
          11. associate-/l*N/A

            \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\left(a \cdot \frac{x}{y} + \color{blue}{a \cdot \frac{z - a \cdot x}{{y}^{2}}}\right) + \frac{b \cdot x}{{y}^{2}}\right) \]
          12. distribute-lft-outN/A

            \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\color{blue}{a \cdot \left(\frac{x}{y} + \frac{z - a \cdot x}{{y}^{2}}\right)} + \frac{b \cdot x}{{y}^{2}}\right) \]
          13. lower-fma.f64N/A

            \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \color{blue}{\mathsf{fma}\left(a, \frac{x}{y} + \frac{z - a \cdot x}{{y}^{2}}, \frac{b \cdot x}{{y}^{2}}\right)} \]
        5. Applied rewrites71.1%

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

          \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \frac{b \cdot x}{\color{blue}{{y}^{2}}} \]
        7. Step-by-step derivation
          1. Applied rewrites74.4%

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

          \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \mathsf{fma}\left(x, \frac{{y}^{4}}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\ \end{array} \]
        10. Add Preprocessing

        Alternative 3: 66.0% accurate, 0.3× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\ t_2 := \frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y}\\ \mathbf{if}\;t\_2 \leq -2 \cdot 10^{-231}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t\_2 \leq 2 \cdot 10^{-180}:\\ \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{i}\\ \mathbf{elif}\;t\_2 \leq 10^{+272}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \end{array} \]
        (FPCore (x y z t a b c i)
         :precision binary64
         (let* ((t_1 (/ t (fma (fma (fma (+ a y) y b) y c) y i)))
                (t_2
                 (/
                  (+
                   t
                   (* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
                  (+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))))
           (if (<= t_2 -2e-231)
             t_1
             (if (<= t_2 2e-180)
               (/ (fma (fma (fma (fma x y z) y 27464.7644705) y 230661.510616) y t) i)
               (if (<= t_2 1e+272) t_1 (+ (/ (- z (* a x)) y) x))))))
        double code(double x, double y, double z, double t, double a, double b, double c, double i) {
        	double t_1 = t / fma(fma(fma((a + y), y, b), y, c), y, i);
        	double t_2 = (t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y));
        	double tmp;
        	if (t_2 <= -2e-231) {
        		tmp = t_1;
        	} else if (t_2 <= 2e-180) {
        		tmp = fma(fma(fma(fma(x, y, z), y, 27464.7644705), y, 230661.510616), y, t) / i;
        	} else if (t_2 <= 1e+272) {
        		tmp = t_1;
        	} else {
        		tmp = ((z - (a * x)) / y) + x;
        	}
        	return tmp;
        }
        
        function code(x, y, z, t, a, b, c, i)
        	t_1 = Float64(t / fma(fma(fma(Float64(a + y), y, b), y, c), y, i))
        	t_2 = Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y)))
        	tmp = 0.0
        	if (t_2 <= -2e-231)
        		tmp = t_1;
        	elseif (t_2 <= 2e-180)
        		tmp = Float64(fma(fma(fma(fma(x, y, z), y, 27464.7644705), y, 230661.510616), y, t) / i);
        	elseif (t_2 <= 1e+272)
        		tmp = t_1;
        	else
        		tmp = Float64(Float64(Float64(z - Float64(a * x)) / y) + x);
        	end
        	return tmp
        end
        
        code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(t / N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, -2e-231], t$95$1, If[LessEqual[t$95$2, 2e-180], N[(N[(N[(N[(N[(x * y + z), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] * y + t), $MachinePrecision] / i), $MachinePrecision], If[LessEqual[t$95$2, 1e+272], t$95$1, N[(N[(N[(z - N[(a * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + x), $MachinePrecision]]]]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        t_1 := \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\
        t_2 := \frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y}\\
        \mathbf{if}\;t\_2 \leq -2 \cdot 10^{-231}:\\
        \;\;\;\;t\_1\\
        
        \mathbf{elif}\;t\_2 \leq 2 \cdot 10^{-180}:\\
        \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{i}\\
        
        \mathbf{elif}\;t\_2 \leq 10^{+272}:\\
        \;\;\;\;t\_1\\
        
        \mathbf{else}:\\
        \;\;\;\;\frac{z - a \cdot x}{y} + x\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 3 regimes
        2. if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < -2e-231 or 2e-180 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < 1.0000000000000001e272

          1. Initial program 93.9%

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

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

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

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

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

              \[\leadsto \frac{t}{\color{blue}{\mathsf{fma}\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right), y, i\right)}} \]
            5. +-commutativeN/A

              \[\leadsto \frac{t}{\mathsf{fma}\left(\color{blue}{y \cdot \left(b + y \cdot \left(a + y\right)\right) + c}, y, i\right)} \]
            6. *-commutativeN/A

              \[\leadsto \frac{t}{\mathsf{fma}\left(\color{blue}{\left(b + y \cdot \left(a + y\right)\right) \cdot y} + c, y, i\right)} \]
            7. lower-fma.f64N/A

              \[\leadsto \frac{t}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(b + y \cdot \left(a + y\right), y, c\right)}, y, i\right)} \]
            8. +-commutativeN/A

              \[\leadsto \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{y \cdot \left(a + y\right) + b}, y, c\right), y, i\right)} \]
            9. *-commutativeN/A

              \[\leadsto \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\left(a + y\right) \cdot y} + b, y, c\right), y, i\right)} \]
            10. lower-fma.f64N/A

              \[\leadsto \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(a + y, y, b\right)}, y, c\right), y, i\right)} \]
            11. lower-+.f6467.7

              \[\leadsto \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{a + y}, y, b\right), y, c\right), y, i\right)} \]
          5. Applied rewrites67.7%

            \[\leadsto \color{blue}{\frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}} \]

          if -2e-231 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < 2e-180

          1. Initial program 78.6%

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

            \[\leadsto \color{blue}{\frac{t + y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i}} \]
          4. Step-by-step derivation
            1. lower-/.f64N/A

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

              \[\leadsto \frac{\color{blue}{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right) + t}}{i} \]
            3. *-commutativeN/A

              \[\leadsto \frac{\color{blue}{\left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right) \cdot y} + t}{i} \]
            4. lower-fma.f64N/A

              \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right), y, t\right)}}{i} \]
            5. +-commutativeN/A

              \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right) + \frac{28832688827}{125000}}, y, t\right)}{i} \]
            6. *-commutativeN/A

              \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{\left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right) \cdot y} + \frac{28832688827}{125000}, y, t\right)}{i} \]
            7. lower-fma.f64N/A

              \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right), y, \frac{28832688827}{125000}\right)}, y, t\right)}{i} \]
            8. +-commutativeN/A

              \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{y \cdot \left(z + x \cdot y\right) + \frac{54929528941}{2000000}}, y, \frac{28832688827}{125000}\right), y, t\right)}{i} \]
            9. *-commutativeN/A

              \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\left(z + x \cdot y\right) \cdot y} + \frac{54929528941}{2000000}, y, \frac{28832688827}{125000}\right), y, t\right)}{i} \]
            10. lower-fma.f64N/A

              \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + x \cdot y, y, \frac{54929528941}{2000000}\right)}, y, \frac{28832688827}{125000}\right), y, t\right)}{i} \]
            11. +-commutativeN/A

              \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{x \cdot y + z}, y, \frac{54929528941}{2000000}\right), y, \frac{28832688827}{125000}\right), y, t\right)}{i} \]
            12. lower-fma.f6466.6

              \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(x, y, z\right)}, y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{i} \]
          5. Applied rewrites66.6%

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

          if 1.0000000000000001e272 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i))

          1. Initial program 1.2%

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

            \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          4. Step-by-step derivation
            1. +-commutativeN/A

              \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
            2. associate-/l*N/A

              \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
            3. lower-fma.f64N/A

              \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
          5. Applied rewrites2.7%

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

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

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

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

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

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

              \[\leadsto x + \frac{\color{blue}{z - a \cdot x}}{y} \]
            6. lower-*.f6472.2

              \[\leadsto x + \frac{z - \color{blue}{a \cdot x}}{y} \]
          8. Applied rewrites72.2%

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

          \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq -2 \cdot 10^{-231}:\\ \;\;\;\;\frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{elif}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 2 \cdot 10^{-180}:\\ \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{i}\\ \mathbf{elif}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \]
        5. Add Preprocessing

        Alternative 4: 83.8% accurate, 0.4× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)\\ \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{t\_1}, \frac{t}{t\_1}\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\ \end{array} \end{array} \]
        (FPCore (x y z t a b c i)
         :precision binary64
         (let* ((t_1 (fma (fma (fma (+ a y) y b) y c) y i)))
           (if (<=
                (/
                 (+
                  t
                  (* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
                 (+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
                1e+272)
             (fma
              y
              (/ (fma (fma (fma x y z) y 27464.7644705) y 230661.510616) t_1)
              (/ t t_1))
             (- (+ (/ z y) (+ (/ 27464.7644705 (* y y)) x)) (* (/ x (* y y)) b)))))
        double code(double x, double y, double z, double t, double a, double b, double c, double i) {
        	double t_1 = fma(fma(fma((a + y), y, b), y, c), y, i);
        	double tmp;
        	if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= 1e+272) {
        		tmp = fma(y, (fma(fma(fma(x, y, z), y, 27464.7644705), y, 230661.510616) / t_1), (t / t_1));
        	} else {
        		tmp = ((z / y) + ((27464.7644705 / (y * y)) + x)) - ((x / (y * y)) * b);
        	}
        	return tmp;
        }
        
        function code(x, y, z, t, a, b, c, i)
        	t_1 = fma(fma(fma(Float64(a + y), y, b), y, c), y, i)
        	tmp = 0.0
        	if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= 1e+272)
        		tmp = fma(y, Float64(fma(fma(fma(x, y, z), y, 27464.7644705), y, 230661.510616) / t_1), Float64(t / t_1));
        	else
        		tmp = Float64(Float64(Float64(z / y) + Float64(Float64(27464.7644705 / Float64(y * y)) + x)) - Float64(Float64(x / Float64(y * y)) * b));
        	end
        	return tmp
        end
        
        code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]}, If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1e+272], N[(y * N[(N[(N[(N[(x * y + z), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] / t$95$1), $MachinePrecision] + N[(t / t$95$1), $MachinePrecision]), $MachinePrecision], N[(N[(N[(z / y), $MachinePrecision] + N[(N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]), $MachinePrecision] - N[(N[(x / N[(y * y), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        t_1 := \mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)\\
        \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\
        \;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{t\_1}, \frac{t}{t\_1}\right)\\
        
        \mathbf{else}:\\
        \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 2 regimes
        2. if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < 1.0000000000000001e272

          1. Initial program 89.3%

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

            \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
          4. Step-by-step derivation
            1. +-commutativeN/A

              \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
            2. associate-/l*N/A

              \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
            3. lower-fma.f64N/A

              \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
          5. Applied rewrites89.8%

            \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)} \]

          if 1.0000000000000001e272 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i))

          1. Initial program 1.2%

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

            \[\leadsto \color{blue}{\left(x + \left(\frac{\frac{54929528941}{2000000}}{{y}^{2}} + \frac{z}{y}\right)\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right)} \]
          4. Step-by-step derivation
            1. lower--.f64N/A

              \[\leadsto \color{blue}{\left(x + \left(\frac{\frac{54929528941}{2000000}}{{y}^{2}} + \frac{z}{y}\right)\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right)} \]
            2. associate-+r+N/A

              \[\leadsto \color{blue}{\left(\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right) + \frac{z}{y}\right)} - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
            3. lower-+.f64N/A

              \[\leadsto \color{blue}{\left(\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right) + \frac{z}{y}\right)} - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
            4. lower-+.f64N/A

              \[\leadsto \left(\color{blue}{\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right)} + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
            5. lower-/.f64N/A

              \[\leadsto \left(\left(x + \color{blue}{\frac{\frac{54929528941}{2000000}}{{y}^{2}}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
            6. unpow2N/A

              \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{\color{blue}{y \cdot y}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
            7. lower-*.f64N/A

              \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{\color{blue}{y \cdot y}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
            8. lower-/.f64N/A

              \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \color{blue}{\frac{z}{y}}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
            9. associate-+r+N/A

              \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \color{blue}{\left(\left(\frac{a \cdot x}{y} + \frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}}\right) + \frac{b \cdot x}{{y}^{2}}\right)} \]
            10. associate-/l*N/A

              \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\left(\color{blue}{a \cdot \frac{x}{y}} + \frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}}\right) + \frac{b \cdot x}{{y}^{2}}\right) \]
            11. associate-/l*N/A

              \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\left(a \cdot \frac{x}{y} + \color{blue}{a \cdot \frac{z - a \cdot x}{{y}^{2}}}\right) + \frac{b \cdot x}{{y}^{2}}\right) \]
            12. distribute-lft-outN/A

              \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\color{blue}{a \cdot \left(\frac{x}{y} + \frac{z - a \cdot x}{{y}^{2}}\right)} + \frac{b \cdot x}{{y}^{2}}\right) \]
            13. lower-fma.f64N/A

              \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \color{blue}{\mathsf{fma}\left(a, \frac{x}{y} + \frac{z - a \cdot x}{{y}^{2}}, \frac{b \cdot x}{{y}^{2}}\right)} \]
          5. Applied rewrites71.1%

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

            \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \frac{b \cdot x}{\color{blue}{{y}^{2}}} \]
          7. Step-by-step derivation
            1. Applied rewrites74.4%

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

            \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}, \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\ \end{array} \]
          10. Add Preprocessing

          Alternative 5: 83.5% accurate, 0.5× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y}\\ \mathbf{if}\;t\_1 \leq 10^{+272}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\ \end{array} \end{array} \]
          (FPCore (x y z t a b c i)
           :precision binary64
           (let* ((t_1
                   (/
                    (+
                     t
                     (* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
                    (+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))))
             (if (<= t_1 1e+272)
               t_1
               (- (+ (/ z y) (+ (/ 27464.7644705 (* y y)) x)) (* (/ x (* y y)) b)))))
          double code(double x, double y, double z, double t, double a, double b, double c, double i) {
          	double t_1 = (t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y));
          	double tmp;
          	if (t_1 <= 1e+272) {
          		tmp = t_1;
          	} else {
          		tmp = ((z / y) + ((27464.7644705 / (y * y)) + x)) - ((x / (y * y)) * b);
          	}
          	return tmp;
          }
          
          real(8) function code(x, y, z, t, a, b, c, i)
              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), intent (in) :: b
              real(8), intent (in) :: c
              real(8), intent (in) :: i
              real(8) :: t_1
              real(8) :: tmp
              t_1 = (t + ((230661.510616d0 + ((27464.7644705d0 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))
              if (t_1 <= 1d+272) then
                  tmp = t_1
              else
                  tmp = ((z / y) + ((27464.7644705d0 / (y * y)) + x)) - ((x / (y * y)) * b)
              end if
              code = tmp
          end function
          
          public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
          	double t_1 = (t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y));
          	double tmp;
          	if (t_1 <= 1e+272) {
          		tmp = t_1;
          	} else {
          		tmp = ((z / y) + ((27464.7644705 / (y * y)) + x)) - ((x / (y * y)) * b);
          	}
          	return tmp;
          }
          
          def code(x, y, z, t, a, b, c, i):
          	t_1 = (t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))
          	tmp = 0
          	if t_1 <= 1e+272:
          		tmp = t_1
          	else:
          		tmp = ((z / y) + ((27464.7644705 / (y * y)) + x)) - ((x / (y * y)) * b)
          	return tmp
          
          function code(x, y, z, t, a, b, c, i)
          	t_1 = Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y)))
          	tmp = 0.0
          	if (t_1 <= 1e+272)
          		tmp = t_1;
          	else
          		tmp = Float64(Float64(Float64(z / y) + Float64(Float64(27464.7644705 / Float64(y * y)) + x)) - Float64(Float64(x / Float64(y * y)) * b));
          	end
          	return tmp
          end
          
          function tmp_2 = code(x, y, z, t, a, b, c, i)
          	t_1 = (t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y));
          	tmp = 0.0;
          	if (t_1 <= 1e+272)
          		tmp = t_1;
          	else
          		tmp = ((z / y) + ((27464.7644705 / (y * y)) + x)) - ((x / (y * y)) * b);
          	end
          	tmp_2 = tmp;
          end
          
          code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, 1e+272], t$95$1, N[(N[(N[(z / y), $MachinePrecision] + N[(N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]), $MachinePrecision] - N[(N[(x / N[(y * y), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          t_1 := \frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y}\\
          \mathbf{if}\;t\_1 \leq 10^{+272}:\\
          \;\;\;\;t\_1\\
          
          \mathbf{else}:\\
          \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 2 regimes
          2. if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < 1.0000000000000001e272

            1. Initial program 89.3%

              \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
            2. Add Preprocessing

            if 1.0000000000000001e272 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i))

            1. Initial program 1.2%

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

              \[\leadsto \color{blue}{\left(x + \left(\frac{\frac{54929528941}{2000000}}{{y}^{2}} + \frac{z}{y}\right)\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right)} \]
            4. Step-by-step derivation
              1. lower--.f64N/A

                \[\leadsto \color{blue}{\left(x + \left(\frac{\frac{54929528941}{2000000}}{{y}^{2}} + \frac{z}{y}\right)\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right)} \]
              2. associate-+r+N/A

                \[\leadsto \color{blue}{\left(\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right) + \frac{z}{y}\right)} - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
              3. lower-+.f64N/A

                \[\leadsto \color{blue}{\left(\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right) + \frac{z}{y}\right)} - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
              4. lower-+.f64N/A

                \[\leadsto \left(\color{blue}{\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right)} + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
              5. lower-/.f64N/A

                \[\leadsto \left(\left(x + \color{blue}{\frac{\frac{54929528941}{2000000}}{{y}^{2}}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
              6. unpow2N/A

                \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{\color{blue}{y \cdot y}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
              7. lower-*.f64N/A

                \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{\color{blue}{y \cdot y}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
              8. lower-/.f64N/A

                \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \color{blue}{\frac{z}{y}}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
              9. associate-+r+N/A

                \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \color{blue}{\left(\left(\frac{a \cdot x}{y} + \frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}}\right) + \frac{b \cdot x}{{y}^{2}}\right)} \]
              10. associate-/l*N/A

                \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\left(\color{blue}{a \cdot \frac{x}{y}} + \frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}}\right) + \frac{b \cdot x}{{y}^{2}}\right) \]
              11. associate-/l*N/A

                \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\left(a \cdot \frac{x}{y} + \color{blue}{a \cdot \frac{z - a \cdot x}{{y}^{2}}}\right) + \frac{b \cdot x}{{y}^{2}}\right) \]
              12. distribute-lft-outN/A

                \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\color{blue}{a \cdot \left(\frac{x}{y} + \frac{z - a \cdot x}{{y}^{2}}\right)} + \frac{b \cdot x}{{y}^{2}}\right) \]
              13. lower-fma.f64N/A

                \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \color{blue}{\mathsf{fma}\left(a, \frac{x}{y} + \frac{z - a \cdot x}{{y}^{2}}, \frac{b \cdot x}{{y}^{2}}\right)} \]
            5. Applied rewrites71.1%

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

              \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \frac{b \cdot x}{\color{blue}{{y}^{2}}} \]
            7. Step-by-step derivation
              1. Applied rewrites74.4%

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

              \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y}\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\ \end{array} \]
            10. Add Preprocessing

            Alternative 6: 83.4% accurate, 0.5× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \cdot \left(-\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\ \end{array} \end{array} \]
            (FPCore (x y z t a b c i)
             :precision binary64
             (if (<=
                  (/
                   (+
                    t
                    (* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
                   (+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
                  1e+272)
               (*
                (/ -1.0 (fma (fma (fma (+ a y) y b) y c) y i))
                (- (fma (fma (fma (fma y x z) y 27464.7644705) y 230661.510616) y t)))
               (- (+ (/ z y) (+ (/ 27464.7644705 (* y y)) x)) (* (/ x (* y y)) b))))
            double code(double x, double y, double z, double t, double a, double b, double c, double i) {
            	double tmp;
            	if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= 1e+272) {
            		tmp = (-1.0 / fma(fma(fma((a + y), y, b), y, c), y, i)) * -fma(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616), y, t);
            	} else {
            		tmp = ((z / y) + ((27464.7644705 / (y * y)) + x)) - ((x / (y * y)) * b);
            	}
            	return tmp;
            }
            
            function code(x, y, z, t, a, b, c, i)
            	tmp = 0.0
            	if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= 1e+272)
            		tmp = Float64(Float64(-1.0 / fma(fma(fma(Float64(a + y), y, b), y, c), y, i)) * Float64(-fma(fma(fma(fma(y, x, z), y, 27464.7644705), y, 230661.510616), y, t)));
            	else
            		tmp = Float64(Float64(Float64(z / y) + Float64(Float64(27464.7644705 / Float64(y * y)) + x)) - Float64(Float64(x / Float64(y * y)) * b));
            	end
            	return tmp
            end
            
            code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1e+272], N[(N[(-1.0 / N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision] * (-N[(N[(N[(N[(y * x + z), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] * y + t), $MachinePrecision])), $MachinePrecision], N[(N[(N[(z / y), $MachinePrecision] + N[(N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]), $MachinePrecision] - N[(N[(x / N[(y * y), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\
            \;\;\;\;\frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \cdot \left(-\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)\right)\\
            
            \mathbf{else}:\\
            \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 2 regimes
            2. if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < 1.0000000000000001e272

              1. Initial program 89.3%

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

                  \[\leadsto \color{blue}{\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}} \]
                2. frac-2negN/A

                  \[\leadsto \color{blue}{\frac{\mathsf{neg}\left(\left(\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t\right)\right)}{\mathsf{neg}\left(\left(\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i\right)\right)}} \]
                3. div-invN/A

                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\left(\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t\right)\right)\right) \cdot \frac{1}{\mathsf{neg}\left(\left(\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i\right)\right)}} \]
                4. lower-*.f64N/A

                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\left(\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t\right)\right)\right) \cdot \frac{1}{\mathsf{neg}\left(\left(\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i\right)\right)}} \]
              4. Applied rewrites89.2%

                \[\leadsto \color{blue}{\left(-\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)\right) \cdot \frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}} \]

              if 1.0000000000000001e272 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i))

              1. Initial program 1.2%

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

                \[\leadsto \color{blue}{\left(x + \left(\frac{\frac{54929528941}{2000000}}{{y}^{2}} + \frac{z}{y}\right)\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right)} \]
              4. Step-by-step derivation
                1. lower--.f64N/A

                  \[\leadsto \color{blue}{\left(x + \left(\frac{\frac{54929528941}{2000000}}{{y}^{2}} + \frac{z}{y}\right)\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right)} \]
                2. associate-+r+N/A

                  \[\leadsto \color{blue}{\left(\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right) + \frac{z}{y}\right)} - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                3. lower-+.f64N/A

                  \[\leadsto \color{blue}{\left(\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right) + \frac{z}{y}\right)} - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                4. lower-+.f64N/A

                  \[\leadsto \left(\color{blue}{\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right)} + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                5. lower-/.f64N/A

                  \[\leadsto \left(\left(x + \color{blue}{\frac{\frac{54929528941}{2000000}}{{y}^{2}}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                6. unpow2N/A

                  \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{\color{blue}{y \cdot y}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                7. lower-*.f64N/A

                  \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{\color{blue}{y \cdot y}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                8. lower-/.f64N/A

                  \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \color{blue}{\frac{z}{y}}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                9. associate-+r+N/A

                  \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \color{blue}{\left(\left(\frac{a \cdot x}{y} + \frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}}\right) + \frac{b \cdot x}{{y}^{2}}\right)} \]
                10. associate-/l*N/A

                  \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\left(\color{blue}{a \cdot \frac{x}{y}} + \frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}}\right) + \frac{b \cdot x}{{y}^{2}}\right) \]
                11. associate-/l*N/A

                  \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\left(a \cdot \frac{x}{y} + \color{blue}{a \cdot \frac{z - a \cdot x}{{y}^{2}}}\right) + \frac{b \cdot x}{{y}^{2}}\right) \]
                12. distribute-lft-outN/A

                  \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\color{blue}{a \cdot \left(\frac{x}{y} + \frac{z - a \cdot x}{{y}^{2}}\right)} + \frac{b \cdot x}{{y}^{2}}\right) \]
                13. lower-fma.f64N/A

                  \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \color{blue}{\mathsf{fma}\left(a, \frac{x}{y} + \frac{z - a \cdot x}{{y}^{2}}, \frac{b \cdot x}{{y}^{2}}\right)} \]
              5. Applied rewrites71.1%

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

                \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \frac{b \cdot x}{\color{blue}{{y}^{2}}} \]
              7. Step-by-step derivation
                1. Applied rewrites74.4%

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

                \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \cdot \left(-\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\ \end{array} \]
              10. Add Preprocessing

              Alternative 7: 79.6% accurate, 0.5× speedup?

              \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\ \end{array} \end{array} \]
              (FPCore (x y z t a b c i)
               :precision binary64
               (if (<=
                    (/
                     (+
                      t
                      (* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
                     (+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
                    1e+272)
                 (/
                  (fma (fma (fma (fma x y z) y 27464.7644705) y 230661.510616) y t)
                  (fma (fma (fma y y b) y c) y i))
                 (- (+ (/ z y) (+ (/ 27464.7644705 (* y y)) x)) (* (/ x (* y y)) b))))
              double code(double x, double y, double z, double t, double a, double b, double c, double i) {
              	double tmp;
              	if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= 1e+272) {
              		tmp = fma(fma(fma(fma(x, y, z), y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma(y, y, b), y, c), y, i);
              	} else {
              		tmp = ((z / y) + ((27464.7644705 / (y * y)) + x)) - ((x / (y * y)) * b);
              	}
              	return tmp;
              }
              
              function code(x, y, z, t, a, b, c, i)
              	tmp = 0.0
              	if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= 1e+272)
              		tmp = Float64(fma(fma(fma(fma(x, y, z), y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma(y, y, b), y, c), y, i));
              	else
              		tmp = Float64(Float64(Float64(z / y) + Float64(Float64(27464.7644705 / Float64(y * y)) + x)) - Float64(Float64(x / Float64(y * y)) * b));
              	end
              	return tmp
              end
              
              code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1e+272], N[(N[(N[(N[(N[(x * y + z), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] * y + t), $MachinePrecision] / N[(N[(N[(y * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision], N[(N[(N[(z / y), $MachinePrecision] + N[(N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]), $MachinePrecision] - N[(N[(x / N[(y * y), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]]
              
              \begin{array}{l}
              
              \\
              \begin{array}{l}
              \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\
              \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, y, b\right), y, c\right), y, i\right)}\\
              
              \mathbf{else}:\\
              \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\
              
              
              \end{array}
              \end{array}
              
              Derivation
              1. Split input into 2 regimes
              2. if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < 1.0000000000000001e272

                1. Initial program 89.3%

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

                  \[\leadsto \color{blue}{\frac{t + y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)}} \]
                4. Step-by-step derivation
                  1. lower-/.f64N/A

                    \[\leadsto \color{blue}{\frac{t + y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)}} \]
                  2. +-commutativeN/A

                    \[\leadsto \frac{\color{blue}{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right) + t}}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                  3. *-commutativeN/A

                    \[\leadsto \frac{\color{blue}{\left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right) \cdot y} + t}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                  4. lower-fma.f64N/A

                    \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right), y, t\right)}}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                  5. +-commutativeN/A

                    \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right) + \frac{28832688827}{125000}}, y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                  6. *-commutativeN/A

                    \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{\left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right) \cdot y} + \frac{28832688827}{125000}, y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                  7. lower-fma.f64N/A

                    \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right), y, \frac{28832688827}{125000}\right)}, y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                  8. +-commutativeN/A

                    \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{y \cdot \left(z + x \cdot y\right) + \frac{54929528941}{2000000}}, y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                  9. *-commutativeN/A

                    \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\left(z + x \cdot y\right) \cdot y} + \frac{54929528941}{2000000}, y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                  10. lower-fma.f64N/A

                    \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + x \cdot y, y, \frac{54929528941}{2000000}\right)}, y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                  11. +-commutativeN/A

                    \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{x \cdot y + z}, y, \frac{54929528941}{2000000}\right), y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                  12. lower-fma.f64N/A

                    \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(x, y, z\right)}, y, \frac{54929528941}{2000000}\right), y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                  13. +-commutativeN/A

                    \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, \frac{54929528941}{2000000}\right), y, \frac{28832688827}{125000}\right), y, t\right)}{\color{blue}{y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right) + i}} \]
                5. Applied rewrites83.4%

                  \[\leadsto \color{blue}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, y, b\right), y, c\right), y, i\right)}} \]

                if 1.0000000000000001e272 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i))

                1. Initial program 1.2%

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

                  \[\leadsto \color{blue}{\left(x + \left(\frac{\frac{54929528941}{2000000}}{{y}^{2}} + \frac{z}{y}\right)\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right)} \]
                4. Step-by-step derivation
                  1. lower--.f64N/A

                    \[\leadsto \color{blue}{\left(x + \left(\frac{\frac{54929528941}{2000000}}{{y}^{2}} + \frac{z}{y}\right)\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right)} \]
                  2. associate-+r+N/A

                    \[\leadsto \color{blue}{\left(\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right) + \frac{z}{y}\right)} - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                  3. lower-+.f64N/A

                    \[\leadsto \color{blue}{\left(\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right) + \frac{z}{y}\right)} - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                  4. lower-+.f64N/A

                    \[\leadsto \left(\color{blue}{\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right)} + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                  5. lower-/.f64N/A

                    \[\leadsto \left(\left(x + \color{blue}{\frac{\frac{54929528941}{2000000}}{{y}^{2}}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                  6. unpow2N/A

                    \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{\color{blue}{y \cdot y}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                  7. lower-*.f64N/A

                    \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{\color{blue}{y \cdot y}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                  8. lower-/.f64N/A

                    \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \color{blue}{\frac{z}{y}}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                  9. associate-+r+N/A

                    \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \color{blue}{\left(\left(\frac{a \cdot x}{y} + \frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}}\right) + \frac{b \cdot x}{{y}^{2}}\right)} \]
                  10. associate-/l*N/A

                    \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\left(\color{blue}{a \cdot \frac{x}{y}} + \frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}}\right) + \frac{b \cdot x}{{y}^{2}}\right) \]
                  11. associate-/l*N/A

                    \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\left(a \cdot \frac{x}{y} + \color{blue}{a \cdot \frac{z - a \cdot x}{{y}^{2}}}\right) + \frac{b \cdot x}{{y}^{2}}\right) \]
                  12. distribute-lft-outN/A

                    \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\color{blue}{a \cdot \left(\frac{x}{y} + \frac{z - a \cdot x}{{y}^{2}}\right)} + \frac{b \cdot x}{{y}^{2}}\right) \]
                  13. lower-fma.f64N/A

                    \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \color{blue}{\mathsf{fma}\left(a, \frac{x}{y} + \frac{z - a \cdot x}{{y}^{2}}, \frac{b \cdot x}{{y}^{2}}\right)} \]
                5. Applied rewrites71.1%

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

                  \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \frac{b \cdot x}{\color{blue}{{y}^{2}}} \]
                7. Step-by-step derivation
                  1. Applied rewrites74.4%

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

                  \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y \cdot y} \cdot b\\ \end{array} \]
                10. Add Preprocessing

                Alternative 8: 79.6% accurate, 0.5× speedup?

                \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y} \cdot a\\ \end{array} \end{array} \]
                (FPCore (x y z t a b c i)
                 :precision binary64
                 (if (<=
                      (/
                       (+
                        t
                        (* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
                       (+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
                      1e+272)
                   (/
                    (fma (fma (fma (fma x y z) y 27464.7644705) y 230661.510616) y t)
                    (fma (fma (fma y y b) y c) y i))
                   (- (+ (/ z y) (+ (/ 27464.7644705 (* y y)) x)) (* (/ x y) a))))
                double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                	double tmp;
                	if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= 1e+272) {
                		tmp = fma(fma(fma(fma(x, y, z), y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma(y, y, b), y, c), y, i);
                	} else {
                		tmp = ((z / y) + ((27464.7644705 / (y * y)) + x)) - ((x / y) * a);
                	}
                	return tmp;
                }
                
                function code(x, y, z, t, a, b, c, i)
                	tmp = 0.0
                	if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= 1e+272)
                		tmp = Float64(fma(fma(fma(fma(x, y, z), y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma(y, y, b), y, c), y, i));
                	else
                		tmp = Float64(Float64(Float64(z / y) + Float64(Float64(27464.7644705 / Float64(y * y)) + x)) - Float64(Float64(x / y) * a));
                	end
                	return tmp
                end
                
                code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1e+272], N[(N[(N[(N[(N[(x * y + z), $MachinePrecision] * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] * y + t), $MachinePrecision] / N[(N[(N[(y * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision], N[(N[(N[(z / y), $MachinePrecision] + N[(N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]), $MachinePrecision] - N[(N[(x / y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]]
                
                \begin{array}{l}
                
                \\
                \begin{array}{l}
                \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\
                \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, y, b\right), y, c\right), y, i\right)}\\
                
                \mathbf{else}:\\
                \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y} \cdot a\\
                
                
                \end{array}
                \end{array}
                
                Derivation
                1. Split input into 2 regimes
                2. if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < 1.0000000000000001e272

                  1. Initial program 89.3%

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

                    \[\leadsto \color{blue}{\frac{t + y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)}} \]
                  4. Step-by-step derivation
                    1. lower-/.f64N/A

                      \[\leadsto \color{blue}{\frac{t + y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)}} \]
                    2. +-commutativeN/A

                      \[\leadsto \frac{\color{blue}{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right) + t}}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                    3. *-commutativeN/A

                      \[\leadsto \frac{\color{blue}{\left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right) \cdot y} + t}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                    4. lower-fma.f64N/A

                      \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right), y, t\right)}}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                    5. +-commutativeN/A

                      \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right) + \frac{28832688827}{125000}}, y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                    6. *-commutativeN/A

                      \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{\left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right) \cdot y} + \frac{28832688827}{125000}, y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                    7. lower-fma.f64N/A

                      \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right), y, \frac{28832688827}{125000}\right)}, y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                    8. +-commutativeN/A

                      \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{y \cdot \left(z + x \cdot y\right) + \frac{54929528941}{2000000}}, y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                    9. *-commutativeN/A

                      \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\left(z + x \cdot y\right) \cdot y} + \frac{54929528941}{2000000}, y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                    10. lower-fma.f64N/A

                      \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z + x \cdot y, y, \frac{54929528941}{2000000}\right)}, y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                    11. +-commutativeN/A

                      \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{x \cdot y + z}, y, \frac{54929528941}{2000000}\right), y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                    12. lower-fma.f64N/A

                      \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(x, y, z\right)}, y, \frac{54929528941}{2000000}\right), y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right)} \]
                    13. +-commutativeN/A

                      \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, \frac{54929528941}{2000000}\right), y, \frac{28832688827}{125000}\right), y, t\right)}{\color{blue}{y \cdot \left(c + y \cdot \left(b + {y}^{2}\right)\right) + i}} \]
                  5. Applied rewrites83.4%

                    \[\leadsto \color{blue}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, y, b\right), y, c\right), y, i\right)}} \]

                  if 1.0000000000000001e272 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i))

                  1. Initial program 1.2%

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

                    \[\leadsto \color{blue}{\left(x + \left(\frac{\frac{54929528941}{2000000}}{{y}^{2}} + \frac{z}{y}\right)\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right)} \]
                  4. Step-by-step derivation
                    1. lower--.f64N/A

                      \[\leadsto \color{blue}{\left(x + \left(\frac{\frac{54929528941}{2000000}}{{y}^{2}} + \frac{z}{y}\right)\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right)} \]
                    2. associate-+r+N/A

                      \[\leadsto \color{blue}{\left(\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right) + \frac{z}{y}\right)} - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                    3. lower-+.f64N/A

                      \[\leadsto \color{blue}{\left(\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right) + \frac{z}{y}\right)} - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                    4. lower-+.f64N/A

                      \[\leadsto \left(\color{blue}{\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right)} + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                    5. lower-/.f64N/A

                      \[\leadsto \left(\left(x + \color{blue}{\frac{\frac{54929528941}{2000000}}{{y}^{2}}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                    6. unpow2N/A

                      \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{\color{blue}{y \cdot y}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                    7. lower-*.f64N/A

                      \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{\color{blue}{y \cdot y}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                    8. lower-/.f64N/A

                      \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \color{blue}{\frac{z}{y}}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                    9. associate-+r+N/A

                      \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \color{blue}{\left(\left(\frac{a \cdot x}{y} + \frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}}\right) + \frac{b \cdot x}{{y}^{2}}\right)} \]
                    10. associate-/l*N/A

                      \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\left(\color{blue}{a \cdot \frac{x}{y}} + \frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}}\right) + \frac{b \cdot x}{{y}^{2}}\right) \]
                    11. associate-/l*N/A

                      \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\left(a \cdot \frac{x}{y} + \color{blue}{a \cdot \frac{z - a \cdot x}{{y}^{2}}}\right) + \frac{b \cdot x}{{y}^{2}}\right) \]
                    12. distribute-lft-outN/A

                      \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\color{blue}{a \cdot \left(\frac{x}{y} + \frac{z - a \cdot x}{{y}^{2}}\right)} + \frac{b \cdot x}{{y}^{2}}\right) \]
                    13. lower-fma.f64N/A

                      \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \color{blue}{\mathsf{fma}\left(a, \frac{x}{y} + \frac{z - a \cdot x}{{y}^{2}}, \frac{b \cdot x}{{y}^{2}}\right)} \]
                  5. Applied rewrites71.1%

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

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

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

                    \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(x, y, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y} \cdot a\\ \end{array} \]
                  10. Add Preprocessing

                  Alternative 9: 79.6% accurate, 0.6× speedup?

                  \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y} \cdot a\\ \end{array} \end{array} \]
                  (FPCore (x y z t a b c i)
                   :precision binary64
                   (if (<=
                        (/
                         (+
                          t
                          (* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
                         (+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
                        1e+272)
                     (/
                      (fma (fma (fma z y 27464.7644705) y 230661.510616) y t)
                      (fma (fma (fma (+ a y) y b) y c) y i))
                     (- (+ (/ z y) (+ (/ 27464.7644705 (* y y)) x)) (* (/ x y) a))))
                  double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                  	double tmp;
                  	if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= 1e+272) {
                  		tmp = fma(fma(fma(z, y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma((a + y), y, b), y, c), y, i);
                  	} else {
                  		tmp = ((z / y) + ((27464.7644705 / (y * y)) + x)) - ((x / y) * a);
                  	}
                  	return tmp;
                  }
                  
                  function code(x, y, z, t, a, b, c, i)
                  	tmp = 0.0
                  	if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= 1e+272)
                  		tmp = Float64(fma(fma(fma(z, y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma(Float64(a + y), y, b), y, c), y, i));
                  	else
                  		tmp = Float64(Float64(Float64(z / y) + Float64(Float64(27464.7644705 / Float64(y * y)) + x)) - Float64(Float64(x / y) * a));
                  	end
                  	return tmp
                  end
                  
                  code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1e+272], N[(N[(N[(N[(z * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] * y + t), $MachinePrecision] / N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision], N[(N[(N[(z / y), $MachinePrecision] + N[(N[(27464.7644705 / N[(y * y), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]), $MachinePrecision] - N[(N[(x / y), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]]
                  
                  \begin{array}{l}
                  
                  \\
                  \begin{array}{l}
                  \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\
                  \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\
                  
                  \mathbf{else}:\\
                  \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y} \cdot a\\
                  
                  
                  \end{array}
                  \end{array}
                  
                  Derivation
                  1. Split input into 2 regimes
                  2. if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < 1.0000000000000001e272

                    1. Initial program 89.3%

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

                      \[\leadsto \color{blue}{\frac{t + y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
                    4. Step-by-step derivation
                      1. lower-/.f64N/A

                        \[\leadsto \color{blue}{\frac{t + y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
                      2. +-commutativeN/A

                        \[\leadsto \frac{\color{blue}{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right) + t}}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                      3. *-commutativeN/A

                        \[\leadsto \frac{\color{blue}{\left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right) \cdot y} + t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                      4. lower-fma.f64N/A

                        \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right), y, t\right)}}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                      5. +-commutativeN/A

                        \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right) + \frac{28832688827}{125000}}, y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                      6. *-commutativeN/A

                        \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{\left(\frac{54929528941}{2000000} + y \cdot z\right) \cdot y} + \frac{28832688827}{125000}, y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                      7. lower-fma.f64N/A

                        \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\frac{54929528941}{2000000} + y \cdot z, y, \frac{28832688827}{125000}\right)}, y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                      8. +-commutativeN/A

                        \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{y \cdot z + \frac{54929528941}{2000000}}, y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                      9. *-commutativeN/A

                        \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{z \cdot y} + \frac{54929528941}{2000000}, y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                      10. lower-fma.f64N/A

                        \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, y, \frac{54929528941}{2000000}\right)}, y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                      11. +-commutativeN/A

                        \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, \frac{54929528941}{2000000}\right), y, \frac{28832688827}{125000}\right), y, t\right)}{\color{blue}{y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) + i}} \]
                      12. *-commutativeN/A

                        \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, \frac{54929528941}{2000000}\right), y, \frac{28832688827}{125000}\right), y, t\right)}{\color{blue}{\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) \cdot y} + i} \]
                      13. lower-fma.f64N/A

                        \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, \frac{54929528941}{2000000}\right), y, \frac{28832688827}{125000}\right), y, t\right)}{\color{blue}{\mathsf{fma}\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right), y, i\right)}} \]
                    5. Applied rewrites81.8%

                      \[\leadsto \color{blue}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}} \]

                    if 1.0000000000000001e272 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i))

                    1. Initial program 1.2%

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

                      \[\leadsto \color{blue}{\left(x + \left(\frac{\frac{54929528941}{2000000}}{{y}^{2}} + \frac{z}{y}\right)\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right)} \]
                    4. Step-by-step derivation
                      1. lower--.f64N/A

                        \[\leadsto \color{blue}{\left(x + \left(\frac{\frac{54929528941}{2000000}}{{y}^{2}} + \frac{z}{y}\right)\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right)} \]
                      2. associate-+r+N/A

                        \[\leadsto \color{blue}{\left(\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right) + \frac{z}{y}\right)} - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                      3. lower-+.f64N/A

                        \[\leadsto \color{blue}{\left(\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right) + \frac{z}{y}\right)} - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                      4. lower-+.f64N/A

                        \[\leadsto \left(\color{blue}{\left(x + \frac{\frac{54929528941}{2000000}}{{y}^{2}}\right)} + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                      5. lower-/.f64N/A

                        \[\leadsto \left(\left(x + \color{blue}{\frac{\frac{54929528941}{2000000}}{{y}^{2}}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                      6. unpow2N/A

                        \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{\color{blue}{y \cdot y}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                      7. lower-*.f64N/A

                        \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{\color{blue}{y \cdot y}}\right) + \frac{z}{y}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                      8. lower-/.f64N/A

                        \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \color{blue}{\frac{z}{y}}\right) - \left(\frac{a \cdot x}{y} + \left(\frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}} + \frac{b \cdot x}{{y}^{2}}\right)\right) \]
                      9. associate-+r+N/A

                        \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \color{blue}{\left(\left(\frac{a \cdot x}{y} + \frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}}\right) + \frac{b \cdot x}{{y}^{2}}\right)} \]
                      10. associate-/l*N/A

                        \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\left(\color{blue}{a \cdot \frac{x}{y}} + \frac{a \cdot \left(z - a \cdot x\right)}{{y}^{2}}\right) + \frac{b \cdot x}{{y}^{2}}\right) \]
                      11. associate-/l*N/A

                        \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\left(a \cdot \frac{x}{y} + \color{blue}{a \cdot \frac{z - a \cdot x}{{y}^{2}}}\right) + \frac{b \cdot x}{{y}^{2}}\right) \]
                      12. distribute-lft-outN/A

                        \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \left(\color{blue}{a \cdot \left(\frac{x}{y} + \frac{z - a \cdot x}{{y}^{2}}\right)} + \frac{b \cdot x}{{y}^{2}}\right) \]
                      13. lower-fma.f64N/A

                        \[\leadsto \left(\left(x + \frac{\frac{54929528941}{2000000}}{y \cdot y}\right) + \frac{z}{y}\right) - \color{blue}{\mathsf{fma}\left(a, \frac{x}{y} + \frac{z - a \cdot x}{{y}^{2}}, \frac{b \cdot x}{{y}^{2}}\right)} \]
                    5. Applied rewrites71.1%

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

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

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

                      \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{else}:\\ \;\;\;\;\left(\frac{z}{y} + \left(\frac{27464.7644705}{y \cdot y} + x\right)\right) - \frac{x}{y} \cdot a\\ \end{array} \]
                    10. Add Preprocessing

                    Alternative 10: 77.3% accurate, 0.6× speedup?

                    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \end{array} \]
                    (FPCore (x y z t a b c i)
                     :precision binary64
                     (if (<=
                          (/
                           (+
                            t
                            (* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
                           (+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
                          1e+272)
                       (/
                        (fma (fma (fma z y 27464.7644705) y 230661.510616) y t)
                        (fma (fma (fma (+ a y) y b) y c) y i))
                       (+ (/ (- z (* a x)) y) x)))
                    double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                    	double tmp;
                    	if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= 1e+272) {
                    		tmp = fma(fma(fma(z, y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma((a + y), y, b), y, c), y, i);
                    	} else {
                    		tmp = ((z - (a * x)) / y) + x;
                    	}
                    	return tmp;
                    }
                    
                    function code(x, y, z, t, a, b, c, i)
                    	tmp = 0.0
                    	if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= 1e+272)
                    		tmp = Float64(fma(fma(fma(z, y, 27464.7644705), y, 230661.510616), y, t) / fma(fma(fma(Float64(a + y), y, b), y, c), y, i));
                    	else
                    		tmp = Float64(Float64(Float64(z - Float64(a * x)) / y) + x);
                    	end
                    	return tmp
                    end
                    
                    code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1e+272], N[(N[(N[(N[(z * y + 27464.7644705), $MachinePrecision] * y + 230661.510616), $MachinePrecision] * y + t), $MachinePrecision] / N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision], N[(N[(N[(z - N[(a * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + x), $MachinePrecision]]
                    
                    \begin{array}{l}
                    
                    \\
                    \begin{array}{l}
                    \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\
                    \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\
                    
                    \mathbf{else}:\\
                    \;\;\;\;\frac{z - a \cdot x}{y} + x\\
                    
                    
                    \end{array}
                    \end{array}
                    
                    Derivation
                    1. Split input into 2 regimes
                    2. if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < 1.0000000000000001e272

                      1. Initial program 89.3%

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

                        \[\leadsto \color{blue}{\frac{t + y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
                      4. Step-by-step derivation
                        1. lower-/.f64N/A

                          \[\leadsto \color{blue}{\frac{t + y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
                        2. +-commutativeN/A

                          \[\leadsto \frac{\color{blue}{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right) + t}}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                        3. *-commutativeN/A

                          \[\leadsto \frac{\color{blue}{\left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right)\right) \cdot y} + t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                        4. lower-fma.f64N/A

                          \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right), y, t\right)}}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                        5. +-commutativeN/A

                          \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{y \cdot \left(\frac{54929528941}{2000000} + y \cdot z\right) + \frac{28832688827}{125000}}, y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                        6. *-commutativeN/A

                          \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{\left(\frac{54929528941}{2000000} + y \cdot z\right) \cdot y} + \frac{28832688827}{125000}, y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                        7. lower-fma.f64N/A

                          \[\leadsto \frac{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(\frac{54929528941}{2000000} + y \cdot z, y, \frac{28832688827}{125000}\right)}, y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                        8. +-commutativeN/A

                          \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{y \cdot z + \frac{54929528941}{2000000}}, y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                        9. *-commutativeN/A

                          \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{z \cdot y} + \frac{54929528941}{2000000}, y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                        10. lower-fma.f64N/A

                          \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(z, y, \frac{54929528941}{2000000}\right)}, y, \frac{28832688827}{125000}\right), y, t\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                        11. +-commutativeN/A

                          \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, \frac{54929528941}{2000000}\right), y, \frac{28832688827}{125000}\right), y, t\right)}{\color{blue}{y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) + i}} \]
                        12. *-commutativeN/A

                          \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, \frac{54929528941}{2000000}\right), y, \frac{28832688827}{125000}\right), y, t\right)}{\color{blue}{\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right) \cdot y} + i} \]
                        13. lower-fma.f64N/A

                          \[\leadsto \frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, \frac{54929528941}{2000000}\right), y, \frac{28832688827}{125000}\right), y, t\right)}{\color{blue}{\mathsf{fma}\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right), y, i\right)}} \]
                      5. Applied rewrites81.8%

                        \[\leadsto \color{blue}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}} \]

                      if 1.0000000000000001e272 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i))

                      1. Initial program 1.2%

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

                        \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
                      4. Step-by-step derivation
                        1. +-commutativeN/A

                          \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
                        2. associate-/l*N/A

                          \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                        3. lower-fma.f64N/A

                          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
                      5. Applied rewrites2.7%

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

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

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

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

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

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

                          \[\leadsto x + \frac{\color{blue}{z - a \cdot x}}{y} \]
                        6. lower-*.f6472.2

                          \[\leadsto x + \frac{z - \color{blue}{a \cdot x}}{y} \]
                      8. Applied rewrites72.2%

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

                      \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, y, 27464.7644705\right), y, 230661.510616\right), y, t\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \]
                    5. Add Preprocessing

                    Alternative 11: 71.5% accurate, 0.6× speedup?

                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y\\ \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{t\_1} \leq 10^{+272}:\\ \;\;\;\;\frac{\mathsf{fma}\left(230661.510616, y, t\right)}{t\_1}\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \end{array} \]
                    (FPCore (x y z t a b c i)
                     :precision binary64
                     (let* ((t_1 (+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y))))
                       (if (<=
                            (/
                             (+
                              t
                              (* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
                             t_1)
                            1e+272)
                         (/ (fma 230661.510616 y t) t_1)
                         (+ (/ (- z (* a x)) y) x))))
                    double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                    	double t_1 = i + ((c + ((b + ((a + y) * y)) * y)) * y);
                    	double tmp;
                    	if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / t_1) <= 1e+272) {
                    		tmp = fma(230661.510616, y, t) / t_1;
                    	} else {
                    		tmp = ((z - (a * x)) / y) + x;
                    	}
                    	return tmp;
                    }
                    
                    function code(x, y, z, t, a, b, c, i)
                    	t_1 = Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))
                    	tmp = 0.0
                    	if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / t_1) <= 1e+272)
                    		tmp = Float64(fma(230661.510616, y, t) / t_1);
                    	else
                    		tmp = Float64(Float64(Float64(z - Float64(a * x)) / y) + x);
                    	end
                    	return tmp
                    end
                    
                    code[x_, y_, z_, t_, a_, b_, c_, i_] := Block[{t$95$1 = N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / t$95$1), $MachinePrecision], 1e+272], N[(N[(230661.510616 * y + t), $MachinePrecision] / t$95$1), $MachinePrecision], N[(N[(N[(z - N[(a * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + x), $MachinePrecision]]]
                    
                    \begin{array}{l}
                    
                    \\
                    \begin{array}{l}
                    t_1 := i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y\\
                    \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{t\_1} \leq 10^{+272}:\\
                    \;\;\;\;\frac{\mathsf{fma}\left(230661.510616, y, t\right)}{t\_1}\\
                    
                    \mathbf{else}:\\
                    \;\;\;\;\frac{z - a \cdot x}{y} + x\\
                    
                    
                    \end{array}
                    \end{array}
                    
                    Derivation
                    1. Split input into 2 regimes
                    2. if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < 1.0000000000000001e272

                      1. Initial program 89.3%

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

                        \[\leadsto \frac{\color{blue}{t + \frac{28832688827}{125000} \cdot y}}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
                      4. Step-by-step derivation
                        1. +-commutativeN/A

                          \[\leadsto \frac{\color{blue}{\frac{28832688827}{125000} \cdot y + t}}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
                        2. lower-fma.f6474.7

                          \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(230661.510616, y, t\right)}}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]
                      5. Applied rewrites74.7%

                        \[\leadsto \frac{\color{blue}{\mathsf{fma}\left(230661.510616, y, t\right)}}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i} \]

                      if 1.0000000000000001e272 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i))

                      1. Initial program 1.2%

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

                        \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
                      4. Step-by-step derivation
                        1. +-commutativeN/A

                          \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
                        2. associate-/l*N/A

                          \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                        3. lower-fma.f64N/A

                          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
                      5. Applied rewrites2.7%

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

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

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

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

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

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

                          \[\leadsto x + \frac{\color{blue}{z - a \cdot x}}{y} \]
                        6. lower-*.f6472.2

                          \[\leadsto x + \frac{z - \color{blue}{a \cdot x}}{y} \]
                      8. Applied rewrites72.2%

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

                      \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{\mathsf{fma}\left(230661.510616, y, t\right)}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y}\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \]
                    5. Add Preprocessing

                    Alternative 12: 64.9% accurate, 0.7× speedup?

                    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \end{array} \]
                    (FPCore (x y z t a b c i)
                     :precision binary64
                     (if (<=
                          (/
                           (+
                            t
                            (* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
                           (+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
                          1e+272)
                       (/ t (fma (fma (fma (+ a y) y b) y c) y i))
                       (+ (/ (- z (* a x)) y) x)))
                    double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                    	double tmp;
                    	if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= 1e+272) {
                    		tmp = t / fma(fma(fma((a + y), y, b), y, c), y, i);
                    	} else {
                    		tmp = ((z - (a * x)) / y) + x;
                    	}
                    	return tmp;
                    }
                    
                    function code(x, y, z, t, a, b, c, i)
                    	tmp = 0.0
                    	if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= 1e+272)
                    		tmp = Float64(t / fma(fma(fma(Float64(a + y), y, b), y, c), y, i));
                    	else
                    		tmp = Float64(Float64(Float64(z - Float64(a * x)) / y) + x);
                    	end
                    	return tmp
                    end
                    
                    code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1e+272], N[(t / N[(N[(N[(N[(a + y), $MachinePrecision] * y + b), $MachinePrecision] * y + c), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision], N[(N[(N[(z - N[(a * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + x), $MachinePrecision]]
                    
                    \begin{array}{l}
                    
                    \\
                    \begin{array}{l}
                    \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\
                    \;\;\;\;\frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\
                    
                    \mathbf{else}:\\
                    \;\;\;\;\frac{z - a \cdot x}{y} + x\\
                    
                    
                    \end{array}
                    \end{array}
                    
                    Derivation
                    1. Split input into 2 regimes
                    2. if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < 1.0000000000000001e272

                      1. Initial program 89.3%

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

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

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

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

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

                          \[\leadsto \frac{t}{\color{blue}{\mathsf{fma}\left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right), y, i\right)}} \]
                        5. +-commutativeN/A

                          \[\leadsto \frac{t}{\mathsf{fma}\left(\color{blue}{y \cdot \left(b + y \cdot \left(a + y\right)\right) + c}, y, i\right)} \]
                        6. *-commutativeN/A

                          \[\leadsto \frac{t}{\mathsf{fma}\left(\color{blue}{\left(b + y \cdot \left(a + y\right)\right) \cdot y} + c, y, i\right)} \]
                        7. lower-fma.f64N/A

                          \[\leadsto \frac{t}{\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(b + y \cdot \left(a + y\right), y, c\right)}, y, i\right)} \]
                        8. +-commutativeN/A

                          \[\leadsto \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{y \cdot \left(a + y\right) + b}, y, c\right), y, i\right)} \]
                        9. *-commutativeN/A

                          \[\leadsto \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\left(a + y\right) \cdot y} + b, y, c\right), y, i\right)} \]
                        10. lower-fma.f64N/A

                          \[\leadsto \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{\mathsf{fma}\left(a + y, y, b\right)}, y, c\right), y, i\right)} \]
                        11. lower-+.f6462.1

                          \[\leadsto \frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\color{blue}{a + y}, y, b\right), y, c\right), y, i\right)} \]
                      5. Applied rewrites62.1%

                        \[\leadsto \color{blue}{\frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}} \]

                      if 1.0000000000000001e272 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i))

                      1. Initial program 1.2%

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

                        \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
                      4. Step-by-step derivation
                        1. +-commutativeN/A

                          \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
                        2. associate-/l*N/A

                          \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                        3. lower-fma.f64N/A

                          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
                      5. Applied rewrites2.7%

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

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

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

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

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

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

                          \[\leadsto x + \frac{\color{blue}{z - a \cdot x}}{y} \]
                        6. lower-*.f6472.2

                          \[\leadsto x + \frac{z - \color{blue}{a \cdot x}}{y} \]
                      8. Applied rewrites72.2%

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

                      \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{t}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \]
                    5. Add Preprocessing

                    Alternative 13: 55.5% accurate, 0.7× speedup?

                    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{-1}{\mathsf{fma}\left(b \cdot y, y, i\right)} \cdot \left(-t\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \end{array} \]
                    (FPCore (x y z t a b c i)
                     :precision binary64
                     (if (<=
                          (/
                           (+
                            t
                            (* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
                           (+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
                          1e+272)
                       (* (/ -1.0 (fma (* b y) y i)) (- t))
                       (+ (/ (- z (* a x)) y) x)))
                    double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                    	double tmp;
                    	if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= 1e+272) {
                    		tmp = (-1.0 / fma((b * y), y, i)) * -t;
                    	} else {
                    		tmp = ((z - (a * x)) / y) + x;
                    	}
                    	return tmp;
                    }
                    
                    function code(x, y, z, t, a, b, c, i)
                    	tmp = 0.0
                    	if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= 1e+272)
                    		tmp = Float64(Float64(-1.0 / fma(Float64(b * y), y, i)) * Float64(-t));
                    	else
                    		tmp = Float64(Float64(Float64(z - Float64(a * x)) / y) + x);
                    	end
                    	return tmp
                    end
                    
                    code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1e+272], N[(N[(-1.0 / N[(N[(b * y), $MachinePrecision] * y + i), $MachinePrecision]), $MachinePrecision] * (-t)), $MachinePrecision], N[(N[(N[(z - N[(a * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + x), $MachinePrecision]]
                    
                    \begin{array}{l}
                    
                    \\
                    \begin{array}{l}
                    \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\
                    \;\;\;\;\frac{-1}{\mathsf{fma}\left(b \cdot y, y, i\right)} \cdot \left(-t\right)\\
                    
                    \mathbf{else}:\\
                    \;\;\;\;\frac{z - a \cdot x}{y} + x\\
                    
                    
                    \end{array}
                    \end{array}
                    
                    Derivation
                    1. Split input into 2 regimes
                    2. if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < 1.0000000000000001e272

                      1. Initial program 89.3%

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

                          \[\leadsto \color{blue}{\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}} \]
                        2. frac-2negN/A

                          \[\leadsto \color{blue}{\frac{\mathsf{neg}\left(\left(\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t\right)\right)}{\mathsf{neg}\left(\left(\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i\right)\right)}} \]
                        3. div-invN/A

                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\left(\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t\right)\right)\right) \cdot \frac{1}{\mathsf{neg}\left(\left(\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i\right)\right)}} \]
                        4. lower-*.f64N/A

                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(\left(\left(\left(\left(x \cdot y + z\right) \cdot y + \frac{54929528941}{2000000}\right) \cdot y + \frac{28832688827}{125000}\right) \cdot y + t\right)\right)\right) \cdot \frac{1}{\mathsf{neg}\left(\left(\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i\right)\right)}} \]
                      4. Applied rewrites89.2%

                        \[\leadsto \color{blue}{\left(-\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, z\right), y, 27464.7644705\right), y, 230661.510616\right), y, t\right)\right) \cdot \frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)}} \]
                      5. Taylor expanded in t around inf

                        \[\leadsto \color{blue}{\left(-1 \cdot t\right)} \cdot \frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \]
                      6. Step-by-step derivation
                        1. mul-1-negN/A

                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(t\right)\right)} \cdot \frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \]
                        2. lower-neg.f6462.0

                          \[\leadsto \color{blue}{\left(-t\right)} \cdot \frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \]
                      7. Applied rewrites62.0%

                        \[\leadsto \color{blue}{\left(-t\right)} \cdot \frac{-1}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(a + y, y, b\right), y, c\right), y, i\right)} \]
                      8. Taylor expanded in b around inf

                        \[\leadsto \left(-t\right) \cdot \frac{-1}{\mathsf{fma}\left(\color{blue}{b \cdot y}, y, i\right)} \]
                      9. Step-by-step derivation
                        1. lower-*.f6453.0

                          \[\leadsto \left(-t\right) \cdot \frac{-1}{\mathsf{fma}\left(\color{blue}{b \cdot y}, y, i\right)} \]
                      10. Applied rewrites53.0%

                        \[\leadsto \left(-t\right) \cdot \frac{-1}{\mathsf{fma}\left(\color{blue}{b \cdot y}, y, i\right)} \]

                      if 1.0000000000000001e272 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i))

                      1. Initial program 1.2%

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

                        \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
                      4. Step-by-step derivation
                        1. +-commutativeN/A

                          \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
                        2. associate-/l*N/A

                          \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                        3. lower-fma.f64N/A

                          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
                      5. Applied rewrites2.7%

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

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

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

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

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

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

                          \[\leadsto x + \frac{\color{blue}{z - a \cdot x}}{y} \]
                        6. lower-*.f6472.2

                          \[\leadsto x + \frac{z - \color{blue}{a \cdot x}}{y} \]
                      8. Applied rewrites72.2%

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

                      \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{-1}{\mathsf{fma}\left(b \cdot y, y, i\right)} \cdot \left(-t\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \]
                    5. Add Preprocessing

                    Alternative 14: 53.1% accurate, 0.7× speedup?

                    \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{t}{i}\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \end{array} \]
                    (FPCore (x y z t a b c i)
                     :precision binary64
                     (if (<=
                          (/
                           (+
                            t
                            (* (+ 230661.510616 (* (+ 27464.7644705 (* (+ z (* y x)) y)) y)) y))
                           (+ i (* (+ c (* (+ b (* (+ a y) y)) y)) y)))
                          1e+272)
                       (/ t i)
                       (+ (/ (- z (* a x)) y) x)))
                    double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                    	double tmp;
                    	if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= 1e+272) {
                    		tmp = t / i;
                    	} else {
                    		tmp = ((z - (a * x)) / y) + x;
                    	}
                    	return tmp;
                    }
                    
                    real(8) function code(x, y, z, t, a, b, c, i)
                        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), intent (in) :: b
                        real(8), intent (in) :: c
                        real(8), intent (in) :: i
                        real(8) :: tmp
                        if (((t + ((230661.510616d0 + ((27464.7644705d0 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= 1d+272) then
                            tmp = t / i
                        else
                            tmp = ((z - (a * x)) / y) + x
                        end if
                        code = tmp
                    end function
                    
                    public static double code(double x, double y, double z, double t, double a, double b, double c, double i) {
                    	double tmp;
                    	if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= 1e+272) {
                    		tmp = t / i;
                    	} else {
                    		tmp = ((z - (a * x)) / y) + x;
                    	}
                    	return tmp;
                    }
                    
                    def code(x, y, z, t, a, b, c, i):
                    	tmp = 0
                    	if ((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= 1e+272:
                    		tmp = t / i
                    	else:
                    		tmp = ((z - (a * x)) / y) + x
                    	return tmp
                    
                    function code(x, y, z, t, a, b, c, i)
                    	tmp = 0.0
                    	if (Float64(Float64(t + Float64(Float64(230661.510616 + Float64(Float64(27464.7644705 + Float64(Float64(z + Float64(y * x)) * y)) * y)) * y)) / Float64(i + Float64(Float64(c + Float64(Float64(b + Float64(Float64(a + y) * y)) * y)) * y))) <= 1e+272)
                    		tmp = Float64(t / i);
                    	else
                    		tmp = Float64(Float64(Float64(z - Float64(a * x)) / y) + x);
                    	end
                    	return tmp
                    end
                    
                    function tmp_2 = code(x, y, z, t, a, b, c, i)
                    	tmp = 0.0;
                    	if (((t + ((230661.510616 + ((27464.7644705 + ((z + (y * x)) * y)) * y)) * y)) / (i + ((c + ((b + ((a + y) * y)) * y)) * y))) <= 1e+272)
                    		tmp = t / i;
                    	else
                    		tmp = ((z - (a * x)) / y) + x;
                    	end
                    	tmp_2 = tmp;
                    end
                    
                    code[x_, y_, z_, t_, a_, b_, c_, i_] := If[LessEqual[N[(N[(t + N[(N[(230661.510616 + N[(N[(27464.7644705 + N[(N[(z + N[(y * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] / N[(i + N[(N[(c + N[(N[(b + N[(N[(a + y), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1e+272], N[(t / i), $MachinePrecision], N[(N[(N[(z - N[(a * x), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] + x), $MachinePrecision]]
                    
                    \begin{array}{l}
                    
                    \\
                    \begin{array}{l}
                    \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\
                    \;\;\;\;\frac{t}{i}\\
                    
                    \mathbf{else}:\\
                    \;\;\;\;\frac{z - a \cdot x}{y} + x\\
                    
                    
                    \end{array}
                    \end{array}
                    
                    Derivation
                    1. Split input into 2 regimes
                    2. if (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i)) < 1.0000000000000001e272

                      1. Initial program 89.3%

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

                        \[\leadsto \color{blue}{\frac{t}{i}} \]
                      4. Step-by-step derivation
                        1. lower-/.f6449.9

                          \[\leadsto \color{blue}{\frac{t}{i}} \]
                      5. Applied rewrites49.9%

                        \[\leadsto \color{blue}{\frac{t}{i}} \]

                      if 1.0000000000000001e272 < (/.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 x y) z) y) #s(literal 54929528941/2000000 binary64)) y) #s(literal 28832688827/125000 binary64)) y) t) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 y a) y) b) y) c) y) i))

                      1. Initial program 1.2%

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

                        \[\leadsto \color{blue}{\frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
                      4. Step-by-step derivation
                        1. +-commutativeN/A

                          \[\leadsto \color{blue}{\frac{y \cdot \left(\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} \]
                        2. associate-/l*N/A

                          \[\leadsto \color{blue}{y \cdot \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}} + \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)} \]
                        3. lower-fma.f64N/A

                          \[\leadsto \color{blue}{\mathsf{fma}\left(y, \frac{\frac{28832688827}{125000} + y \cdot \left(\frac{54929528941}{2000000} + y \cdot \left(z + x \cdot y\right)\right)}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}, \frac{t}{i + y \cdot \left(c + y \cdot \left(b + y \cdot \left(a + y\right)\right)\right)}\right)} \]
                      5. Applied rewrites2.7%

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

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

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

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

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

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

                          \[\leadsto x + \frac{\color{blue}{z - a \cdot x}}{y} \]
                        6. lower-*.f6472.2

                          \[\leadsto x + \frac{z - \color{blue}{a \cdot x}}{y} \]
                      8. Applied rewrites72.2%

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

                      \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{t + \left(230661.510616 + \left(27464.7644705 + \left(z + y \cdot x\right) \cdot y\right) \cdot y\right) \cdot y}{i + \left(c + \left(b + \left(a + y\right) \cdot y\right) \cdot y\right) \cdot y} \leq 10^{+272}:\\ \;\;\;\;\frac{t}{i}\\ \mathbf{else}:\\ \;\;\;\;\frac{z - a \cdot x}{y} + x\\ \end{array} \]
                    5. Add Preprocessing

                    Alternative 15: 29.7% accurate, 5.9× speedup?

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

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

                      \[\leadsto \color{blue}{\frac{t}{i}} \]
                    4. Step-by-step derivation
                      1. lower-/.f6433.0

                        \[\leadsto \color{blue}{\frac{t}{i}} \]
                    5. Applied rewrites33.0%

                      \[\leadsto \color{blue}{\frac{t}{i}} \]
                    6. Add Preprocessing

                    Reproduce

                    ?
                    herbie shell --seed 2024249 
                    (FPCore (x y z t a b c i)
                      :name "Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2"
                      :precision binary64
                      (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))