Toniolo and Linder, Equation (13)

Percentage Accurate: 49.3% → 67.1%
Time: 15.1s
Alternatives: 18
Speedup: 2.8×

Specification

?
\[\begin{array}{l} \\ \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \end{array} \]
(FPCore (n U t l Om U*)
 :precision binary64
 (sqrt
  (*
   (* (* 2.0 n) U)
   (- (- t (* 2.0 (/ (* l l) Om))) (* (* n (pow (/ l Om) 2.0)) (- U U*))))))
double code(double n, double U, double t, double l, double Om, double U_42_) {
	return sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l * l) / Om))) - ((n * pow((l / Om), 2.0)) * (U - U_42_)))));
}
real(8) function code(n, u, t, l, om, u_42)
    real(8), intent (in) :: n
    real(8), intent (in) :: u
    real(8), intent (in) :: t
    real(8), intent (in) :: l
    real(8), intent (in) :: om
    real(8), intent (in) :: u_42
    code = sqrt((((2.0d0 * n) * u) * ((t - (2.0d0 * ((l * l) / om))) - ((n * ((l / om) ** 2.0d0)) * (u - u_42)))))
end function
public static double code(double n, double U, double t, double l, double Om, double U_42_) {
	return Math.sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l * l) / Om))) - ((n * Math.pow((l / Om), 2.0)) * (U - U_42_)))));
}
def code(n, U, t, l, Om, U_42_):
	return math.sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l * l) / Om))) - ((n * math.pow((l / Om), 2.0)) * (U - U_42_)))))
function code(n, U, t, l, Om, U_42_)
	return sqrt(Float64(Float64(Float64(2.0 * n) * U) * Float64(Float64(t - Float64(2.0 * Float64(Float64(l * l) / Om))) - Float64(Float64(n * (Float64(l / Om) ^ 2.0)) * Float64(U - U_42_)))))
end
function tmp = code(n, U, t, l, Om, U_42_)
	tmp = sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l * l) / Om))) - ((n * ((l / Om) ^ 2.0)) * (U - U_42_)))));
end
code[n_, U_, t_, l_, Om_, U$42$_] := N[Sqrt[N[(N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision] * N[(N[(t - N[(2.0 * N[(N[(l * l), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]
\begin{array}{l}

\\
\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}
\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 18 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: 49.3% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \end{array} \]
(FPCore (n U t l Om U*)
 :precision binary64
 (sqrt
  (*
   (* (* 2.0 n) U)
   (- (- t (* 2.0 (/ (* l l) Om))) (* (* n (pow (/ l Om) 2.0)) (- U U*))))))
double code(double n, double U, double t, double l, double Om, double U_42_) {
	return sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l * l) / Om))) - ((n * pow((l / Om), 2.0)) * (U - U_42_)))));
}
real(8) function code(n, u, t, l, om, u_42)
    real(8), intent (in) :: n
    real(8), intent (in) :: u
    real(8), intent (in) :: t
    real(8), intent (in) :: l
    real(8), intent (in) :: om
    real(8), intent (in) :: u_42
    code = sqrt((((2.0d0 * n) * u) * ((t - (2.0d0 * ((l * l) / om))) - ((n * ((l / om) ** 2.0d0)) * (u - u_42)))))
end function
public static double code(double n, double U, double t, double l, double Om, double U_42_) {
	return Math.sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l * l) / Om))) - ((n * Math.pow((l / Om), 2.0)) * (U - U_42_)))));
}
def code(n, U, t, l, Om, U_42_):
	return math.sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l * l) / Om))) - ((n * math.pow((l / Om), 2.0)) * (U - U_42_)))))
function code(n, U, t, l, Om, U_42_)
	return sqrt(Float64(Float64(Float64(2.0 * n) * U) * Float64(Float64(t - Float64(2.0 * Float64(Float64(l * l) / Om))) - Float64(Float64(n * (Float64(l / Om) ^ 2.0)) * Float64(U - U_42_)))))
end
function tmp = code(n, U, t, l, Om, U_42_)
	tmp = sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l * l) / Om))) - ((n * ((l / Om) ^ 2.0)) * (U - U_42_)))));
end
code[n_, U_, t_, l_, Om_, U$42$_] := N[Sqrt[N[(N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision] * N[(N[(t - N[(2.0 * N[(N[(l * l), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]
\begin{array}{l}

\\
\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}
\end{array}

Alternative 1: 67.1% accurate, 0.4× speedup?

\[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \frac{l\_m \cdot l\_m}{Om}\\ t_2 := \left(2 \cdot n\right) \cdot U\\ t_3 := \sqrt{t\_2 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}\\ \mathbf{if}\;t\_3 \leq 0:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(\frac{l\_m}{Om} \cdot l\_m, -2, t\right) \cdot U} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;t\_3 \leq 10^{+154}:\\ \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(\left(U* - U\right) \cdot \left(n \cdot \frac{l\_m}{Om}\right), \frac{l\_m}{Om}, \mathsf{fma}\left(-2, t\_1, t\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(U \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U* - U}{Om}, \frac{-2}{Om}\right)} \cdot \left(l\_m \cdot \sqrt{2}\right)\\ \end{array} \end{array} \]
l_m = (fabs.f64 l)
(FPCore (n U t l_m Om U*)
 :precision binary64
 (let* ((t_1 (/ (* l_m l_m) Om))
        (t_2 (* (* 2.0 n) U))
        (t_3
         (sqrt
          (*
           t_2
           (- (- t (* 2.0 t_1)) (* (* n (pow (/ l_m Om) 2.0)) (- U U*)))))))
   (if (<= t_3 0.0)
     (* (sqrt (* (fma (* (/ l_m Om) l_m) -2.0 t) U)) (sqrt (* 2.0 n)))
     (if (<= t_3 1e+154)
       (sqrt
        (*
         t_2
         (fma (* (- U* U) (* n (/ l_m Om))) (/ l_m Om) (fma -2.0 t_1 t))))
       (*
        (sqrt (* (* U n) (fma (/ n Om) (/ (- U* U) Om) (/ -2.0 Om))))
        (* l_m (sqrt 2.0)))))))
l_m = fabs(l);
double code(double n, double U, double t, double l_m, double Om, double U_42_) {
	double t_1 = (l_m * l_m) / Om;
	double t_2 = (2.0 * n) * U;
	double t_3 = sqrt((t_2 * ((t - (2.0 * t_1)) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_)))));
	double tmp;
	if (t_3 <= 0.0) {
		tmp = sqrt((fma(((l_m / Om) * l_m), -2.0, t) * U)) * sqrt((2.0 * n));
	} else if (t_3 <= 1e+154) {
		tmp = sqrt((t_2 * fma(((U_42_ - U) * (n * (l_m / Om))), (l_m / Om), fma(-2.0, t_1, t))));
	} else {
		tmp = sqrt(((U * n) * fma((n / Om), ((U_42_ - U) / Om), (-2.0 / Om)))) * (l_m * sqrt(2.0));
	}
	return tmp;
}
l_m = abs(l)
function code(n, U, t, l_m, Om, U_42_)
	t_1 = Float64(Float64(l_m * l_m) / Om)
	t_2 = Float64(Float64(2.0 * n) * U)
	t_3 = sqrt(Float64(t_2 * Float64(Float64(t - Float64(2.0 * t_1)) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_)))))
	tmp = 0.0
	if (t_3 <= 0.0)
		tmp = Float64(sqrt(Float64(fma(Float64(Float64(l_m / Om) * l_m), -2.0, t) * U)) * sqrt(Float64(2.0 * n)));
	elseif (t_3 <= 1e+154)
		tmp = sqrt(Float64(t_2 * fma(Float64(Float64(U_42_ - U) * Float64(n * Float64(l_m / Om))), Float64(l_m / Om), fma(-2.0, t_1, t))));
	else
		tmp = Float64(sqrt(Float64(Float64(U * n) * fma(Float64(n / Om), Float64(Float64(U_42_ - U) / Om), Float64(-2.0 / Om)))) * Float64(l_m * sqrt(2.0)));
	end
	return tmp
end
l_m = N[Abs[l], $MachinePrecision]
code[n_, U_, t_, l$95$m_, Om_, U$42$_] := Block[{t$95$1 = N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]}, Block[{t$95$2 = N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision]}, Block[{t$95$3 = N[Sqrt[N[(t$95$2 * N[(N[(t - N[(2.0 * t$95$1), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$3, 0.0], N[(N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * l$95$m), $MachinePrecision] * -2.0 + t), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, 1e+154], N[Sqrt[N[(t$95$2 * N[(N[(N[(U$42$ - U), $MachinePrecision] * N[(n * N[(l$95$m / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(l$95$m / Om), $MachinePrecision] + N[(-2.0 * t$95$1 + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(N[(U * n), $MachinePrecision] * N[(N[(n / Om), $MachinePrecision] * N[(N[(U$42$ - U), $MachinePrecision] / Om), $MachinePrecision] + N[(-2.0 / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[(l$95$m * N[Sqrt[2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
l_m = \left|\ell\right|

\\
\begin{array}{l}
t_1 := \frac{l\_m \cdot l\_m}{Om}\\
t_2 := \left(2 \cdot n\right) \cdot U\\
t_3 := \sqrt{t\_2 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}\\
\mathbf{if}\;t\_3 \leq 0:\\
\;\;\;\;\sqrt{\mathsf{fma}\left(\frac{l\_m}{Om} \cdot l\_m, -2, t\right) \cdot U} \cdot \sqrt{2 \cdot n}\\

\mathbf{elif}\;t\_3 \leq 10^{+154}:\\
\;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(\left(U* - U\right) \cdot \left(n \cdot \frac{l\_m}{Om}\right), \frac{l\_m}{Om}, \mathsf{fma}\left(-2, t\_1, t\right)\right)}\\

\mathbf{else}:\\
\;\;\;\;\sqrt{\left(U \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U* - U}{Om}, \frac{-2}{Om}\right)} \cdot \left(l\_m \cdot \sqrt{2}\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*))))) < 0.0

    1. Initial program 8.6%

      \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
    2. Add Preprocessing
    3. Taylor expanded in n around 0

      \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \cdot \sqrt{2}} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
      3. lower-sqrt.f64N/A

        \[\leadsto \color{blue}{\sqrt{2}} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
      4. lower-sqrt.f64N/A

        \[\leadsto \sqrt{2} \cdot \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
      5. *-commutativeN/A

        \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
      6. lower-*.f64N/A

        \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
      7. *-commutativeN/A

        \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
      8. lower-*.f64N/A

        \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
      9. cancel-sign-sub-invN/A

        \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot n\right) \cdot U} \]
      10. metadata-evalN/A

        \[\leadsto \sqrt{2} \cdot \sqrt{\left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right) \cdot U} \]
      11. +-commutativeN/A

        \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot n\right) \cdot U} \]
      12. lower-fma.f64N/A

        \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot n\right) \cdot U} \]
      13. lower-/.f64N/A

        \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot n\right) \cdot U} \]
      14. unpow2N/A

        \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
      15. lower-*.f6432.9

        \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
    5. Applied rewrites32.9%

      \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot n\right) \cdot U}} \]
    6. Step-by-step derivation
      1. Applied rewrites45.0%

        \[\leadsto \sqrt{\mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right) \cdot U} \cdot \color{blue}{\sqrt{2 \cdot n}} \]

      if 0.0 < (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*))))) < 1.00000000000000004e154

      1. Initial program 97.0%

        \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
      2. Add Preprocessing
      3. Step-by-step derivation
        1. lift--.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
        2. sub-negN/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
        3. +-commutativeN/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
        4. lift-*.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        5. *-commutativeN/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        6. distribute-lft-neg-inN/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        7. lift-*.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        8. lift-pow.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        9. unpow2N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        10. associate-*r*N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        11. associate-*r*N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        12. lower-fma.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
        13. lower-*.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        14. lower-neg.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        15. lower-*.f6498.6

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        16. lift--.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
        17. sub-negN/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
      4. Applied rewrites98.6%

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
      5. Taylor expanded in U around 0

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(U* + -1 \cdot U\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
      6. Step-by-step derivation
        1. mul-1-negN/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(U* + \color{blue}{\left(\mathsf{neg}\left(U\right)\right)}\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
        2. sub-negN/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(U* - U\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
        3. lower--.f6498.6

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(U* - U\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
      7. Applied rewrites98.6%

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(U* - U\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]

      if 1.00000000000000004e154 < (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))))

      1. Initial program 20.8%

        \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
      2. Add Preprocessing
      3. Step-by-step derivation
        1. lift--.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
        2. sub-negN/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
        3. +-commutativeN/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
        4. lift-*.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        5. *-commutativeN/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        6. distribute-lft-neg-inN/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        7. lift-*.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        8. lift-pow.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        9. unpow2N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        10. associate-*r*N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        11. associate-*r*N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        12. lower-fma.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
        13. lower-*.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        14. lower-neg.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        15. lower-*.f6423.7

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        16. lift--.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
        17. sub-negN/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
      4. Applied rewrites23.7%

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
      5. Step-by-step derivation
        1. lift-fma.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
        2. *-commutativeN/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
        3. lower-fma.f6423.7

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
        4. lift-*.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
        5. *-commutativeN/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
        6. lower-*.f6423.7

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
        7. lift-*.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
        8. *-commutativeN/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
        9. lower-*.f6423.7

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
        10. lift-fma.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
        11. *-commutativeN/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
        12. lower-fma.f6423.7

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
        13. lift-/.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
        14. lift-*.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
        15. associate-*l/N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
        16. lift-/.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om}} \cdot \ell, -2, t\right)\right)} \]
        17. lower-*.f6429.1

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
      6. Applied rewrites29.1%

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
      7. Taylor expanded in l around inf

        \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(\frac{n \cdot \left(U* - U\right)}{{Om}^{2}} - 2 \cdot \frac{1}{Om}\right)\right)} \cdot \left(\ell \cdot \sqrt{2}\right)} \]
      8. Step-by-step derivation
        1. lower-*.f64N/A

          \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(\frac{n \cdot \left(U* - U\right)}{{Om}^{2}} - 2 \cdot \frac{1}{Om}\right)\right)} \cdot \left(\ell \cdot \sqrt{2}\right)} \]
      9. Applied rewrites24.2%

        \[\leadsto \color{blue}{\sqrt{\left(U \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U* - U}{Om}, \frac{-2}{Om}\right)} \cdot \left(\ell \cdot \sqrt{2}\right)} \]
    7. Recombined 3 regimes into one program.
    8. Add Preprocessing

    Alternative 2: 64.4% accurate, 0.3× speedup?

    \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \frac{l\_m \cdot l\_m}{Om}\\ t_2 := \left(2 \cdot n\right) \cdot U\\ t_3 := \sqrt{t\_2 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}\\ \mathbf{if}\;t\_3 \leq 0:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(\frac{l\_m}{Om} \cdot l\_m, -2, t\right) \cdot U} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;t\_3 \leq 2 \cdot 10^{+79}:\\ \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(\frac{U* \cdot \left(l\_m \cdot n\right)}{Om}, \frac{l\_m}{Om}, \mathsf{fma}\left(-2, t\_1, t\right)\right)}\\ \mathbf{elif}\;t\_3 \leq 10^{+154}:\\ \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, \mathsf{fma}\left(-U, \frac{n}{Om} \cdot t\_1, t\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(U \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U* - U}{Om}, \frac{-2}{Om}\right)} \cdot \left(l\_m \cdot \sqrt{2}\right)\\ \end{array} \end{array} \]
    l_m = (fabs.f64 l)
    (FPCore (n U t l_m Om U*)
     :precision binary64
     (let* ((t_1 (/ (* l_m l_m) Om))
            (t_2 (* (* 2.0 n) U))
            (t_3
             (sqrt
              (*
               t_2
               (- (- t (* 2.0 t_1)) (* (* n (pow (/ l_m Om) 2.0)) (- U U*)))))))
       (if (<= t_3 0.0)
         (* (sqrt (* (fma (* (/ l_m Om) l_m) -2.0 t) U)) (sqrt (* 2.0 n)))
         (if (<= t_3 2e+79)
           (sqrt (* t_2 (fma (/ (* U* (* l_m n)) Om) (/ l_m Om) (fma -2.0 t_1 t))))
           (if (<= t_3 1e+154)
             (sqrt (* t_2 (fma -2.0 t_1 (fma (- U) (* (/ n Om) t_1) t))))
             (*
              (sqrt (* (* U n) (fma (/ n Om) (/ (- U* U) Om) (/ -2.0 Om))))
              (* l_m (sqrt 2.0))))))))
    l_m = fabs(l);
    double code(double n, double U, double t, double l_m, double Om, double U_42_) {
    	double t_1 = (l_m * l_m) / Om;
    	double t_2 = (2.0 * n) * U;
    	double t_3 = sqrt((t_2 * ((t - (2.0 * t_1)) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_)))));
    	double tmp;
    	if (t_3 <= 0.0) {
    		tmp = sqrt((fma(((l_m / Om) * l_m), -2.0, t) * U)) * sqrt((2.0 * n));
    	} else if (t_3 <= 2e+79) {
    		tmp = sqrt((t_2 * fma(((U_42_ * (l_m * n)) / Om), (l_m / Om), fma(-2.0, t_1, t))));
    	} else if (t_3 <= 1e+154) {
    		tmp = sqrt((t_2 * fma(-2.0, t_1, fma(-U, ((n / Om) * t_1), t))));
    	} else {
    		tmp = sqrt(((U * n) * fma((n / Om), ((U_42_ - U) / Om), (-2.0 / Om)))) * (l_m * sqrt(2.0));
    	}
    	return tmp;
    }
    
    l_m = abs(l)
    function code(n, U, t, l_m, Om, U_42_)
    	t_1 = Float64(Float64(l_m * l_m) / Om)
    	t_2 = Float64(Float64(2.0 * n) * U)
    	t_3 = sqrt(Float64(t_2 * Float64(Float64(t - Float64(2.0 * t_1)) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_)))))
    	tmp = 0.0
    	if (t_3 <= 0.0)
    		tmp = Float64(sqrt(Float64(fma(Float64(Float64(l_m / Om) * l_m), -2.0, t) * U)) * sqrt(Float64(2.0 * n)));
    	elseif (t_3 <= 2e+79)
    		tmp = sqrt(Float64(t_2 * fma(Float64(Float64(U_42_ * Float64(l_m * n)) / Om), Float64(l_m / Om), fma(-2.0, t_1, t))));
    	elseif (t_3 <= 1e+154)
    		tmp = sqrt(Float64(t_2 * fma(-2.0, t_1, fma(Float64(-U), Float64(Float64(n / Om) * t_1), t))));
    	else
    		tmp = Float64(sqrt(Float64(Float64(U * n) * fma(Float64(n / Om), Float64(Float64(U_42_ - U) / Om), Float64(-2.0 / Om)))) * Float64(l_m * sqrt(2.0)));
    	end
    	return tmp
    end
    
    l_m = N[Abs[l], $MachinePrecision]
    code[n_, U_, t_, l$95$m_, Om_, U$42$_] := Block[{t$95$1 = N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]}, Block[{t$95$2 = N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision]}, Block[{t$95$3 = N[Sqrt[N[(t$95$2 * N[(N[(t - N[(2.0 * t$95$1), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$3, 0.0], N[(N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * l$95$m), $MachinePrecision] * -2.0 + t), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, 2e+79], N[Sqrt[N[(t$95$2 * N[(N[(N[(U$42$ * N[(l$95$m * n), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision] * N[(l$95$m / Om), $MachinePrecision] + N[(-2.0 * t$95$1 + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], If[LessEqual[t$95$3, 1e+154], N[Sqrt[N[(t$95$2 * N[(-2.0 * t$95$1 + N[((-U) * N[(N[(n / Om), $MachinePrecision] * t$95$1), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(N[(U * n), $MachinePrecision] * N[(N[(n / Om), $MachinePrecision] * N[(N[(U$42$ - U), $MachinePrecision] / Om), $MachinePrecision] + N[(-2.0 / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[(l$95$m * N[Sqrt[2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
    
    \begin{array}{l}
    l_m = \left|\ell\right|
    
    \\
    \begin{array}{l}
    t_1 := \frac{l\_m \cdot l\_m}{Om}\\
    t_2 := \left(2 \cdot n\right) \cdot U\\
    t_3 := \sqrt{t\_2 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}\\
    \mathbf{if}\;t\_3 \leq 0:\\
    \;\;\;\;\sqrt{\mathsf{fma}\left(\frac{l\_m}{Om} \cdot l\_m, -2, t\right) \cdot U} \cdot \sqrt{2 \cdot n}\\
    
    \mathbf{elif}\;t\_3 \leq 2 \cdot 10^{+79}:\\
    \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(\frac{U* \cdot \left(l\_m \cdot n\right)}{Om}, \frac{l\_m}{Om}, \mathsf{fma}\left(-2, t\_1, t\right)\right)}\\
    
    \mathbf{elif}\;t\_3 \leq 10^{+154}:\\
    \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, \mathsf{fma}\left(-U, \frac{n}{Om} \cdot t\_1, t\right)\right)}\\
    
    \mathbf{else}:\\
    \;\;\;\;\sqrt{\left(U \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U* - U}{Om}, \frac{-2}{Om}\right)} \cdot \left(l\_m \cdot \sqrt{2}\right)\\
    
    
    \end{array}
    \end{array}
    
    Derivation
    1. Split input into 4 regimes
    2. if (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*))))) < 0.0

      1. Initial program 8.6%

        \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
      2. Add Preprocessing
      3. Taylor expanded in n around 0

        \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \cdot \sqrt{2}} \]
      4. Step-by-step derivation
        1. *-commutativeN/A

          \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
        2. lower-*.f64N/A

          \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
        3. lower-sqrt.f64N/A

          \[\leadsto \color{blue}{\sqrt{2}} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
        4. lower-sqrt.f64N/A

          \[\leadsto \sqrt{2} \cdot \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
        5. *-commutativeN/A

          \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
        6. lower-*.f64N/A

          \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
        7. *-commutativeN/A

          \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
        8. lower-*.f64N/A

          \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
        9. cancel-sign-sub-invN/A

          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot n\right) \cdot U} \]
        10. metadata-evalN/A

          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right) \cdot U} \]
        11. +-commutativeN/A

          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot n\right) \cdot U} \]
        12. lower-fma.f64N/A

          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot n\right) \cdot U} \]
        13. lower-/.f64N/A

          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot n\right) \cdot U} \]
        14. unpow2N/A

          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
        15. lower-*.f6432.9

          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
      5. Applied rewrites32.9%

        \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot n\right) \cdot U}} \]
      6. Step-by-step derivation
        1. Applied rewrites45.0%

          \[\leadsto \sqrt{\mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right) \cdot U} \cdot \color{blue}{\sqrt{2 \cdot n}} \]

        if 0.0 < (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*))))) < 1.99999999999999993e79

        1. Initial program 96.2%

          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
        2. Add Preprocessing
        3. Step-by-step derivation
          1. lift--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
          2. sub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
          3. +-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
          4. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. distribute-lft-neg-inN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. lift-pow.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. unpow2N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          10. associate-*r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          11. associate-*r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          12. lower-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          13. lower-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          14. lower-neg.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          15. lower-*.f6498.3

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          16. lift--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
          17. sub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
        4. Applied rewrites98.3%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
        5. Taylor expanded in U around 0

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
        6. Step-by-step derivation
          1. lower-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          2. lower-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\color{blue}{U* \cdot \left(\ell \cdot n\right)}}{Om}, \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          3. lower-*.f6496.1

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{U* \cdot \color{blue}{\left(\ell \cdot n\right)}}{Om}, \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
        7. Applied rewrites96.1%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]

        if 1.99999999999999993e79 < (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*))))) < 1.00000000000000004e154

        1. Initial program 99.6%

          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
        2. Add Preprocessing
        3. Taylor expanded in U* around 0

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - \left(2 \cdot \frac{{\ell}^{2}}{Om} + \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}\right)\right)}} \]
        4. Step-by-step derivation
          1. associate--r+N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) - \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}\right)}} \]
          2. cancel-sign-sub-invN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} - \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}\right)} \]
          3. metadata-evalN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) - \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}\right)} \]
          4. +-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} - \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}\right)} \]
          5. metadata-evalN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\color{blue}{\left(\mathsf{neg}\left(2\right)\right)} \cdot \frac{{\ell}^{2}}{Om} + t\right) - \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}\right)} \]
          6. distribute-lft-neg-inN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\color{blue}{\left(\mathsf{neg}\left(2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} + t\right) - \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}\right)} \]
          7. associate--l+N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) + \left(t - \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}\right)\right)}} \]
          8. distribute-lft-neg-inN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}} + \left(t - \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}\right)\right)} \]
          9. metadata-evalN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om} + \left(t - \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}\right)\right)} \]
          10. unsub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(-2 \cdot \frac{{\ell}^{2}}{Om} + \color{blue}{\left(t + \left(\mathsf{neg}\left(\frac{U \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}\right)\right)\right)}\right)} \]
          11. mul-1-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(-2 \cdot \frac{{\ell}^{2}}{Om} + \left(t + \color{blue}{-1 \cdot \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}}\right)\right)} \]
          12. lower-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t + -1 \cdot \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}\right)}} \]
          13. lower-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t + -1 \cdot \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}\right)} \]
          14. unpow2N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t + -1 \cdot \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}\right)} \]
          15. lower-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t + -1 \cdot \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}\right)} \]
        5. Applied rewrites99.7%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, \mathsf{fma}\left(-U, \frac{n}{Om} \cdot \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]

        if 1.00000000000000004e154 < (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))))

        1. Initial program 20.8%

          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
        2. Add Preprocessing
        3. Step-by-step derivation
          1. lift--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
          2. sub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
          3. +-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
          4. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. distribute-lft-neg-inN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. lift-pow.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. unpow2N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          10. associate-*r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          11. associate-*r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          12. lower-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          13. lower-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          14. lower-neg.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          15. lower-*.f6423.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          16. lift--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
          17. sub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
        4. Applied rewrites23.7%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
        5. Step-by-step derivation
          1. lift-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
          2. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          3. lower-fma.f6423.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
          4. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          6. lower-*.f6423.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          7. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          8. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          9. lower-*.f6423.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          10. lift-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
          11. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
          12. lower-fma.f6423.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
          13. lift-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
          14. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
          15. associate-*l/N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
          16. lift-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om}} \cdot \ell, -2, t\right)\right)} \]
          17. lower-*.f6429.1

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
        6. Applied rewrites29.1%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
        7. Taylor expanded in l around inf

          \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(\frac{n \cdot \left(U* - U\right)}{{Om}^{2}} - 2 \cdot \frac{1}{Om}\right)\right)} \cdot \left(\ell \cdot \sqrt{2}\right)} \]
        8. Step-by-step derivation
          1. lower-*.f64N/A

            \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(\frac{n \cdot \left(U* - U\right)}{{Om}^{2}} - 2 \cdot \frac{1}{Om}\right)\right)} \cdot \left(\ell \cdot \sqrt{2}\right)} \]
        9. Applied rewrites24.2%

          \[\leadsto \color{blue}{\sqrt{\left(U \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U* - U}{Om}, \frac{-2}{Om}\right)} \cdot \left(\ell \cdot \sqrt{2}\right)} \]
      7. Recombined 4 regimes into one program.
      8. Add Preprocessing

      Alternative 3: 63.1% accurate, 0.4× speedup?

      \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \left(2 \cdot n\right) \cdot U\\ t_2 := t\_1 \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\ \mathbf{if}\;t\_2 \leq 5 \cdot 10^{-41}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \mathsf{fma}\left(\left(U* - U\right) \cdot n, \frac{l\_m}{Om}, -2 \cdot l\_m\right), t\right) \cdot U\right) \cdot \left(2 \cdot n\right)}\\ \mathbf{elif}\;t\_2 \leq 5 \cdot 10^{+307}:\\ \;\;\;\;\sqrt{t\_1 \cdot \left(t - \frac{\left(l\_m \cdot l\_m\right) \cdot \mathsf{fma}\left(U - U*, \frac{n}{Om}, 2\right)}{Om}\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(U \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U* - U}{Om}, \frac{-2}{Om}\right)} \cdot \left(l\_m \cdot \sqrt{2}\right)\\ \end{array} \end{array} \]
      l_m = (fabs.f64 l)
      (FPCore (n U t l_m Om U*)
       :precision binary64
       (let* ((t_1 (* (* 2.0 n) U))
              (t_2
               (*
                t_1
                (-
                 (- t (* 2.0 (/ (* l_m l_m) Om)))
                 (* (* n (pow (/ l_m Om) 2.0)) (- U U*))))))
         (if (<= t_2 5e-41)
           (sqrt
            (*
             (* (fma (/ l_m Om) (fma (* (- U* U) n) (/ l_m Om) (* -2.0 l_m)) t) U)
             (* 2.0 n)))
           (if (<= t_2 5e+307)
             (sqrt (* t_1 (- t (/ (* (* l_m l_m) (fma (- U U*) (/ n Om) 2.0)) Om))))
             (*
              (sqrt (* (* U n) (fma (/ n Om) (/ (- U* U) Om) (/ -2.0 Om))))
              (* l_m (sqrt 2.0)))))))
      l_m = fabs(l);
      double code(double n, double U, double t, double l_m, double Om, double U_42_) {
      	double t_1 = (2.0 * n) * U;
      	double t_2 = t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_)));
      	double tmp;
      	if (t_2 <= 5e-41) {
      		tmp = sqrt(((fma((l_m / Om), fma(((U_42_ - U) * n), (l_m / Om), (-2.0 * l_m)), t) * U) * (2.0 * n)));
      	} else if (t_2 <= 5e+307) {
      		tmp = sqrt((t_1 * (t - (((l_m * l_m) * fma((U - U_42_), (n / Om), 2.0)) / Om))));
      	} else {
      		tmp = sqrt(((U * n) * fma((n / Om), ((U_42_ - U) / Om), (-2.0 / Om)))) * (l_m * sqrt(2.0));
      	}
      	return tmp;
      }
      
      l_m = abs(l)
      function code(n, U, t, l_m, Om, U_42_)
      	t_1 = Float64(Float64(2.0 * n) * U)
      	t_2 = Float64(t_1 * Float64(Float64(t - Float64(2.0 * Float64(Float64(l_m * l_m) / Om))) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_))))
      	tmp = 0.0
      	if (t_2 <= 5e-41)
      		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), fma(Float64(Float64(U_42_ - U) * n), Float64(l_m / Om), Float64(-2.0 * l_m)), t) * U) * Float64(2.0 * n)));
      	elseif (t_2 <= 5e+307)
      		tmp = sqrt(Float64(t_1 * Float64(t - Float64(Float64(Float64(l_m * l_m) * fma(Float64(U - U_42_), Float64(n / Om), 2.0)) / Om))));
      	else
      		tmp = Float64(sqrt(Float64(Float64(U * n) * fma(Float64(n / Om), Float64(Float64(U_42_ - U) / Om), Float64(-2.0 / Om)))) * Float64(l_m * sqrt(2.0)));
      	end
      	return tmp
      end
      
      l_m = N[Abs[l], $MachinePrecision]
      code[n_, U_, t_, l$95$m_, Om_, U$42$_] := Block[{t$95$1 = N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision]}, Block[{t$95$2 = N[(t$95$1 * N[(N[(t - N[(2.0 * N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, 5e-41], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(N[(N[(U$42$ - U), $MachinePrecision] * n), $MachinePrecision] * N[(l$95$m / Om), $MachinePrecision] + N[(-2.0 * l$95$m), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision] * U), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], If[LessEqual[t$95$2, 5e+307], N[Sqrt[N[(t$95$1 * N[(t - N[(N[(N[(l$95$m * l$95$m), $MachinePrecision] * N[(N[(U - U$42$), $MachinePrecision] * N[(n / Om), $MachinePrecision] + 2.0), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(N[(U * n), $MachinePrecision] * N[(N[(n / Om), $MachinePrecision] * N[(N[(U$42$ - U), $MachinePrecision] / Om), $MachinePrecision] + N[(-2.0 / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[(l$95$m * N[Sqrt[2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
      
      \begin{array}{l}
      l_m = \left|\ell\right|
      
      \\
      \begin{array}{l}
      t_1 := \left(2 \cdot n\right) \cdot U\\
      t_2 := t\_1 \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\
      \mathbf{if}\;t\_2 \leq 5 \cdot 10^{-41}:\\
      \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \mathsf{fma}\left(\left(U* - U\right) \cdot n, \frac{l\_m}{Om}, -2 \cdot l\_m\right), t\right) \cdot U\right) \cdot \left(2 \cdot n\right)}\\
      
      \mathbf{elif}\;t\_2 \leq 5 \cdot 10^{+307}:\\
      \;\;\;\;\sqrt{t\_1 \cdot \left(t - \frac{\left(l\_m \cdot l\_m\right) \cdot \mathsf{fma}\left(U - U*, \frac{n}{Om}, 2\right)}{Om}\right)}\\
      
      \mathbf{else}:\\
      \;\;\;\;\sqrt{\left(U \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U* - U}{Om}, \frac{-2}{Om}\right)} \cdot \left(l\_m \cdot \sqrt{2}\right)\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))) < 4.9999999999999996e-41

        1. Initial program 59.4%

          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
        2. Add Preprocessing
        3. Step-by-step derivation
          1. lift--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
          2. sub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
          3. +-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
          4. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. distribute-lft-neg-inN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. lift-pow.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. unpow2N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          10. associate-*r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          11. associate-*r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          12. lower-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          13. lower-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          14. lower-neg.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          15. lower-*.f6462.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          16. lift--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
          17. sub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
        4. Applied rewrites62.7%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
        5. Step-by-step derivation
          1. lift-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
          2. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          3. lower-fma.f6462.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
          4. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          6. lower-*.f6462.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          7. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          8. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          9. lower-*.f6462.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          10. lift-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
          11. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
          12. lower-fma.f6462.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
          13. lift-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
          14. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
          15. associate-*l/N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
          16. lift-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om}} \cdot \ell, -2, t\right)\right)} \]
          17. lower-*.f6462.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
        6. Applied rewrites62.7%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
        7. Step-by-step derivation
          1. lift-*.f64N/A

            \[\leadsto \sqrt{\color{blue}{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
          2. lift-*.f64N/A

            \[\leadsto \sqrt{\color{blue}{\left(\left(2 \cdot n\right) \cdot U\right)} \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)} \]
          3. associate-*l*N/A

            \[\leadsto \sqrt{\color{blue}{\left(2 \cdot n\right) \cdot \left(U \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)\right)}} \]
          4. *-commutativeN/A

            \[\leadsto \sqrt{\color{blue}{\left(U \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)\right) \cdot \left(2 \cdot n\right)}} \]
          5. lower-*.f64N/A

            \[\leadsto \sqrt{\color{blue}{\left(U \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)\right) \cdot \left(2 \cdot n\right)}} \]
        8. Applied rewrites71.4%

          \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(U* - U\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot U\right) \cdot \left(2 \cdot n\right)}} \]

        if 4.9999999999999996e-41 < (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))) < 5e307

        1. Initial program 98.2%

          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
        2. Add Preprocessing
        3. Taylor expanded in n around 0

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t + -1 \cdot \frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}}\right) - 2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        4. Step-by-step derivation
          1. mul-1-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t + \color{blue}{\left(\mathsf{neg}\left(\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}}\right)\right)}\right) - 2 \cdot \frac{{\ell}^{2}}{Om}\right)} \]
          2. unsub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(t - \frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}}\right)} - 2 \cdot \frac{{\ell}^{2}}{Om}\right)} \]
          3. associate--r+N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - \left(\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
          4. +-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \color{blue}{\left(2 \cdot \frac{{\ell}^{2}}{Om} + \frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}}\right)}\right)} \]
          5. lower--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - \left(2 \cdot \frac{{\ell}^{2}}{Om} + \frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}}\right)\right)}} \]
          6. +-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \color{blue}{\left(\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)}\right)} \]
          7. unpow2N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{\color{blue}{Om \cdot Om}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
          8. associate-/r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(\color{blue}{\frac{\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{Om}}{Om}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
          9. metadata-evalN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(\frac{\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{Om}}{Om} + \color{blue}{\left(\mathsf{neg}\left(-2\right)\right)} \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
          10. cancel-sign-sub-invN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \color{blue}{\left(\frac{\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{Om}}{Om} - -2 \cdot \frac{{\ell}^{2}}{Om}\right)}\right)} \]
          11. associate-*r/N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(\frac{\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{Om}}{Om} - \color{blue}{\frac{-2 \cdot {\ell}^{2}}{Om}}\right)\right)} \]
        5. Applied rewrites95.2%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - \frac{\left(\ell \cdot \ell\right) \cdot \mathsf{fma}\left(U - U*, \frac{n}{Om}, 2\right)}{Om}\right)}} \]

        if 5e307 < (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*))))

        1. Initial program 21.4%

          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
        2. Add Preprocessing
        3. Step-by-step derivation
          1. lift--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
          2. sub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
          3. +-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
          4. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. distribute-lft-neg-inN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. lift-pow.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. unpow2N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          10. associate-*r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          11. associate-*r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          12. lower-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          13. lower-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          14. lower-neg.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          15. lower-*.f6422.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          16. lift--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
          17. sub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
        4. Applied rewrites22.7%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
        5. Step-by-step derivation
          1. lift-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
          2. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          3. lower-fma.f6422.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
          4. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          6. lower-*.f6422.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          7. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          8. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          9. lower-*.f6422.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          10. lift-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
          11. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
          12. lower-fma.f6422.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
          13. lift-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
          14. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
          15. associate-*l/N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
          16. lift-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om}} \cdot \ell, -2, t\right)\right)} \]
          17. lower-*.f6428.2

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
        6. Applied rewrites28.2%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
        7. Taylor expanded in l around inf

          \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(\frac{n \cdot \left(U* - U\right)}{{Om}^{2}} - 2 \cdot \frac{1}{Om}\right)\right)} \cdot \left(\ell \cdot \sqrt{2}\right)} \]
        8. Step-by-step derivation
          1. lower-*.f64N/A

            \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(\frac{n \cdot \left(U* - U\right)}{{Om}^{2}} - 2 \cdot \frac{1}{Om}\right)\right)} \cdot \left(\ell \cdot \sqrt{2}\right)} \]
        9. Applied rewrites24.8%

          \[\leadsto \color{blue}{\sqrt{\left(U \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U* - U}{Om}, \frac{-2}{Om}\right)} \cdot \left(\ell \cdot \sqrt{2}\right)} \]
      3. Recombined 3 regimes into one program.
      4. Add Preprocessing

      Alternative 4: 59.3% accurate, 0.4× speedup?

      \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \left(2 \cdot n\right) \cdot U\\ t_2 := t\_1 \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\ \mathbf{if}\;t\_2 \leq 5 \cdot 10^{-41}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \mathsf{fma}\left(\left(U* - U\right) \cdot n, \frac{l\_m}{Om}, -2 \cdot l\_m\right), t\right) \cdot U\right) \cdot \left(2 \cdot n\right)}\\ \mathbf{elif}\;t\_2 \leq 5 \cdot 10^{+307}:\\ \;\;\;\;\sqrt{t\_1 \cdot \left(t - \frac{\left(l\_m \cdot l\_m\right) \cdot \mathsf{fma}\left(U - U*, \frac{n}{Om}, 2\right)}{Om}\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(2 \cdot \frac{l\_m \cdot \left(n \cdot \mathsf{fma}\left(-2, l\_m, \frac{l\_m \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)}{Om}\right) \cdot U}\\ \end{array} \end{array} \]
      l_m = (fabs.f64 l)
      (FPCore (n U t l_m Om U*)
       :precision binary64
       (let* ((t_1 (* (* 2.0 n) U))
              (t_2
               (*
                t_1
                (-
                 (- t (* 2.0 (/ (* l_m l_m) Om)))
                 (* (* n (pow (/ l_m Om) 2.0)) (- U U*))))))
         (if (<= t_2 5e-41)
           (sqrt
            (*
             (* (fma (/ l_m Om) (fma (* (- U* U) n) (/ l_m Om) (* -2.0 l_m)) t) U)
             (* 2.0 n)))
           (if (<= t_2 5e+307)
             (sqrt (* t_1 (- t (/ (* (* l_m l_m) (fma (- U U*) (/ n Om) 2.0)) Om))))
             (sqrt
              (*
               (*
                2.0
                (/ (* l_m (* n (fma -2.0 l_m (/ (* l_m (* n (- U* U))) Om)))) Om))
               U))))))
      l_m = fabs(l);
      double code(double n, double U, double t, double l_m, double Om, double U_42_) {
      	double t_1 = (2.0 * n) * U;
      	double t_2 = t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_)));
      	double tmp;
      	if (t_2 <= 5e-41) {
      		tmp = sqrt(((fma((l_m / Om), fma(((U_42_ - U) * n), (l_m / Om), (-2.0 * l_m)), t) * U) * (2.0 * n)));
      	} else if (t_2 <= 5e+307) {
      		tmp = sqrt((t_1 * (t - (((l_m * l_m) * fma((U - U_42_), (n / Om), 2.0)) / Om))));
      	} else {
      		tmp = sqrt(((2.0 * ((l_m * (n * fma(-2.0, l_m, ((l_m * (n * (U_42_ - U))) / Om)))) / Om)) * U));
      	}
      	return tmp;
      }
      
      l_m = abs(l)
      function code(n, U, t, l_m, Om, U_42_)
      	t_1 = Float64(Float64(2.0 * n) * U)
      	t_2 = Float64(t_1 * Float64(Float64(t - Float64(2.0 * Float64(Float64(l_m * l_m) / Om))) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_))))
      	tmp = 0.0
      	if (t_2 <= 5e-41)
      		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), fma(Float64(Float64(U_42_ - U) * n), Float64(l_m / Om), Float64(-2.0 * l_m)), t) * U) * Float64(2.0 * n)));
      	elseif (t_2 <= 5e+307)
      		tmp = sqrt(Float64(t_1 * Float64(t - Float64(Float64(Float64(l_m * l_m) * fma(Float64(U - U_42_), Float64(n / Om), 2.0)) / Om))));
      	else
      		tmp = sqrt(Float64(Float64(2.0 * Float64(Float64(l_m * Float64(n * fma(-2.0, l_m, Float64(Float64(l_m * Float64(n * Float64(U_42_ - U))) / Om)))) / Om)) * U));
      	end
      	return tmp
      end
      
      l_m = N[Abs[l], $MachinePrecision]
      code[n_, U_, t_, l$95$m_, Om_, U$42$_] := Block[{t$95$1 = N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision]}, Block[{t$95$2 = N[(t$95$1 * N[(N[(t - N[(2.0 * N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, 5e-41], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(N[(N[(U$42$ - U), $MachinePrecision] * n), $MachinePrecision] * N[(l$95$m / Om), $MachinePrecision] + N[(-2.0 * l$95$m), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision] * U), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], If[LessEqual[t$95$2, 5e+307], N[Sqrt[N[(t$95$1 * N[(t - N[(N[(N[(l$95$m * l$95$m), $MachinePrecision] * N[(N[(U - U$42$), $MachinePrecision] * N[(n / Om), $MachinePrecision] + 2.0), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(2.0 * N[(N[(l$95$m * N[(n * N[(-2.0 * l$95$m + N[(N[(l$95$m * N[(n * N[(U$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision]]]]]
      
      \begin{array}{l}
      l_m = \left|\ell\right|
      
      \\
      \begin{array}{l}
      t_1 := \left(2 \cdot n\right) \cdot U\\
      t_2 := t\_1 \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\
      \mathbf{if}\;t\_2 \leq 5 \cdot 10^{-41}:\\
      \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \mathsf{fma}\left(\left(U* - U\right) \cdot n, \frac{l\_m}{Om}, -2 \cdot l\_m\right), t\right) \cdot U\right) \cdot \left(2 \cdot n\right)}\\
      
      \mathbf{elif}\;t\_2 \leq 5 \cdot 10^{+307}:\\
      \;\;\;\;\sqrt{t\_1 \cdot \left(t - \frac{\left(l\_m \cdot l\_m\right) \cdot \mathsf{fma}\left(U - U*, \frac{n}{Om}, 2\right)}{Om}\right)}\\
      
      \mathbf{else}:\\
      \;\;\;\;\sqrt{\left(2 \cdot \frac{l\_m \cdot \left(n \cdot \mathsf{fma}\left(-2, l\_m, \frac{l\_m \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)}{Om}\right) \cdot U}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))) < 4.9999999999999996e-41

        1. Initial program 59.4%

          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
        2. Add Preprocessing
        3. Step-by-step derivation
          1. lift--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
          2. sub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
          3. +-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
          4. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. distribute-lft-neg-inN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. lift-pow.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. unpow2N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          10. associate-*r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          11. associate-*r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          12. lower-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          13. lower-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          14. lower-neg.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          15. lower-*.f6462.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          16. lift--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
          17. sub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
        4. Applied rewrites62.7%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
        5. Step-by-step derivation
          1. lift-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
          2. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          3. lower-fma.f6462.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
          4. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          6. lower-*.f6462.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          7. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          8. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          9. lower-*.f6462.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          10. lift-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
          11. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
          12. lower-fma.f6462.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
          13. lift-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
          14. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
          15. associate-*l/N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
          16. lift-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om}} \cdot \ell, -2, t\right)\right)} \]
          17. lower-*.f6462.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
        6. Applied rewrites62.7%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
        7. Step-by-step derivation
          1. lift-*.f64N/A

            \[\leadsto \sqrt{\color{blue}{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
          2. lift-*.f64N/A

            \[\leadsto \sqrt{\color{blue}{\left(\left(2 \cdot n\right) \cdot U\right)} \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)} \]
          3. associate-*l*N/A

            \[\leadsto \sqrt{\color{blue}{\left(2 \cdot n\right) \cdot \left(U \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)\right)}} \]
          4. *-commutativeN/A

            \[\leadsto \sqrt{\color{blue}{\left(U \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)\right) \cdot \left(2 \cdot n\right)}} \]
          5. lower-*.f64N/A

            \[\leadsto \sqrt{\color{blue}{\left(U \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)\right) \cdot \left(2 \cdot n\right)}} \]
        8. Applied rewrites71.4%

          \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(U* - U\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot U\right) \cdot \left(2 \cdot n\right)}} \]

        if 4.9999999999999996e-41 < (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))) < 5e307

        1. Initial program 98.2%

          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
        2. Add Preprocessing
        3. Taylor expanded in n around 0

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t + -1 \cdot \frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}}\right) - 2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        4. Step-by-step derivation
          1. mul-1-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t + \color{blue}{\left(\mathsf{neg}\left(\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}}\right)\right)}\right) - 2 \cdot \frac{{\ell}^{2}}{Om}\right)} \]
          2. unsub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(t - \frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}}\right)} - 2 \cdot \frac{{\ell}^{2}}{Om}\right)} \]
          3. associate--r+N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - \left(\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
          4. +-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \color{blue}{\left(2 \cdot \frac{{\ell}^{2}}{Om} + \frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}}\right)}\right)} \]
          5. lower--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - \left(2 \cdot \frac{{\ell}^{2}}{Om} + \frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}}\right)\right)}} \]
          6. +-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \color{blue}{\left(\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)}\right)} \]
          7. unpow2N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{\color{blue}{Om \cdot Om}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
          8. associate-/r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(\color{blue}{\frac{\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{Om}}{Om}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
          9. metadata-evalN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(\frac{\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{Om}}{Om} + \color{blue}{\left(\mathsf{neg}\left(-2\right)\right)} \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
          10. cancel-sign-sub-invN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \color{blue}{\left(\frac{\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{Om}}{Om} - -2 \cdot \frac{{\ell}^{2}}{Om}\right)}\right)} \]
          11. associate-*r/N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(\frac{\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{Om}}{Om} - \color{blue}{\frac{-2 \cdot {\ell}^{2}}{Om}}\right)\right)} \]
        5. Applied rewrites95.2%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - \frac{\left(\ell \cdot \ell\right) \cdot \mathsf{fma}\left(U - U*, \frac{n}{Om}, 2\right)}{Om}\right)}} \]

        if 5e307 < (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*))))

        1. Initial program 21.4%

          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
        2. Add Preprocessing
        3. Step-by-step derivation
          1. lift--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
          2. sub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
          3. +-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
          4. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. distribute-lft-neg-inN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. lift-pow.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. unpow2N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          10. associate-*r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          11. associate-*r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          12. lower-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          13. lower-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          14. lower-neg.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          15. lower-*.f6422.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          16. lift--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
          17. sub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
        4. Applied rewrites22.7%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
        5. Step-by-step derivation
          1. lift-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
          2. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          3. lower-fma.f6422.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
          4. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          6. lower-*.f6422.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          7. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          8. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          9. lower-*.f6422.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          10. lift-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
          11. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
          12. lower-fma.f6422.7

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
          13. lift-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
          14. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
          15. associate-*l/N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
          16. lift-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om}} \cdot \ell, -2, t\right)\right)} \]
          17. lower-*.f6428.2

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
        6. Applied rewrites28.2%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
        7. Step-by-step derivation
          1. lift-*.f64N/A

            \[\leadsto \sqrt{\color{blue}{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
          2. *-commutativeN/A

            \[\leadsto \sqrt{\color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)}} \]
          3. lift-*.f64N/A

            \[\leadsto \sqrt{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \color{blue}{\left(\left(2 \cdot n\right) \cdot U\right)}} \]
          4. associate-*r*N/A

            \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
          5. lower-*.f64N/A

            \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
        8. Applied rewrites33.0%

          \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(U* - U\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
        9. Taylor expanded in t around 0

          \[\leadsto \sqrt{\color{blue}{\left(2 \cdot \frac{\ell \cdot \left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)}{Om}\right)} \cdot U} \]
        10. Step-by-step derivation
          1. lower-*.f64N/A

            \[\leadsto \sqrt{\color{blue}{\left(2 \cdot \frac{\ell \cdot \left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)}{Om}\right)} \cdot U} \]
          2. lower-/.f64N/A

            \[\leadsto \sqrt{\left(2 \cdot \color{blue}{\frac{\ell \cdot \left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)}{Om}}\right) \cdot U} \]
          3. lower-*.f64N/A

            \[\leadsto \sqrt{\left(2 \cdot \frac{\color{blue}{\ell \cdot \left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)}}{Om}\right) \cdot U} \]
          4. lower-*.f64N/A

            \[\leadsto \sqrt{\left(2 \cdot \frac{\ell \cdot \color{blue}{\left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)}}{Om}\right) \cdot U} \]
          5. lower-fma.f64N/A

            \[\leadsto \sqrt{\left(2 \cdot \frac{\ell \cdot \left(n \cdot \color{blue}{\mathsf{fma}\left(-2, \ell, \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)}\right)}{Om}\right) \cdot U} \]
          6. lower-/.f64N/A

            \[\leadsto \sqrt{\left(2 \cdot \frac{\ell \cdot \left(n \cdot \mathsf{fma}\left(-2, \ell, \color{blue}{\frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}}\right)\right)}{Om}\right) \cdot U} \]
          7. lower-*.f64N/A

            \[\leadsto \sqrt{\left(2 \cdot \frac{\ell \cdot \left(n \cdot \mathsf{fma}\left(-2, \ell, \frac{\color{blue}{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}}{Om}\right)\right)}{Om}\right) \cdot U} \]
          8. lower-*.f64N/A

            \[\leadsto \sqrt{\left(2 \cdot \frac{\ell \cdot \left(n \cdot \mathsf{fma}\left(-2, \ell, \frac{\ell \cdot \color{blue}{\left(n \cdot \left(U* - U\right)\right)}}{Om}\right)\right)}{Om}\right) \cdot U} \]
          9. lower--.f6436.0

            \[\leadsto \sqrt{\left(2 \cdot \frac{\ell \cdot \left(n \cdot \mathsf{fma}\left(-2, \ell, \frac{\ell \cdot \left(n \cdot \color{blue}{\left(U* - U\right)}\right)}{Om}\right)\right)}{Om}\right) \cdot U} \]
        11. Applied rewrites36.0%

          \[\leadsto \sqrt{\color{blue}{\left(2 \cdot \frac{\ell \cdot \left(n \cdot \mathsf{fma}\left(-2, \ell, \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)}{Om}\right)} \cdot U} \]
      3. Recombined 3 regimes into one program.
      4. Add Preprocessing

      Alternative 5: 50.5% accurate, 0.4× speedup?

      \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \frac{l\_m \cdot l\_m}{Om}\\ t_2 := \mathsf{fma}\left(-2, t\_1, t\right)\\ t_3 := \left(2 \cdot n\right) \cdot U\\ t_4 := \sqrt{t\_3 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}\\ \mathbf{if}\;t\_4 \leq 2 \cdot 10^{-144}:\\ \;\;\;\;\sqrt{\left(\left(t\_2 \cdot n\right) \cdot U\right) \cdot 2}\\ \mathbf{elif}\;t\_4 \leq 10^{+154}:\\ \;\;\;\;\sqrt{t\_3 \cdot t\_2}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(\left(\left(l\_m \cdot \left(n \cdot \frac{l\_m}{Om}\right)\right) \cdot U\right) \cdot -2\right) \cdot 2}\\ \end{array} \end{array} \]
      l_m = (fabs.f64 l)
      (FPCore (n U t l_m Om U*)
       :precision binary64
       (let* ((t_1 (/ (* l_m l_m) Om))
              (t_2 (fma -2.0 t_1 t))
              (t_3 (* (* 2.0 n) U))
              (t_4
               (sqrt
                (*
                 t_3
                 (- (- t (* 2.0 t_1)) (* (* n (pow (/ l_m Om) 2.0)) (- U U*)))))))
         (if (<= t_4 2e-144)
           (sqrt (* (* (* t_2 n) U) 2.0))
           (if (<= t_4 1e+154)
             (sqrt (* t_3 t_2))
             (sqrt (* (* (* (* l_m (* n (/ l_m Om))) U) -2.0) 2.0))))))
      l_m = fabs(l);
      double code(double n, double U, double t, double l_m, double Om, double U_42_) {
      	double t_1 = (l_m * l_m) / Om;
      	double t_2 = fma(-2.0, t_1, t);
      	double t_3 = (2.0 * n) * U;
      	double t_4 = sqrt((t_3 * ((t - (2.0 * t_1)) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_)))));
      	double tmp;
      	if (t_4 <= 2e-144) {
      		tmp = sqrt((((t_2 * n) * U) * 2.0));
      	} else if (t_4 <= 1e+154) {
      		tmp = sqrt((t_3 * t_2));
      	} else {
      		tmp = sqrt(((((l_m * (n * (l_m / Om))) * U) * -2.0) * 2.0));
      	}
      	return tmp;
      }
      
      l_m = abs(l)
      function code(n, U, t, l_m, Om, U_42_)
      	t_1 = Float64(Float64(l_m * l_m) / Om)
      	t_2 = fma(-2.0, t_1, t)
      	t_3 = Float64(Float64(2.0 * n) * U)
      	t_4 = sqrt(Float64(t_3 * Float64(Float64(t - Float64(2.0 * t_1)) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_)))))
      	tmp = 0.0
      	if (t_4 <= 2e-144)
      		tmp = sqrt(Float64(Float64(Float64(t_2 * n) * U) * 2.0));
      	elseif (t_4 <= 1e+154)
      		tmp = sqrt(Float64(t_3 * t_2));
      	else
      		tmp = sqrt(Float64(Float64(Float64(Float64(l_m * Float64(n * Float64(l_m / Om))) * U) * -2.0) * 2.0));
      	end
      	return tmp
      end
      
      l_m = N[Abs[l], $MachinePrecision]
      code[n_, U_, t_, l$95$m_, Om_, U$42$_] := Block[{t$95$1 = N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]}, Block[{t$95$2 = N[(-2.0 * t$95$1 + t), $MachinePrecision]}, Block[{t$95$3 = N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision]}, Block[{t$95$4 = N[Sqrt[N[(t$95$3 * N[(N[(t - N[(2.0 * t$95$1), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$4, 2e-144], N[Sqrt[N[(N[(N[(t$95$2 * n), $MachinePrecision] * U), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision], If[LessEqual[t$95$4, 1e+154], N[Sqrt[N[(t$95$3 * t$95$2), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(N[(N[(l$95$m * N[(n * N[(l$95$m / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision] * -2.0), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision]]]]]]]
      
      \begin{array}{l}
      l_m = \left|\ell\right|
      
      \\
      \begin{array}{l}
      t_1 := \frac{l\_m \cdot l\_m}{Om}\\
      t_2 := \mathsf{fma}\left(-2, t\_1, t\right)\\
      t_3 := \left(2 \cdot n\right) \cdot U\\
      t_4 := \sqrt{t\_3 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}\\
      \mathbf{if}\;t\_4 \leq 2 \cdot 10^{-144}:\\
      \;\;\;\;\sqrt{\left(\left(t\_2 \cdot n\right) \cdot U\right) \cdot 2}\\
      
      \mathbf{elif}\;t\_4 \leq 10^{+154}:\\
      \;\;\;\;\sqrt{t\_3 \cdot t\_2}\\
      
      \mathbf{else}:\\
      \;\;\;\;\sqrt{\left(\left(\left(l\_m \cdot \left(n \cdot \frac{l\_m}{Om}\right)\right) \cdot U\right) \cdot -2\right) \cdot 2}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*))))) < 1.9999999999999999e-144

        1. Initial program 14.0%

          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
        2. Add Preprocessing
        3. Taylor expanded in n around 0

          \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)\right)}} \]
        4. Step-by-step derivation
          1. *-commutativeN/A

            \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)\right) \cdot 2}} \]
          2. lower-*.f64N/A

            \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)\right) \cdot 2}} \]
          3. *-commutativeN/A

            \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U\right)} \cdot 2} \]
          4. lower-*.f64N/A

            \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U\right)} \cdot 2} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{\left(\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U\right) \cdot 2} \]
          6. lower-*.f64N/A

            \[\leadsto \sqrt{\left(\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U\right) \cdot 2} \]
          7. cancel-sign-sub-invN/A

            \[\leadsto \sqrt{\left(\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot n\right) \cdot U\right) \cdot 2} \]
          8. metadata-evalN/A

            \[\leadsto \sqrt{\left(\left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right) \cdot U\right) \cdot 2} \]
          9. +-commutativeN/A

            \[\leadsto \sqrt{\left(\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot n\right) \cdot U\right) \cdot 2} \]
          10. lower-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot n\right) \cdot U\right) \cdot 2} \]
          11. lower-/.f64N/A

            \[\leadsto \sqrt{\left(\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot n\right) \cdot U\right) \cdot 2} \]
          12. unpow2N/A

            \[\leadsto \sqrt{\left(\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U\right) \cdot 2} \]
          13. lower-*.f6437.2

            \[\leadsto \sqrt{\left(\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U\right) \cdot 2} \]
        5. Applied rewrites37.2%

          \[\leadsto \sqrt{\color{blue}{\left(\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot n\right) \cdot U\right) \cdot 2}} \]

        if 1.9999999999999999e-144 < (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*))))) < 1.00000000000000004e154

        1. Initial program 96.9%

          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
        2. Add Preprocessing
        3. Taylor expanded in n around 0

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        4. Step-by-step derivation
          1. cancel-sign-sub-invN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
          2. metadata-evalN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right)} \]
          3. +-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)}} \]
          4. lower-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)}} \]
          5. lower-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right)} \]
          6. unpow2N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right)} \]
          7. lower-*.f6488.8

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right)} \]
        5. Applied rewrites88.8%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)}} \]

        if 1.00000000000000004e154 < (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))))

        1. Initial program 20.8%

          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
        2. Add Preprocessing
        3. Taylor expanded in n around 0

          \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \cdot \sqrt{2}} \]
        4. Step-by-step derivation
          1. *-commutativeN/A

            \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
          2. lower-*.f64N/A

            \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
          3. lower-sqrt.f64N/A

            \[\leadsto \color{blue}{\sqrt{2}} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
          4. lower-sqrt.f64N/A

            \[\leadsto \sqrt{2} \cdot \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
          6. lower-*.f64N/A

            \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
          7. *-commutativeN/A

            \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
          8. lower-*.f64N/A

            \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
          9. cancel-sign-sub-invN/A

            \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot n\right) \cdot U} \]
          10. metadata-evalN/A

            \[\leadsto \sqrt{2} \cdot \sqrt{\left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right) \cdot U} \]
          11. +-commutativeN/A

            \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot n\right) \cdot U} \]
          12. lower-fma.f64N/A

            \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot n\right) \cdot U} \]
          13. lower-/.f64N/A

            \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot n\right) \cdot U} \]
          14. unpow2N/A

            \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
          15. lower-*.f6418.4

            \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
        5. Applied rewrites18.4%

          \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot n\right) \cdot U}} \]
        6. Taylor expanded in t around 0

          \[\leadsto \sqrt{2} \cdot \sqrt{-2 \cdot \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{Om}} \]
        7. Step-by-step derivation
          1. Applied rewrites15.0%

            \[\leadsto \sqrt{2} \cdot \sqrt{-2 \cdot \left(U \cdot \frac{\left(\ell \cdot \ell\right) \cdot n}{Om}\right)} \]
          2. Step-by-step derivation
            1. Applied rewrites25.0%

              \[\leadsto \color{blue}{\sqrt{\left(\left(\left(\ell \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot U\right) \cdot -2\right) \cdot 2}} \]
          3. Recombined 3 regimes into one program.
          4. Add Preprocessing

          Alternative 6: 47.4% accurate, 0.4× speedup?

          \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \frac{l\_m \cdot l\_m}{Om}\\ t_2 := \left(2 \cdot n\right) \cdot U\\ t_3 := t\_2 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\ \mathbf{if}\;t\_3 \leq 10^{-150}:\\ \;\;\;\;\sqrt{2} \cdot \sqrt{\left(U \cdot \mathsf{fma}\left(\frac{l\_m}{Om} \cdot l\_m, -2, t\right)\right) \cdot n}\\ \mathbf{elif}\;t\_3 \leq 5 \cdot 10^{+307}:\\ \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{U* \cdot U} \cdot \frac{\left(\sqrt{2} \cdot n\right) \cdot l\_m}{Om}\\ \end{array} \end{array} \]
          l_m = (fabs.f64 l)
          (FPCore (n U t l_m Om U*)
           :precision binary64
           (let* ((t_1 (/ (* l_m l_m) Om))
                  (t_2 (* (* 2.0 n) U))
                  (t_3
                   (*
                    t_2
                    (- (- t (* 2.0 t_1)) (* (* n (pow (/ l_m Om) 2.0)) (- U U*))))))
             (if (<= t_3 1e-150)
               (* (sqrt 2.0) (sqrt (* (* U (fma (* (/ l_m Om) l_m) -2.0 t)) n)))
               (if (<= t_3 5e+307)
                 (sqrt (* t_2 (fma -2.0 t_1 t)))
                 (* (sqrt (* U* U)) (/ (* (* (sqrt 2.0) n) l_m) Om))))))
          l_m = fabs(l);
          double code(double n, double U, double t, double l_m, double Om, double U_42_) {
          	double t_1 = (l_m * l_m) / Om;
          	double t_2 = (2.0 * n) * U;
          	double t_3 = t_2 * ((t - (2.0 * t_1)) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_)));
          	double tmp;
          	if (t_3 <= 1e-150) {
          		tmp = sqrt(2.0) * sqrt(((U * fma(((l_m / Om) * l_m), -2.0, t)) * n));
          	} else if (t_3 <= 5e+307) {
          		tmp = sqrt((t_2 * fma(-2.0, t_1, t)));
          	} else {
          		tmp = sqrt((U_42_ * U)) * (((sqrt(2.0) * n) * l_m) / Om);
          	}
          	return tmp;
          }
          
          l_m = abs(l)
          function code(n, U, t, l_m, Om, U_42_)
          	t_1 = Float64(Float64(l_m * l_m) / Om)
          	t_2 = Float64(Float64(2.0 * n) * U)
          	t_3 = Float64(t_2 * Float64(Float64(t - Float64(2.0 * t_1)) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_))))
          	tmp = 0.0
          	if (t_3 <= 1e-150)
          		tmp = Float64(sqrt(2.0) * sqrt(Float64(Float64(U * fma(Float64(Float64(l_m / Om) * l_m), -2.0, t)) * n)));
          	elseif (t_3 <= 5e+307)
          		tmp = sqrt(Float64(t_2 * fma(-2.0, t_1, t)));
          	else
          		tmp = Float64(sqrt(Float64(U_42_ * U)) * Float64(Float64(Float64(sqrt(2.0) * n) * l_m) / Om));
          	end
          	return tmp
          end
          
          l_m = N[Abs[l], $MachinePrecision]
          code[n_, U_, t_, l$95$m_, Om_, U$42$_] := Block[{t$95$1 = N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]}, Block[{t$95$2 = N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$2 * N[(N[(t - N[(2.0 * t$95$1), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, 1e-150], N[(N[Sqrt[2.0], $MachinePrecision] * N[Sqrt[N[(N[(U * N[(N[(N[(l$95$m / Om), $MachinePrecision] * l$95$m), $MachinePrecision] * -2.0 + t), $MachinePrecision]), $MachinePrecision] * n), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, 5e+307], N[Sqrt[N[(t$95$2 * N[(-2.0 * t$95$1 + t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(U$42$ * U), $MachinePrecision]], $MachinePrecision] * N[(N[(N[(N[Sqrt[2.0], $MachinePrecision] * n), $MachinePrecision] * l$95$m), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]]]]]]
          
          \begin{array}{l}
          l_m = \left|\ell\right|
          
          \\
          \begin{array}{l}
          t_1 := \frac{l\_m \cdot l\_m}{Om}\\
          t_2 := \left(2 \cdot n\right) \cdot U\\
          t_3 := t\_2 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\
          \mathbf{if}\;t\_3 \leq 10^{-150}:\\
          \;\;\;\;\sqrt{2} \cdot \sqrt{\left(U \cdot \mathsf{fma}\left(\frac{l\_m}{Om} \cdot l\_m, -2, t\right)\right) \cdot n}\\
          
          \mathbf{elif}\;t\_3 \leq 5 \cdot 10^{+307}:\\
          \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\
          
          \mathbf{else}:\\
          \;\;\;\;\sqrt{U* \cdot U} \cdot \frac{\left(\sqrt{2} \cdot n\right) \cdot l\_m}{Om}\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 3 regimes
          2. if (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))) < 1.00000000000000001e-150

            1. Initial program 36.7%

              \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
            2. Add Preprocessing
            3. Taylor expanded in n around 0

              \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \cdot \sqrt{2}} \]
            4. Step-by-step derivation
              1. *-commutativeN/A

                \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
              2. lower-*.f64N/A

                \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
              3. lower-sqrt.f64N/A

                \[\leadsto \color{blue}{\sqrt{2}} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
              4. lower-sqrt.f64N/A

                \[\leadsto \sqrt{2} \cdot \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
              5. *-commutativeN/A

                \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
              6. lower-*.f64N/A

                \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
              7. *-commutativeN/A

                \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
              8. lower-*.f64N/A

                \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
              9. cancel-sign-sub-invN/A

                \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot n\right) \cdot U} \]
              10. metadata-evalN/A

                \[\leadsto \sqrt{2} \cdot \sqrt{\left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right) \cdot U} \]
              11. +-commutativeN/A

                \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot n\right) \cdot U} \]
              12. lower-fma.f64N/A

                \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot n\right) \cdot U} \]
              13. lower-/.f64N/A

                \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot n\right) \cdot U} \]
              14. unpow2N/A

                \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
              15. lower-*.f6447.2

                \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
            5. Applied rewrites47.2%

              \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot n\right) \cdot U}} \]
            6. Step-by-step derivation
              1. Applied rewrites53.1%

                \[\leadsto \sqrt{2} \cdot \sqrt{\left(U \cdot \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot n} \]

              if 1.00000000000000001e-150 < (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))) < 5e307

              1. Initial program 98.7%

                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
              2. Add Preprocessing
              3. Taylor expanded in n around 0

                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
              4. Step-by-step derivation
                1. cancel-sign-sub-invN/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
                2. metadata-evalN/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right)} \]
                3. +-commutativeN/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)}} \]
                4. lower-fma.f64N/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)}} \]
                5. lower-/.f64N/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right)} \]
                6. unpow2N/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right)} \]
                7. lower-*.f6491.2

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right)} \]
              5. Applied rewrites91.2%

                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)}} \]

              if 5e307 < (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*))))

              1. Initial program 21.4%

                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
              2. Add Preprocessing
              3. Taylor expanded in U* around inf

                \[\leadsto \color{blue}{\frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om} \cdot \sqrt{U \cdot U*}} \]
              4. Step-by-step derivation
                1. *-commutativeN/A

                  \[\leadsto \color{blue}{\sqrt{U \cdot U*} \cdot \frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om}} \]
                2. lower-*.f64N/A

                  \[\leadsto \color{blue}{\sqrt{U \cdot U*} \cdot \frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om}} \]
                3. lower-sqrt.f64N/A

                  \[\leadsto \color{blue}{\sqrt{U \cdot U*}} \cdot \frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om} \]
                4. *-commutativeN/A

                  \[\leadsto \sqrt{\color{blue}{U* \cdot U}} \cdot \frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om} \]
                5. lower-*.f64N/A

                  \[\leadsto \sqrt{\color{blue}{U* \cdot U}} \cdot \frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om} \]
                6. lower-/.f64N/A

                  \[\leadsto \sqrt{U* \cdot U} \cdot \color{blue}{\frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om}} \]
                7. *-commutativeN/A

                  \[\leadsto \sqrt{U* \cdot U} \cdot \frac{\color{blue}{\left(n \cdot \sqrt{2}\right) \cdot \ell}}{Om} \]
                8. lower-*.f64N/A

                  \[\leadsto \sqrt{U* \cdot U} \cdot \frac{\color{blue}{\left(n \cdot \sqrt{2}\right) \cdot \ell}}{Om} \]
                9. *-commutativeN/A

                  \[\leadsto \sqrt{U* \cdot U} \cdot \frac{\color{blue}{\left(\sqrt{2} \cdot n\right)} \cdot \ell}{Om} \]
                10. lower-*.f64N/A

                  \[\leadsto \sqrt{U* \cdot U} \cdot \frac{\color{blue}{\left(\sqrt{2} \cdot n\right)} \cdot \ell}{Om} \]
                11. lower-sqrt.f6419.4

                  \[\leadsto \sqrt{U* \cdot U} \cdot \frac{\left(\color{blue}{\sqrt{2}} \cdot n\right) \cdot \ell}{Om} \]
              5. Applied rewrites19.4%

                \[\leadsto \color{blue}{\sqrt{U* \cdot U} \cdot \frac{\left(\sqrt{2} \cdot n\right) \cdot \ell}{Om}} \]
            7. Recombined 3 regimes into one program.
            8. Add Preprocessing

            Alternative 7: 47.7% accurate, 0.4× speedup?

            \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \frac{l\_m \cdot l\_m}{Om}\\ t_2 := \mathsf{fma}\left(-2, t\_1, t\right)\\ t_3 := \left(2 \cdot n\right) \cdot U\\ t_4 := t\_3 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\ \mathbf{if}\;t\_4 \leq 2 \cdot 10^{-288}:\\ \;\;\;\;\sqrt{\left(\left(t\_2 \cdot n\right) \cdot U\right) \cdot 2}\\ \mathbf{elif}\;t\_4 \leq 5 \cdot 10^{+307}:\\ \;\;\;\;\sqrt{t\_3 \cdot t\_2}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{U* \cdot U} \cdot \frac{\left(\sqrt{2} \cdot n\right) \cdot l\_m}{Om}\\ \end{array} \end{array} \]
            l_m = (fabs.f64 l)
            (FPCore (n U t l_m Om U*)
             :precision binary64
             (let* ((t_1 (/ (* l_m l_m) Om))
                    (t_2 (fma -2.0 t_1 t))
                    (t_3 (* (* 2.0 n) U))
                    (t_4
                     (*
                      t_3
                      (- (- t (* 2.0 t_1)) (* (* n (pow (/ l_m Om) 2.0)) (- U U*))))))
               (if (<= t_4 2e-288)
                 (sqrt (* (* (* t_2 n) U) 2.0))
                 (if (<= t_4 5e+307)
                   (sqrt (* t_3 t_2))
                   (* (sqrt (* U* U)) (/ (* (* (sqrt 2.0) n) l_m) Om))))))
            l_m = fabs(l);
            double code(double n, double U, double t, double l_m, double Om, double U_42_) {
            	double t_1 = (l_m * l_m) / Om;
            	double t_2 = fma(-2.0, t_1, t);
            	double t_3 = (2.0 * n) * U;
            	double t_4 = t_3 * ((t - (2.0 * t_1)) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_)));
            	double tmp;
            	if (t_4 <= 2e-288) {
            		tmp = sqrt((((t_2 * n) * U) * 2.0));
            	} else if (t_4 <= 5e+307) {
            		tmp = sqrt((t_3 * t_2));
            	} else {
            		tmp = sqrt((U_42_ * U)) * (((sqrt(2.0) * n) * l_m) / Om);
            	}
            	return tmp;
            }
            
            l_m = abs(l)
            function code(n, U, t, l_m, Om, U_42_)
            	t_1 = Float64(Float64(l_m * l_m) / Om)
            	t_2 = fma(-2.0, t_1, t)
            	t_3 = Float64(Float64(2.0 * n) * U)
            	t_4 = Float64(t_3 * Float64(Float64(t - Float64(2.0 * t_1)) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_))))
            	tmp = 0.0
            	if (t_4 <= 2e-288)
            		tmp = sqrt(Float64(Float64(Float64(t_2 * n) * U) * 2.0));
            	elseif (t_4 <= 5e+307)
            		tmp = sqrt(Float64(t_3 * t_2));
            	else
            		tmp = Float64(sqrt(Float64(U_42_ * U)) * Float64(Float64(Float64(sqrt(2.0) * n) * l_m) / Om));
            	end
            	return tmp
            end
            
            l_m = N[Abs[l], $MachinePrecision]
            code[n_, U_, t_, l$95$m_, Om_, U$42$_] := Block[{t$95$1 = N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]}, Block[{t$95$2 = N[(-2.0 * t$95$1 + t), $MachinePrecision]}, Block[{t$95$3 = N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision]}, Block[{t$95$4 = N[(t$95$3 * N[(N[(t - N[(2.0 * t$95$1), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$4, 2e-288], N[Sqrt[N[(N[(N[(t$95$2 * n), $MachinePrecision] * U), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision], If[LessEqual[t$95$4, 5e+307], N[Sqrt[N[(t$95$3 * t$95$2), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(U$42$ * U), $MachinePrecision]], $MachinePrecision] * N[(N[(N[(N[Sqrt[2.0], $MachinePrecision] * n), $MachinePrecision] * l$95$m), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]]]]]]]
            
            \begin{array}{l}
            l_m = \left|\ell\right|
            
            \\
            \begin{array}{l}
            t_1 := \frac{l\_m \cdot l\_m}{Om}\\
            t_2 := \mathsf{fma}\left(-2, t\_1, t\right)\\
            t_3 := \left(2 \cdot n\right) \cdot U\\
            t_4 := t\_3 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\
            \mathbf{if}\;t\_4 \leq 2 \cdot 10^{-288}:\\
            \;\;\;\;\sqrt{\left(\left(t\_2 \cdot n\right) \cdot U\right) \cdot 2}\\
            
            \mathbf{elif}\;t\_4 \leq 5 \cdot 10^{+307}:\\
            \;\;\;\;\sqrt{t\_3 \cdot t\_2}\\
            
            \mathbf{else}:\\
            \;\;\;\;\sqrt{U* \cdot U} \cdot \frac{\left(\sqrt{2} \cdot n\right) \cdot l\_m}{Om}\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 3 regimes
            2. if (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))) < 2.00000000000000012e-288

              1. Initial program 12.9%

                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
              2. Add Preprocessing
              3. Taylor expanded in n around 0

                \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)\right)}} \]
              4. Step-by-step derivation
                1. *-commutativeN/A

                  \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)\right) \cdot 2}} \]
                2. lower-*.f64N/A

                  \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)\right) \cdot 2}} \]
                3. *-commutativeN/A

                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U\right)} \cdot 2} \]
                4. lower-*.f64N/A

                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U\right)} \cdot 2} \]
                5. *-commutativeN/A

                  \[\leadsto \sqrt{\left(\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U\right) \cdot 2} \]
                6. lower-*.f64N/A

                  \[\leadsto \sqrt{\left(\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U\right) \cdot 2} \]
                7. cancel-sign-sub-invN/A

                  \[\leadsto \sqrt{\left(\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot n\right) \cdot U\right) \cdot 2} \]
                8. metadata-evalN/A

                  \[\leadsto \sqrt{\left(\left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right) \cdot U\right) \cdot 2} \]
                9. +-commutativeN/A

                  \[\leadsto \sqrt{\left(\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot n\right) \cdot U\right) \cdot 2} \]
                10. lower-fma.f64N/A

                  \[\leadsto \sqrt{\left(\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot n\right) \cdot U\right) \cdot 2} \]
                11. lower-/.f64N/A

                  \[\leadsto \sqrt{\left(\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot n\right) \cdot U\right) \cdot 2} \]
                12. unpow2N/A

                  \[\leadsto \sqrt{\left(\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U\right) \cdot 2} \]
                13. lower-*.f6439.6

                  \[\leadsto \sqrt{\left(\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U\right) \cdot 2} \]
              5. Applied rewrites39.6%

                \[\leadsto \sqrt{\color{blue}{\left(\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot n\right) \cdot U\right) \cdot 2}} \]

              if 2.00000000000000012e-288 < (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))) < 5e307

              1. Initial program 96.9%

                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
              2. Add Preprocessing
              3. Taylor expanded in n around 0

                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
              4. Step-by-step derivation
                1. cancel-sign-sub-invN/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
                2. metadata-evalN/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right)} \]
                3. +-commutativeN/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)}} \]
                4. lower-fma.f64N/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)}} \]
                5. lower-/.f64N/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right)} \]
                6. unpow2N/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right)} \]
                7. lower-*.f6488.8

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right)} \]
              5. Applied rewrites88.8%

                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)}} \]

              if 5e307 < (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*))))

              1. Initial program 21.4%

                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
              2. Add Preprocessing
              3. Taylor expanded in U* around inf

                \[\leadsto \color{blue}{\frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om} \cdot \sqrt{U \cdot U*}} \]
              4. Step-by-step derivation
                1. *-commutativeN/A

                  \[\leadsto \color{blue}{\sqrt{U \cdot U*} \cdot \frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om}} \]
                2. lower-*.f64N/A

                  \[\leadsto \color{blue}{\sqrt{U \cdot U*} \cdot \frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om}} \]
                3. lower-sqrt.f64N/A

                  \[\leadsto \color{blue}{\sqrt{U \cdot U*}} \cdot \frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om} \]
                4. *-commutativeN/A

                  \[\leadsto \sqrt{\color{blue}{U* \cdot U}} \cdot \frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om} \]
                5. lower-*.f64N/A

                  \[\leadsto \sqrt{\color{blue}{U* \cdot U}} \cdot \frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om} \]
                6. lower-/.f64N/A

                  \[\leadsto \sqrt{U* \cdot U} \cdot \color{blue}{\frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om}} \]
                7. *-commutativeN/A

                  \[\leadsto \sqrt{U* \cdot U} \cdot \frac{\color{blue}{\left(n \cdot \sqrt{2}\right) \cdot \ell}}{Om} \]
                8. lower-*.f64N/A

                  \[\leadsto \sqrt{U* \cdot U} \cdot \frac{\color{blue}{\left(n \cdot \sqrt{2}\right) \cdot \ell}}{Om} \]
                9. *-commutativeN/A

                  \[\leadsto \sqrt{U* \cdot U} \cdot \frac{\color{blue}{\left(\sqrt{2} \cdot n\right)} \cdot \ell}{Om} \]
                10. lower-*.f64N/A

                  \[\leadsto \sqrt{U* \cdot U} \cdot \frac{\color{blue}{\left(\sqrt{2} \cdot n\right)} \cdot \ell}{Om} \]
                11. lower-sqrt.f6419.4

                  \[\leadsto \sqrt{U* \cdot U} \cdot \frac{\left(\color{blue}{\sqrt{2}} \cdot n\right) \cdot \ell}{Om} \]
              5. Applied rewrites19.4%

                \[\leadsto \color{blue}{\sqrt{U* \cdot U} \cdot \frac{\left(\sqrt{2} \cdot n\right) \cdot \ell}{Om}} \]
            3. Recombined 3 regimes into one program.
            4. Add Preprocessing

            Alternative 8: 37.4% accurate, 0.9× speedup?

            \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \leq 10^{-20}:\\ \;\;\;\;\sqrt{n \cdot \left(t \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(\left(n \cdot U\right) \cdot t\right) \cdot 2}\\ \end{array} \end{array} \]
            l_m = (fabs.f64 l)
            (FPCore (n U t l_m Om U*)
             :precision binary64
             (if (<=
                  (sqrt
                   (*
                    (* (* 2.0 n) U)
                    (-
                     (- t (* 2.0 (/ (* l_m l_m) Om)))
                     (* (* n (pow (/ l_m Om) 2.0)) (- U U*)))))
                  1e-20)
               (sqrt (* n (* t (* 2.0 U))))
               (sqrt (* (* (* n U) t) 2.0))))
            l_m = fabs(l);
            double code(double n, double U, double t, double l_m, double Om, double U_42_) {
            	double tmp;
            	if (sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_))))) <= 1e-20) {
            		tmp = sqrt((n * (t * (2.0 * U))));
            	} else {
            		tmp = sqrt((((n * U) * t) * 2.0));
            	}
            	return tmp;
            }
            
            l_m = abs(l)
            real(8) function code(n, u, t, l_m, om, u_42)
                real(8), intent (in) :: n
                real(8), intent (in) :: u
                real(8), intent (in) :: t
                real(8), intent (in) :: l_m
                real(8), intent (in) :: om
                real(8), intent (in) :: u_42
                real(8) :: tmp
                if (sqrt((((2.0d0 * n) * u) * ((t - (2.0d0 * ((l_m * l_m) / om))) - ((n * ((l_m / om) ** 2.0d0)) * (u - u_42))))) <= 1d-20) then
                    tmp = sqrt((n * (t * (2.0d0 * u))))
                else
                    tmp = sqrt((((n * u) * t) * 2.0d0))
                end if
                code = tmp
            end function
            
            l_m = Math.abs(l);
            public static double code(double n, double U, double t, double l_m, double Om, double U_42_) {
            	double tmp;
            	if (Math.sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * Math.pow((l_m / Om), 2.0)) * (U - U_42_))))) <= 1e-20) {
            		tmp = Math.sqrt((n * (t * (2.0 * U))));
            	} else {
            		tmp = Math.sqrt((((n * U) * t) * 2.0));
            	}
            	return tmp;
            }
            
            l_m = math.fabs(l)
            def code(n, U, t, l_m, Om, U_42_):
            	tmp = 0
            	if math.sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * math.pow((l_m / Om), 2.0)) * (U - U_42_))))) <= 1e-20:
            		tmp = math.sqrt((n * (t * (2.0 * U))))
            	else:
            		tmp = math.sqrt((((n * U) * t) * 2.0))
            	return tmp
            
            l_m = abs(l)
            function code(n, U, t, l_m, Om, U_42_)
            	tmp = 0.0
            	if (sqrt(Float64(Float64(Float64(2.0 * n) * U) * Float64(Float64(t - Float64(2.0 * Float64(Float64(l_m * l_m) / Om))) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_))))) <= 1e-20)
            		tmp = sqrt(Float64(n * Float64(t * Float64(2.0 * U))));
            	else
            		tmp = sqrt(Float64(Float64(Float64(n * U) * t) * 2.0));
            	end
            	return tmp
            end
            
            l_m = abs(l);
            function tmp_2 = code(n, U, t, l_m, Om, U_42_)
            	tmp = 0.0;
            	if (sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * ((l_m / Om) ^ 2.0)) * (U - U_42_))))) <= 1e-20)
            		tmp = sqrt((n * (t * (2.0 * U))));
            	else
            		tmp = sqrt((((n * U) * t) * 2.0));
            	end
            	tmp_2 = tmp;
            end
            
            l_m = N[Abs[l], $MachinePrecision]
            code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[N[Sqrt[N[(N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision] * N[(N[(t - N[(2.0 * N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], 1e-20], N[Sqrt[N[(n * N[(t * N[(2.0 * U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(N[(n * U), $MachinePrecision] * t), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision]]
            
            \begin{array}{l}
            l_m = \left|\ell\right|
            
            \\
            \begin{array}{l}
            \mathbf{if}\;\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \leq 10^{-20}:\\
            \;\;\;\;\sqrt{n \cdot \left(t \cdot \left(2 \cdot U\right)\right)}\\
            
            \mathbf{else}:\\
            \;\;\;\;\sqrt{\left(\left(n \cdot U\right) \cdot t\right) \cdot 2}\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 2 regimes
            2. if (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*))))) < 9.99999999999999945e-21

              1. Initial program 61.7%

                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
              2. Add Preprocessing
              3. Taylor expanded in t around inf

                \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot t\right)\right)}} \]
              4. Step-by-step derivation
                1. *-commutativeN/A

                  \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                2. lower-*.f64N/A

                  \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                3. *-commutativeN/A

                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                4. lower-*.f64N/A

                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                5. lower-*.f6454.3

                  \[\leadsto \sqrt{\left(\color{blue}{\left(n \cdot t\right)} \cdot U\right) \cdot 2} \]
              5. Applied rewrites54.3%

                \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}} \]
              6. Step-by-step derivation
                1. Applied rewrites58.3%

                  \[\leadsto \sqrt{n \cdot \color{blue}{\left(t \cdot \left(2 \cdot U\right)\right)}} \]

                if 9.99999999999999945e-21 < (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))))

                1. Initial program 50.3%

                  \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                2. Add Preprocessing
                3. Taylor expanded in t around inf

                  \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot t\right)\right)}} \]
                4. Step-by-step derivation
                  1. *-commutativeN/A

                    \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                  2. lower-*.f64N/A

                    \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                  3. *-commutativeN/A

                    \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                  4. lower-*.f64N/A

                    \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                  5. lower-*.f6436.4

                    \[\leadsto \sqrt{\left(\color{blue}{\left(n \cdot t\right)} \cdot U\right) \cdot 2} \]
                5. Applied rewrites36.4%

                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}} \]
                6. Step-by-step derivation
                  1. Applied rewrites37.5%

                    \[\leadsto \sqrt{\left(\left(n \cdot U\right) \cdot t\right) \cdot 2} \]
                7. Recombined 2 regimes into one program.
                8. Add Preprocessing

                Alternative 9: 57.5% accurate, 2.0× speedup?

                \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;l\_m \leq 2 \cdot 10^{-115}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \frac{U* \cdot \left(l\_m \cdot n\right)}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{elif}\;l\_m \leq 1.1 \cdot 10^{+148}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, l\_m \cdot \mathsf{fma}\left(n, \frac{U* - U}{Om}, -2\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(l\_m \cdot n\right) \cdot l\_m\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U - U*}{Om}, \frac{2}{Om}\right)\right)}\\ \end{array} \end{array} \]
                l_m = (fabs.f64 l)
                (FPCore (n U t l_m Om U*)
                 :precision binary64
                 (if (<= l_m 2e-115)
                   (sqrt (* (* (fma (/ l_m Om) (/ (* U* (* l_m n)) Om) t) (* 2.0 n)) U))
                   (if (<= l_m 1.1e+148)
                     (sqrt
                      (*
                       (* (fma (/ l_m Om) (* l_m (fma n (/ (- U* U) Om) -2.0)) t) (* 2.0 n))
                       U))
                     (sqrt
                      (*
                       (* -2.0 U)
                       (* (* (* l_m n) l_m) (fma (/ n Om) (/ (- U U*) Om) (/ 2.0 Om))))))))
                l_m = fabs(l);
                double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                	double tmp;
                	if (l_m <= 2e-115) {
                		tmp = sqrt(((fma((l_m / Om), ((U_42_ * (l_m * n)) / Om), t) * (2.0 * n)) * U));
                	} else if (l_m <= 1.1e+148) {
                		tmp = sqrt(((fma((l_m / Om), (l_m * fma(n, ((U_42_ - U) / Om), -2.0)), t) * (2.0 * n)) * U));
                	} else {
                		tmp = sqrt(((-2.0 * U) * (((l_m * n) * l_m) * fma((n / Om), ((U - U_42_) / Om), (2.0 / Om)))));
                	}
                	return tmp;
                }
                
                l_m = abs(l)
                function code(n, U, t, l_m, Om, U_42_)
                	tmp = 0.0
                	if (l_m <= 2e-115)
                		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(Float64(U_42_ * Float64(l_m * n)) / Om), t) * Float64(2.0 * n)) * U));
                	elseif (l_m <= 1.1e+148)
                		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(l_m * fma(n, Float64(Float64(U_42_ - U) / Om), -2.0)), t) * Float64(2.0 * n)) * U));
                	else
                		tmp = sqrt(Float64(Float64(-2.0 * U) * Float64(Float64(Float64(l_m * n) * l_m) * fma(Float64(n / Om), Float64(Float64(U - U_42_) / Om), Float64(2.0 / Om)))));
                	end
                	return tmp
                end
                
                l_m = N[Abs[l], $MachinePrecision]
                code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[l$95$m, 2e-115], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(N[(U$42$ * N[(l$95$m * n), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision], If[LessEqual[l$95$m, 1.1e+148], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(l$95$m * N[(n * N[(N[(U$42$ - U), $MachinePrecision] / Om), $MachinePrecision] + -2.0), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(-2.0 * U), $MachinePrecision] * N[(N[(N[(l$95$m * n), $MachinePrecision] * l$95$m), $MachinePrecision] * N[(N[(n / Om), $MachinePrecision] * N[(N[(U - U$42$), $MachinePrecision] / Om), $MachinePrecision] + N[(2.0 / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]]]
                
                \begin{array}{l}
                l_m = \left|\ell\right|
                
                \\
                \begin{array}{l}
                \mathbf{if}\;l\_m \leq 2 \cdot 10^{-115}:\\
                \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \frac{U* \cdot \left(l\_m \cdot n\right)}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                
                \mathbf{elif}\;l\_m \leq 1.1 \cdot 10^{+148}:\\
                \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, l\_m \cdot \mathsf{fma}\left(n, \frac{U* - U}{Om}, -2\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                
                \mathbf{else}:\\
                \;\;\;\;\sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(l\_m \cdot n\right) \cdot l\_m\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U - U*}{Om}, \frac{2}{Om}\right)\right)}\\
                
                
                \end{array}
                \end{array}
                
                Derivation
                1. Split input into 3 regimes
                2. if l < 2.0000000000000001e-115

                  1. Initial program 58.7%

                    \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                  2. Add Preprocessing
                  3. Step-by-step derivation
                    1. lift--.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                    2. sub-negN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                    3. +-commutativeN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                    4. lift-*.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                    5. *-commutativeN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                    6. distribute-lft-neg-inN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                    7. lift-*.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                    8. lift-pow.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                    9. unpow2N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                    10. associate-*r*N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                    11. associate-*r*N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                    12. lower-fma.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                    13. lower-*.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                    14. lower-neg.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                    15. lower-*.f6461.3

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                    16. lift--.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                    17. sub-negN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                  4. Applied rewrites61.3%

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                  5. Step-by-step derivation
                    1. lift-fma.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                    2. *-commutativeN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    3. lower-fma.f6461.3

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                    4. lift-*.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    5. *-commutativeN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    6. lower-*.f6461.3

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    7. lift-*.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    8. *-commutativeN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    9. lower-*.f6461.3

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    10. lift-fma.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                    11. *-commutativeN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                    12. lower-fma.f6461.3

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                    13. lift-/.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                    14. lift-*.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                    15. associate-*l/N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                    16. lift-/.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om}} \cdot \ell, -2, t\right)\right)} \]
                    17. lower-*.f6462.4

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                  6. Applied rewrites62.4%

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                  7. Step-by-step derivation
                    1. lift-*.f64N/A

                      \[\leadsto \sqrt{\color{blue}{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                    2. *-commutativeN/A

                      \[\leadsto \sqrt{\color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)}} \]
                    3. lift-*.f64N/A

                      \[\leadsto \sqrt{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \color{blue}{\left(\left(2 \cdot n\right) \cdot U\right)}} \]
                    4. associate-*r*N/A

                      \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                    5. lower-*.f64N/A

                      \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                  8. Applied rewrites59.9%

                    \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(U* - U\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                  9. Taylor expanded in U* around inf

                    \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                  10. Step-by-step derivation
                    1. lower-/.f64N/A

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    2. lower-*.f64N/A

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \frac{\color{blue}{U* \cdot \left(\ell \cdot n\right)}}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    3. lower-*.f6457.8

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \frac{U* \cdot \color{blue}{\left(\ell \cdot n\right)}}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                  11. Applied rewrites57.8%

                    \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]

                  if 2.0000000000000001e-115 < l < 1.0999999999999999e148

                  1. Initial program 54.5%

                    \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                  2. Add Preprocessing
                  3. Step-by-step derivation
                    1. lift--.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                    2. sub-negN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                    3. +-commutativeN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                    4. lift-*.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                    5. *-commutativeN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                    6. distribute-lft-neg-inN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                    7. lift-*.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                    8. lift-pow.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                    9. unpow2N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                    10. associate-*r*N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                    11. associate-*r*N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                    12. lower-fma.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                    13. lower-*.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                    14. lower-neg.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                    15. lower-*.f6454.8

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                    16. lift--.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                    17. sub-negN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                  4. Applied rewrites54.8%

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                  5. Step-by-step derivation
                    1. lift-fma.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                    2. *-commutativeN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    3. lower-fma.f6454.8

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                    4. lift-*.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    5. *-commutativeN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    6. lower-*.f6454.8

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    7. lift-*.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    8. *-commutativeN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    9. lower-*.f6454.8

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    10. lift-fma.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                    11. *-commutativeN/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                    12. lower-fma.f6454.8

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                    13. lift-/.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                    14. lift-*.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                    15. associate-*l/N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                    16. lift-/.f64N/A

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om}} \cdot \ell, -2, t\right)\right)} \]
                    17. lower-*.f6454.8

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                  6. Applied rewrites54.8%

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                  7. Step-by-step derivation
                    1. lift-*.f64N/A

                      \[\leadsto \sqrt{\color{blue}{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                    2. *-commutativeN/A

                      \[\leadsto \sqrt{\color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)}} \]
                    3. lift-*.f64N/A

                      \[\leadsto \sqrt{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \color{blue}{\left(\left(2 \cdot n\right) \cdot U\right)}} \]
                    4. associate-*r*N/A

                      \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                    5. lower-*.f64N/A

                      \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                  8. Applied rewrites56.3%

                    \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(U* - U\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                  9. Taylor expanded in l around 0

                    \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\ell \cdot \left(\frac{n \cdot \left(U* - U\right)}{Om} - 2\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                  10. Step-by-step derivation
                    1. lower-*.f64N/A

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\ell \cdot \left(\frac{n \cdot \left(U* - U\right)}{Om} - 2\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    2. sub-negN/A

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \color{blue}{\left(\frac{n \cdot \left(U* - U\right)}{Om} + \left(\mathsf{neg}\left(2\right)\right)\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    3. associate-/l*N/A

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \left(\color{blue}{n \cdot \frac{U* - U}{Om}} + \left(\mathsf{neg}\left(2\right)\right)\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    4. metadata-evalN/A

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \left(n \cdot \frac{U* - U}{Om} + \color{blue}{-2}\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    5. lower-fma.f64N/A

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \color{blue}{\mathsf{fma}\left(n, \frac{U* - U}{Om}, -2\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    6. lower-/.f64N/A

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \mathsf{fma}\left(n, \color{blue}{\frac{U* - U}{Om}}, -2\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    7. lower--.f6458.6

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \mathsf{fma}\left(n, \frac{\color{blue}{U* - U}}{Om}, -2\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                  11. Applied rewrites58.6%

                    \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\ell \cdot \mathsf{fma}\left(n, \frac{U* - U}{Om}, -2\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]

                  if 1.0999999999999999e148 < l

                  1. Initial program 17.7%

                    \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                  2. Add Preprocessing
                  3. Taylor expanded in l around inf

                    \[\leadsto \sqrt{\color{blue}{-2 \cdot \left(U \cdot \left({\ell}^{2} \cdot \left(n \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)\right)\right)}} \]
                  4. Step-by-step derivation
                    1. associate-*r*N/A

                      \[\leadsto \sqrt{\color{blue}{\left(-2 \cdot U\right) \cdot \left({\ell}^{2} \cdot \left(n \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)\right)}} \]
                    2. lower-*.f64N/A

                      \[\leadsto \sqrt{\color{blue}{\left(-2 \cdot U\right) \cdot \left({\ell}^{2} \cdot \left(n \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)\right)}} \]
                    3. lower-*.f64N/A

                      \[\leadsto \sqrt{\color{blue}{\left(-2 \cdot U\right)} \cdot \left({\ell}^{2} \cdot \left(n \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)\right)} \]
                    4. associate-*r*N/A

                      \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \color{blue}{\left(\left({\ell}^{2} \cdot n\right) \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)}} \]
                    5. lower-*.f64N/A

                      \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \color{blue}{\left(\left({\ell}^{2} \cdot n\right) \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)}} \]
                    6. lower-*.f64N/A

                      \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\color{blue}{\left({\ell}^{2} \cdot n\right)} \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)} \]
                    7. unpow2N/A

                      \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot n\right) \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)} \]
                    8. lower-*.f64N/A

                      \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot n\right) \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)} \]
                    9. +-commutativeN/A

                      \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \color{blue}{\left(\frac{n \cdot \left(U - U*\right)}{{Om}^{2}} + 2 \cdot \frac{1}{Om}\right)}\right)} \]
                    10. unpow2N/A

                      \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \left(\frac{n \cdot \left(U - U*\right)}{\color{blue}{Om \cdot Om}} + 2 \cdot \frac{1}{Om}\right)\right)} \]
                    11. times-fracN/A

                      \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \left(\color{blue}{\frac{n}{Om} \cdot \frac{U - U*}{Om}} + 2 \cdot \frac{1}{Om}\right)\right)} \]
                    12. lower-fma.f64N/A

                      \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{n}{Om}, \frac{U - U*}{Om}, 2 \cdot \frac{1}{Om}\right)}\right)} \]
                    13. lower-/.f64N/A

                      \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(\color{blue}{\frac{n}{Om}}, \frac{U - U*}{Om}, 2 \cdot \frac{1}{Om}\right)\right)} \]
                    14. lower-/.f64N/A

                      \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \color{blue}{\frac{U - U*}{Om}}, 2 \cdot \frac{1}{Om}\right)\right)} \]
                    15. lower--.f64N/A

                      \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{\color{blue}{U - U*}}{Om}, 2 \cdot \frac{1}{Om}\right)\right)} \]
                    16. associate-*r/N/A

                      \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U - U*}{Om}, \color{blue}{\frac{2 \cdot 1}{Om}}\right)\right)} \]
                    17. metadata-evalN/A

                      \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U - U*}{Om}, \frac{\color{blue}{2}}{Om}\right)\right)} \]
                    18. lower-/.f6427.8

                      \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U - U*}{Om}, \color{blue}{\frac{2}{Om}}\right)\right)} \]
                  5. Applied rewrites27.8%

                    \[\leadsto \sqrt{\color{blue}{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U - U*}{Om}, \frac{2}{Om}\right)\right)}} \]
                  6. Step-by-step derivation
                    1. Applied rewrites50.9%

                      \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot n\right) \cdot \ell\right) \cdot \mathsf{fma}\left(\color{blue}{\frac{n}{Om}}, \frac{U - U*}{Om}, \frac{2}{Om}\right)\right)} \]
                  7. Recombined 3 regimes into one program.
                  8. Add Preprocessing

                  Alternative 10: 62.3% accurate, 2.0× speedup?

                  \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;n \leq 5.2 \cdot 10^{-289}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \mathsf{fma}\left(\left(U* - U\right) \cdot n, \frac{l\_m}{Om}, -2 \cdot l\_m\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(\frac{l\_m}{Om}, \mathsf{fma}\left(U* - U, n \cdot \frac{l\_m}{Om}, -2 \cdot l\_m\right), t\right) \cdot U} \cdot \sqrt{2 \cdot n}\\ \end{array} \end{array} \]
                  l_m = (fabs.f64 l)
                  (FPCore (n U t l_m Om U*)
                   :precision binary64
                   (if (<= n 5.2e-289)
                     (sqrt
                      (*
                       (*
                        (fma (/ l_m Om) (fma (* (- U* U) n) (/ l_m Om) (* -2.0 l_m)) t)
                        (* 2.0 n))
                       U))
                     (*
                      (sqrt
                       (* (fma (/ l_m Om) (fma (- U* U) (* n (/ l_m Om)) (* -2.0 l_m)) t) U))
                      (sqrt (* 2.0 n)))))
                  l_m = fabs(l);
                  double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                  	double tmp;
                  	if (n <= 5.2e-289) {
                  		tmp = sqrt(((fma((l_m / Om), fma(((U_42_ - U) * n), (l_m / Om), (-2.0 * l_m)), t) * (2.0 * n)) * U));
                  	} else {
                  		tmp = sqrt((fma((l_m / Om), fma((U_42_ - U), (n * (l_m / Om)), (-2.0 * l_m)), t) * U)) * sqrt((2.0 * n));
                  	}
                  	return tmp;
                  }
                  
                  l_m = abs(l)
                  function code(n, U, t, l_m, Om, U_42_)
                  	tmp = 0.0
                  	if (n <= 5.2e-289)
                  		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), fma(Float64(Float64(U_42_ - U) * n), Float64(l_m / Om), Float64(-2.0 * l_m)), t) * Float64(2.0 * n)) * U));
                  	else
                  		tmp = Float64(sqrt(Float64(fma(Float64(l_m / Om), fma(Float64(U_42_ - U), Float64(n * Float64(l_m / Om)), Float64(-2.0 * l_m)), t) * U)) * sqrt(Float64(2.0 * n)));
                  	end
                  	return tmp
                  end
                  
                  l_m = N[Abs[l], $MachinePrecision]
                  code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[n, 5.2e-289], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(N[(N[(U$42$ - U), $MachinePrecision] * n), $MachinePrecision] * N[(l$95$m / Om), $MachinePrecision] + N[(-2.0 * l$95$m), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(N[(U$42$ - U), $MachinePrecision] * N[(n * N[(l$95$m / Om), $MachinePrecision]), $MachinePrecision] + N[(-2.0 * l$95$m), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]
                  
                  \begin{array}{l}
                  l_m = \left|\ell\right|
                  
                  \\
                  \begin{array}{l}
                  \mathbf{if}\;n \leq 5.2 \cdot 10^{-289}:\\
                  \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \mathsf{fma}\left(\left(U* - U\right) \cdot n, \frac{l\_m}{Om}, -2 \cdot l\_m\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                  
                  \mathbf{else}:\\
                  \;\;\;\;\sqrt{\mathsf{fma}\left(\frac{l\_m}{Om}, \mathsf{fma}\left(U* - U, n \cdot \frac{l\_m}{Om}, -2 \cdot l\_m\right), t\right) \cdot U} \cdot \sqrt{2 \cdot n}\\
                  
                  
                  \end{array}
                  \end{array}
                  
                  Derivation
                  1. Split input into 2 regimes
                  2. if n < 5.1999999999999998e-289

                    1. Initial program 58.5%

                      \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                    2. Add Preprocessing
                    3. Step-by-step derivation
                      1. lift--.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                      2. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                      3. +-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                      4. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      5. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      6. distribute-lft-neg-inN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      7. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      8. lift-pow.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      9. unpow2N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      10. associate-*r*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      11. associate-*r*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      12. lower-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                      13. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      14. lower-neg.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      15. lower-*.f6460.5

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      16. lift--.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                      17. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                    4. Applied rewrites60.5%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                    5. Step-by-step derivation
                      1. lift-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      2. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      3. lower-fma.f6460.5

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      4. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      5. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      6. lower-*.f6460.5

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      7. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      8. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      9. lower-*.f6460.5

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      10. lift-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                      11. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                      12. lower-fma.f6460.5

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                      13. lift-/.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                      14. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                      15. associate-*l/N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                      16. lift-/.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om}} \cdot \ell, -2, t\right)\right)} \]
                      17. lower-*.f6462.0

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                    6. Applied rewrites62.0%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                    7. Step-by-step derivation
                      1. lift-*.f64N/A

                        \[\leadsto \sqrt{\color{blue}{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                      2. *-commutativeN/A

                        \[\leadsto \sqrt{\color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)}} \]
                      3. lift-*.f64N/A

                        \[\leadsto \sqrt{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \color{blue}{\left(\left(2 \cdot n\right) \cdot U\right)}} \]
                      4. associate-*r*N/A

                        \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                      5. lower-*.f64N/A

                        \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                    8. Applied rewrites62.6%

                      \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(U* - U\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]

                    if 5.1999999999999998e-289 < n

                    1. Initial program 48.8%

                      \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                    2. Add Preprocessing
                    3. Step-by-step derivation
                      1. lift--.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                      2. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                      3. +-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                      4. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      5. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      6. distribute-lft-neg-inN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      7. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      8. lift-pow.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      9. unpow2N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      10. associate-*r*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      11. associate-*r*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      12. lower-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                      13. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      14. lower-neg.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      15. lower-*.f6450.7

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      16. lift--.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                      17. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                    4. Applied rewrites50.7%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                    5. Taylor expanded in U around 0

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(U* + -1 \cdot U\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    6. Step-by-step derivation
                      1. mul-1-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(U* + \color{blue}{\left(\mathsf{neg}\left(U\right)\right)}\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      2. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(U* - U\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      3. lower--.f6450.7

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(U* - U\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    7. Applied rewrites50.7%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(U* - U\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                    8. Step-by-step derivation
                      1. lift-sqrt.f64N/A

                        \[\leadsto \color{blue}{\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(U* - U\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      2. pow1/2N/A

                        \[\leadsto \color{blue}{{\left(\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(U* - U\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)\right)}^{\frac{1}{2}}} \]
                      3. lift-*.f64N/A

                        \[\leadsto {\color{blue}{\left(\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(U* - U\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)\right)}}^{\frac{1}{2}} \]
                      4. lift-*.f64N/A

                        \[\leadsto {\left(\color{blue}{\left(\left(2 \cdot n\right) \cdot U\right)} \cdot \mathsf{fma}\left(\left(U* - U\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)\right)}^{\frac{1}{2}} \]
                      5. associate-*l*N/A

                        \[\leadsto {\color{blue}{\left(\left(2 \cdot n\right) \cdot \left(U \cdot \mathsf{fma}\left(\left(U* - U\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)\right)\right)}}^{\frac{1}{2}} \]
                      6. *-commutativeN/A

                        \[\leadsto {\color{blue}{\left(\left(U \cdot \mathsf{fma}\left(\left(U* - U\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)\right) \cdot \left(2 \cdot n\right)\right)}}^{\frac{1}{2}} \]
                      7. unpow-prod-downN/A

                        \[\leadsto \color{blue}{{\left(U \cdot \mathsf{fma}\left(\left(U* - U\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
                      8. lower-*.f64N/A

                        \[\leadsto \color{blue}{{\left(U \cdot \mathsf{fma}\left(\left(U* - U\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
                    9. Applied rewrites70.7%

                      \[\leadsto \color{blue}{\sqrt{\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(U* - U, n \cdot \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot U} \cdot \sqrt{2 \cdot n}} \]
                  3. Recombined 2 regimes into one program.
                  4. Add Preprocessing

                  Alternative 11: 57.8% accurate, 2.4× speedup?

                  \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;l\_m \leq 3.9 \cdot 10^{-106}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \frac{U* \cdot \left(l\_m \cdot n\right)}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, l\_m \cdot \mathsf{fma}\left(n, \frac{U* - U}{Om}, -2\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \end{array} \end{array} \]
                  l_m = (fabs.f64 l)
                  (FPCore (n U t l_m Om U*)
                   :precision binary64
                   (if (<= l_m 3.9e-106)
                     (sqrt (* (* (fma (/ l_m Om) (/ (* U* (* l_m n)) Om) t) (* 2.0 n)) U))
                     (sqrt
                      (*
                       (* (fma (/ l_m Om) (* l_m (fma n (/ (- U* U) Om) -2.0)) t) (* 2.0 n))
                       U))))
                  l_m = fabs(l);
                  double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                  	double tmp;
                  	if (l_m <= 3.9e-106) {
                  		tmp = sqrt(((fma((l_m / Om), ((U_42_ * (l_m * n)) / Om), t) * (2.0 * n)) * U));
                  	} else {
                  		tmp = sqrt(((fma((l_m / Om), (l_m * fma(n, ((U_42_ - U) / Om), -2.0)), t) * (2.0 * n)) * U));
                  	}
                  	return tmp;
                  }
                  
                  l_m = abs(l)
                  function code(n, U, t, l_m, Om, U_42_)
                  	tmp = 0.0
                  	if (l_m <= 3.9e-106)
                  		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(Float64(U_42_ * Float64(l_m * n)) / Om), t) * Float64(2.0 * n)) * U));
                  	else
                  		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(l_m * fma(n, Float64(Float64(U_42_ - U) / Om), -2.0)), t) * Float64(2.0 * n)) * U));
                  	end
                  	return tmp
                  end
                  
                  l_m = N[Abs[l], $MachinePrecision]
                  code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[l$95$m, 3.9e-106], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(N[(U$42$ * N[(l$95$m * n), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(l$95$m * N[(n * N[(N[(U$42$ - U), $MachinePrecision] / Om), $MachinePrecision] + -2.0), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision]]
                  
                  \begin{array}{l}
                  l_m = \left|\ell\right|
                  
                  \\
                  \begin{array}{l}
                  \mathbf{if}\;l\_m \leq 3.9 \cdot 10^{-106}:\\
                  \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \frac{U* \cdot \left(l\_m \cdot n\right)}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                  
                  \mathbf{else}:\\
                  \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, l\_m \cdot \mathsf{fma}\left(n, \frac{U* - U}{Om}, -2\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                  
                  
                  \end{array}
                  \end{array}
                  
                  Derivation
                  1. Split input into 2 regimes
                  2. if l < 3.9000000000000001e-106

                    1. Initial program 58.4%

                      \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                    2. Add Preprocessing
                    3. Step-by-step derivation
                      1. lift--.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                      2. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                      3. +-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                      4. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      5. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      6. distribute-lft-neg-inN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      7. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      8. lift-pow.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      9. unpow2N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      10. associate-*r*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      11. associate-*r*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      12. lower-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                      13. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      14. lower-neg.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      15. lower-*.f6461.0

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      16. lift--.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                      17. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                    4. Applied rewrites61.0%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                    5. Step-by-step derivation
                      1. lift-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      2. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      3. lower-fma.f6461.0

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      4. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      5. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      6. lower-*.f6461.0

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      7. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      8. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      9. lower-*.f6461.0

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      10. lift-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                      11. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                      12. lower-fma.f6461.0

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                      13. lift-/.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                      14. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                      15. associate-*l/N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                      16. lift-/.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om}} \cdot \ell, -2, t\right)\right)} \]
                      17. lower-*.f6462.1

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                    6. Applied rewrites62.1%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                    7. Step-by-step derivation
                      1. lift-*.f64N/A

                        \[\leadsto \sqrt{\color{blue}{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                      2. *-commutativeN/A

                        \[\leadsto \sqrt{\color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)}} \]
                      3. lift-*.f64N/A

                        \[\leadsto \sqrt{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \color{blue}{\left(\left(2 \cdot n\right) \cdot U\right)}} \]
                      4. associate-*r*N/A

                        \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                      5. lower-*.f64N/A

                        \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                    8. Applied rewrites60.1%

                      \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(U* - U\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                    9. Taylor expanded in U* around inf

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    10. Step-by-step derivation
                      1. lower-/.f64N/A

                        \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                      2. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \frac{\color{blue}{U* \cdot \left(\ell \cdot n\right)}}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                      3. lower-*.f6458.0

                        \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \frac{U* \cdot \color{blue}{\left(\ell \cdot n\right)}}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    11. Applied rewrites58.0%

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]

                    if 3.9000000000000001e-106 < l

                    1. Initial program 43.1%

                      \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                    2. Add Preprocessing
                    3. Step-by-step derivation
                      1. lift--.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                      2. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                      3. +-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                      4. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      5. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      6. distribute-lft-neg-inN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      7. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      8. lift-pow.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      9. unpow2N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      10. associate-*r*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      11. associate-*r*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      12. lower-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                      13. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      14. lower-neg.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      15. lower-*.f6443.5

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      16. lift--.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                      17. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                    4. Applied rewrites43.5%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                    5. Step-by-step derivation
                      1. lift-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      2. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      3. lower-fma.f6443.5

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      4. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      5. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      6. lower-*.f6443.5

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      7. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      8. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      9. lower-*.f6443.5

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      10. lift-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                      11. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                      12. lower-fma.f6443.5

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                      13. lift-/.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                      14. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                      15. associate-*l/N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                      16. lift-/.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om}} \cdot \ell, -2, t\right)\right)} \]
                      17. lower-*.f6448.7

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                    6. Applied rewrites48.7%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                    7. Step-by-step derivation
                      1. lift-*.f64N/A

                        \[\leadsto \sqrt{\color{blue}{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                      2. *-commutativeN/A

                        \[\leadsto \sqrt{\color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)}} \]
                      3. lift-*.f64N/A

                        \[\leadsto \sqrt{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \color{blue}{\left(\left(2 \cdot n\right) \cdot U\right)}} \]
                      4. associate-*r*N/A

                        \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                      5. lower-*.f64N/A

                        \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                    8. Applied rewrites51.4%

                      \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(U* - U\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                    9. Taylor expanded in l around 0

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\ell \cdot \left(\frac{n \cdot \left(U* - U\right)}{Om} - 2\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    10. Step-by-step derivation
                      1. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\ell \cdot \left(\frac{n \cdot \left(U* - U\right)}{Om} - 2\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                      2. sub-negN/A

                        \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \color{blue}{\left(\frac{n \cdot \left(U* - U\right)}{Om} + \left(\mathsf{neg}\left(2\right)\right)\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                      3. associate-/l*N/A

                        \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \left(\color{blue}{n \cdot \frac{U* - U}{Om}} + \left(\mathsf{neg}\left(2\right)\right)\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                      4. metadata-evalN/A

                        \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \left(n \cdot \frac{U* - U}{Om} + \color{blue}{-2}\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                      5. lower-fma.f64N/A

                        \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \color{blue}{\mathsf{fma}\left(n, \frac{U* - U}{Om}, -2\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                      6. lower-/.f64N/A

                        \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \mathsf{fma}\left(n, \color{blue}{\frac{U* - U}{Om}}, -2\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                      7. lower--.f6453.0

                        \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \mathsf{fma}\left(n, \frac{\color{blue}{U* - U}}{Om}, -2\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    11. Applied rewrites53.0%

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\ell \cdot \mathsf{fma}\left(n, \frac{U* - U}{Om}, -2\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                  3. Recombined 2 regimes into one program.
                  4. Add Preprocessing

                  Alternative 12: 53.4% accurate, 2.5× speedup?

                  \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \mathsf{fma}\left(\frac{l\_m}{Om} \cdot l\_m, -2, t\right)\\ \mathbf{if}\;n \leq -4.8 \cdot 10^{-80}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \frac{U* \cdot \left(l\_m \cdot n\right)}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{elif}\;n \leq 2.6 \cdot 10^{-291}:\\ \;\;\;\;\sqrt{\left(\left(t\_1 \cdot n\right) \cdot U\right) \cdot 2}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{t\_1 \cdot U} \cdot \sqrt{2 \cdot n}\\ \end{array} \end{array} \]
                  l_m = (fabs.f64 l)
                  (FPCore (n U t l_m Om U*)
                   :precision binary64
                   (let* ((t_1 (fma (* (/ l_m Om) l_m) -2.0 t)))
                     (if (<= n -4.8e-80)
                       (sqrt (* (* (fma (/ l_m Om) (/ (* U* (* l_m n)) Om) t) (* 2.0 n)) U))
                       (if (<= n 2.6e-291)
                         (sqrt (* (* (* t_1 n) U) 2.0))
                         (* (sqrt (* t_1 U)) (sqrt (* 2.0 n)))))))
                  l_m = fabs(l);
                  double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                  	double t_1 = fma(((l_m / Om) * l_m), -2.0, t);
                  	double tmp;
                  	if (n <= -4.8e-80) {
                  		tmp = sqrt(((fma((l_m / Om), ((U_42_ * (l_m * n)) / Om), t) * (2.0 * n)) * U));
                  	} else if (n <= 2.6e-291) {
                  		tmp = sqrt((((t_1 * n) * U) * 2.0));
                  	} else {
                  		tmp = sqrt((t_1 * U)) * sqrt((2.0 * n));
                  	}
                  	return tmp;
                  }
                  
                  l_m = abs(l)
                  function code(n, U, t, l_m, Om, U_42_)
                  	t_1 = fma(Float64(Float64(l_m / Om) * l_m), -2.0, t)
                  	tmp = 0.0
                  	if (n <= -4.8e-80)
                  		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(Float64(U_42_ * Float64(l_m * n)) / Om), t) * Float64(2.0 * n)) * U));
                  	elseif (n <= 2.6e-291)
                  		tmp = sqrt(Float64(Float64(Float64(t_1 * n) * U) * 2.0));
                  	else
                  		tmp = Float64(sqrt(Float64(t_1 * U)) * sqrt(Float64(2.0 * n)));
                  	end
                  	return tmp
                  end
                  
                  l_m = N[Abs[l], $MachinePrecision]
                  code[n_, U_, t_, l$95$m_, Om_, U$42$_] := Block[{t$95$1 = N[(N[(N[(l$95$m / Om), $MachinePrecision] * l$95$m), $MachinePrecision] * -2.0 + t), $MachinePrecision]}, If[LessEqual[n, -4.8e-80], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(N[(U$42$ * N[(l$95$m * n), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision], If[LessEqual[n, 2.6e-291], N[Sqrt[N[(N[(N[(t$95$1 * n), $MachinePrecision] * U), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(t$95$1 * U), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]]]
                  
                  \begin{array}{l}
                  l_m = \left|\ell\right|
                  
                  \\
                  \begin{array}{l}
                  t_1 := \mathsf{fma}\left(\frac{l\_m}{Om} \cdot l\_m, -2, t\right)\\
                  \mathbf{if}\;n \leq -4.8 \cdot 10^{-80}:\\
                  \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \frac{U* \cdot \left(l\_m \cdot n\right)}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                  
                  \mathbf{elif}\;n \leq 2.6 \cdot 10^{-291}:\\
                  \;\;\;\;\sqrt{\left(\left(t\_1 \cdot n\right) \cdot U\right) \cdot 2}\\
                  
                  \mathbf{else}:\\
                  \;\;\;\;\sqrt{t\_1 \cdot U} \cdot \sqrt{2 \cdot n}\\
                  
                  
                  \end{array}
                  \end{array}
                  
                  Derivation
                  1. Split input into 3 regimes
                  2. if n < -4.7999999999999998e-80

                    1. Initial program 68.6%

                      \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                    2. Add Preprocessing
                    3. Step-by-step derivation
                      1. lift--.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                      2. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                      3. +-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                      4. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      5. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      6. distribute-lft-neg-inN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      7. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      8. lift-pow.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      9. unpow2N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      10. associate-*r*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      11. associate-*r*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      12. lower-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                      13. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      14. lower-neg.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      15. lower-*.f6469.8

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      16. lift--.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                      17. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                    4. Applied rewrites69.8%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                    5. Step-by-step derivation
                      1. lift-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      2. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      3. lower-fma.f6469.8

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      4. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      5. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      6. lower-*.f6469.8

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      7. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      8. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      9. lower-*.f6469.8

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      10. lift-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                      11. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                      12. lower-fma.f6469.8

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                      13. lift-/.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                      14. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                      15. associate-*l/N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                      16. lift-/.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om}} \cdot \ell, -2, t\right)\right)} \]
                      17. lower-*.f6470.9

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                    6. Applied rewrites70.9%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                    7. Step-by-step derivation
                      1. lift-*.f64N/A

                        \[\leadsto \sqrt{\color{blue}{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                      2. *-commutativeN/A

                        \[\leadsto \sqrt{\color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)}} \]
                      3. lift-*.f64N/A

                        \[\leadsto \sqrt{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \color{blue}{\left(\left(2 \cdot n\right) \cdot U\right)}} \]
                      4. associate-*r*N/A

                        \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                      5. lower-*.f64N/A

                        \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                    8. Applied rewrites63.9%

                      \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(U* - U\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                    9. Taylor expanded in U* around inf

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    10. Step-by-step derivation
                      1. lower-/.f64N/A

                        \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                      2. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \frac{\color{blue}{U* \cdot \left(\ell \cdot n\right)}}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                      3. lower-*.f6464.2

                        \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \frac{U* \cdot \color{blue}{\left(\ell \cdot n\right)}}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    11. Applied rewrites64.2%

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]

                    if -4.7999999999999998e-80 < n < 2.5999999999999999e-291

                    1. Initial program 41.4%

                      \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                    2. Add Preprocessing
                    3. Taylor expanded in n around 0

                      \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \cdot \sqrt{2}} \]
                    4. Step-by-step derivation
                      1. *-commutativeN/A

                        \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                      2. lower-*.f64N/A

                        \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                      3. lower-sqrt.f64N/A

                        \[\leadsto \color{blue}{\sqrt{2}} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
                      4. lower-sqrt.f64N/A

                        \[\leadsto \sqrt{2} \cdot \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                      5. *-commutativeN/A

                        \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
                      6. lower-*.f64N/A

                        \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
                      7. *-commutativeN/A

                        \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
                      8. lower-*.f64N/A

                        \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
                      9. cancel-sign-sub-invN/A

                        \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot n\right) \cdot U} \]
                      10. metadata-evalN/A

                        \[\leadsto \sqrt{2} \cdot \sqrt{\left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right) \cdot U} \]
                      11. +-commutativeN/A

                        \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot n\right) \cdot U} \]
                      12. lower-fma.f64N/A

                        \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot n\right) \cdot U} \]
                      13. lower-/.f64N/A

                        \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot n\right) \cdot U} \]
                      14. unpow2N/A

                        \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
                      15. lower-*.f6455.6

                        \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
                    5. Applied rewrites55.6%

                      \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot n\right) \cdot U}} \]
                    6. Step-by-step derivation
                      1. Applied rewrites58.2%

                        \[\leadsto \color{blue}{\sqrt{\left(\left(\mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right) \cdot n\right) \cdot U\right) \cdot 2}} \]

                      if 2.5999999999999999e-291 < n

                      1. Initial program 48.5%

                        \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                      2. Add Preprocessing
                      3. Taylor expanded in n around 0

                        \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \cdot \sqrt{2}} \]
                      4. Step-by-step derivation
                        1. *-commutativeN/A

                          \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                        2. lower-*.f64N/A

                          \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                        3. lower-sqrt.f64N/A

                          \[\leadsto \color{blue}{\sqrt{2}} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
                        4. lower-sqrt.f64N/A

                          \[\leadsto \sqrt{2} \cdot \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                        5. *-commutativeN/A

                          \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
                        6. lower-*.f64N/A

                          \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
                        7. *-commutativeN/A

                          \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
                        8. lower-*.f64N/A

                          \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
                        9. cancel-sign-sub-invN/A

                          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot n\right) \cdot U} \]
                        10. metadata-evalN/A

                          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right) \cdot U} \]
                        11. +-commutativeN/A

                          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot n\right) \cdot U} \]
                        12. lower-fma.f64N/A

                          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot n\right) \cdot U} \]
                        13. lower-/.f64N/A

                          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot n\right) \cdot U} \]
                        14. unpow2N/A

                          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
                        15. lower-*.f6442.2

                          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
                      5. Applied rewrites42.2%

                        \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot n\right) \cdot U}} \]
                      6. Step-by-step derivation
                        1. Applied rewrites56.1%

                          \[\leadsto \sqrt{\mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right) \cdot U} \cdot \color{blue}{\sqrt{2 \cdot n}} \]
                      7. Recombined 3 regimes into one program.
                      8. Add Preprocessing

                      Alternative 13: 50.6% accurate, 2.8× speedup?

                      \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \mathsf{fma}\left(\frac{l\_m}{Om} \cdot l\_m, -2, t\right)\\ \mathbf{if}\;n \leq 2.6 \cdot 10^{-291}:\\ \;\;\;\;\sqrt{\left(\left(t\_1 \cdot n\right) \cdot U\right) \cdot 2}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{t\_1 \cdot U} \cdot \sqrt{2 \cdot n}\\ \end{array} \end{array} \]
                      l_m = (fabs.f64 l)
                      (FPCore (n U t l_m Om U*)
                       :precision binary64
                       (let* ((t_1 (fma (* (/ l_m Om) l_m) -2.0 t)))
                         (if (<= n 2.6e-291)
                           (sqrt (* (* (* t_1 n) U) 2.0))
                           (* (sqrt (* t_1 U)) (sqrt (* 2.0 n))))))
                      l_m = fabs(l);
                      double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                      	double t_1 = fma(((l_m / Om) * l_m), -2.0, t);
                      	double tmp;
                      	if (n <= 2.6e-291) {
                      		tmp = sqrt((((t_1 * n) * U) * 2.0));
                      	} else {
                      		tmp = sqrt((t_1 * U)) * sqrt((2.0 * n));
                      	}
                      	return tmp;
                      }
                      
                      l_m = abs(l)
                      function code(n, U, t, l_m, Om, U_42_)
                      	t_1 = fma(Float64(Float64(l_m / Om) * l_m), -2.0, t)
                      	tmp = 0.0
                      	if (n <= 2.6e-291)
                      		tmp = sqrt(Float64(Float64(Float64(t_1 * n) * U) * 2.0));
                      	else
                      		tmp = Float64(sqrt(Float64(t_1 * U)) * sqrt(Float64(2.0 * n)));
                      	end
                      	return tmp
                      end
                      
                      l_m = N[Abs[l], $MachinePrecision]
                      code[n_, U_, t_, l$95$m_, Om_, U$42$_] := Block[{t$95$1 = N[(N[(N[(l$95$m / Om), $MachinePrecision] * l$95$m), $MachinePrecision] * -2.0 + t), $MachinePrecision]}, If[LessEqual[n, 2.6e-291], N[Sqrt[N[(N[(N[(t$95$1 * n), $MachinePrecision] * U), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(t$95$1 * U), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]]
                      
                      \begin{array}{l}
                      l_m = \left|\ell\right|
                      
                      \\
                      \begin{array}{l}
                      t_1 := \mathsf{fma}\left(\frac{l\_m}{Om} \cdot l\_m, -2, t\right)\\
                      \mathbf{if}\;n \leq 2.6 \cdot 10^{-291}:\\
                      \;\;\;\;\sqrt{\left(\left(t\_1 \cdot n\right) \cdot U\right) \cdot 2}\\
                      
                      \mathbf{else}:\\
                      \;\;\;\;\sqrt{t\_1 \cdot U} \cdot \sqrt{2 \cdot n}\\
                      
                      
                      \end{array}
                      \end{array}
                      
                      Derivation
                      1. Split input into 2 regimes
                      2. if n < 2.5999999999999999e-291

                        1. Initial program 58.9%

                          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                        2. Add Preprocessing
                        3. Taylor expanded in n around 0

                          \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \cdot \sqrt{2}} \]
                        4. Step-by-step derivation
                          1. *-commutativeN/A

                            \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                          2. lower-*.f64N/A

                            \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                          3. lower-sqrt.f64N/A

                            \[\leadsto \color{blue}{\sqrt{2}} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
                          4. lower-sqrt.f64N/A

                            \[\leadsto \sqrt{2} \cdot \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                          5. *-commutativeN/A

                            \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
                          6. lower-*.f64N/A

                            \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
                          7. *-commutativeN/A

                            \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
                          8. lower-*.f64N/A

                            \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
                          9. cancel-sign-sub-invN/A

                            \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot n\right) \cdot U} \]
                          10. metadata-evalN/A

                            \[\leadsto \sqrt{2} \cdot \sqrt{\left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right) \cdot U} \]
                          11. +-commutativeN/A

                            \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot n\right) \cdot U} \]
                          12. lower-fma.f64N/A

                            \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot n\right) \cdot U} \]
                          13. lower-/.f64N/A

                            \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot n\right) \cdot U} \]
                          14. unpow2N/A

                            \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
                          15. lower-*.f6455.5

                            \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
                        5. Applied rewrites55.5%

                          \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot n\right) \cdot U}} \]
                        6. Step-by-step derivation
                          1. Applied rewrites56.5%

                            \[\leadsto \color{blue}{\sqrt{\left(\left(\mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right) \cdot n\right) \cdot U\right) \cdot 2}} \]

                          if 2.5999999999999999e-291 < n

                          1. Initial program 48.5%

                            \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                          2. Add Preprocessing
                          3. Taylor expanded in n around 0

                            \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \cdot \sqrt{2}} \]
                          4. Step-by-step derivation
                            1. *-commutativeN/A

                              \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                            2. lower-*.f64N/A

                              \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                            3. lower-sqrt.f64N/A

                              \[\leadsto \color{blue}{\sqrt{2}} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
                            4. lower-sqrt.f64N/A

                              \[\leadsto \sqrt{2} \cdot \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                            5. *-commutativeN/A

                              \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
                            6. lower-*.f64N/A

                              \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
                            7. *-commutativeN/A

                              \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
                            8. lower-*.f64N/A

                              \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
                            9. cancel-sign-sub-invN/A

                              \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot n\right) \cdot U} \]
                            10. metadata-evalN/A

                              \[\leadsto \sqrt{2} \cdot \sqrt{\left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right) \cdot U} \]
                            11. +-commutativeN/A

                              \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot n\right) \cdot U} \]
                            12. lower-fma.f64N/A

                              \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot n\right) \cdot U} \]
                            13. lower-/.f64N/A

                              \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot n\right) \cdot U} \]
                            14. unpow2N/A

                              \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
                            15. lower-*.f6442.2

                              \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
                          5. Applied rewrites42.2%

                            \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot n\right) \cdot U}} \]
                          6. Step-by-step derivation
                            1. Applied rewrites56.1%

                              \[\leadsto \sqrt{\mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right) \cdot U} \cdot \color{blue}{\sqrt{2 \cdot n}} \]
                          7. Recombined 2 regimes into one program.
                          8. Add Preprocessing

                          Alternative 14: 48.7% accurate, 3.3× speedup?

                          \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;l\_m \leq 1.14 \cdot 10^{+154}:\\ \;\;\;\;\sqrt{\left(\left(\mathsf{fma}\left(-2, \frac{l\_m \cdot l\_m}{Om}, t\right) \cdot n\right) \cdot U\right) \cdot 2}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(\left(\left(l\_m \cdot \left(n \cdot \frac{l\_m}{Om}\right)\right) \cdot U\right) \cdot -2\right) \cdot 2}\\ \end{array} \end{array} \]
                          l_m = (fabs.f64 l)
                          (FPCore (n U t l_m Om U*)
                           :precision binary64
                           (if (<= l_m 1.14e+154)
                             (sqrt (* (* (* (fma -2.0 (/ (* l_m l_m) Om) t) n) U) 2.0))
                             (sqrt (* (* (* (* l_m (* n (/ l_m Om))) U) -2.0) 2.0))))
                          l_m = fabs(l);
                          double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                          	double tmp;
                          	if (l_m <= 1.14e+154) {
                          		tmp = sqrt((((fma(-2.0, ((l_m * l_m) / Om), t) * n) * U) * 2.0));
                          	} else {
                          		tmp = sqrt(((((l_m * (n * (l_m / Om))) * U) * -2.0) * 2.0));
                          	}
                          	return tmp;
                          }
                          
                          l_m = abs(l)
                          function code(n, U, t, l_m, Om, U_42_)
                          	tmp = 0.0
                          	if (l_m <= 1.14e+154)
                          		tmp = sqrt(Float64(Float64(Float64(fma(-2.0, Float64(Float64(l_m * l_m) / Om), t) * n) * U) * 2.0));
                          	else
                          		tmp = sqrt(Float64(Float64(Float64(Float64(l_m * Float64(n * Float64(l_m / Om))) * U) * -2.0) * 2.0));
                          	end
                          	return tmp
                          end
                          
                          l_m = N[Abs[l], $MachinePrecision]
                          code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[l$95$m, 1.14e+154], N[Sqrt[N[(N[(N[(N[(-2.0 * N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision] + t), $MachinePrecision] * n), $MachinePrecision] * U), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(N[(N[(l$95$m * N[(n * N[(l$95$m / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision] * -2.0), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision]]
                          
                          \begin{array}{l}
                          l_m = \left|\ell\right|
                          
                          \\
                          \begin{array}{l}
                          \mathbf{if}\;l\_m \leq 1.14 \cdot 10^{+154}:\\
                          \;\;\;\;\sqrt{\left(\left(\mathsf{fma}\left(-2, \frac{l\_m \cdot l\_m}{Om}, t\right) \cdot n\right) \cdot U\right) \cdot 2}\\
                          
                          \mathbf{else}:\\
                          \;\;\;\;\sqrt{\left(\left(\left(l\_m \cdot \left(n \cdot \frac{l\_m}{Om}\right)\right) \cdot U\right) \cdot -2\right) \cdot 2}\\
                          
                          
                          \end{array}
                          \end{array}
                          
                          Derivation
                          1. Split input into 2 regimes
                          2. if l < 1.13999999999999997e154

                            1. Initial program 57.9%

                              \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                            2. Add Preprocessing
                            3. Taylor expanded in n around 0

                              \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)\right)}} \]
                            4. Step-by-step derivation
                              1. *-commutativeN/A

                                \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)\right) \cdot 2}} \]
                              2. lower-*.f64N/A

                                \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)\right) \cdot 2}} \]
                              3. *-commutativeN/A

                                \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U\right)} \cdot 2} \]
                              4. lower-*.f64N/A

                                \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U\right)} \cdot 2} \]
                              5. *-commutativeN/A

                                \[\leadsto \sqrt{\left(\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U\right) \cdot 2} \]
                              6. lower-*.f64N/A

                                \[\leadsto \sqrt{\left(\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U\right) \cdot 2} \]
                              7. cancel-sign-sub-invN/A

                                \[\leadsto \sqrt{\left(\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot n\right) \cdot U\right) \cdot 2} \]
                              8. metadata-evalN/A

                                \[\leadsto \sqrt{\left(\left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right) \cdot U\right) \cdot 2} \]
                              9. +-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot n\right) \cdot U\right) \cdot 2} \]
                              10. lower-fma.f64N/A

                                \[\leadsto \sqrt{\left(\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot n\right) \cdot U\right) \cdot 2} \]
                              11. lower-/.f64N/A

                                \[\leadsto \sqrt{\left(\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot n\right) \cdot U\right) \cdot 2} \]
                              12. unpow2N/A

                                \[\leadsto \sqrt{\left(\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U\right) \cdot 2} \]
                              13. lower-*.f6452.7

                                \[\leadsto \sqrt{\left(\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U\right) \cdot 2} \]
                            5. Applied rewrites52.7%

                              \[\leadsto \sqrt{\color{blue}{\left(\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot n\right) \cdot U\right) \cdot 2}} \]

                            if 1.13999999999999997e154 < l

                            1. Initial program 14.3%

                              \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                            2. Add Preprocessing
                            3. Taylor expanded in n around 0

                              \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \cdot \sqrt{2}} \]
                            4. Step-by-step derivation
                              1. *-commutativeN/A

                                \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                              2. lower-*.f64N/A

                                \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                              3. lower-sqrt.f64N/A

                                \[\leadsto \color{blue}{\sqrt{2}} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
                              4. lower-sqrt.f64N/A

                                \[\leadsto \sqrt{2} \cdot \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                              5. *-commutativeN/A

                                \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
                              6. lower-*.f64N/A

                                \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
                              7. *-commutativeN/A

                                \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
                              8. lower-*.f64N/A

                                \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
                              9. cancel-sign-sub-invN/A

                                \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot n\right) \cdot U} \]
                              10. metadata-evalN/A

                                \[\leadsto \sqrt{2} \cdot \sqrt{\left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right) \cdot U} \]
                              11. +-commutativeN/A

                                \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot n\right) \cdot U} \]
                              12. lower-fma.f64N/A

                                \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot n\right) \cdot U} \]
                              13. lower-/.f64N/A

                                \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot n\right) \cdot U} \]
                              14. unpow2N/A

                                \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
                              15. lower-*.f6415.4

                                \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
                            5. Applied rewrites15.4%

                              \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot n\right) \cdot U}} \]
                            6. Taylor expanded in t around 0

                              \[\leadsto \sqrt{2} \cdot \sqrt{-2 \cdot \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{Om}} \]
                            7. Step-by-step derivation
                              1. Applied rewrites15.4%

                                \[\leadsto \sqrt{2} \cdot \sqrt{-2 \cdot \left(U \cdot \frac{\left(\ell \cdot \ell\right) \cdot n}{Om}\right)} \]
                              2. Step-by-step derivation
                                1. Applied rewrites36.1%

                                  \[\leadsto \color{blue}{\sqrt{\left(\left(\left(\ell \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot U\right) \cdot -2\right) \cdot 2}} \]
                              3. Recombined 2 regimes into one program.
                              4. Add Preprocessing

                              Alternative 15: 48.7% accurate, 3.3× speedup?

                              \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;l\_m \leq 2.15 \cdot 10^{+155}:\\ \;\;\;\;\sqrt{\left(\left(\mathsf{fma}\left(\frac{l\_m}{Om} \cdot l\_m, -2, t\right) \cdot n\right) \cdot U\right) \cdot 2}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(\left(\left(l\_m \cdot \left(n \cdot \frac{l\_m}{Om}\right)\right) \cdot U\right) \cdot -2\right) \cdot 2}\\ \end{array} \end{array} \]
                              l_m = (fabs.f64 l)
                              (FPCore (n U t l_m Om U*)
                               :precision binary64
                               (if (<= l_m 2.15e+155)
                                 (sqrt (* (* (* (fma (* (/ l_m Om) l_m) -2.0 t) n) U) 2.0))
                                 (sqrt (* (* (* (* l_m (* n (/ l_m Om))) U) -2.0) 2.0))))
                              l_m = fabs(l);
                              double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                              	double tmp;
                              	if (l_m <= 2.15e+155) {
                              		tmp = sqrt((((fma(((l_m / Om) * l_m), -2.0, t) * n) * U) * 2.0));
                              	} else {
                              		tmp = sqrt(((((l_m * (n * (l_m / Om))) * U) * -2.0) * 2.0));
                              	}
                              	return tmp;
                              }
                              
                              l_m = abs(l)
                              function code(n, U, t, l_m, Om, U_42_)
                              	tmp = 0.0
                              	if (l_m <= 2.15e+155)
                              		tmp = sqrt(Float64(Float64(Float64(fma(Float64(Float64(l_m / Om) * l_m), -2.0, t) * n) * U) * 2.0));
                              	else
                              		tmp = sqrt(Float64(Float64(Float64(Float64(l_m * Float64(n * Float64(l_m / Om))) * U) * -2.0) * 2.0));
                              	end
                              	return tmp
                              end
                              
                              l_m = N[Abs[l], $MachinePrecision]
                              code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[l$95$m, 2.15e+155], N[Sqrt[N[(N[(N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * l$95$m), $MachinePrecision] * -2.0 + t), $MachinePrecision] * n), $MachinePrecision] * U), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(N[(N[(l$95$m * N[(n * N[(l$95$m / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision] * -2.0), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision]]
                              
                              \begin{array}{l}
                              l_m = \left|\ell\right|
                              
                              \\
                              \begin{array}{l}
                              \mathbf{if}\;l\_m \leq 2.15 \cdot 10^{+155}:\\
                              \;\;\;\;\sqrt{\left(\left(\mathsf{fma}\left(\frac{l\_m}{Om} \cdot l\_m, -2, t\right) \cdot n\right) \cdot U\right) \cdot 2}\\
                              
                              \mathbf{else}:\\
                              \;\;\;\;\sqrt{\left(\left(\left(l\_m \cdot \left(n \cdot \frac{l\_m}{Om}\right)\right) \cdot U\right) \cdot -2\right) \cdot 2}\\
                              
                              
                              \end{array}
                              \end{array}
                              
                              Derivation
                              1. Split input into 2 regimes
                              2. if l < 2.1500000000000001e155

                                1. Initial program 57.7%

                                  \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                                2. Add Preprocessing
                                3. Taylor expanded in n around 0

                                  \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \cdot \sqrt{2}} \]
                                4. Step-by-step derivation
                                  1. *-commutativeN/A

                                    \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                                  2. lower-*.f64N/A

                                    \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                                  3. lower-sqrt.f64N/A

                                    \[\leadsto \color{blue}{\sqrt{2}} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
                                  4. lower-sqrt.f64N/A

                                    \[\leadsto \sqrt{2} \cdot \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                                  5. *-commutativeN/A

                                    \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
                                  6. lower-*.f64N/A

                                    \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
                                  7. *-commutativeN/A

                                    \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
                                  8. lower-*.f64N/A

                                    \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
                                  9. cancel-sign-sub-invN/A

                                    \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot n\right) \cdot U} \]
                                  10. metadata-evalN/A

                                    \[\leadsto \sqrt{2} \cdot \sqrt{\left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right) \cdot U} \]
                                  11. +-commutativeN/A

                                    \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot n\right) \cdot U} \]
                                  12. lower-fma.f64N/A

                                    \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot n\right) \cdot U} \]
                                  13. lower-/.f64N/A

                                    \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot n\right) \cdot U} \]
                                  14. unpow2N/A

                                    \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
                                  15. lower-*.f6452.3

                                    \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
                                5. Applied rewrites52.3%

                                  \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot n\right) \cdot U}} \]
                                6. Step-by-step derivation
                                  1. Applied rewrites53.8%

                                    \[\leadsto \color{blue}{\sqrt{\left(\left(\mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right) \cdot n\right) \cdot U\right) \cdot 2}} \]

                                  if 2.1500000000000001e155 < l

                                  1. Initial program 14.7%

                                    \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                                  2. Add Preprocessing
                                  3. Taylor expanded in n around 0

                                    \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \cdot \sqrt{2}} \]
                                  4. Step-by-step derivation
                                    1. *-commutativeN/A

                                      \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                                    2. lower-*.f64N/A

                                      \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                                    3. lower-sqrt.f64N/A

                                      \[\leadsto \color{blue}{\sqrt{2}} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
                                    4. lower-sqrt.f64N/A

                                      \[\leadsto \sqrt{2} \cdot \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                                    5. *-commutativeN/A

                                      \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
                                    6. lower-*.f64N/A

                                      \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
                                    7. *-commutativeN/A

                                      \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
                                    8. lower-*.f64N/A

                                      \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
                                    9. cancel-sign-sub-invN/A

                                      \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot n\right) \cdot U} \]
                                    10. metadata-evalN/A

                                      \[\leadsto \sqrt{2} \cdot \sqrt{\left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right) \cdot U} \]
                                    11. +-commutativeN/A

                                      \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot n\right) \cdot U} \]
                                    12. lower-fma.f64N/A

                                      \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot n\right) \cdot U} \]
                                    13. lower-/.f64N/A

                                      \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot n\right) \cdot U} \]
                                    14. unpow2N/A

                                      \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
                                    15. lower-*.f6415.9

                                      \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
                                  5. Applied rewrites15.9%

                                    \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot n\right) \cdot U}} \]
                                  6. Taylor expanded in t around 0

                                    \[\leadsto \sqrt{2} \cdot \sqrt{-2 \cdot \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{Om}} \]
                                  7. Step-by-step derivation
                                    1. Applied rewrites15.9%

                                      \[\leadsto \sqrt{2} \cdot \sqrt{-2 \cdot \left(U \cdot \frac{\left(\ell \cdot \ell\right) \cdot n}{Om}\right)} \]
                                    2. Step-by-step derivation
                                      1. Applied rewrites33.4%

                                        \[\leadsto \color{blue}{\sqrt{\left(\left(\left(\ell \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot U\right) \cdot -2\right) \cdot 2}} \]
                                    3. Recombined 2 regimes into one program.
                                    4. Add Preprocessing

                                    Alternative 16: 43.6% accurate, 3.4× speedup?

                                    \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;l\_m \leq 5.6 \cdot 10^{+16}:\\ \;\;\;\;\sqrt{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(\left(\left(l\_m \cdot \left(n \cdot \frac{l\_m}{Om}\right)\right) \cdot U\right) \cdot -2\right) \cdot 2}\\ \end{array} \end{array} \]
                                    l_m = (fabs.f64 l)
                                    (FPCore (n U t l_m Om U*)
                                     :precision binary64
                                     (if (<= l_m 5.6e+16)
                                       (sqrt (* (* (* n t) U) 2.0))
                                       (sqrt (* (* (* (* l_m (* n (/ l_m Om))) U) -2.0) 2.0))))
                                    l_m = fabs(l);
                                    double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                                    	double tmp;
                                    	if (l_m <= 5.6e+16) {
                                    		tmp = sqrt((((n * t) * U) * 2.0));
                                    	} else {
                                    		tmp = sqrt(((((l_m * (n * (l_m / Om))) * U) * -2.0) * 2.0));
                                    	}
                                    	return tmp;
                                    }
                                    
                                    l_m = abs(l)
                                    real(8) function code(n, u, t, l_m, om, u_42)
                                        real(8), intent (in) :: n
                                        real(8), intent (in) :: u
                                        real(8), intent (in) :: t
                                        real(8), intent (in) :: l_m
                                        real(8), intent (in) :: om
                                        real(8), intent (in) :: u_42
                                        real(8) :: tmp
                                        if (l_m <= 5.6d+16) then
                                            tmp = sqrt((((n * t) * u) * 2.0d0))
                                        else
                                            tmp = sqrt(((((l_m * (n * (l_m / om))) * u) * (-2.0d0)) * 2.0d0))
                                        end if
                                        code = tmp
                                    end function
                                    
                                    l_m = Math.abs(l);
                                    public static double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                                    	double tmp;
                                    	if (l_m <= 5.6e+16) {
                                    		tmp = Math.sqrt((((n * t) * U) * 2.0));
                                    	} else {
                                    		tmp = Math.sqrt(((((l_m * (n * (l_m / Om))) * U) * -2.0) * 2.0));
                                    	}
                                    	return tmp;
                                    }
                                    
                                    l_m = math.fabs(l)
                                    def code(n, U, t, l_m, Om, U_42_):
                                    	tmp = 0
                                    	if l_m <= 5.6e+16:
                                    		tmp = math.sqrt((((n * t) * U) * 2.0))
                                    	else:
                                    		tmp = math.sqrt(((((l_m * (n * (l_m / Om))) * U) * -2.0) * 2.0))
                                    	return tmp
                                    
                                    l_m = abs(l)
                                    function code(n, U, t, l_m, Om, U_42_)
                                    	tmp = 0.0
                                    	if (l_m <= 5.6e+16)
                                    		tmp = sqrt(Float64(Float64(Float64(n * t) * U) * 2.0));
                                    	else
                                    		tmp = sqrt(Float64(Float64(Float64(Float64(l_m * Float64(n * Float64(l_m / Om))) * U) * -2.0) * 2.0));
                                    	end
                                    	return tmp
                                    end
                                    
                                    l_m = abs(l);
                                    function tmp_2 = code(n, U, t, l_m, Om, U_42_)
                                    	tmp = 0.0;
                                    	if (l_m <= 5.6e+16)
                                    		tmp = sqrt((((n * t) * U) * 2.0));
                                    	else
                                    		tmp = sqrt(((((l_m * (n * (l_m / Om))) * U) * -2.0) * 2.0));
                                    	end
                                    	tmp_2 = tmp;
                                    end
                                    
                                    l_m = N[Abs[l], $MachinePrecision]
                                    code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[l$95$m, 5.6e+16], N[Sqrt[N[(N[(N[(n * t), $MachinePrecision] * U), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(N[(N[(l$95$m * N[(n * N[(l$95$m / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision] * -2.0), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision]]
                                    
                                    \begin{array}{l}
                                    l_m = \left|\ell\right|
                                    
                                    \\
                                    \begin{array}{l}
                                    \mathbf{if}\;l\_m \leq 5.6 \cdot 10^{+16}:\\
                                    \;\;\;\;\sqrt{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}\\
                                    
                                    \mathbf{else}:\\
                                    \;\;\;\;\sqrt{\left(\left(\left(l\_m \cdot \left(n \cdot \frac{l\_m}{Om}\right)\right) \cdot U\right) \cdot -2\right) \cdot 2}\\
                                    
                                    
                                    \end{array}
                                    \end{array}
                                    
                                    Derivation
                                    1. Split input into 2 regimes
                                    2. if l < 5.6e16

                                      1. Initial program 56.5%

                                        \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                                      2. Add Preprocessing
                                      3. Taylor expanded in t around inf

                                        \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot t\right)\right)}} \]
                                      4. Step-by-step derivation
                                        1. *-commutativeN/A

                                          \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                        2. lower-*.f64N/A

                                          \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                        3. *-commutativeN/A

                                          \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                        4. lower-*.f64N/A

                                          \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                        5. lower-*.f6448.1

                                          \[\leadsto \sqrt{\left(\color{blue}{\left(n \cdot t\right)} \cdot U\right) \cdot 2} \]
                                      5. Applied rewrites48.1%

                                        \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}} \]

                                      if 5.6e16 < l

                                      1. Initial program 42.1%

                                        \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                                      2. Add Preprocessing
                                      3. Taylor expanded in n around 0

                                        \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \cdot \sqrt{2}} \]
                                      4. Step-by-step derivation
                                        1. *-commutativeN/A

                                          \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                                        2. lower-*.f64N/A

                                          \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                                        3. lower-sqrt.f64N/A

                                          \[\leadsto \color{blue}{\sqrt{2}} \cdot \sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
                                        4. lower-sqrt.f64N/A

                                          \[\leadsto \sqrt{2} \cdot \color{blue}{\sqrt{U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                                        5. *-commutativeN/A

                                          \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
                                        6. lower-*.f64N/A

                                          \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U}} \]
                                        7. *-commutativeN/A

                                          \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
                                        8. lower-*.f64N/A

                                          \[\leadsto \sqrt{2} \cdot \sqrt{\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U} \]
                                        9. cancel-sign-sub-invN/A

                                          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot n\right) \cdot U} \]
                                        10. metadata-evalN/A

                                          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right) \cdot U} \]
                                        11. +-commutativeN/A

                                          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot n\right) \cdot U} \]
                                        12. lower-fma.f64N/A

                                          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot n\right) \cdot U} \]
                                        13. lower-/.f64N/A

                                          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot n\right) \cdot U} \]
                                        14. unpow2N/A

                                          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
                                        15. lower-*.f6434.6

                                          \[\leadsto \sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U} \]
                                      5. Applied rewrites34.6%

                                        \[\leadsto \color{blue}{\sqrt{2} \cdot \sqrt{\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot n\right) \cdot U}} \]
                                      6. Taylor expanded in t around 0

                                        \[\leadsto \sqrt{2} \cdot \sqrt{-2 \cdot \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{Om}} \]
                                      7. Step-by-step derivation
                                        1. Applied rewrites30.3%

                                          \[\leadsto \sqrt{2} \cdot \sqrt{-2 \cdot \left(U \cdot \frac{\left(\ell \cdot \ell\right) \cdot n}{Om}\right)} \]
                                        2. Step-by-step derivation
                                          1. Applied rewrites40.9%

                                            \[\leadsto \color{blue}{\sqrt{\left(\left(\left(\ell \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot U\right) \cdot -2\right) \cdot 2}} \]
                                        3. Recombined 2 regimes into one program.
                                        4. Add Preprocessing

                                        Alternative 17: 38.3% accurate, 3.7× speedup?

                                        \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;l\_m \leq 5.6 \cdot 10^{+16}:\\ \;\;\;\;\sqrt{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{-4 \cdot \left(U \cdot \frac{\left(l\_m \cdot l\_m\right) \cdot n}{Om}\right)}\\ \end{array} \end{array} \]
                                        l_m = (fabs.f64 l)
                                        (FPCore (n U t l_m Om U*)
                                         :precision binary64
                                         (if (<= l_m 5.6e+16)
                                           (sqrt (* (* (* n t) U) 2.0))
                                           (sqrt (* -4.0 (* U (/ (* (* l_m l_m) n) Om))))))
                                        l_m = fabs(l);
                                        double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                                        	double tmp;
                                        	if (l_m <= 5.6e+16) {
                                        		tmp = sqrt((((n * t) * U) * 2.0));
                                        	} else {
                                        		tmp = sqrt((-4.0 * (U * (((l_m * l_m) * n) / Om))));
                                        	}
                                        	return tmp;
                                        }
                                        
                                        l_m = abs(l)
                                        real(8) function code(n, u, t, l_m, om, u_42)
                                            real(8), intent (in) :: n
                                            real(8), intent (in) :: u
                                            real(8), intent (in) :: t
                                            real(8), intent (in) :: l_m
                                            real(8), intent (in) :: om
                                            real(8), intent (in) :: u_42
                                            real(8) :: tmp
                                            if (l_m <= 5.6d+16) then
                                                tmp = sqrt((((n * t) * u) * 2.0d0))
                                            else
                                                tmp = sqrt(((-4.0d0) * (u * (((l_m * l_m) * n) / om))))
                                            end if
                                            code = tmp
                                        end function
                                        
                                        l_m = Math.abs(l);
                                        public static double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                                        	double tmp;
                                        	if (l_m <= 5.6e+16) {
                                        		tmp = Math.sqrt((((n * t) * U) * 2.0));
                                        	} else {
                                        		tmp = Math.sqrt((-4.0 * (U * (((l_m * l_m) * n) / Om))));
                                        	}
                                        	return tmp;
                                        }
                                        
                                        l_m = math.fabs(l)
                                        def code(n, U, t, l_m, Om, U_42_):
                                        	tmp = 0
                                        	if l_m <= 5.6e+16:
                                        		tmp = math.sqrt((((n * t) * U) * 2.0))
                                        	else:
                                        		tmp = math.sqrt((-4.0 * (U * (((l_m * l_m) * n) / Om))))
                                        	return tmp
                                        
                                        l_m = abs(l)
                                        function code(n, U, t, l_m, Om, U_42_)
                                        	tmp = 0.0
                                        	if (l_m <= 5.6e+16)
                                        		tmp = sqrt(Float64(Float64(Float64(n * t) * U) * 2.0));
                                        	else
                                        		tmp = sqrt(Float64(-4.0 * Float64(U * Float64(Float64(Float64(l_m * l_m) * n) / Om))));
                                        	end
                                        	return tmp
                                        end
                                        
                                        l_m = abs(l);
                                        function tmp_2 = code(n, U, t, l_m, Om, U_42_)
                                        	tmp = 0.0;
                                        	if (l_m <= 5.6e+16)
                                        		tmp = sqrt((((n * t) * U) * 2.0));
                                        	else
                                        		tmp = sqrt((-4.0 * (U * (((l_m * l_m) * n) / Om))));
                                        	end
                                        	tmp_2 = tmp;
                                        end
                                        
                                        l_m = N[Abs[l], $MachinePrecision]
                                        code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[l$95$m, 5.6e+16], N[Sqrt[N[(N[(N[(n * t), $MachinePrecision] * U), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(-4.0 * N[(U * N[(N[(N[(l$95$m * l$95$m), $MachinePrecision] * n), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]]
                                        
                                        \begin{array}{l}
                                        l_m = \left|\ell\right|
                                        
                                        \\
                                        \begin{array}{l}
                                        \mathbf{if}\;l\_m \leq 5.6 \cdot 10^{+16}:\\
                                        \;\;\;\;\sqrt{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}\\
                                        
                                        \mathbf{else}:\\
                                        \;\;\;\;\sqrt{-4 \cdot \left(U \cdot \frac{\left(l\_m \cdot l\_m\right) \cdot n}{Om}\right)}\\
                                        
                                        
                                        \end{array}
                                        \end{array}
                                        
                                        Derivation
                                        1. Split input into 2 regimes
                                        2. if l < 5.6e16

                                          1. Initial program 56.5%

                                            \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                                          2. Add Preprocessing
                                          3. Taylor expanded in t around inf

                                            \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot t\right)\right)}} \]
                                          4. Step-by-step derivation
                                            1. *-commutativeN/A

                                              \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                            2. lower-*.f64N/A

                                              \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                            3. *-commutativeN/A

                                              \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                            4. lower-*.f64N/A

                                              \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                            5. lower-*.f6448.1

                                              \[\leadsto \sqrt{\left(\color{blue}{\left(n \cdot t\right)} \cdot U\right) \cdot 2} \]
                                          5. Applied rewrites48.1%

                                            \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}} \]

                                          if 5.6e16 < l

                                          1. Initial program 42.1%

                                            \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                                          2. Add Preprocessing
                                          3. Taylor expanded in l around inf

                                            \[\leadsto \sqrt{\color{blue}{-2 \cdot \left(U \cdot \left({\ell}^{2} \cdot \left(n \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)\right)\right)}} \]
                                          4. Step-by-step derivation
                                            1. associate-*r*N/A

                                              \[\leadsto \sqrt{\color{blue}{\left(-2 \cdot U\right) \cdot \left({\ell}^{2} \cdot \left(n \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)\right)}} \]
                                            2. lower-*.f64N/A

                                              \[\leadsto \sqrt{\color{blue}{\left(-2 \cdot U\right) \cdot \left({\ell}^{2} \cdot \left(n \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)\right)}} \]
                                            3. lower-*.f64N/A

                                              \[\leadsto \sqrt{\color{blue}{\left(-2 \cdot U\right)} \cdot \left({\ell}^{2} \cdot \left(n \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)\right)} \]
                                            4. associate-*r*N/A

                                              \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \color{blue}{\left(\left({\ell}^{2} \cdot n\right) \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)}} \]
                                            5. lower-*.f64N/A

                                              \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \color{blue}{\left(\left({\ell}^{2} \cdot n\right) \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)}} \]
                                            6. lower-*.f64N/A

                                              \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\color{blue}{\left({\ell}^{2} \cdot n\right)} \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)} \]
                                            7. unpow2N/A

                                              \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot n\right) \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)} \]
                                            8. lower-*.f64N/A

                                              \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot n\right) \cdot \left(2 \cdot \frac{1}{Om} + \frac{n \cdot \left(U - U*\right)}{{Om}^{2}}\right)\right)} \]
                                            9. +-commutativeN/A

                                              \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \color{blue}{\left(\frac{n \cdot \left(U - U*\right)}{{Om}^{2}} + 2 \cdot \frac{1}{Om}\right)}\right)} \]
                                            10. unpow2N/A

                                              \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \left(\frac{n \cdot \left(U - U*\right)}{\color{blue}{Om \cdot Om}} + 2 \cdot \frac{1}{Om}\right)\right)} \]
                                            11. times-fracN/A

                                              \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \left(\color{blue}{\frac{n}{Om} \cdot \frac{U - U*}{Om}} + 2 \cdot \frac{1}{Om}\right)\right)} \]
                                            12. lower-fma.f64N/A

                                              \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{n}{Om}, \frac{U - U*}{Om}, 2 \cdot \frac{1}{Om}\right)}\right)} \]
                                            13. lower-/.f64N/A

                                              \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(\color{blue}{\frac{n}{Om}}, \frac{U - U*}{Om}, 2 \cdot \frac{1}{Om}\right)\right)} \]
                                            14. lower-/.f64N/A

                                              \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \color{blue}{\frac{U - U*}{Om}}, 2 \cdot \frac{1}{Om}\right)\right)} \]
                                            15. lower--.f64N/A

                                              \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{\color{blue}{U - U*}}{Om}, 2 \cdot \frac{1}{Om}\right)\right)} \]
                                            16. associate-*r/N/A

                                              \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U - U*}{Om}, \color{blue}{\frac{2 \cdot 1}{Om}}\right)\right)} \]
                                            17. metadata-evalN/A

                                              \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U - U*}{Om}, \frac{\color{blue}{2}}{Om}\right)\right)} \]
                                            18. lower-/.f6441.7

                                              \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U - U*}{Om}, \color{blue}{\frac{2}{Om}}\right)\right)} \]
                                          5. Applied rewrites41.7%

                                            \[\leadsto \sqrt{\color{blue}{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(\frac{n}{Om}, \frac{U - U*}{Om}, \frac{2}{Om}\right)\right)}} \]
                                          6. Taylor expanded in n around 0

                                            \[\leadsto \sqrt{-4 \cdot \color{blue}{\frac{U \cdot \left({\ell}^{2} \cdot n\right)}{Om}}} \]
                                          7. Step-by-step derivation
                                            1. Applied rewrites30.4%

                                              \[\leadsto \sqrt{-4 \cdot \color{blue}{\left(U \cdot \frac{\left(\ell \cdot \ell\right) \cdot n}{Om}\right)}} \]
                                          8. Recombined 2 regimes into one program.
                                          9. Add Preprocessing

                                          Alternative 18: 35.2% accurate, 6.8× speedup?

                                          \[\begin{array}{l} l_m = \left|\ell\right| \\ \sqrt{n \cdot \left(t \cdot \left(2 \cdot U\right)\right)} \end{array} \]
                                          l_m = (fabs.f64 l)
                                          (FPCore (n U t l_m Om U*) :precision binary64 (sqrt (* n (* t (* 2.0 U)))))
                                          l_m = fabs(l);
                                          double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                                          	return sqrt((n * (t * (2.0 * U))));
                                          }
                                          
                                          l_m = abs(l)
                                          real(8) function code(n, u, t, l_m, om, u_42)
                                              real(8), intent (in) :: n
                                              real(8), intent (in) :: u
                                              real(8), intent (in) :: t
                                              real(8), intent (in) :: l_m
                                              real(8), intent (in) :: om
                                              real(8), intent (in) :: u_42
                                              code = sqrt((n * (t * (2.0d0 * u))))
                                          end function
                                          
                                          l_m = Math.abs(l);
                                          public static double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                                          	return Math.sqrt((n * (t * (2.0 * U))));
                                          }
                                          
                                          l_m = math.fabs(l)
                                          def code(n, U, t, l_m, Om, U_42_):
                                          	return math.sqrt((n * (t * (2.0 * U))))
                                          
                                          l_m = abs(l)
                                          function code(n, U, t, l_m, Om, U_42_)
                                          	return sqrt(Float64(n * Float64(t * Float64(2.0 * U))))
                                          end
                                          
                                          l_m = abs(l);
                                          function tmp = code(n, U, t, l_m, Om, U_42_)
                                          	tmp = sqrt((n * (t * (2.0 * U))));
                                          end
                                          
                                          l_m = N[Abs[l], $MachinePrecision]
                                          code[n_, U_, t_, l$95$m_, Om_, U$42$_] := N[Sqrt[N[(n * N[(t * N[(2.0 * U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]
                                          
                                          \begin{array}{l}
                                          l_m = \left|\ell\right|
                                          
                                          \\
                                          \sqrt{n \cdot \left(t \cdot \left(2 \cdot U\right)\right)}
                                          \end{array}
                                          
                                          Derivation
                                          1. Initial program 53.8%

                                            \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                                          2. Add Preprocessing
                                          3. Taylor expanded in t around inf

                                            \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot t\right)\right)}} \]
                                          4. Step-by-step derivation
                                            1. *-commutativeN/A

                                              \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                            2. lower-*.f64N/A

                                              \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                            3. *-commutativeN/A

                                              \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                            4. lower-*.f64N/A

                                              \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                            5. lower-*.f6442.0

                                              \[\leadsto \sqrt{\left(\color{blue}{\left(n \cdot t\right)} \cdot U\right) \cdot 2} \]
                                          5. Applied rewrites42.0%

                                            \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}} \]
                                          6. Step-by-step derivation
                                            1. Applied rewrites40.3%

                                              \[\leadsto \sqrt{n \cdot \color{blue}{\left(t \cdot \left(2 \cdot U\right)\right)}} \]
                                            2. Add Preprocessing

                                            Reproduce

                                            ?
                                            herbie shell --seed 2024324 
                                            (FPCore (n U t l Om U*)
                                              :name "Toniolo and Linder, Equation (13)"
                                              :precision binary64
                                              (sqrt (* (* (* 2.0 n) U) (- (- t (* 2.0 (/ (* l l) Om))) (* (* n (pow (/ l Om) 2.0)) (- U U*))))))