Toniolo and Linder, Equation (13)

Percentage Accurate: 49.3% → 67.8%
Time: 20.5s
Alternatives: 29
Speedup: 2.6×

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 29 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.8% accurate, 0.3× speedup?

\[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := U \cdot \left(2 \cdot n\right)\\ t_2 := \sqrt{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 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+152}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;l\_m \cdot \sqrt{t\_1 \cdot \left(\frac{t}{l\_m \cdot l\_m} + \frac{n \cdot \frac{U* - U}{Om} - 2}{Om}\right)}\\ \end{array} \end{array} \]
l_m = (fabs.f64 l)
(FPCore (n U t l_m Om U*)
 :precision binary64
 (let* ((t_1 (* U (* 2.0 n)))
        (t_2
         (sqrt
          (*
           t_1
           (+
            (- t (* 2.0 (/ (* l_m l_m) Om)))
            (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
   (if (<= t_2 2e-156)
     (* (sqrt (* U (fma l_m (* (/ l_m Om) -2.0) t))) (sqrt (* 2.0 n)))
     (if (<= t_2 2e+152)
       t_2
       (*
        l_m
        (sqrt
         (*
          t_1
          (+ (/ t (* l_m l_m)) (/ (- (* n (/ (- 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 t_1 = U * (2.0 * n);
	double t_2 = sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
	double tmp;
	if (t_2 <= 2e-156) {
		tmp = sqrt((U * fma(l_m, ((l_m / Om) * -2.0), t))) * sqrt((2.0 * n));
	} else if (t_2 <= 2e+152) {
		tmp = t_2;
	} else {
		tmp = l_m * sqrt((t_1 * ((t / (l_m * l_m)) + (((n * ((U_42_ - U) / Om)) - 2.0) / Om))));
	}
	return tmp;
}
l_m = abs(l)
function code(n, U, t, l_m, Om, U_42_)
	t_1 = Float64(U * Float64(2.0 * n))
	t_2 = sqrt(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_42_ - U)))))
	tmp = 0.0
	if (t_2 <= 2e-156)
		tmp = Float64(sqrt(Float64(U * fma(l_m, Float64(Float64(l_m / Om) * -2.0), t))) * sqrt(Float64(2.0 * n)));
	elseif (t_2 <= 2e+152)
		tmp = t_2;
	else
		tmp = Float64(l_m * sqrt(Float64(t_1 * Float64(Float64(t / Float64(l_m * l_m)) + Float64(Float64(Float64(n * Float64(Float64(U_42_ - U) / Om)) - 2.0) / 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[(U * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[Sqrt[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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$2, 2e-156], N[(N[Sqrt[N[(U * N[(l$95$m * N[(N[(l$95$m / Om), $MachinePrecision] * -2.0), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$2, 2e+152], t$95$2, N[(l$95$m * N[Sqrt[N[(t$95$1 * N[(N[(t / N[(l$95$m * l$95$m), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(n * N[(N[(U$42$ - U), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision] - 2.0), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
l_m = \left|\ell\right|

\\
\begin{array}{l}
t_1 := U \cdot \left(2 \cdot n\right)\\
t_2 := \sqrt{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 2 \cdot 10^{-156}:\\
\;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\

\mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+152}:\\
\;\;\;\;t\_2\\

\mathbf{else}:\\
\;\;\;\;l\_m \cdot \sqrt{t\_1 \cdot \left(\frac{t}{l\_m \cdot l\_m} + \frac{n \cdot \frac{U* - U}{Om} - 2}{Om}\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*))))) < 2.00000000000000008e-156

    1. Initial program 12.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. 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)}} \]
      2. +-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)}} \]
      3. *-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)} \]
      4. 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)} \]
      5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
      6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
      7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
      8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
      9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
      10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
      11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
      12. --lowering--.f64N/A

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

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

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

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

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

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

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

      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
    6. Step-by-step derivation
      1. +-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)}} \]
      2. accelerator-lowering-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)}} \]
      3. /-lowering-/.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)} \]
      4. 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)} \]
      5. *-lowering-*.f6412.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)} \]
    7. Simplified12.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)}} \]
    8. Step-by-step derivation
      1. pow1/2N/A

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

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

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

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

        \[\leadsto \color{blue}{{\left(U \cdot \left(-2 \cdot \frac{\ell \cdot \ell}{Om} + t\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
    9. Applied egg-rr48.5%

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

    if 2.00000000000000008e-156 < (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*))))) < 2.0000000000000001e152

    1. Initial program 98.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

    if 2.0000000000000001e152 < (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 24.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. 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)}} \]
      2. +-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)}} \]
      3. *-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)} \]
      4. 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)} \]
      5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
      6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
      7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
      8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
      9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
      10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
      11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
      12. --lowering--.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\sqrt{\left(U \cdot \left(n \cdot 2\right)\right) \cdot \left(\frac{t}{\ell \cdot \ell} + \frac{\frac{U* - U}{Om} \cdot n - 2}{Om}\right)} \cdot \ell} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification53.7%

    \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)}\\ \mathbf{else}:\\ \;\;\;\;\ell \cdot \sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \left(\frac{t}{\ell \cdot \ell} + \frac{n \cdot \frac{U* - U}{Om} - 2}{Om}\right)}\\ \end{array} \]
  5. Add Preprocessing

Alternative 2: 52.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 := U \cdot \left(2 \cdot n\right)\\ 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 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \mathbf{elif}\;t\_3 \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\ \mathbf{elif}\;t\_3 \leq \infty:\\ \;\;\;\;\sqrt{U \cdot \left(\mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right) \cdot \left(2 \cdot n\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\left|n \cdot l\_m\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{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 (* U (* 2.0 n)))
        (t_3
         (sqrt
          (*
           t_2
           (+ (- t (* 2.0 t_1)) (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
   (if (<= t_3 2e-156)
     (* (sqrt (* 2.0 n)) (sqrt (* U t)))
     (if (<= t_3 2e+152)
       (sqrt (* t_2 (fma -2.0 t_1 t)))
       (if (<= t_3 INFINITY)
         (sqrt (* U (* (fma l_m (* (/ l_m Om) -2.0) t) (* 2.0 n))))
         (/ (* (fabs (* n l_m)) (sqrt (* 2.0 (* U U*)))) 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 = U * (2.0 * n);
	double t_3 = sqrt((t_2 * ((t - (2.0 * t_1)) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
	double tmp;
	if (t_3 <= 2e-156) {
		tmp = sqrt((2.0 * n)) * sqrt((U * t));
	} else if (t_3 <= 2e+152) {
		tmp = sqrt((t_2 * fma(-2.0, t_1, t)));
	} else if (t_3 <= ((double) INFINITY)) {
		tmp = sqrt((U * (fma(l_m, ((l_m / Om) * -2.0), t) * (2.0 * n))));
	} else {
		tmp = (fabs((n * l_m)) * sqrt((2.0 * (U * U_42_)))) / 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(U * Float64(2.0 * n))
	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_42_ - U)))))
	tmp = 0.0
	if (t_3 <= 2e-156)
		tmp = Float64(sqrt(Float64(2.0 * n)) * sqrt(Float64(U * t)));
	elseif (t_3 <= 2e+152)
		tmp = sqrt(Float64(t_2 * fma(-2.0, t_1, t)));
	elseif (t_3 <= Inf)
		tmp = sqrt(Float64(U * Float64(fma(l_m, Float64(Float64(l_m / Om) * -2.0), t) * Float64(2.0 * n))));
	else
		tmp = Float64(Float64(abs(Float64(n * l_m)) * sqrt(Float64(2.0 * Float64(U * U_42_)))) / 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[(U * N[(2.0 * n), $MachinePrecision]), $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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$3, 2e-156], N[(N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(U * t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, 2e+152], N[Sqrt[N[(t$95$2 * N[(-2.0 * t$95$1 + t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], If[LessEqual[t$95$3, Infinity], N[Sqrt[N[(U * N[(N[(l$95$m * N[(N[(l$95$m / Om), $MachinePrecision] * -2.0), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[(N[Abs[N[(n * l$95$m), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * N[(U * U$42$), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]]]]]]]
\begin{array}{l}
l_m = \left|\ell\right|

\\
\begin{array}{l}
t_1 := \frac{l\_m \cdot l\_m}{Om}\\
t_2 := U \cdot \left(2 \cdot n\right)\\
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 2 \cdot 10^{-156}:\\
\;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\

\mathbf{elif}\;t\_3 \leq 2 \cdot 10^{+152}:\\
\;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\

\mathbf{elif}\;t\_3 \leq \infty:\\
\;\;\;\;\sqrt{U \cdot \left(\mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right) \cdot \left(2 \cdot n\right)\right)}\\

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


\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*))))) < 2.00000000000000008e-156

    1. Initial program 12.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. pow1/2N/A

        \[\leadsto \color{blue}{{\left(\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)\right)}^{\frac{1}{2}}} \]
      2. associate-*l*N/A

        \[\leadsto {\color{blue}{\left(\left(2 \cdot n\right) \cdot \left(U \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)\right)\right)}}^{\frac{1}{2}} \]
      3. *-commutativeN/A

        \[\leadsto {\color{blue}{\left(\left(U \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)\right) \cdot \left(2 \cdot n\right)\right)}}^{\frac{1}{2}} \]
      4. unpow-prod-downN/A

        \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
      5. *-lowering-*.f64N/A

        \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
    4. Applied egg-rr41.9%

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

      \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]
    6. Step-by-step derivation
      1. Simplified32.4%

        \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]

      if 2.00000000000000008e-156 < (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*))))) < 2.0000000000000001e152

      1. Initial program 98.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. Step-by-step derivation
        1. 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)}} \]
        2. +-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)}} \]
        3. *-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)} \]
        4. 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)} \]
        5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
        10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        12. --lowering--.f64N/A

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

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

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

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

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

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

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

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
      6. Step-by-step derivation
        1. +-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)}} \]
        2. accelerator-lowering-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)}} \]
        3. /-lowering-/.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)} \]
        4. 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)} \]
        5. *-lowering-*.f6485.0

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

        \[\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 2.0000000000000001e152 < (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*))))) < +inf.0

      1. Initial program 35.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. 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)}} \]
        2. +-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)}} \]
        3. *-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)} \]
        4. 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)} \]
        5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
        10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        12. --lowering--.f64N/A

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

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

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

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

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

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

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

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
      6. Step-by-step derivation
        1. +-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)}} \]
        2. accelerator-lowering-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)}} \]
        3. /-lowering-/.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)} \]
        4. 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)} \]
        5. *-lowering-*.f6427.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)} \]
      7. Simplified27.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)}} \]
      8. Step-by-step derivation
        1. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      if +inf.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. Initial program 0.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 U* around inf

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

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

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

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

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

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

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

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

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

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

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

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

          \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
        13. *-lowering-*.f6421.3

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

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

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

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

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

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

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

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

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

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

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

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

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

          \[\leadsto \frac{\color{blue}{\left|\ell \cdot n\right|} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
        13. fabs-lowering-fabs.f64N/A

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

          \[\leadsto \frac{\left|\color{blue}{\ell \cdot n}\right| \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
        15. pow1/2N/A

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

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

          \[\leadsto \frac{\left|\ell \cdot n\right| \cdot \sqrt{\color{blue}{2 \cdot \left(U \cdot U*\right)}}}{Om} \]
        18. *-lowering-*.f6429.2

          \[\leadsto \frac{\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \color{blue}{\left(U \cdot U*\right)}}}{Om} \]
      7. Applied egg-rr29.2%

        \[\leadsto \color{blue}{\frac{\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}} \]
    7. Recombined 4 regimes into one program.
    8. Final simplification53.8%

      \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq \infty:\\ \;\;\;\;\sqrt{U \cdot \left(\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(2 \cdot n\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\left|n \cdot \ell\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}\\ \end{array} \]
    9. Add Preprocessing

    Alternative 3: 67.9% accurate, 0.4× speedup?

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

      1. Initial program 12.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. 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)}} \]
        2. +-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)}} \]
        3. *-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)} \]
        4. 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)} \]
        5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
        10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        12. --lowering--.f64N/A

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

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

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

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

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

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

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

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
      6. Step-by-step derivation
        1. +-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)}} \]
        2. accelerator-lowering-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)}} \]
        3. /-lowering-/.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)} \]
        4. 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)} \]
        5. *-lowering-*.f6412.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)} \]
      7. Simplified12.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)}} \]
      8. Step-by-step derivation
        1. pow1/2N/A

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

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

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

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

          \[\leadsto \color{blue}{{\left(U \cdot \left(-2 \cdot \frac{\ell \cdot \ell}{Om} + t\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
      9. Applied egg-rr48.5%

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

      if 2.00000000000000008e-156 < (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*))))) < 2.0000000000000001e152

      1. Initial program 98.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. Step-by-step derivation
        1. *-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

      if 2.0000000000000001e152 < (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 24.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. 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)}} \]
        2. +-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)}} \]
        3. *-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)} \]
        4. 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)} \]
        5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
        10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        12. --lowering--.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \color{blue}{\sqrt{\left(U \cdot \left(n \cdot 2\right)\right) \cdot \left(\frac{t}{\ell \cdot \ell} + \frac{\frac{U* - U}{Om} \cdot n - 2}{Om}\right)} \cdot \ell} \]
    3. Recombined 3 regimes into one program.
    4. Final simplification53.0%

      \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(n \cdot \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot \left(U* - U\right)\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\ell \cdot \sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \left(\frac{t}{\ell \cdot \ell} + \frac{n \cdot \frac{U* - U}{Om} - 2}{Om}\right)}\\ \end{array} \]
    5. Add Preprocessing

    Alternative 4: 68.1% accurate, 0.4× speedup?

    \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := U \cdot \left(2 \cdot n\right)\\ t_2 := \sqrt{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 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{t\_1 \cdot \mathsf{fma}\left(\left(n \cdot \frac{l\_m}{Om}\right) \cdot \left(U* - U\right), \frac{l\_m}{Om}, \mathsf{fma}\left(l\_m \cdot -2, \frac{l\_m}{Om}, t\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;l\_m \cdot \sqrt{t\_1 \cdot \left(\frac{t}{l\_m \cdot l\_m} + \frac{n \cdot \frac{U* - U}{Om} - 2}{Om}\right)}\\ \end{array} \end{array} \]
    l_m = (fabs.f64 l)
    (FPCore (n U t l_m Om U*)
     :precision binary64
     (let* ((t_1 (* U (* 2.0 n)))
            (t_2
             (sqrt
              (*
               t_1
               (+
                (- t (* 2.0 (/ (* l_m l_m) Om)))
                (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
       (if (<= t_2 2e-156)
         (* (sqrt (* U (fma l_m (* (/ l_m Om) -2.0) t))) (sqrt (* 2.0 n)))
         (if (<= t_2 2e+152)
           (sqrt
            (*
             t_1
             (fma
              (* (* n (/ l_m Om)) (- U* U))
              (/ l_m Om)
              (fma (* l_m -2.0) (/ l_m Om) t))))
           (*
            l_m
            (sqrt
             (*
              t_1
              (+ (/ t (* l_m l_m)) (/ (- (* n (/ (- 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 t_1 = U * (2.0 * n);
    	double t_2 = sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
    	double tmp;
    	if (t_2 <= 2e-156) {
    		tmp = sqrt((U * fma(l_m, ((l_m / Om) * -2.0), t))) * sqrt((2.0 * n));
    	} else if (t_2 <= 2e+152) {
    		tmp = sqrt((t_1 * fma(((n * (l_m / Om)) * (U_42_ - U)), (l_m / Om), fma((l_m * -2.0), (l_m / Om), t))));
    	} else {
    		tmp = l_m * sqrt((t_1 * ((t / (l_m * l_m)) + (((n * ((U_42_ - U) / Om)) - 2.0) / Om))));
    	}
    	return tmp;
    }
    
    l_m = abs(l)
    function code(n, U, t, l_m, Om, U_42_)
    	t_1 = Float64(U * Float64(2.0 * n))
    	t_2 = sqrt(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_42_ - U)))))
    	tmp = 0.0
    	if (t_2 <= 2e-156)
    		tmp = Float64(sqrt(Float64(U * fma(l_m, Float64(Float64(l_m / Om) * -2.0), t))) * sqrt(Float64(2.0 * n)));
    	elseif (t_2 <= 2e+152)
    		tmp = sqrt(Float64(t_1 * fma(Float64(Float64(n * Float64(l_m / Om)) * Float64(U_42_ - U)), Float64(l_m / Om), fma(Float64(l_m * -2.0), Float64(l_m / Om), t))));
    	else
    		tmp = Float64(l_m * sqrt(Float64(t_1 * Float64(Float64(t / Float64(l_m * l_m)) + Float64(Float64(Float64(n * Float64(Float64(U_42_ - U) / Om)) - 2.0) / 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[(U * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[Sqrt[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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$2, 2e-156], N[(N[Sqrt[N[(U * N[(l$95$m * N[(N[(l$95$m / Om), $MachinePrecision] * -2.0), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$2, 2e+152], N[Sqrt[N[(t$95$1 * N[(N[(N[(n * N[(l$95$m / Om), $MachinePrecision]), $MachinePrecision] * N[(U$42$ - U), $MachinePrecision]), $MachinePrecision] * N[(l$95$m / Om), $MachinePrecision] + N[(N[(l$95$m * -2.0), $MachinePrecision] * N[(l$95$m / Om), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(l$95$m * N[Sqrt[N[(t$95$1 * N[(N[(t / N[(l$95$m * l$95$m), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(n * N[(N[(U$42$ - U), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision] - 2.0), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]]]]
    
    \begin{array}{l}
    l_m = \left|\ell\right|
    
    \\
    \begin{array}{l}
    t_1 := U \cdot \left(2 \cdot n\right)\\
    t_2 := \sqrt{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 2 \cdot 10^{-156}:\\
    \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\
    
    \mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+152}:\\
    \;\;\;\;\sqrt{t\_1 \cdot \mathsf{fma}\left(\left(n \cdot \frac{l\_m}{Om}\right) \cdot \left(U* - U\right), \frac{l\_m}{Om}, \mathsf{fma}\left(l\_m \cdot -2, \frac{l\_m}{Om}, t\right)\right)}\\
    
    \mathbf{else}:\\
    \;\;\;\;l\_m \cdot \sqrt{t\_1 \cdot \left(\frac{t}{l\_m \cdot l\_m} + \frac{n \cdot \frac{U* - U}{Om} - 2}{Om}\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*))))) < 2.00000000000000008e-156

      1. Initial program 12.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. 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)}} \]
        2. +-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)}} \]
        3. *-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)} \]
        4. 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)} \]
        5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
        10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        12. --lowering--.f64N/A

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

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

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

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

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

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

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

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
      6. Step-by-step derivation
        1. +-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)}} \]
        2. accelerator-lowering-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)}} \]
        3. /-lowering-/.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)} \]
        4. 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)} \]
        5. *-lowering-*.f6412.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)} \]
      7. Simplified12.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)}} \]
      8. Step-by-step derivation
        1. pow1/2N/A

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

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

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

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

          \[\leadsto \color{blue}{{\left(U \cdot \left(-2 \cdot \frac{\ell \cdot \ell}{Om} + t\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
      9. Applied egg-rr48.5%

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

      if 2.00000000000000008e-156 < (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*))))) < 2.0000000000000001e152

      1. Initial program 98.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. Step-by-step derivation
        1. 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)}} \]
        2. +-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)}} \]
        3. *-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)} \]
        4. 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)} \]
        5. 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)} \]
        6. 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)} \]
        7. 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)} \]
        8. accelerator-lowering-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)}} \]
        9. *-lowering-*.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)} \]
        10. neg-lowering-neg.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)} \]
        11. --lowering--.f64N/A

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\color{blue}{\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)} \]
        12. *-lowering-*.f64N/A

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

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

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

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\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)} \]
        16. +-commutativeN/A

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

        \[\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 \cdot \ell, \frac{\ell}{Om}, t\right)\right)}} \]

      if 2.0000000000000001e152 < (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 24.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. 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)}} \]
        2. +-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)}} \]
        3. *-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)} \]
        4. 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)} \]
        5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
        10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        12. --lowering--.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \color{blue}{\sqrt{\left(U \cdot \left(n \cdot 2\right)\right) \cdot \left(\frac{t}{\ell \cdot \ell} + \frac{\frac{U* - U}{Om} \cdot n - 2}{Om}\right)} \cdot \ell} \]
    3. Recombined 3 regimes into one program.
    4. Final simplification53.0%

      \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \mathsf{fma}\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(U* - U\right), \frac{\ell}{Om}, \mathsf{fma}\left(\ell \cdot -2, \frac{\ell}{Om}, t\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\ell \cdot \sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \left(\frac{t}{\ell \cdot \ell} + \frac{n \cdot \frac{U* - U}{Om} - 2}{Om}\right)}\\ \end{array} \]
    5. Add Preprocessing

    Alternative 5: 67.9% accurate, 0.4× speedup?

    \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := U \cdot \left(2 \cdot n\right)\\ t_2 := \sqrt{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 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{t\_1 \cdot \mathsf{fma}\left(\frac{l\_m}{Om} \cdot \left(U* - U\right), n \cdot \frac{l\_m}{Om}, \mathsf{fma}\left(l\_m \cdot -2, \frac{l\_m}{Om}, t\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;l\_m \cdot \sqrt{t\_1 \cdot \left(\frac{t}{l\_m \cdot l\_m} + \frac{n \cdot \frac{U* - U}{Om} - 2}{Om}\right)}\\ \end{array} \end{array} \]
    l_m = (fabs.f64 l)
    (FPCore (n U t l_m Om U*)
     :precision binary64
     (let* ((t_1 (* U (* 2.0 n)))
            (t_2
             (sqrt
              (*
               t_1
               (+
                (- t (* 2.0 (/ (* l_m l_m) Om)))
                (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
       (if (<= t_2 2e-156)
         (* (sqrt (* U (fma l_m (* (/ l_m Om) -2.0) t))) (sqrt (* 2.0 n)))
         (if (<= t_2 2e+152)
           (sqrt
            (*
             t_1
             (fma
              (* (/ l_m Om) (- U* U))
              (* n (/ l_m Om))
              (fma (* l_m -2.0) (/ l_m Om) t))))
           (*
            l_m
            (sqrt
             (*
              t_1
              (+ (/ t (* l_m l_m)) (/ (- (* n (/ (- 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 t_1 = U * (2.0 * n);
    	double t_2 = sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
    	double tmp;
    	if (t_2 <= 2e-156) {
    		tmp = sqrt((U * fma(l_m, ((l_m / Om) * -2.0), t))) * sqrt((2.0 * n));
    	} else if (t_2 <= 2e+152) {
    		tmp = sqrt((t_1 * fma(((l_m / Om) * (U_42_ - U)), (n * (l_m / Om)), fma((l_m * -2.0), (l_m / Om), t))));
    	} else {
    		tmp = l_m * sqrt((t_1 * ((t / (l_m * l_m)) + (((n * ((U_42_ - U) / Om)) - 2.0) / Om))));
    	}
    	return tmp;
    }
    
    l_m = abs(l)
    function code(n, U, t, l_m, Om, U_42_)
    	t_1 = Float64(U * Float64(2.0 * n))
    	t_2 = sqrt(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_42_ - U)))))
    	tmp = 0.0
    	if (t_2 <= 2e-156)
    		tmp = Float64(sqrt(Float64(U * fma(l_m, Float64(Float64(l_m / Om) * -2.0), t))) * sqrt(Float64(2.0 * n)));
    	elseif (t_2 <= 2e+152)
    		tmp = sqrt(Float64(t_1 * fma(Float64(Float64(l_m / Om) * Float64(U_42_ - U)), Float64(n * Float64(l_m / Om)), fma(Float64(l_m * -2.0), Float64(l_m / Om), t))));
    	else
    		tmp = Float64(l_m * sqrt(Float64(t_1 * Float64(Float64(t / Float64(l_m * l_m)) + Float64(Float64(Float64(n * Float64(Float64(U_42_ - U) / Om)) - 2.0) / 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[(U * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[Sqrt[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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$2, 2e-156], N[(N[Sqrt[N[(U * N[(l$95$m * N[(N[(l$95$m / Om), $MachinePrecision] * -2.0), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$2, 2e+152], N[Sqrt[N[(t$95$1 * N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(U$42$ - U), $MachinePrecision]), $MachinePrecision] * N[(n * N[(l$95$m / Om), $MachinePrecision]), $MachinePrecision] + N[(N[(l$95$m * -2.0), $MachinePrecision] * N[(l$95$m / Om), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(l$95$m * N[Sqrt[N[(t$95$1 * N[(N[(t / N[(l$95$m * l$95$m), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(n * N[(N[(U$42$ - U), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision] - 2.0), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]]]]
    
    \begin{array}{l}
    l_m = \left|\ell\right|
    
    \\
    \begin{array}{l}
    t_1 := U \cdot \left(2 \cdot n\right)\\
    t_2 := \sqrt{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 2 \cdot 10^{-156}:\\
    \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\
    
    \mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+152}:\\
    \;\;\;\;\sqrt{t\_1 \cdot \mathsf{fma}\left(\frac{l\_m}{Om} \cdot \left(U* - U\right), n \cdot \frac{l\_m}{Om}, \mathsf{fma}\left(l\_m \cdot -2, \frac{l\_m}{Om}, t\right)\right)}\\
    
    \mathbf{else}:\\
    \;\;\;\;l\_m \cdot \sqrt{t\_1 \cdot \left(\frac{t}{l\_m \cdot l\_m} + \frac{n \cdot \frac{U* - U}{Om} - 2}{Om}\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*))))) < 2.00000000000000008e-156

      1. Initial program 12.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. 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)}} \]
        2. +-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)}} \]
        3. *-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)} \]
        4. 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)} \]
        5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
        10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        12. --lowering--.f64N/A

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

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

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

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

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

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

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

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
      6. Step-by-step derivation
        1. +-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)}} \]
        2. accelerator-lowering-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)}} \]
        3. /-lowering-/.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)} \]
        4. 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)} \]
        5. *-lowering-*.f6412.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)} \]
      7. Simplified12.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)}} \]
      8. Step-by-step derivation
        1. pow1/2N/A

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

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

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

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

          \[\leadsto \color{blue}{{\left(U \cdot \left(-2 \cdot \frac{\ell \cdot \ell}{Om} + t\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
      9. Applied egg-rr48.5%

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

      if 2.00000000000000008e-156 < (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*))))) < 2.0000000000000001e152

      1. Initial program 98.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. Step-by-step derivation
        1. 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)}} \]
        2. +-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)}} \]
        3. *-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)} \]
        4. 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)} \]
        5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
        10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        12. --lowering--.f64N/A

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

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

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

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

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

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

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\ell}{Om}, t\right)\right)} \]
        3. --lowering--.f6496.4

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

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

      if 2.0000000000000001e152 < (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 24.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. 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)}} \]
        2. +-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)}} \]
        3. *-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)} \]
        4. 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)} \]
        5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
        10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        12. --lowering--.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \color{blue}{\sqrt{\left(U \cdot \left(n \cdot 2\right)\right) \cdot \left(\frac{t}{\ell \cdot \ell} + \frac{\frac{U* - U}{Om} \cdot n - 2}{Om}\right)} \cdot \ell} \]
    3. Recombined 3 regimes into one program.
    4. Final simplification53.0%

      \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om} \cdot \left(U* - U\right), n \cdot \frac{\ell}{Om}, \mathsf{fma}\left(\ell \cdot -2, \frac{\ell}{Om}, t\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\ell \cdot \sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \left(\frac{t}{\ell \cdot \ell} + \frac{n \cdot \frac{U* - U}{Om} - 2}{Om}\right)}\\ \end{array} \]
    5. Add Preprocessing

    Alternative 6: 67.7% accurate, 0.4× speedup?

    \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := U \cdot \left(2 \cdot n\right)\\ t_2 := \sqrt{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 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{t\_1 \cdot \mathsf{fma}\left(\frac{l\_m}{Om} \cdot U*, n \cdot \frac{l\_m}{Om}, \mathsf{fma}\left(l\_m \cdot -2, \frac{l\_m}{Om}, t\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;l\_m \cdot \sqrt{t\_1 \cdot \left(\frac{t}{l\_m \cdot l\_m} + \frac{n \cdot \frac{U* - U}{Om} - 2}{Om}\right)}\\ \end{array} \end{array} \]
    l_m = (fabs.f64 l)
    (FPCore (n U t l_m Om U*)
     :precision binary64
     (let* ((t_1 (* U (* 2.0 n)))
            (t_2
             (sqrt
              (*
               t_1
               (+
                (- t (* 2.0 (/ (* l_m l_m) Om)))
                (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
       (if (<= t_2 2e-156)
         (* (sqrt (* U (fma l_m (* (/ l_m Om) -2.0) t))) (sqrt (* 2.0 n)))
         (if (<= t_2 2e+152)
           (sqrt
            (*
             t_1
             (fma
              (* (/ l_m Om) U*)
              (* n (/ l_m Om))
              (fma (* l_m -2.0) (/ l_m Om) t))))
           (*
            l_m
            (sqrt
             (*
              t_1
              (+ (/ t (* l_m l_m)) (/ (- (* n (/ (- 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 t_1 = U * (2.0 * n);
    	double t_2 = sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
    	double tmp;
    	if (t_2 <= 2e-156) {
    		tmp = sqrt((U * fma(l_m, ((l_m / Om) * -2.0), t))) * sqrt((2.0 * n));
    	} else if (t_2 <= 2e+152) {
    		tmp = sqrt((t_1 * fma(((l_m / Om) * U_42_), (n * (l_m / Om)), fma((l_m * -2.0), (l_m / Om), t))));
    	} else {
    		tmp = l_m * sqrt((t_1 * ((t / (l_m * l_m)) + (((n * ((U_42_ - U) / Om)) - 2.0) / Om))));
    	}
    	return tmp;
    }
    
    l_m = abs(l)
    function code(n, U, t, l_m, Om, U_42_)
    	t_1 = Float64(U * Float64(2.0 * n))
    	t_2 = sqrt(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_42_ - U)))))
    	tmp = 0.0
    	if (t_2 <= 2e-156)
    		tmp = Float64(sqrt(Float64(U * fma(l_m, Float64(Float64(l_m / Om) * -2.0), t))) * sqrt(Float64(2.0 * n)));
    	elseif (t_2 <= 2e+152)
    		tmp = sqrt(Float64(t_1 * fma(Float64(Float64(l_m / Om) * U_42_), Float64(n * Float64(l_m / Om)), fma(Float64(l_m * -2.0), Float64(l_m / Om), t))));
    	else
    		tmp = Float64(l_m * sqrt(Float64(t_1 * Float64(Float64(t / Float64(l_m * l_m)) + Float64(Float64(Float64(n * Float64(Float64(U_42_ - U) / Om)) - 2.0) / 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[(U * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[Sqrt[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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$2, 2e-156], N[(N[Sqrt[N[(U * N[(l$95$m * N[(N[(l$95$m / Om), $MachinePrecision] * -2.0), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$2, 2e+152], N[Sqrt[N[(t$95$1 * N[(N[(N[(l$95$m / Om), $MachinePrecision] * U$42$), $MachinePrecision] * N[(n * N[(l$95$m / Om), $MachinePrecision]), $MachinePrecision] + N[(N[(l$95$m * -2.0), $MachinePrecision] * N[(l$95$m / Om), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(l$95$m * N[Sqrt[N[(t$95$1 * N[(N[(t / N[(l$95$m * l$95$m), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(n * N[(N[(U$42$ - U), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision] - 2.0), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]]]]
    
    \begin{array}{l}
    l_m = \left|\ell\right|
    
    \\
    \begin{array}{l}
    t_1 := U \cdot \left(2 \cdot n\right)\\
    t_2 := \sqrt{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 2 \cdot 10^{-156}:\\
    \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\
    
    \mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+152}:\\
    \;\;\;\;\sqrt{t\_1 \cdot \mathsf{fma}\left(\frac{l\_m}{Om} \cdot U*, n \cdot \frac{l\_m}{Om}, \mathsf{fma}\left(l\_m \cdot -2, \frac{l\_m}{Om}, t\right)\right)}\\
    
    \mathbf{else}:\\
    \;\;\;\;l\_m \cdot \sqrt{t\_1 \cdot \left(\frac{t}{l\_m \cdot l\_m} + \frac{n \cdot \frac{U* - U}{Om} - 2}{Om}\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*))))) < 2.00000000000000008e-156

      1. Initial program 12.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. 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)}} \]
        2. +-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)}} \]
        3. *-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)} \]
        4. 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)} \]
        5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
        10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        12. --lowering--.f64N/A

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

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

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

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

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

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

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

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
      6. Step-by-step derivation
        1. +-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)}} \]
        2. accelerator-lowering-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)}} \]
        3. /-lowering-/.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)} \]
        4. 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)} \]
        5. *-lowering-*.f6412.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)} \]
      7. Simplified12.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)}} \]
      8. Step-by-step derivation
        1. pow1/2N/A

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

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

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

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

          \[\leadsto \color{blue}{{\left(U \cdot \left(-2 \cdot \frac{\ell \cdot \ell}{Om} + t\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
      9. Applied egg-rr48.5%

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

      if 2.00000000000000008e-156 < (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*))))) < 2.0000000000000001e152

      1. Initial program 98.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. Step-by-step derivation
        1. 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)}} \]
        2. +-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)}} \]
        3. *-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)} \]
        4. 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)} \]
        5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
        9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
        10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
        12. --lowering--.f64N/A

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

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

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

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

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

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

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\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}{U*} \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\ell}{Om}, t\right)\right)} \]
      6. Step-by-step derivation
        1. Simplified95.5%

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

        if 2.0000000000000001e152 < (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 24.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. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          \[\leadsto \color{blue}{\sqrt{\left(U \cdot \left(n \cdot 2\right)\right) \cdot \left(\frac{t}{\ell \cdot \ell} + \frac{\frac{U* - U}{Om} \cdot n - 2}{Om}\right)} \cdot \ell} \]
      7. Recombined 3 regimes into one program.
      8. Final simplification52.6%

        \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om} \cdot U*, n \cdot \frac{\ell}{Om}, \mathsf{fma}\left(\ell \cdot -2, \frac{\ell}{Om}, t\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\ell \cdot \sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \left(\frac{t}{\ell \cdot \ell} + \frac{n \cdot \frac{U* - U}{Om} - 2}{Om}\right)}\\ \end{array} \]
      9. Add Preprocessing

      Alternative 7: 63.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 := U \cdot \left(2 \cdot n\right)\\ 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 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;t\_3 \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\ \mathbf{else}:\\ \;\;\;\;l\_m \cdot \sqrt{t\_2 \cdot \left(\frac{t}{l\_m \cdot l\_m} + \frac{n \cdot \frac{U* - U}{Om} - 2}{Om}\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 (* U (* 2.0 n)))
              (t_3
               (sqrt
                (*
                 t_2
                 (+ (- t (* 2.0 t_1)) (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
         (if (<= t_3 2e-156)
           (* (sqrt (* U (fma l_m (* (/ l_m Om) -2.0) t))) (sqrt (* 2.0 n)))
           (if (<= t_3 2e+152)
             (sqrt (* t_2 (fma -2.0 t_1 t)))
             (*
              l_m
              (sqrt
               (*
                t_2
                (+ (/ t (* l_m l_m)) (/ (- (* n (/ (- 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 t_1 = (l_m * l_m) / Om;
      	double t_2 = U * (2.0 * n);
      	double t_3 = sqrt((t_2 * ((t - (2.0 * t_1)) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
      	double tmp;
      	if (t_3 <= 2e-156) {
      		tmp = sqrt((U * fma(l_m, ((l_m / Om) * -2.0), t))) * sqrt((2.0 * n));
      	} else if (t_3 <= 2e+152) {
      		tmp = sqrt((t_2 * fma(-2.0, t_1, t)));
      	} else {
      		tmp = l_m * sqrt((t_2 * ((t / (l_m * l_m)) + (((n * ((U_42_ - U) / Om)) - 2.0) / 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(U * Float64(2.0 * n))
      	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_42_ - U)))))
      	tmp = 0.0
      	if (t_3 <= 2e-156)
      		tmp = Float64(sqrt(Float64(U * fma(l_m, Float64(Float64(l_m / Om) * -2.0), t))) * sqrt(Float64(2.0 * n)));
      	elseif (t_3 <= 2e+152)
      		tmp = sqrt(Float64(t_2 * fma(-2.0, t_1, t)));
      	else
      		tmp = Float64(l_m * sqrt(Float64(t_2 * Float64(Float64(t / Float64(l_m * l_m)) + Float64(Float64(Float64(n * Float64(Float64(U_42_ - U) / Om)) - 2.0) / 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[(U * N[(2.0 * n), $MachinePrecision]), $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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$3, 2e-156], N[(N[Sqrt[N[(U * N[(l$95$m * N[(N[(l$95$m / Om), $MachinePrecision] * -2.0), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, 2e+152], N[Sqrt[N[(t$95$2 * N[(-2.0 * t$95$1 + t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(l$95$m * N[Sqrt[N[(t$95$2 * N[(N[(t / N[(l$95$m * l$95$m), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(n * N[(N[(U$42$ - U), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision] - 2.0), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $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 := U \cdot \left(2 \cdot n\right)\\
      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 2 \cdot 10^{-156}:\\
      \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\
      
      \mathbf{elif}\;t\_3 \leq 2 \cdot 10^{+152}:\\
      \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\
      
      \mathbf{else}:\\
      \;\;\;\;l\_m \cdot \sqrt{t\_2 \cdot \left(\frac{t}{l\_m \cdot l\_m} + \frac{n \cdot \frac{U* - U}{Om} - 2}{Om}\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*))))) < 2.00000000000000008e-156

        1. Initial program 12.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. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

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

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

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        6. Step-by-step derivation
          1. +-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)}} \]
          2. accelerator-lowering-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)}} \]
          3. /-lowering-/.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)} \]
          4. 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)} \]
          5. *-lowering-*.f6412.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)} \]
        7. Simplified12.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)}} \]
        8. Step-by-step derivation
          1. pow1/2N/A

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

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

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

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

            \[\leadsto \color{blue}{{\left(U \cdot \left(-2 \cdot \frac{\ell \cdot \ell}{Om} + t\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
        9. Applied egg-rr48.5%

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

        if 2.00000000000000008e-156 < (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*))))) < 2.0000000000000001e152

        1. Initial program 98.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. Step-by-step derivation
          1. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

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

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

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        6. Step-by-step derivation
          1. +-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)}} \]
          2. accelerator-lowering-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)}} \]
          3. /-lowering-/.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)} \]
          4. 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)} \]
          5. *-lowering-*.f6485.0

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

          \[\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 2.0000000000000001e152 < (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 24.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. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          \[\leadsto \color{blue}{\sqrt{\left(U \cdot \left(n \cdot 2\right)\right) \cdot \left(\frac{t}{\ell \cdot \ell} + \frac{\frac{U* - U}{Om} \cdot n - 2}{Om}\right)} \cdot \ell} \]
      3. Recombined 3 regimes into one program.
      4. Final simplification48.6%

        \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)}\\ \mathbf{else}:\\ \;\;\;\;\ell \cdot \sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \left(\frac{t}{\ell \cdot \ell} + \frac{n \cdot \frac{U* - U}{Om} - 2}{Om}\right)}\\ \end{array} \]
      5. Add Preprocessing

      Alternative 8: 59.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 := U \cdot \left(2 \cdot n\right)\\ 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 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;t\_3 \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(n \cdot U\right) \cdot \left(\frac{n \cdot \left(U* - U\right)}{Om \cdot 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 (* U (* 2.0 n)))
              (t_3
               (sqrt
                (*
                 t_2
                 (+ (- t (* 2.0 t_1)) (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
         (if (<= t_3 2e-156)
           (* (sqrt (* U (fma l_m (* (/ l_m Om) -2.0) t))) (sqrt (* 2.0 n)))
           (if (<= t_3 2e+152)
             (sqrt (* t_2 (fma -2.0 t_1 t)))
             (*
              (sqrt (* (* n U) (- (/ (* n (- U* U)) (* Om 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 = U * (2.0 * n);
      	double t_3 = sqrt((t_2 * ((t - (2.0 * t_1)) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
      	double tmp;
      	if (t_3 <= 2e-156) {
      		tmp = sqrt((U * fma(l_m, ((l_m / Om) * -2.0), t))) * sqrt((2.0 * n));
      	} else if (t_3 <= 2e+152) {
      		tmp = sqrt((t_2 * fma(-2.0, t_1, t)));
      	} else {
      		tmp = sqrt(((n * U) * (((n * (U_42_ - U)) / (Om * 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(U * Float64(2.0 * n))
      	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_42_ - U)))))
      	tmp = 0.0
      	if (t_3 <= 2e-156)
      		tmp = Float64(sqrt(Float64(U * fma(l_m, Float64(Float64(l_m / Om) * -2.0), t))) * sqrt(Float64(2.0 * n)));
      	elseif (t_3 <= 2e+152)
      		tmp = sqrt(Float64(t_2 * fma(-2.0, t_1, t)));
      	else
      		tmp = Float64(sqrt(Float64(Float64(n * U) * Float64(Float64(Float64(n * Float64(U_42_ - U)) / Float64(Om * 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[(U * N[(2.0 * n), $MachinePrecision]), $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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$3, 2e-156], N[(N[Sqrt[N[(U * N[(l$95$m * N[(N[(l$95$m / Om), $MachinePrecision] * -2.0), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, 2e+152], N[Sqrt[N[(t$95$2 * N[(-2.0 * t$95$1 + t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(N[(n * U), $MachinePrecision] * N[(N[(N[(n * N[(U$42$ - U), $MachinePrecision]), $MachinePrecision] / N[(Om * Om), $MachinePrecision]), $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 := U \cdot \left(2 \cdot n\right)\\
      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 2 \cdot 10^{-156}:\\
      \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\
      
      \mathbf{elif}\;t\_3 \leq 2 \cdot 10^{+152}:\\
      \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\
      
      \mathbf{else}:\\
      \;\;\;\;\sqrt{\left(n \cdot U\right) \cdot \left(\frac{n \cdot \left(U* - U\right)}{Om \cdot 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*))))) < 2.00000000000000008e-156

        1. Initial program 12.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. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

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

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

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        6. Step-by-step derivation
          1. +-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)}} \]
          2. accelerator-lowering-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)}} \]
          3. /-lowering-/.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)} \]
          4. 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)} \]
          5. *-lowering-*.f6412.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)} \]
        7. Simplified12.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)}} \]
        8. Step-by-step derivation
          1. pow1/2N/A

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

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

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

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

            \[\leadsto \color{blue}{{\left(U \cdot \left(-2 \cdot \frac{\ell \cdot \ell}{Om} + t\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
        9. Applied egg-rr48.5%

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

        if 2.00000000000000008e-156 < (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*))))) < 2.0000000000000001e152

        1. Initial program 98.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. Step-by-step derivation
          1. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

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

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

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        6. Step-by-step derivation
          1. +-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)}} \]
          2. accelerator-lowering-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)}} \]
          3. /-lowering-/.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)} \]
          4. 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)} \]
          5. *-lowering-*.f6485.0

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

          \[\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 2.0000000000000001e152 < (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 24.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. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

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

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\ell}{Om}, t\right)\right)}} \]
        5. 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)} \]
        6. Step-by-step derivation
          1. *-lowering-*.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)} \]
          2. sqrt-lowering-sqrt.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) \]
          3. associate-*r*N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(n \cdot U\right) \cdot \left(\frac{n \cdot \left(U* - U\right)}{Om \cdot Om} - \frac{2}{Om}\right)} \cdot \left(\ell \cdot \sqrt{2}\right)\\ \end{array} \]
      5. Add Preprocessing

      Alternative 9: 59.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 := U \cdot \left(2 \cdot n\right)\\ 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 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;t\_3 \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\ \mathbf{else}:\\ \;\;\;\;l\_m \cdot \sqrt{\left(n \cdot \mathsf{fma}\left(U - U*, \frac{n}{Om \cdot Om}, \frac{2}{Om}\right)\right) \cdot \left(U \cdot -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 (* U (* 2.0 n)))
              (t_3
               (sqrt
                (*
                 t_2
                 (+ (- t (* 2.0 t_1)) (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
         (if (<= t_3 2e-156)
           (* (sqrt (* U (fma l_m (* (/ l_m Om) -2.0) t))) (sqrt (* 2.0 n)))
           (if (<= t_3 2e+152)
             (sqrt (* t_2 (fma -2.0 t_1 t)))
             (*
              l_m
              (sqrt
               (* (* n (fma (- U U*) (/ n (* Om Om)) (/ 2.0 Om))) (* U -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 = U * (2.0 * n);
      	double t_3 = sqrt((t_2 * ((t - (2.0 * t_1)) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
      	double tmp;
      	if (t_3 <= 2e-156) {
      		tmp = sqrt((U * fma(l_m, ((l_m / Om) * -2.0), t))) * sqrt((2.0 * n));
      	} else if (t_3 <= 2e+152) {
      		tmp = sqrt((t_2 * fma(-2.0, t_1, t)));
      	} else {
      		tmp = l_m * sqrt(((n * fma((U - U_42_), (n / (Om * Om)), (2.0 / Om))) * (U * -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(U * Float64(2.0 * n))
      	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_42_ - U)))))
      	tmp = 0.0
      	if (t_3 <= 2e-156)
      		tmp = Float64(sqrt(Float64(U * fma(l_m, Float64(Float64(l_m / Om) * -2.0), t))) * sqrt(Float64(2.0 * n)));
      	elseif (t_3 <= 2e+152)
      		tmp = sqrt(Float64(t_2 * fma(-2.0, t_1, t)));
      	else
      		tmp = Float64(l_m * sqrt(Float64(Float64(n * fma(Float64(U - U_42_), Float64(n / Float64(Om * Om)), Float64(2.0 / Om))) * Float64(U * -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[(U * N[(2.0 * n), $MachinePrecision]), $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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$3, 2e-156], N[(N[Sqrt[N[(U * N[(l$95$m * N[(N[(l$95$m / Om), $MachinePrecision] * -2.0), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, 2e+152], N[Sqrt[N[(t$95$2 * N[(-2.0 * t$95$1 + t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(l$95$m * N[Sqrt[N[(N[(n * N[(N[(U - U$42$), $MachinePrecision] * N[(n / N[(Om * Om), $MachinePrecision]), $MachinePrecision] + N[(2.0 / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(U * -2.0), $MachinePrecision]), $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 := U \cdot \left(2 \cdot n\right)\\
      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 2 \cdot 10^{-156}:\\
      \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\
      
      \mathbf{elif}\;t\_3 \leq 2 \cdot 10^{+152}:\\
      \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\
      
      \mathbf{else}:\\
      \;\;\;\;l\_m \cdot \sqrt{\left(n \cdot \mathsf{fma}\left(U - U*, \frac{n}{Om \cdot Om}, \frac{2}{Om}\right)\right) \cdot \left(U \cdot -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*))))) < 2.00000000000000008e-156

        1. Initial program 12.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. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

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

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

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        6. Step-by-step derivation
          1. +-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)}} \]
          2. accelerator-lowering-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)}} \]
          3. /-lowering-/.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)} \]
          4. 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)} \]
          5. *-lowering-*.f6412.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)} \]
        7. Simplified12.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)}} \]
        8. Step-by-step derivation
          1. pow1/2N/A

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

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

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

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

            \[\leadsto \color{blue}{{\left(U \cdot \left(-2 \cdot \frac{\ell \cdot \ell}{Om} + t\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
        9. Applied egg-rr48.5%

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

        if 2.00000000000000008e-156 < (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*))))) < 2.0000000000000001e152

        1. Initial program 98.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. Step-by-step derivation
          1. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

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

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

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        6. Step-by-step derivation
          1. +-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)}} \]
          2. accelerator-lowering-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)}} \]
          3. /-lowering-/.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)} \]
          4. 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)} \]
          5. *-lowering-*.f6485.0

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

          \[\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 2.0000000000000001e152 < (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 24.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 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. *-lowering-*.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. *-lowering-*.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. *-lowering-*.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. *-lowering-*.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. *-lowering-*.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. associate-/l*N/A

            \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \left(\color{blue}{n \cdot \frac{U - U*}{{Om}^{2}}} + 2 \cdot \frac{1}{Om}\right)\right)} \]
          11. accelerator-lowering-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(n, \frac{U - U*}{{Om}^{2}}, 2 \cdot \frac{1}{Om}\right)}\right)} \]
          12. /-lowering-/.f64N/A

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

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

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

            \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(n, \frac{U - U*}{\color{blue}{Om \cdot 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(n, \frac{U - U*}{Om \cdot 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(n, \frac{U - U*}{Om \cdot Om}, \frac{\color{blue}{2}}{Om}\right)\right)} \]
          18. /-lowering-/.f6430.0

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

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

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

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

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

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

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

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

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

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

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

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

            \[\leadsto \ell \cdot \sqrt{\color{blue}{\left(n \cdot \left(n \cdot \frac{U - U*}{Om \cdot Om} + \frac{2}{Om}\right)\right) \cdot \left(-2 \cdot U\right)}} \]
        7. Applied egg-rr16.7%

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)}\\ \mathbf{else}:\\ \;\;\;\;\ell \cdot \sqrt{\left(n \cdot \mathsf{fma}\left(U - U*, \frac{n}{Om \cdot Om}, \frac{2}{Om}\right)\right) \cdot \left(U \cdot -2\right)}\\ \end{array} \]
      5. Add Preprocessing

      Alternative 10: 54.5% accurate, 0.4× speedup?

      \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)\\ t_2 := \sqrt{\left(U \cdot \left(2 \cdot n\right)\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)}\\ \mathbf{if}\;t\_2 \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot t\_1} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;t\_2 \leq \infty:\\ \;\;\;\;\sqrt{t\_1 \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(n \cdot \frac{l\_m}{Om}\right) \cdot \left(2 \cdot \left(U \cdot \frac{U* \cdot \left(n \cdot l\_m\right)}{Om}\right)\right)}\\ \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 (* (/ l_m Om) -2.0) t))
              (t_2
               (sqrt
                (*
                 (* U (* 2.0 n))
                 (+
                  (- t (* 2.0 (/ (* l_m l_m) Om)))
                  (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
         (if (<= t_2 2e-156)
           (* (sqrt (* U t_1)) (sqrt (* 2.0 n)))
           (if (<= t_2 INFINITY)
             (sqrt (* t_1 (* n (* 2.0 U))))
             (sqrt (* (* n (/ l_m Om)) (* 2.0 (* U (/ (* U* (* 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 = fma(l_m, ((l_m / Om) * -2.0), t);
      	double t_2 = sqrt(((U * (2.0 * n)) * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
      	double tmp;
      	if (t_2 <= 2e-156) {
      		tmp = sqrt((U * t_1)) * sqrt((2.0 * n));
      	} else if (t_2 <= ((double) INFINITY)) {
      		tmp = sqrt((t_1 * (n * (2.0 * U))));
      	} else {
      		tmp = sqrt(((n * (l_m / Om)) * (2.0 * (U * ((U_42_ * (n * l_m)) / Om)))));
      	}
      	return tmp;
      }
      
      l_m = abs(l)
      function code(n, U, t, l_m, Om, U_42_)
      	t_1 = fma(l_m, Float64(Float64(l_m / Om) * -2.0), t)
      	t_2 = sqrt(Float64(Float64(U * Float64(2.0 * n)) * Float64(Float64(t - Float64(2.0 * Float64(Float64(l_m * l_m) / Om))) + Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U_42_ - U)))))
      	tmp = 0.0
      	if (t_2 <= 2e-156)
      		tmp = Float64(sqrt(Float64(U * t_1)) * sqrt(Float64(2.0 * n)));
      	elseif (t_2 <= Inf)
      		tmp = sqrt(Float64(t_1 * Float64(n * Float64(2.0 * U))));
      	else
      		tmp = sqrt(Float64(Float64(n * Float64(l_m / Om)) * Float64(2.0 * Float64(U * Float64(Float64(U_42_ * Float64(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[(l$95$m * N[(N[(l$95$m / Om), $MachinePrecision] * -2.0), $MachinePrecision] + t), $MachinePrecision]}, Block[{t$95$2 = N[Sqrt[N[(N[(U * N[(2.0 * n), $MachinePrecision]), $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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$2, 2e-156], N[(N[Sqrt[N[(U * t$95$1), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$2, Infinity], N[Sqrt[N[(t$95$1 * N[(n * N[(2.0 * U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(n * N[(l$95$m / Om), $MachinePrecision]), $MachinePrecision] * N[(2.0 * N[(U * N[(N[(U$42$ * N[(n * l$95$m), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]]]]]
      
      \begin{array}{l}
      l_m = \left|\ell\right|
      
      \\
      \begin{array}{l}
      t_1 := \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)\\
      t_2 := \sqrt{\left(U \cdot \left(2 \cdot n\right)\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)}\\
      \mathbf{if}\;t\_2 \leq 2 \cdot 10^{-156}:\\
      \;\;\;\;\sqrt{U \cdot t\_1} \cdot \sqrt{2 \cdot n}\\
      
      \mathbf{elif}\;t\_2 \leq \infty:\\
      \;\;\;\;\sqrt{t\_1 \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\
      
      \mathbf{else}:\\
      \;\;\;\;\sqrt{\left(n \cdot \frac{l\_m}{Om}\right) \cdot \left(2 \cdot \left(U \cdot \frac{U* \cdot \left(n \cdot l\_m\right)}{Om}\right)\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*))))) < 2.00000000000000008e-156

        1. Initial program 12.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. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

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

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

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        6. Step-by-step derivation
          1. +-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)}} \]
          2. accelerator-lowering-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)}} \]
          3. /-lowering-/.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)} \]
          4. 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)} \]
          5. *-lowering-*.f6412.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)} \]
        7. Simplified12.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)}} \]
        8. Step-by-step derivation
          1. pow1/2N/A

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

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

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

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

            \[\leadsto \color{blue}{{\left(U \cdot \left(-2 \cdot \frac{\ell \cdot \ell}{Om} + t\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
        9. Applied egg-rr48.5%

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

        if 2.00000000000000008e-156 < (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*))))) < +inf.0

        1. Initial program 68.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. Step-by-step derivation
          1. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{\left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right) + t}\right)} \]
        4. Applied egg-rr74.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\ell}{Om}, t\right)\right)}} \]
        5. Taylor expanded in Om around inf

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        6. Step-by-step derivation
          1. +-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)}} \]
          2. accelerator-lowering-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)}} \]
          3. /-lowering-/.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)} \]
          4. 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)} \]
          5. *-lowering-*.f6457.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)} \]
        7. Simplified57.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)}} \]
        8. Step-by-step derivation
          1. sqrt-lowering-sqrt.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        if +inf.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. Initial program 0.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. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{\left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right) + t}\right)} \]
        4. Applied egg-rr6.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\ell}{Om}, t\right)\right)}} \]
        5. Taylor expanded in Om around 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            \[\leadsto \sqrt{\left(\frac{\ell}{Om} \cdot n\right) \cdot \left(2 \cdot \left(U \cdot \frac{\color{blue}{U* \cdot \left(\ell \cdot n\right)}}{Om}\right)\right)} \]
          6. *-lowering-*.f6440.8

            \[\leadsto \sqrt{\left(\frac{\ell}{Om} \cdot n\right) \cdot \left(2 \cdot \left(U \cdot \frac{U* \cdot \color{blue}{\left(\ell \cdot n\right)}}{Om}\right)\right)} \]
        12. Simplified40.8%

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq \infty:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(2 \cdot \left(U \cdot \frac{U* \cdot \left(n \cdot \ell\right)}{Om}\right)\right)}\\ \end{array} \]
      5. Add Preprocessing

      Alternative 11: 53.8% 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 := U \cdot \left(2 \cdot n\right)\\ 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 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;t\_3 \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\ \mathbf{else}:\\ \;\;\;\;\left(\left|n \cdot l\_m\right| \cdot \sqrt{U \cdot U*}\right) \cdot \sqrt{\frac{2}{Om \cdot 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 (* U (* 2.0 n)))
              (t_3
               (sqrt
                (*
                 t_2
                 (+ (- t (* 2.0 t_1)) (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
         (if (<= t_3 2e-156)
           (* (sqrt (* U (fma l_m (* (/ l_m Om) -2.0) t))) (sqrt (* 2.0 n)))
           (if (<= t_3 2e+152)
             (sqrt (* t_2 (fma -2.0 t_1 t)))
             (* (* (fabs (* n l_m)) (sqrt (* U U*))) (sqrt (/ 2.0 (* Om 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 = U * (2.0 * n);
      	double t_3 = sqrt((t_2 * ((t - (2.0 * t_1)) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
      	double tmp;
      	if (t_3 <= 2e-156) {
      		tmp = sqrt((U * fma(l_m, ((l_m / Om) * -2.0), t))) * sqrt((2.0 * n));
      	} else if (t_3 <= 2e+152) {
      		tmp = sqrt((t_2 * fma(-2.0, t_1, t)));
      	} else {
      		tmp = (fabs((n * l_m)) * sqrt((U * U_42_))) * sqrt((2.0 / (Om * 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(U * Float64(2.0 * n))
      	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_42_ - U)))))
      	tmp = 0.0
      	if (t_3 <= 2e-156)
      		tmp = Float64(sqrt(Float64(U * fma(l_m, Float64(Float64(l_m / Om) * -2.0), t))) * sqrt(Float64(2.0 * n)));
      	elseif (t_3 <= 2e+152)
      		tmp = sqrt(Float64(t_2 * fma(-2.0, t_1, t)));
      	else
      		tmp = Float64(Float64(abs(Float64(n * l_m)) * sqrt(Float64(U * U_42_))) * sqrt(Float64(2.0 / Float64(Om * 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[(U * N[(2.0 * n), $MachinePrecision]), $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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$3, 2e-156], N[(N[Sqrt[N[(U * N[(l$95$m * N[(N[(l$95$m / Om), $MachinePrecision] * -2.0), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, 2e+152], N[Sqrt[N[(t$95$2 * N[(-2.0 * t$95$1 + t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[(N[Abs[N[(n * l$95$m), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(U * U$42$), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] * N[Sqrt[N[(2.0 / N[(Om * Om), $MachinePrecision]), $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 := U \cdot \left(2 \cdot n\right)\\
      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 2 \cdot 10^{-156}:\\
      \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\
      
      \mathbf{elif}\;t\_3 \leq 2 \cdot 10^{+152}:\\
      \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\
      
      \mathbf{else}:\\
      \;\;\;\;\left(\left|n \cdot l\_m\right| \cdot \sqrt{U \cdot U*}\right) \cdot \sqrt{\frac{2}{Om \cdot Om}}\\
      
      
      \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*))))) < 2.00000000000000008e-156

        1. Initial program 12.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. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

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

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

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        6. Step-by-step derivation
          1. +-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)}} \]
          2. accelerator-lowering-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)}} \]
          3. /-lowering-/.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)} \]
          4. 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)} \]
          5. *-lowering-*.f6412.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)} \]
        7. Simplified12.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)}} \]
        8. Step-by-step derivation
          1. pow1/2N/A

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

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

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

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

            \[\leadsto \color{blue}{{\left(U \cdot \left(-2 \cdot \frac{\ell \cdot \ell}{Om} + t\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
        9. Applied egg-rr48.5%

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

        if 2.00000000000000008e-156 < (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*))))) < 2.0000000000000001e152

        1. Initial program 98.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. Step-by-step derivation
          1. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

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

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

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        6. Step-by-step derivation
          1. +-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)}} \]
          2. accelerator-lowering-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)}} \]
          3. /-lowering-/.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)} \]
          4. 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)} \]
          5. *-lowering-*.f6485.0

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

          \[\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 2.0000000000000001e152 < (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 24.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 inf

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)}\\ \mathbf{else}:\\ \;\;\;\;\left(\left|n \cdot \ell\right| \cdot \sqrt{U \cdot U*}\right) \cdot \sqrt{\frac{2}{Om \cdot Om}}\\ \end{array} \]
      5. Add Preprocessing

      Alternative 12: 54.1% accurate, 0.4× speedup?

      \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)\\ t_2 := U \cdot \left(2 \cdot n\right)\\ t_3 := \sqrt{t\_2 \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\_3 \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot t\_1} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;t\_3 \leq \infty:\\ \;\;\;\;\sqrt{t\_1 \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;l\_m \cdot \sqrt{t\_2 \cdot \frac{n \cdot \left(U* - U\right)}{Om \cdot Om}}\\ \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 (* (/ l_m Om) -2.0) t))
              (t_2 (* U (* 2.0 n)))
              (t_3
               (sqrt
                (*
                 t_2
                 (+
                  (- t (* 2.0 (/ (* l_m l_m) Om)))
                  (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
         (if (<= t_3 2e-156)
           (* (sqrt (* U t_1)) (sqrt (* 2.0 n)))
           (if (<= t_3 INFINITY)
             (sqrt (* t_1 (* n (* 2.0 U))))
             (* l_m (sqrt (* t_2 (/ (* n (- U* U)) (* Om Om)))))))))
      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, ((l_m / Om) * -2.0), t);
      	double t_2 = U * (2.0 * n);
      	double t_3 = sqrt((t_2 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
      	double tmp;
      	if (t_3 <= 2e-156) {
      		tmp = sqrt((U * t_1)) * sqrt((2.0 * n));
      	} else if (t_3 <= ((double) INFINITY)) {
      		tmp = sqrt((t_1 * (n * (2.0 * U))));
      	} else {
      		tmp = l_m * sqrt((t_2 * ((n * (U_42_ - U)) / (Om * Om))));
      	}
      	return tmp;
      }
      
      l_m = abs(l)
      function code(n, U, t, l_m, Om, U_42_)
      	t_1 = fma(l_m, Float64(Float64(l_m / Om) * -2.0), t)
      	t_2 = Float64(U * Float64(2.0 * n))
      	t_3 = sqrt(Float64(t_2 * Float64(Float64(t - Float64(2.0 * Float64(Float64(l_m * l_m) / Om))) + Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U_42_ - U)))))
      	tmp = 0.0
      	if (t_3 <= 2e-156)
      		tmp = Float64(sqrt(Float64(U * t_1)) * sqrt(Float64(2.0 * n)));
      	elseif (t_3 <= Inf)
      		tmp = sqrt(Float64(t_1 * Float64(n * Float64(2.0 * U))));
      	else
      		tmp = Float64(l_m * sqrt(Float64(t_2 * Float64(Float64(n * Float64(U_42_ - U)) / Float64(Om * 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[(l$95$m * N[(N[(l$95$m / Om), $MachinePrecision] * -2.0), $MachinePrecision] + t), $MachinePrecision]}, Block[{t$95$2 = N[(U * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[Sqrt[N[(t$95$2 * 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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$3, 2e-156], N[(N[Sqrt[N[(U * t$95$1), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, Infinity], N[Sqrt[N[(t$95$1 * N[(n * N[(2.0 * U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(l$95$m * N[Sqrt[N[(t$95$2 * N[(N[(n * N[(U$42$ - U), $MachinePrecision]), $MachinePrecision] / N[(Om * Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]]]]]
      
      \begin{array}{l}
      l_m = \left|\ell\right|
      
      \\
      \begin{array}{l}
      t_1 := \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)\\
      t_2 := U \cdot \left(2 \cdot n\right)\\
      t_3 := \sqrt{t\_2 \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\_3 \leq 2 \cdot 10^{-156}:\\
      \;\;\;\;\sqrt{U \cdot t\_1} \cdot \sqrt{2 \cdot n}\\
      
      \mathbf{elif}\;t\_3 \leq \infty:\\
      \;\;\;\;\sqrt{t\_1 \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\
      
      \mathbf{else}:\\
      \;\;\;\;l\_m \cdot \sqrt{t\_2 \cdot \frac{n \cdot \left(U* - U\right)}{Om \cdot Om}}\\
      
      
      \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*))))) < 2.00000000000000008e-156

        1. Initial program 12.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. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

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

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

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        6. Step-by-step derivation
          1. +-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)}} \]
          2. accelerator-lowering-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)}} \]
          3. /-lowering-/.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)} \]
          4. 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)} \]
          5. *-lowering-*.f6412.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)} \]
        7. Simplified12.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)}} \]
        8. Step-by-step derivation
          1. pow1/2N/A

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

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

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

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

            \[\leadsto \color{blue}{{\left(U \cdot \left(-2 \cdot \frac{\ell \cdot \ell}{Om} + t\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
        9. Applied egg-rr48.5%

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

        if 2.00000000000000008e-156 < (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*))))) < +inf.0

        1. Initial program 68.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. Step-by-step derivation
          1. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{\left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right) + t}\right)} \]
        4. Applied egg-rr74.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\ell}{Om}, t\right)\right)}} \]
        5. Taylor expanded in Om around inf

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        6. Step-by-step derivation
          1. +-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)}} \]
          2. accelerator-lowering-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)}} \]
          3. /-lowering-/.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)} \]
          4. 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)} \]
          5. *-lowering-*.f6457.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)} \]
        7. Simplified57.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)}} \]
        8. Step-by-step derivation
          1. sqrt-lowering-sqrt.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        if +inf.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. Initial program 0.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. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{\left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right) + t}\right)} \]
        4. Applied egg-rr6.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\ell}{Om}, t\right)\right)}} \]
        5. Taylor expanded in Om around 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{U \cdot \mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right)} \cdot \sqrt{2 \cdot n}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq \infty:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\ell \cdot \sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \frac{n \cdot \left(U* - U\right)}{Om \cdot Om}}\\ \end{array} \]
      5. Add Preprocessing

      Alternative 13: 54.1% accurate, 0.4× speedup?

      \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)\\ t_2 := U \cdot \left(2 \cdot n\right)\\ t_3 := \sqrt{t\_2 \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\_3 \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{n} \cdot \sqrt{2 \cdot \left(U \cdot t\_1\right)}\\ \mathbf{elif}\;t\_3 \leq \infty:\\ \;\;\;\;\sqrt{t\_1 \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;l\_m \cdot \sqrt{t\_2 \cdot \frac{n \cdot \left(U* - U\right)}{Om \cdot Om}}\\ \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 (* (/ l_m Om) -2.0) t))
              (t_2 (* U (* 2.0 n)))
              (t_3
               (sqrt
                (*
                 t_2
                 (+
                  (- t (* 2.0 (/ (* l_m l_m) Om)))
                  (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
         (if (<= t_3 2e-156)
           (* (sqrt n) (sqrt (* 2.0 (* U t_1))))
           (if (<= t_3 INFINITY)
             (sqrt (* t_1 (* n (* 2.0 U))))
             (* l_m (sqrt (* t_2 (/ (* n (- U* U)) (* Om Om)))))))))
      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, ((l_m / Om) * -2.0), t);
      	double t_2 = U * (2.0 * n);
      	double t_3 = sqrt((t_2 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
      	double tmp;
      	if (t_3 <= 2e-156) {
      		tmp = sqrt(n) * sqrt((2.0 * (U * t_1)));
      	} else if (t_3 <= ((double) INFINITY)) {
      		tmp = sqrt((t_1 * (n * (2.0 * U))));
      	} else {
      		tmp = l_m * sqrt((t_2 * ((n * (U_42_ - U)) / (Om * Om))));
      	}
      	return tmp;
      }
      
      l_m = abs(l)
      function code(n, U, t, l_m, Om, U_42_)
      	t_1 = fma(l_m, Float64(Float64(l_m / Om) * -2.0), t)
      	t_2 = Float64(U * Float64(2.0 * n))
      	t_3 = sqrt(Float64(t_2 * Float64(Float64(t - Float64(2.0 * Float64(Float64(l_m * l_m) / Om))) + Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U_42_ - U)))))
      	tmp = 0.0
      	if (t_3 <= 2e-156)
      		tmp = Float64(sqrt(n) * sqrt(Float64(2.0 * Float64(U * t_1))));
      	elseif (t_3 <= Inf)
      		tmp = sqrt(Float64(t_1 * Float64(n * Float64(2.0 * U))));
      	else
      		tmp = Float64(l_m * sqrt(Float64(t_2 * Float64(Float64(n * Float64(U_42_ - U)) / Float64(Om * 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[(l$95$m * N[(N[(l$95$m / Om), $MachinePrecision] * -2.0), $MachinePrecision] + t), $MachinePrecision]}, Block[{t$95$2 = N[(U * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[Sqrt[N[(t$95$2 * 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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$3, 2e-156], N[(N[Sqrt[n], $MachinePrecision] * N[Sqrt[N[(2.0 * N[(U * t$95$1), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, Infinity], N[Sqrt[N[(t$95$1 * N[(n * N[(2.0 * U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(l$95$m * N[Sqrt[N[(t$95$2 * N[(N[(n * N[(U$42$ - U), $MachinePrecision]), $MachinePrecision] / N[(Om * Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]]]]]
      
      \begin{array}{l}
      l_m = \left|\ell\right|
      
      \\
      \begin{array}{l}
      t_1 := \mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right)\\
      t_2 := U \cdot \left(2 \cdot n\right)\\
      t_3 := \sqrt{t\_2 \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\_3 \leq 2 \cdot 10^{-156}:\\
      \;\;\;\;\sqrt{n} \cdot \sqrt{2 \cdot \left(U \cdot t\_1\right)}\\
      
      \mathbf{elif}\;t\_3 \leq \infty:\\
      \;\;\;\;\sqrt{t\_1 \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\
      
      \mathbf{else}:\\
      \;\;\;\;l\_m \cdot \sqrt{t\_2 \cdot \frac{n \cdot \left(U* - U\right)}{Om \cdot Om}}\\
      
      
      \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*))))) < 2.00000000000000008e-156

        1. Initial program 12.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. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

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

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

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        6. Step-by-step derivation
          1. +-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)}} \]
          2. accelerator-lowering-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)}} \]
          3. /-lowering-/.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)} \]
          4. 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)} \]
          5. *-lowering-*.f6412.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)} \]
        7. Simplified12.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)}} \]
        8. Step-by-step derivation
          1. associate-*l*N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

            \[\leadsto \sqrt{n} \cdot \sqrt{2 \cdot \color{blue}{\left(\left(\left(-2 \cdot \ell\right) \cdot \frac{\ell}{Om} + t\right) \cdot U\right)}} \]
        9. Applied egg-rr48.4%

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

        if 2.00000000000000008e-156 < (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*))))) < +inf.0

        1. Initial program 68.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. Step-by-step derivation
          1. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{\left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right) + t}\right)} \]
        4. Applied egg-rr74.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\ell}{Om}, t\right)\right)}} \]
        5. Taylor expanded in Om around inf

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        6. Step-by-step derivation
          1. +-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)}} \]
          2. accelerator-lowering-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)}} \]
          3. /-lowering-/.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)} \]
          4. 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)} \]
          5. *-lowering-*.f6457.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)} \]
        7. Simplified57.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)}} \]
        8. Step-by-step derivation
          1. sqrt-lowering-sqrt.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        if +inf.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. Initial program 0.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. 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)}} \]
          2. +-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)}} \]
          3. *-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)} \]
          4. 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)} \]
          5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          12. --lowering--.f64N/A

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

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

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

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

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

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{\left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right) + t}\right)} \]
        4. Applied egg-rr6.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\ell}{Om}, t\right)\right)}} \]
        5. Taylor expanded in Om around 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{n} \cdot \sqrt{2 \cdot \left(U \cdot \mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right)\right)}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq \infty:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\ell \cdot \sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \frac{n \cdot \left(U* - U\right)}{Om \cdot Om}}\\ \end{array} \]
      5. Add Preprocessing

      Alternative 14: 53.3% accurate, 0.4× speedup?

      \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := U \cdot \left(2 \cdot n\right)\\ t_2 := \sqrt{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 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \mathbf{elif}\;t\_2 \leq \infty:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;l\_m \cdot \sqrt{t\_1 \cdot \frac{n \cdot \left(U* - U\right)}{Om \cdot Om}}\\ \end{array} \end{array} \]
      l_m = (fabs.f64 l)
      (FPCore (n U t l_m Om U*)
       :precision binary64
       (let* ((t_1 (* U (* 2.0 n)))
              (t_2
               (sqrt
                (*
                 t_1
                 (+
                  (- t (* 2.0 (/ (* l_m l_m) Om)))
                  (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
         (if (<= t_2 2e-156)
           (* (sqrt (* 2.0 n)) (sqrt (* U t)))
           (if (<= t_2 INFINITY)
             (sqrt (* (fma l_m (* (/ l_m Om) -2.0) t) (* n (* 2.0 U))))
             (* l_m (sqrt (* t_1 (/ (* n (- U* U)) (* Om Om)))))))))
      l_m = fabs(l);
      double code(double n, double U, double t, double l_m, double Om, double U_42_) {
      	double t_1 = U * (2.0 * n);
      	double t_2 = sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
      	double tmp;
      	if (t_2 <= 2e-156) {
      		tmp = sqrt((2.0 * n)) * sqrt((U * t));
      	} else if (t_2 <= ((double) INFINITY)) {
      		tmp = sqrt((fma(l_m, ((l_m / Om) * -2.0), t) * (n * (2.0 * U))));
      	} else {
      		tmp = l_m * sqrt((t_1 * ((n * (U_42_ - U)) / (Om * Om))));
      	}
      	return tmp;
      }
      
      l_m = abs(l)
      function code(n, U, t, l_m, Om, U_42_)
      	t_1 = Float64(U * Float64(2.0 * n))
      	t_2 = sqrt(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_42_ - U)))))
      	tmp = 0.0
      	if (t_2 <= 2e-156)
      		tmp = Float64(sqrt(Float64(2.0 * n)) * sqrt(Float64(U * t)));
      	elseif (t_2 <= Inf)
      		tmp = sqrt(Float64(fma(l_m, Float64(Float64(l_m / Om) * -2.0), t) * Float64(n * Float64(2.0 * U))));
      	else
      		tmp = Float64(l_m * sqrt(Float64(t_1 * Float64(Float64(n * Float64(U_42_ - U)) / Float64(Om * 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[(U * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[Sqrt[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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$2, 2e-156], N[(N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(U * t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$2, Infinity], N[Sqrt[N[(N[(l$95$m * N[(N[(l$95$m / Om), $MachinePrecision] * -2.0), $MachinePrecision] + t), $MachinePrecision] * N[(n * N[(2.0 * U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(l$95$m * N[Sqrt[N[(t$95$1 * N[(N[(n * N[(U$42$ - U), $MachinePrecision]), $MachinePrecision] / N[(Om * Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]]]]
      
      \begin{array}{l}
      l_m = \left|\ell\right|
      
      \\
      \begin{array}{l}
      t_1 := U \cdot \left(2 \cdot n\right)\\
      t_2 := \sqrt{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 2 \cdot 10^{-156}:\\
      \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\
      
      \mathbf{elif}\;t\_2 \leq \infty:\\
      \;\;\;\;\sqrt{\mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\
      
      \mathbf{else}:\\
      \;\;\;\;l\_m \cdot \sqrt{t\_1 \cdot \frac{n \cdot \left(U* - U\right)}{Om \cdot Om}}\\
      
      
      \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*))))) < 2.00000000000000008e-156

        1. Initial program 12.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. pow1/2N/A

            \[\leadsto \color{blue}{{\left(\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)\right)}^{\frac{1}{2}}} \]
          2. associate-*l*N/A

            \[\leadsto {\color{blue}{\left(\left(2 \cdot n\right) \cdot \left(U \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)\right)\right)}}^{\frac{1}{2}} \]
          3. *-commutativeN/A

            \[\leadsto {\color{blue}{\left(\left(U \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)\right) \cdot \left(2 \cdot n\right)\right)}}^{\frac{1}{2}} \]
          4. unpow-prod-downN/A

            \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
          5. *-lowering-*.f64N/A

            \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
        4. Applied egg-rr41.9%

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

          \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]
        6. Step-by-step derivation
          1. Simplified32.4%

            \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]

          if 2.00000000000000008e-156 < (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*))))) < +inf.0

          1. Initial program 68.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. Step-by-step derivation
            1. 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)}} \]
            2. +-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)}} \]
            3. *-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)} \]
            4. 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)} \]
            5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
            6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
            7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
            8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
            9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
            10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
            11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
            12. --lowering--.f64N/A

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

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

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

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

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

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{\left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right) + t}\right)} \]
          4. Applied egg-rr74.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\ell}{Om}, t\right)\right)}} \]
          5. Taylor expanded in Om around inf

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
          6. Step-by-step derivation
            1. +-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)}} \]
            2. accelerator-lowering-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)}} \]
            3. /-lowering-/.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)} \]
            4. 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)} \]
            5. *-lowering-*.f6457.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)} \]
          7. Simplified57.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)}} \]
          8. Step-by-step derivation
            1. sqrt-lowering-sqrt.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          if +inf.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. Initial program 0.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. 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)}} \]
            2. +-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)}} \]
            3. *-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)} \]
            4. 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)} \]
            5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
            6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
            7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
            8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
            9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
            10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
            11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
            12. --lowering--.f64N/A

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

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

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

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

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

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{\left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right) + t}\right)} \]
          4. Applied egg-rr6.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\ell}{Om}, t\right)\right)}} \]
          5. Taylor expanded in Om around 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq \infty:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\ell \cdot \sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \frac{n \cdot \left(U* - U\right)}{Om \cdot Om}}\\ \end{array} \]
        9. Add Preprocessing

        Alternative 15: 51.9% accurate, 0.4× speedup?

        \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \sqrt{\left(U \cdot \left(2 \cdot n\right)\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)}\\ \mathbf{if}\;t\_1 \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \mathbf{elif}\;t\_1 \leq \infty:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{1}{Om} \cdot \left(l\_m \cdot \left(\left|n\right| \cdot \sqrt{U* \cdot \left(2 \cdot U\right)}\right)\right)\\ \end{array} \end{array} \]
        l_m = (fabs.f64 l)
        (FPCore (n U t l_m Om U*)
         :precision binary64
         (let* ((t_1
                 (sqrt
                  (*
                   (* U (* 2.0 n))
                   (+
                    (- t (* 2.0 (/ (* l_m l_m) Om)))
                    (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
           (if (<= t_1 2e-156)
             (* (sqrt (* 2.0 n)) (sqrt (* U t)))
             (if (<= t_1 INFINITY)
               (sqrt (* (fma l_m (* (/ l_m Om) -2.0) t) (* n (* 2.0 U))))
               (* (/ 1.0 Om) (* l_m (* (fabs n) (sqrt (* U* (* 2.0 U))))))))))
        l_m = fabs(l);
        double code(double n, double U, double t, double l_m, double Om, double U_42_) {
        	double t_1 = sqrt(((U * (2.0 * n)) * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
        	double tmp;
        	if (t_1 <= 2e-156) {
        		tmp = sqrt((2.0 * n)) * sqrt((U * t));
        	} else if (t_1 <= ((double) INFINITY)) {
        		tmp = sqrt((fma(l_m, ((l_m / Om) * -2.0), t) * (n * (2.0 * U))));
        	} else {
        		tmp = (1.0 / Om) * (l_m * (fabs(n) * sqrt((U_42_ * (2.0 * U)))));
        	}
        	return tmp;
        }
        
        l_m = abs(l)
        function code(n, U, t, l_m, Om, U_42_)
        	t_1 = sqrt(Float64(Float64(U * Float64(2.0 * n)) * Float64(Float64(t - Float64(2.0 * Float64(Float64(l_m * l_m) / Om))) + Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U_42_ - U)))))
        	tmp = 0.0
        	if (t_1 <= 2e-156)
        		tmp = Float64(sqrt(Float64(2.0 * n)) * sqrt(Float64(U * t)));
        	elseif (t_1 <= Inf)
        		tmp = sqrt(Float64(fma(l_m, Float64(Float64(l_m / Om) * -2.0), t) * Float64(n * Float64(2.0 * U))));
        	else
        		tmp = Float64(Float64(1.0 / Om) * Float64(l_m * Float64(abs(n) * sqrt(Float64(U_42_ * Float64(2.0 * 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[Sqrt[N[(N[(U * N[(2.0 * n), $MachinePrecision]), $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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$1, 2e-156], N[(N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(U * t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, Infinity], N[Sqrt[N[(N[(l$95$m * N[(N[(l$95$m / Om), $MachinePrecision] * -2.0), $MachinePrecision] + t), $MachinePrecision] * N[(n * N[(2.0 * U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[(1.0 / Om), $MachinePrecision] * N[(l$95$m * N[(N[Abs[n], $MachinePrecision] * N[Sqrt[N[(U$42$ * N[(2.0 * U), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
        
        \begin{array}{l}
        l_m = \left|\ell\right|
        
        \\
        \begin{array}{l}
        t_1 := \sqrt{\left(U \cdot \left(2 \cdot n\right)\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)}\\
        \mathbf{if}\;t\_1 \leq 2 \cdot 10^{-156}:\\
        \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\
        
        \mathbf{elif}\;t\_1 \leq \infty:\\
        \;\;\;\;\sqrt{\mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\
        
        \mathbf{else}:\\
        \;\;\;\;\frac{1}{Om} \cdot \left(l\_m \cdot \left(\left|n\right| \cdot \sqrt{U* \cdot \left(2 \cdot U\right)}\right)\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*))))) < 2.00000000000000008e-156

          1. Initial program 12.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. pow1/2N/A

              \[\leadsto \color{blue}{{\left(\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)\right)}^{\frac{1}{2}}} \]
            2. associate-*l*N/A

              \[\leadsto {\color{blue}{\left(\left(2 \cdot n\right) \cdot \left(U \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)\right)\right)}}^{\frac{1}{2}} \]
            3. *-commutativeN/A

              \[\leadsto {\color{blue}{\left(\left(U \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)\right) \cdot \left(2 \cdot n\right)\right)}}^{\frac{1}{2}} \]
            4. unpow-prod-downN/A

              \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
            5. *-lowering-*.f64N/A

              \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
          4. Applied egg-rr41.9%

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

            \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]
          6. Step-by-step derivation
            1. Simplified32.4%

              \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]

            if 2.00000000000000008e-156 < (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*))))) < +inf.0

            1. Initial program 68.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. Step-by-step derivation
              1. 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)}} \]
              2. +-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)}} \]
              3. *-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)} \]
              4. 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)} \]
              5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
              6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
              7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
              8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
              9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
              10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
              11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
              12. --lowering--.f64N/A

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

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

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

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

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

                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{\left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right) + t}\right)} \]
            4. Applied egg-rr74.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\ell}{Om}, t\right)\right)}} \]
            5. Taylor expanded in Om around inf

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
            6. Step-by-step derivation
              1. +-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)}} \]
              2. accelerator-lowering-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)}} \]
              3. /-lowering-/.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)} \]
              4. 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)} \]
              5. *-lowering-*.f6457.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)} \]
            7. Simplified57.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)}} \]
            8. Step-by-step derivation
              1. sqrt-lowering-sqrt.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if +inf.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. Initial program 0.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 U* around inf

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

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

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

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

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

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

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

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

                \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
              9. *-lowering-*.f64N/A

                \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
              10. unpow2N/A

                \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(n \cdot n\right)}\right)\right)}{{Om}^{2}}} \]
              11. *-lowering-*.f64N/A

                \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(n \cdot n\right)}\right)\right)}{{Om}^{2}}} \]
              12. unpow2N/A

                \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
              13. *-lowering-*.f6421.3

                \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
            5. Simplified21.3%

              \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{Om \cdot Om}}} \]
            6. Step-by-step derivation
              1. clear-numN/A

                \[\leadsto \sqrt{\color{blue}{\frac{1}{\frac{Om \cdot Om}{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}}} \]
              2. associate-/r/N/A

                \[\leadsto \sqrt{\color{blue}{\frac{1}{Om \cdot Om} \cdot \left(2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)\right)}} \]
              3. sqrt-prodN/A

                \[\leadsto \color{blue}{\sqrt{\frac{1}{Om \cdot Om}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}} \]
              4. sqrt-divN/A

                \[\leadsto \color{blue}{\frac{\sqrt{1}}{\sqrt{Om \cdot Om}}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
              5. metadata-evalN/A

                \[\leadsto \frac{\color{blue}{1}}{\sqrt{Om \cdot Om}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
              6. pow2N/A

                \[\leadsto \frac{1}{\sqrt{\color{blue}{{Om}^{2}}}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
              7. sqrt-pow1N/A

                \[\leadsto \frac{1}{\color{blue}{{Om}^{\left(\frac{2}{2}\right)}}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
              8. metadata-evalN/A

                \[\leadsto \frac{1}{{Om}^{\color{blue}{1}}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
              9. unpow1N/A

                \[\leadsto \frac{1}{\color{blue}{Om}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
              10. *-lowering-*.f64N/A

                \[\leadsto \color{blue}{\frac{1}{Om} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}} \]
              11. /-lowering-/.f64N/A

                \[\leadsto \color{blue}{\frac{1}{Om}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
              12. pow1/2N/A

                \[\leadsto \frac{1}{Om} \cdot \color{blue}{{\left(2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)\right)}^{\frac{1}{2}}} \]
              13. associate-*r*N/A

                \[\leadsto \frac{1}{Om} \cdot {\color{blue}{\left(\left(2 \cdot \left(U \cdot U*\right)\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}^{\frac{1}{2}} \]
              14. *-commutativeN/A

                \[\leadsto \frac{1}{Om} \cdot {\color{blue}{\left(\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right) \cdot \left(2 \cdot \left(U \cdot U*\right)\right)\right)}}^{\frac{1}{2}} \]
              15. unpow-prod-downN/A

                \[\leadsto \frac{1}{Om} \cdot \color{blue}{\left({\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}\right)} \]
              16. *-lowering-*.f64N/A

                \[\leadsto \frac{1}{Om} \cdot \color{blue}{\left({\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}\right)} \]
            7. Applied egg-rr29.2%

              \[\leadsto \color{blue}{\frac{1}{Om} \cdot \left(\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}\right)} \]
            8. Step-by-step derivation
              1. fabs-mulN/A

                \[\leadsto \frac{1}{Om} \cdot \left(\color{blue}{\left(\left|\ell\right| \cdot \left|n\right|\right)} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}\right) \]
              2. associate-*l*N/A

                \[\leadsto \frac{1}{Om} \cdot \color{blue}{\left(\left|\ell\right| \cdot \left(\left|n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}\right)\right)} \]
              3. rem-sqrt-squareN/A

                \[\leadsto \frac{1}{Om} \cdot \left(\color{blue}{\sqrt{\ell \cdot \ell}} \cdot \left(\left|n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}\right)\right) \]
              4. pow2N/A

                \[\leadsto \frac{1}{Om} \cdot \left(\sqrt{\color{blue}{{\ell}^{2}}} \cdot \left(\left|n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}\right)\right) \]
              5. sqrt-pow1N/A

                \[\leadsto \frac{1}{Om} \cdot \left(\color{blue}{{\ell}^{\left(\frac{2}{2}\right)}} \cdot \left(\left|n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}\right)\right) \]
              6. metadata-evalN/A

                \[\leadsto \frac{1}{Om} \cdot \left({\ell}^{\color{blue}{1}} \cdot \left(\left|n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}\right)\right) \]
              7. unpow1N/A

                \[\leadsto \frac{1}{Om} \cdot \left(\color{blue}{\ell} \cdot \left(\left|n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}\right)\right) \]
              8. *-lowering-*.f64N/A

                \[\leadsto \frac{1}{Om} \cdot \color{blue}{\left(\ell \cdot \left(\left|n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}\right)\right)} \]
              9. *-lowering-*.f64N/A

                \[\leadsto \frac{1}{Om} \cdot \left(\ell \cdot \color{blue}{\left(\left|n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}\right)}\right) \]
              10. fabs-lowering-fabs.f64N/A

                \[\leadsto \frac{1}{Om} \cdot \left(\ell \cdot \left(\color{blue}{\left|n\right|} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}\right)\right) \]
              11. sqrt-lowering-sqrt.f64N/A

                \[\leadsto \frac{1}{Om} \cdot \left(\ell \cdot \left(\left|n\right| \cdot \color{blue}{\sqrt{2 \cdot \left(U \cdot U*\right)}}\right)\right) \]
              12. associate-*r*N/A

                \[\leadsto \frac{1}{Om} \cdot \left(\ell \cdot \left(\left|n\right| \cdot \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot U*}}\right)\right) \]
              13. *-commutativeN/A

                \[\leadsto \frac{1}{Om} \cdot \left(\ell \cdot \left(\left|n\right| \cdot \sqrt{\color{blue}{U* \cdot \left(2 \cdot U\right)}}\right)\right) \]
              14. *-lowering-*.f64N/A

                \[\leadsto \frac{1}{Om} \cdot \left(\ell \cdot \left(\left|n\right| \cdot \sqrt{\color{blue}{U* \cdot \left(2 \cdot U\right)}}\right)\right) \]
              15. *-commutativeN/A

                \[\leadsto \frac{1}{Om} \cdot \left(\ell \cdot \left(\left|n\right| \cdot \sqrt{U* \cdot \color{blue}{\left(U \cdot 2\right)}}\right)\right) \]
              16. *-lowering-*.f6411.0

                \[\leadsto \frac{1}{Om} \cdot \left(\ell \cdot \left(\left|n\right| \cdot \sqrt{U* \cdot \color{blue}{\left(U \cdot 2\right)}}\right)\right) \]
            9. Applied egg-rr11.0%

              \[\leadsto \frac{1}{Om} \cdot \color{blue}{\left(\ell \cdot \left(\left|n\right| \cdot \sqrt{U* \cdot \left(U \cdot 2\right)}\right)\right)} \]
          7. Recombined 3 regimes into one program.
          8. Final simplification51.1%

            \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq \infty:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{1}{Om} \cdot \left(\ell \cdot \left(\left|n\right| \cdot \sqrt{U* \cdot \left(2 \cdot U\right)}\right)\right)\\ \end{array} \]
          9. Add Preprocessing

          Alternative 16: 51.9% accurate, 0.4× speedup?

          \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \sqrt{\left(U \cdot \left(2 \cdot n\right)\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)}\\ \mathbf{if}\;t\_1 \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \mathbf{elif}\;t\_1 \leq \infty:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\left|n \cdot l\_m\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}\\ \end{array} \end{array} \]
          l_m = (fabs.f64 l)
          (FPCore (n U t l_m Om U*)
           :precision binary64
           (let* ((t_1
                   (sqrt
                    (*
                     (* U (* 2.0 n))
                     (+
                      (- t (* 2.0 (/ (* l_m l_m) Om)))
                      (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
             (if (<= t_1 2e-156)
               (* (sqrt (* 2.0 n)) (sqrt (* U t)))
               (if (<= t_1 INFINITY)
                 (sqrt (* (fma l_m (* (/ l_m Om) -2.0) t) (* n (* 2.0 U))))
                 (/ (* (fabs (* n l_m)) (sqrt (* 2.0 (* U U*)))) Om)))))
          l_m = fabs(l);
          double code(double n, double U, double t, double l_m, double Om, double U_42_) {
          	double t_1 = sqrt(((U * (2.0 * n)) * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
          	double tmp;
          	if (t_1 <= 2e-156) {
          		tmp = sqrt((2.0 * n)) * sqrt((U * t));
          	} else if (t_1 <= ((double) INFINITY)) {
          		tmp = sqrt((fma(l_m, ((l_m / Om) * -2.0), t) * (n * (2.0 * U))));
          	} else {
          		tmp = (fabs((n * l_m)) * sqrt((2.0 * (U * U_42_)))) / Om;
          	}
          	return tmp;
          }
          
          l_m = abs(l)
          function code(n, U, t, l_m, Om, U_42_)
          	t_1 = sqrt(Float64(Float64(U * Float64(2.0 * n)) * Float64(Float64(t - Float64(2.0 * Float64(Float64(l_m * l_m) / Om))) + Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U_42_ - U)))))
          	tmp = 0.0
          	if (t_1 <= 2e-156)
          		tmp = Float64(sqrt(Float64(2.0 * n)) * sqrt(Float64(U * t)));
          	elseif (t_1 <= Inf)
          		tmp = sqrt(Float64(fma(l_m, Float64(Float64(l_m / Om) * -2.0), t) * Float64(n * Float64(2.0 * U))));
          	else
          		tmp = Float64(Float64(abs(Float64(n * l_m)) * sqrt(Float64(2.0 * Float64(U * U_42_)))) / 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[Sqrt[N[(N[(U * N[(2.0 * n), $MachinePrecision]), $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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$1, 2e-156], N[(N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(U * t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$1, Infinity], N[Sqrt[N[(N[(l$95$m * N[(N[(l$95$m / Om), $MachinePrecision] * -2.0), $MachinePrecision] + t), $MachinePrecision] * N[(n * N[(2.0 * U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[(N[Abs[N[(n * l$95$m), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * N[(U * U$42$), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]]]]
          
          \begin{array}{l}
          l_m = \left|\ell\right|
          
          \\
          \begin{array}{l}
          t_1 := \sqrt{\left(U \cdot \left(2 \cdot n\right)\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)}\\
          \mathbf{if}\;t\_1 \leq 2 \cdot 10^{-156}:\\
          \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\
          
          \mathbf{elif}\;t\_1 \leq \infty:\\
          \;\;\;\;\sqrt{\mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\
          
          \mathbf{else}:\\
          \;\;\;\;\frac{\left|n \cdot l\_m\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}\\
          
          
          \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*))))) < 2.00000000000000008e-156

            1. Initial program 12.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. pow1/2N/A

                \[\leadsto \color{blue}{{\left(\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)\right)}^{\frac{1}{2}}} \]
              2. associate-*l*N/A

                \[\leadsto {\color{blue}{\left(\left(2 \cdot n\right) \cdot \left(U \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)\right)\right)}}^{\frac{1}{2}} \]
              3. *-commutativeN/A

                \[\leadsto {\color{blue}{\left(\left(U \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)\right) \cdot \left(2 \cdot n\right)\right)}}^{\frac{1}{2}} \]
              4. unpow-prod-downN/A

                \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
              5. *-lowering-*.f64N/A

                \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
            4. Applied egg-rr41.9%

              \[\leadsto \color{blue}{\sqrt{U \cdot \left(t - \mathsf{fma}\left(\frac{\ell \cdot \ell}{Om \cdot Om}, n \cdot \left(U - U*\right), \ell \cdot \left(\frac{\ell}{Om} \cdot 2\right)\right)\right)} \cdot \sqrt{2 \cdot n}} \]
            5. Taylor expanded in t around inf

              \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]
            6. Step-by-step derivation
              1. Simplified32.4%

                \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]

              if 2.00000000000000008e-156 < (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*))))) < +inf.0

              1. Initial program 68.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. Step-by-step derivation
                1. 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)}} \]
                2. +-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)}} \]
                3. *-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)} \]
                4. 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)} \]
                5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                12. --lowering--.f64N/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right)}\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                13. /-lowering-/.f64N/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                14. *-lowering-*.f64N/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \color{blue}{\frac{\ell}{Om} \cdot n}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                15. /-lowering-/.f64N/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \color{blue}{\frac{\ell}{Om}} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                16. sub-negN/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                17. +-commutativeN/A

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{\left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right) + t}\right)} \]
              4. Applied egg-rr74.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\ell}{Om}, t\right)\right)}} \]
              5. Taylor expanded in Om around inf

                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
              6. Step-by-step derivation
                1. +-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)}} \]
                2. accelerator-lowering-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)}} \]
                3. /-lowering-/.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)} \]
                4. 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)} \]
                5. *-lowering-*.f6457.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)} \]
              7. Simplified57.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)}} \]
              8. Step-by-step derivation
                1. sqrt-lowering-sqrt.f64N/A

                  \[\leadsto \color{blue}{\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(-2 \cdot \frac{\ell \cdot \ell}{Om} + t\right)}} \]
                2. *-commutativeN/A

                  \[\leadsto \sqrt{\color{blue}{\left(-2 \cdot \frac{\ell \cdot \ell}{Om} + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)}} \]
                3. associate-/l*N/A

                  \[\leadsto \sqrt{\left(-2 \cdot \color{blue}{\left(\ell \cdot \frac{\ell}{Om}\right)} + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                4. associate-*l*N/A

                  \[\leadsto \sqrt{\left(\color{blue}{\left(-2 \cdot \ell\right) \cdot \frac{\ell}{Om}} + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                5. *-lowering-*.f64N/A

                  \[\leadsto \sqrt{\color{blue}{\left(\left(-2 \cdot \ell\right) \cdot \frac{\ell}{Om} + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)}} \]
                6. associate-*l*N/A

                  \[\leadsto \sqrt{\left(\color{blue}{-2 \cdot \left(\ell \cdot \frac{\ell}{Om}\right)} + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                7. associate-/l*N/A

                  \[\leadsto \sqrt{\left(-2 \cdot \color{blue}{\frac{\ell \cdot \ell}{Om}} + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                8. *-commutativeN/A

                  \[\leadsto \sqrt{\left(\color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                9. associate-/l*N/A

                  \[\leadsto \sqrt{\left(\color{blue}{\left(\ell \cdot \frac{\ell}{Om}\right)} \cdot -2 + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                10. associate-*l*N/A

                  \[\leadsto \sqrt{\left(\color{blue}{\ell \cdot \left(\frac{\ell}{Om} \cdot -2\right)} + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                11. accelerator-lowering-fma.f64N/A

                  \[\leadsto \sqrt{\color{blue}{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right)} \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                12. *-lowering-*.f64N/A

                  \[\leadsto \sqrt{\mathsf{fma}\left(\ell, \color{blue}{\frac{\ell}{Om} \cdot -2}, t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                13. /-lowering-/.f64N/A

                  \[\leadsto \sqrt{\mathsf{fma}\left(\ell, \color{blue}{\frac{\ell}{Om}} \cdot -2, t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                14. *-commutativeN/A

                  \[\leadsto \sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(\color{blue}{\left(n \cdot 2\right)} \cdot U\right)} \]
                15. associate-*l*N/A

                  \[\leadsto \sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \color{blue}{\left(n \cdot \left(2 \cdot U\right)\right)}} \]
                16. *-commutativeN/A

                  \[\leadsto \sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(n \cdot \color{blue}{\left(U \cdot 2\right)}\right)} \]
                17. *-lowering-*.f64N/A

                  \[\leadsto \sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \color{blue}{\left(n \cdot \left(U \cdot 2\right)\right)}} \]
                18. *-commutativeN/A

                  \[\leadsto \sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(n \cdot \color{blue}{\left(2 \cdot U\right)}\right)} \]
                19. *-lowering-*.f6462.4

                  \[\leadsto \sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(n \cdot \color{blue}{\left(2 \cdot U\right)}\right)} \]
              9. Applied egg-rr62.4%

                \[\leadsto \color{blue}{\sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}} \]

              if +inf.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. Initial program 0.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 U* around inf

                \[\leadsto \sqrt{\color{blue}{2 \cdot \frac{U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}{{Om}^{2}}}} \]
              4. Step-by-step derivation
                1. associate-*r/N/A

                  \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}{{Om}^{2}}}} \]
                2. /-lowering-/.f64N/A

                  \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}{{Om}^{2}}}} \]
                3. *-lowering-*.f64N/A

                  \[\leadsto \sqrt{\frac{\color{blue}{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}}{{Om}^{2}}} \]
                4. associate-*r*N/A

                  \[\leadsto \sqrt{\frac{2 \cdot \color{blue}{\left(\left(U \cdot U*\right) \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}}{{Om}^{2}}} \]
                5. *-lowering-*.f64N/A

                  \[\leadsto \sqrt{\frac{2 \cdot \color{blue}{\left(\left(U \cdot U*\right) \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}}{{Om}^{2}}} \]
                6. *-lowering-*.f64N/A

                  \[\leadsto \sqrt{\frac{2 \cdot \left(\color{blue}{\left(U \cdot U*\right)} \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                7. *-lowering-*.f64N/A

                  \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \color{blue}{\left({\ell}^{2} \cdot {n}^{2}\right)}\right)}{{Om}^{2}}} \]
                8. unpow2N/A

                  \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                9. *-lowering-*.f64N/A

                  \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                10. unpow2N/A

                  \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(n \cdot n\right)}\right)\right)}{{Om}^{2}}} \]
                11. *-lowering-*.f64N/A

                  \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(n \cdot n\right)}\right)\right)}{{Om}^{2}}} \]
                12. unpow2N/A

                  \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
                13. *-lowering-*.f6421.3

                  \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
              5. Simplified21.3%

                \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{Om \cdot Om}}} \]
              6. Step-by-step derivation
                1. sqrt-divN/A

                  \[\leadsto \color{blue}{\frac{\sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}{\sqrt{Om \cdot Om}}} \]
                2. sqrt-prodN/A

                  \[\leadsto \frac{\sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}{\color{blue}{\sqrt{Om} \cdot \sqrt{Om}}} \]
                3. rem-square-sqrtN/A

                  \[\leadsto \frac{\sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}{\color{blue}{Om}} \]
                4. /-lowering-/.f64N/A

                  \[\leadsto \color{blue}{\frac{\sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}{Om}} \]
                5. pow1/2N/A

                  \[\leadsto \frac{\color{blue}{{\left(2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)\right)}^{\frac{1}{2}}}}{Om} \]
                6. associate-*r*N/A

                  \[\leadsto \frac{{\color{blue}{\left(\left(2 \cdot \left(U \cdot U*\right)\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}^{\frac{1}{2}}}{Om} \]
                7. *-commutativeN/A

                  \[\leadsto \frac{{\color{blue}{\left(\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right) \cdot \left(2 \cdot \left(U \cdot U*\right)\right)\right)}}^{\frac{1}{2}}}{Om} \]
                8. unpow-prod-downN/A

                  \[\leadsto \frac{\color{blue}{{\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}}{Om} \]
                9. *-lowering-*.f64N/A

                  \[\leadsto \frac{\color{blue}{{\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}}{Om} \]
                10. pow1/2N/A

                  \[\leadsto \frac{\color{blue}{\sqrt{\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
                11. unswap-sqrN/A

                  \[\leadsto \frac{\sqrt{\color{blue}{\left(\ell \cdot n\right) \cdot \left(\ell \cdot n\right)}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
                12. rem-sqrt-squareN/A

                  \[\leadsto \frac{\color{blue}{\left|\ell \cdot n\right|} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
                13. fabs-lowering-fabs.f64N/A

                  \[\leadsto \frac{\color{blue}{\left|\ell \cdot n\right|} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
                14. *-lowering-*.f64N/A

                  \[\leadsto \frac{\left|\color{blue}{\ell \cdot n}\right| \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
                15. pow1/2N/A

                  \[\leadsto \frac{\left|\ell \cdot n\right| \cdot \color{blue}{\sqrt{2 \cdot \left(U \cdot U*\right)}}}{Om} \]
                16. sqrt-lowering-sqrt.f64N/A

                  \[\leadsto \frac{\left|\ell \cdot n\right| \cdot \color{blue}{\sqrt{2 \cdot \left(U \cdot U*\right)}}}{Om} \]
                17. *-lowering-*.f64N/A

                  \[\leadsto \frac{\left|\ell \cdot n\right| \cdot \sqrt{\color{blue}{2 \cdot \left(U \cdot U*\right)}}}{Om} \]
                18. *-lowering-*.f6429.2

                  \[\leadsto \frac{\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \color{blue}{\left(U \cdot U*\right)}}}{Om} \]
              7. Applied egg-rr29.2%

                \[\leadsto \color{blue}{\frac{\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}} \]
            7. Recombined 3 regimes into one program.
            8. Final simplification53.8%

              \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq \infty:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\left|n \cdot \ell\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}\\ \end{array} \]
            9. Add Preprocessing

            Alternative 17: 48.6% 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 := U \cdot \left(2 \cdot n\right)\\ 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 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \mathbf{elif}\;t\_3 \leq \infty:\\ \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\left|n \cdot l\_m\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{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 (* U (* 2.0 n)))
                    (t_3
                     (sqrt
                      (*
                       t_2
                       (+ (- t (* 2.0 t_1)) (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
               (if (<= t_3 2e-156)
                 (* (sqrt (* 2.0 n)) (sqrt (* U t)))
                 (if (<= t_3 INFINITY)
                   (sqrt (* t_2 (fma -2.0 t_1 t)))
                   (/ (* (fabs (* n l_m)) (sqrt (* 2.0 (* U U*)))) 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 = U * (2.0 * n);
            	double t_3 = sqrt((t_2 * ((t - (2.0 * t_1)) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
            	double tmp;
            	if (t_3 <= 2e-156) {
            		tmp = sqrt((2.0 * n)) * sqrt((U * t));
            	} else if (t_3 <= ((double) INFINITY)) {
            		tmp = sqrt((t_2 * fma(-2.0, t_1, t)));
            	} else {
            		tmp = (fabs((n * l_m)) * sqrt((2.0 * (U * U_42_)))) / 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(U * Float64(2.0 * n))
            	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_42_ - U)))))
            	tmp = 0.0
            	if (t_3 <= 2e-156)
            		tmp = Float64(sqrt(Float64(2.0 * n)) * sqrt(Float64(U * t)));
            	elseif (t_3 <= Inf)
            		tmp = sqrt(Float64(t_2 * fma(-2.0, t_1, t)));
            	else
            		tmp = Float64(Float64(abs(Float64(n * l_m)) * sqrt(Float64(2.0 * Float64(U * U_42_)))) / 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[(U * N[(2.0 * n), $MachinePrecision]), $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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$3, 2e-156], N[(N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(U * t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$3, Infinity], N[Sqrt[N[(t$95$2 * N[(-2.0 * t$95$1 + t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[(N[Abs[N[(n * l$95$m), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * N[(U * U$42$), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]]]]]]
            
            \begin{array}{l}
            l_m = \left|\ell\right|
            
            \\
            \begin{array}{l}
            t_1 := \frac{l\_m \cdot l\_m}{Om}\\
            t_2 := U \cdot \left(2 \cdot n\right)\\
            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 2 \cdot 10^{-156}:\\
            \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\
            
            \mathbf{elif}\;t\_3 \leq \infty:\\
            \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\
            
            \mathbf{else}:\\
            \;\;\;\;\frac{\left|n \cdot l\_m\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}\\
            
            
            \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*))))) < 2.00000000000000008e-156

              1. Initial program 12.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. pow1/2N/A

                  \[\leadsto \color{blue}{{\left(\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)\right)}^{\frac{1}{2}}} \]
                2. associate-*l*N/A

                  \[\leadsto {\color{blue}{\left(\left(2 \cdot n\right) \cdot \left(U \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)\right)\right)}}^{\frac{1}{2}} \]
                3. *-commutativeN/A

                  \[\leadsto {\color{blue}{\left(\left(U \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)\right) \cdot \left(2 \cdot n\right)\right)}}^{\frac{1}{2}} \]
                4. unpow-prod-downN/A

                  \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
                5. *-lowering-*.f64N/A

                  \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
              4. Applied egg-rr41.9%

                \[\leadsto \color{blue}{\sqrt{U \cdot \left(t - \mathsf{fma}\left(\frac{\ell \cdot \ell}{Om \cdot Om}, n \cdot \left(U - U*\right), \ell \cdot \left(\frac{\ell}{Om} \cdot 2\right)\right)\right)} \cdot \sqrt{2 \cdot n}} \]
              5. Taylor expanded in t around inf

                \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]
              6. Step-by-step derivation
                1. Simplified32.4%

                  \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]

                if 2.00000000000000008e-156 < (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*))))) < +inf.0

                1. Initial program 68.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. Step-by-step derivation
                  1. 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)}} \]
                  2. +-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)}} \]
                  3. *-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)} \]
                  4. 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)} \]
                  5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                  6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                  7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                  8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                  9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                  10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                  11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                  12. --lowering--.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right)}\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                  13. /-lowering-/.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                  14. *-lowering-*.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \color{blue}{\frac{\ell}{Om} \cdot n}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                  15. /-lowering-/.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \color{blue}{\frac{\ell}{Om}} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                  16. sub-negN/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                  17. +-commutativeN/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{\left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right) + t}\right)} \]
                4. Applied egg-rr74.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\ell}{Om}, t\right)\right)}} \]
                5. Taylor expanded in Om around inf

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
                6. Step-by-step derivation
                  1. +-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)}} \]
                  2. accelerator-lowering-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)}} \]
                  3. /-lowering-/.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)} \]
                  4. 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)} \]
                  5. *-lowering-*.f6457.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)} \]
                7. Simplified57.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 +inf.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. Initial program 0.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 U* around inf

                  \[\leadsto \sqrt{\color{blue}{2 \cdot \frac{U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}{{Om}^{2}}}} \]
                4. Step-by-step derivation
                  1. associate-*r/N/A

                    \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}{{Om}^{2}}}} \]
                  2. /-lowering-/.f64N/A

                    \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}{{Om}^{2}}}} \]
                  3. *-lowering-*.f64N/A

                    \[\leadsto \sqrt{\frac{\color{blue}{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}}{{Om}^{2}}} \]
                  4. associate-*r*N/A

                    \[\leadsto \sqrt{\frac{2 \cdot \color{blue}{\left(\left(U \cdot U*\right) \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}}{{Om}^{2}}} \]
                  5. *-lowering-*.f64N/A

                    \[\leadsto \sqrt{\frac{2 \cdot \color{blue}{\left(\left(U \cdot U*\right) \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}}{{Om}^{2}}} \]
                  6. *-lowering-*.f64N/A

                    \[\leadsto \sqrt{\frac{2 \cdot \left(\color{blue}{\left(U \cdot U*\right)} \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                  7. *-lowering-*.f64N/A

                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \color{blue}{\left({\ell}^{2} \cdot {n}^{2}\right)}\right)}{{Om}^{2}}} \]
                  8. unpow2N/A

                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                  9. *-lowering-*.f64N/A

                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                  10. unpow2N/A

                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(n \cdot n\right)}\right)\right)}{{Om}^{2}}} \]
                  11. *-lowering-*.f64N/A

                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(n \cdot n\right)}\right)\right)}{{Om}^{2}}} \]
                  12. unpow2N/A

                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
                  13. *-lowering-*.f6421.3

                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
                5. Simplified21.3%

                  \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{Om \cdot Om}}} \]
                6. Step-by-step derivation
                  1. sqrt-divN/A

                    \[\leadsto \color{blue}{\frac{\sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}{\sqrt{Om \cdot Om}}} \]
                  2. sqrt-prodN/A

                    \[\leadsto \frac{\sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}{\color{blue}{\sqrt{Om} \cdot \sqrt{Om}}} \]
                  3. rem-square-sqrtN/A

                    \[\leadsto \frac{\sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}{\color{blue}{Om}} \]
                  4. /-lowering-/.f64N/A

                    \[\leadsto \color{blue}{\frac{\sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}{Om}} \]
                  5. pow1/2N/A

                    \[\leadsto \frac{\color{blue}{{\left(2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)\right)}^{\frac{1}{2}}}}{Om} \]
                  6. associate-*r*N/A

                    \[\leadsto \frac{{\color{blue}{\left(\left(2 \cdot \left(U \cdot U*\right)\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}^{\frac{1}{2}}}{Om} \]
                  7. *-commutativeN/A

                    \[\leadsto \frac{{\color{blue}{\left(\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right) \cdot \left(2 \cdot \left(U \cdot U*\right)\right)\right)}}^{\frac{1}{2}}}{Om} \]
                  8. unpow-prod-downN/A

                    \[\leadsto \frac{\color{blue}{{\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}}{Om} \]
                  9. *-lowering-*.f64N/A

                    \[\leadsto \frac{\color{blue}{{\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}}{Om} \]
                  10. pow1/2N/A

                    \[\leadsto \frac{\color{blue}{\sqrt{\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
                  11. unswap-sqrN/A

                    \[\leadsto \frac{\sqrt{\color{blue}{\left(\ell \cdot n\right) \cdot \left(\ell \cdot n\right)}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
                  12. rem-sqrt-squareN/A

                    \[\leadsto \frac{\color{blue}{\left|\ell \cdot n\right|} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
                  13. fabs-lowering-fabs.f64N/A

                    \[\leadsto \frac{\color{blue}{\left|\ell \cdot n\right|} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
                  14. *-lowering-*.f64N/A

                    \[\leadsto \frac{\left|\color{blue}{\ell \cdot n}\right| \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
                  15. pow1/2N/A

                    \[\leadsto \frac{\left|\ell \cdot n\right| \cdot \color{blue}{\sqrt{2 \cdot \left(U \cdot U*\right)}}}{Om} \]
                  16. sqrt-lowering-sqrt.f64N/A

                    \[\leadsto \frac{\left|\ell \cdot n\right| \cdot \color{blue}{\sqrt{2 \cdot \left(U \cdot U*\right)}}}{Om} \]
                  17. *-lowering-*.f64N/A

                    \[\leadsto \frac{\left|\ell \cdot n\right| \cdot \sqrt{\color{blue}{2 \cdot \left(U \cdot U*\right)}}}{Om} \]
                  18. *-lowering-*.f6429.2

                    \[\leadsto \frac{\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \color{blue}{\left(U \cdot U*\right)}}}{Om} \]
                7. Applied egg-rr29.2%

                  \[\leadsto \color{blue}{\frac{\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}} \]
              7. Recombined 3 regimes into one program.
              8. Final simplification50.5%

                \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq \infty:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{\left|n \cdot \ell\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}\\ \end{array} \]
              9. Add Preprocessing

              Alternative 18: 42.8% accurate, 0.4× speedup?

              \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := U \cdot \left(2 \cdot n\right)\\ t_2 := \sqrt{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 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{t\_1 \cdot t}\\ \mathbf{else}:\\ \;\;\;\;\frac{\left(l\_m \cdot \left|n\right|\right) \cdot \sqrt{U* \cdot \left(2 \cdot U\right)}}{Om}\\ \end{array} \end{array} \]
              l_m = (fabs.f64 l)
              (FPCore (n U t l_m Om U*)
               :precision binary64
               (let* ((t_1 (* U (* 2.0 n)))
                      (t_2
                       (sqrt
                        (*
                         t_1
                         (+
                          (- t (* 2.0 (/ (* l_m l_m) Om)))
                          (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
                 (if (<= t_2 2e-156)
                   (* (sqrt (* 2.0 n)) (sqrt (* U t)))
                   (if (<= t_2 2e+152)
                     (sqrt (* t_1 t))
                     (/ (* (* l_m (fabs n)) (sqrt (* U* (* 2.0 U)))) Om)))))
              l_m = fabs(l);
              double code(double n, double U, double t, double l_m, double Om, double U_42_) {
              	double t_1 = U * (2.0 * n);
              	double t_2 = sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
              	double tmp;
              	if (t_2 <= 2e-156) {
              		tmp = sqrt((2.0 * n)) * sqrt((U * t));
              	} else if (t_2 <= 2e+152) {
              		tmp = sqrt((t_1 * t));
              	} else {
              		tmp = ((l_m * fabs(n)) * sqrt((U_42_ * (2.0 * U)))) / 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) :: t_1
                  real(8) :: t_2
                  real(8) :: tmp
                  t_1 = u * (2.0d0 * n)
                  t_2 = sqrt((t_1 * ((t - (2.0d0 * ((l_m * l_m) / om))) + ((n * ((l_m / om) ** 2.0d0)) * (u_42 - u)))))
                  if (t_2 <= 2d-156) then
                      tmp = sqrt((2.0d0 * n)) * sqrt((u * t))
                  else if (t_2 <= 2d+152) then
                      tmp = sqrt((t_1 * t))
                  else
                      tmp = ((l_m * abs(n)) * sqrt((u_42 * (2.0d0 * u)))) / 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 t_1 = U * (2.0 * n);
              	double t_2 = Math.sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * Math.pow((l_m / Om), 2.0)) * (U_42_ - U)))));
              	double tmp;
              	if (t_2 <= 2e-156) {
              		tmp = Math.sqrt((2.0 * n)) * Math.sqrt((U * t));
              	} else if (t_2 <= 2e+152) {
              		tmp = Math.sqrt((t_1 * t));
              	} else {
              		tmp = ((l_m * Math.abs(n)) * Math.sqrt((U_42_ * (2.0 * U)))) / Om;
              	}
              	return tmp;
              }
              
              l_m = math.fabs(l)
              def code(n, U, t, l_m, Om, U_42_):
              	t_1 = U * (2.0 * n)
              	t_2 = math.sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * math.pow((l_m / Om), 2.0)) * (U_42_ - U)))))
              	tmp = 0
              	if t_2 <= 2e-156:
              		tmp = math.sqrt((2.0 * n)) * math.sqrt((U * t))
              	elif t_2 <= 2e+152:
              		tmp = math.sqrt((t_1 * t))
              	else:
              		tmp = ((l_m * math.fabs(n)) * math.sqrt((U_42_ * (2.0 * U)))) / Om
              	return tmp
              
              l_m = abs(l)
              function code(n, U, t, l_m, Om, U_42_)
              	t_1 = Float64(U * Float64(2.0 * n))
              	t_2 = sqrt(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_42_ - U)))))
              	tmp = 0.0
              	if (t_2 <= 2e-156)
              		tmp = Float64(sqrt(Float64(2.0 * n)) * sqrt(Float64(U * t)));
              	elseif (t_2 <= 2e+152)
              		tmp = sqrt(Float64(t_1 * t));
              	else
              		tmp = Float64(Float64(Float64(l_m * abs(n)) * sqrt(Float64(U_42_ * Float64(2.0 * U)))) / Om);
              	end
              	return tmp
              end
              
              l_m = abs(l);
              function tmp_2 = code(n, U, t, l_m, Om, U_42_)
              	t_1 = U * (2.0 * n);
              	t_2 = sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * ((l_m / Om) ^ 2.0)) * (U_42_ - U)))));
              	tmp = 0.0;
              	if (t_2 <= 2e-156)
              		tmp = sqrt((2.0 * n)) * sqrt((U * t));
              	elseif (t_2 <= 2e+152)
              		tmp = sqrt((t_1 * t));
              	else
              		tmp = ((l_m * abs(n)) * sqrt((U_42_ * (2.0 * U)))) / Om;
              	end
              	tmp_2 = tmp;
              end
              
              l_m = N[Abs[l], $MachinePrecision]
              code[n_, U_, t_, l$95$m_, Om_, U$42$_] := Block[{t$95$1 = N[(U * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[Sqrt[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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$2, 2e-156], N[(N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(U * t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$2, 2e+152], N[Sqrt[N[(t$95$1 * t), $MachinePrecision]], $MachinePrecision], N[(N[(N[(l$95$m * N[Abs[n], $MachinePrecision]), $MachinePrecision] * N[Sqrt[N[(U$42$ * N[(2.0 * U), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]]]]]
              
              \begin{array}{l}
              l_m = \left|\ell\right|
              
              \\
              \begin{array}{l}
              t_1 := U \cdot \left(2 \cdot n\right)\\
              t_2 := \sqrt{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 2 \cdot 10^{-156}:\\
              \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\
              
              \mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+152}:\\
              \;\;\;\;\sqrt{t\_1 \cdot t}\\
              
              \mathbf{else}:\\
              \;\;\;\;\frac{\left(l\_m \cdot \left|n\right|\right) \cdot \sqrt{U* \cdot \left(2 \cdot U\right)}}{Om}\\
              
              
              \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*))))) < 2.00000000000000008e-156

                1. Initial program 12.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. pow1/2N/A

                    \[\leadsto \color{blue}{{\left(\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)\right)}^{\frac{1}{2}}} \]
                  2. associate-*l*N/A

                    \[\leadsto {\color{blue}{\left(\left(2 \cdot n\right) \cdot \left(U \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)\right)\right)}}^{\frac{1}{2}} \]
                  3. *-commutativeN/A

                    \[\leadsto {\color{blue}{\left(\left(U \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)\right) \cdot \left(2 \cdot n\right)\right)}}^{\frac{1}{2}} \]
                  4. unpow-prod-downN/A

                    \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
                  5. *-lowering-*.f64N/A

                    \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
                4. Applied egg-rr41.9%

                  \[\leadsto \color{blue}{\sqrt{U \cdot \left(t - \mathsf{fma}\left(\frac{\ell \cdot \ell}{Om \cdot Om}, n \cdot \left(U - U*\right), \ell \cdot \left(\frac{\ell}{Om} \cdot 2\right)\right)\right)} \cdot \sqrt{2 \cdot n}} \]
                5. Taylor expanded in t around inf

                  \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]
                6. Step-by-step derivation
                  1. Simplified32.4%

                    \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]

                  if 2.00000000000000008e-156 < (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*))))) < 2.0000000000000001e152

                  1. Initial program 98.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{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]
                  4. Step-by-step derivation
                    1. Simplified71.2%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]

                    if 2.0000000000000001e152 < (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 24.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 inf

                      \[\leadsto \sqrt{\color{blue}{2 \cdot \frac{U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}{{Om}^{2}}}} \]
                    4. Step-by-step derivation
                      1. associate-*r/N/A

                        \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}{{Om}^{2}}}} \]
                      2. /-lowering-/.f64N/A

                        \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}{{Om}^{2}}}} \]
                      3. *-lowering-*.f64N/A

                        \[\leadsto \sqrt{\frac{\color{blue}{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}}{{Om}^{2}}} \]
                      4. associate-*r*N/A

                        \[\leadsto \sqrt{\frac{2 \cdot \color{blue}{\left(\left(U \cdot U*\right) \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}}{{Om}^{2}}} \]
                      5. *-lowering-*.f64N/A

                        \[\leadsto \sqrt{\frac{2 \cdot \color{blue}{\left(\left(U \cdot U*\right) \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}}{{Om}^{2}}} \]
                      6. *-lowering-*.f64N/A

                        \[\leadsto \sqrt{\frac{2 \cdot \left(\color{blue}{\left(U \cdot U*\right)} \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                      7. *-lowering-*.f64N/A

                        \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \color{blue}{\left({\ell}^{2} \cdot {n}^{2}\right)}\right)}{{Om}^{2}}} \]
                      8. unpow2N/A

                        \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                      9. *-lowering-*.f64N/A

                        \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                      10. unpow2N/A

                        \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(n \cdot n\right)}\right)\right)}{{Om}^{2}}} \]
                      11. *-lowering-*.f64N/A

                        \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(n \cdot n\right)}\right)\right)}{{Om}^{2}}} \]
                      12. unpow2N/A

                        \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
                      13. *-lowering-*.f6426.4

                        \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
                    5. Simplified26.4%

                      \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{Om \cdot Om}}} \]
                    6. Step-by-step derivation
                      1. clear-numN/A

                        \[\leadsto \sqrt{\color{blue}{\frac{1}{\frac{Om \cdot Om}{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}}} \]
                      2. associate-/r/N/A

                        \[\leadsto \sqrt{\color{blue}{\frac{1}{Om \cdot Om} \cdot \left(2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)\right)}} \]
                      3. sqrt-prodN/A

                        \[\leadsto \color{blue}{\sqrt{\frac{1}{Om \cdot Om}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}} \]
                      4. sqrt-divN/A

                        \[\leadsto \color{blue}{\frac{\sqrt{1}}{\sqrt{Om \cdot Om}}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                      5. metadata-evalN/A

                        \[\leadsto \frac{\color{blue}{1}}{\sqrt{Om \cdot Om}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                      6. pow2N/A

                        \[\leadsto \frac{1}{\sqrt{\color{blue}{{Om}^{2}}}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                      7. sqrt-pow1N/A

                        \[\leadsto \frac{1}{\color{blue}{{Om}^{\left(\frac{2}{2}\right)}}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                      8. metadata-evalN/A

                        \[\leadsto \frac{1}{{Om}^{\color{blue}{1}}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                      9. unpow1N/A

                        \[\leadsto \frac{1}{\color{blue}{Om}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                      10. *-lowering-*.f64N/A

                        \[\leadsto \color{blue}{\frac{1}{Om} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}} \]
                      11. /-lowering-/.f64N/A

                        \[\leadsto \color{blue}{\frac{1}{Om}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                      12. pow1/2N/A

                        \[\leadsto \frac{1}{Om} \cdot \color{blue}{{\left(2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)\right)}^{\frac{1}{2}}} \]
                      13. associate-*r*N/A

                        \[\leadsto \frac{1}{Om} \cdot {\color{blue}{\left(\left(2 \cdot \left(U \cdot U*\right)\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}^{\frac{1}{2}} \]
                      14. *-commutativeN/A

                        \[\leadsto \frac{1}{Om} \cdot {\color{blue}{\left(\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right) \cdot \left(2 \cdot \left(U \cdot U*\right)\right)\right)}}^{\frac{1}{2}} \]
                      15. unpow-prod-downN/A

                        \[\leadsto \frac{1}{Om} \cdot \color{blue}{\left({\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}\right)} \]
                      16. *-lowering-*.f64N/A

                        \[\leadsto \frac{1}{Om} \cdot \color{blue}{\left({\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}\right)} \]
                    7. Applied egg-rr27.1%

                      \[\leadsto \color{blue}{\frac{1}{Om} \cdot \left(\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}\right)} \]
                    8. Step-by-step derivation
                      1. *-commutativeN/A

                        \[\leadsto \color{blue}{\left(\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}\right) \cdot \frac{1}{Om}} \]
                      2. un-div-invN/A

                        \[\leadsto \color{blue}{\frac{\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}} \]
                      3. /-lowering-/.f64N/A

                        \[\leadsto \color{blue}{\frac{\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}} \]
                      4. *-lowering-*.f64N/A

                        \[\leadsto \frac{\color{blue}{\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}}{Om} \]
                      5. fabs-mulN/A

                        \[\leadsto \frac{\color{blue}{\left(\left|\ell\right| \cdot \left|n\right|\right)} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om} \]
                      6. rem-sqrt-squareN/A

                        \[\leadsto \frac{\left(\color{blue}{\sqrt{\ell \cdot \ell}} \cdot \left|n\right|\right) \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om} \]
                      7. pow2N/A

                        \[\leadsto \frac{\left(\sqrt{\color{blue}{{\ell}^{2}}} \cdot \left|n\right|\right) \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om} \]
                      8. sqrt-pow1N/A

                        \[\leadsto \frac{\left(\color{blue}{{\ell}^{\left(\frac{2}{2}\right)}} \cdot \left|n\right|\right) \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om} \]
                      9. metadata-evalN/A

                        \[\leadsto \frac{\left({\ell}^{\color{blue}{1}} \cdot \left|n\right|\right) \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om} \]
                      10. unpow1N/A

                        \[\leadsto \frac{\left(\color{blue}{\ell} \cdot \left|n\right|\right) \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om} \]
                      11. *-lowering-*.f64N/A

                        \[\leadsto \frac{\color{blue}{\left(\ell \cdot \left|n\right|\right)} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om} \]
                      12. fabs-lowering-fabs.f64N/A

                        \[\leadsto \frac{\left(\ell \cdot \color{blue}{\left|n\right|}\right) \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om} \]
                      13. sqrt-lowering-sqrt.f64N/A

                        \[\leadsto \frac{\left(\ell \cdot \left|n\right|\right) \cdot \color{blue}{\sqrt{2 \cdot \left(U \cdot U*\right)}}}{Om} \]
                      14. associate-*r*N/A

                        \[\leadsto \frac{\left(\ell \cdot \left|n\right|\right) \cdot \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot U*}}}{Om} \]
                      15. *-commutativeN/A

                        \[\leadsto \frac{\left(\ell \cdot \left|n\right|\right) \cdot \sqrt{\color{blue}{U* \cdot \left(2 \cdot U\right)}}}{Om} \]
                      16. *-lowering-*.f64N/A

                        \[\leadsto \frac{\left(\ell \cdot \left|n\right|\right) \cdot \sqrt{\color{blue}{U* \cdot \left(2 \cdot U\right)}}}{Om} \]
                      17. *-commutativeN/A

                        \[\leadsto \frac{\left(\ell \cdot \left|n\right|\right) \cdot \sqrt{U* \cdot \color{blue}{\left(U \cdot 2\right)}}}{Om} \]
                      18. *-lowering-*.f6420.8

                        \[\leadsto \frac{\left(\ell \cdot \left|n\right|\right) \cdot \sqrt{U* \cdot \color{blue}{\left(U \cdot 2\right)}}}{Om} \]
                    9. Applied egg-rr20.8%

                      \[\leadsto \color{blue}{\frac{\left(\ell \cdot \left|n\right|\right) \cdot \sqrt{U* \cdot \left(U \cdot 2\right)}}{Om}} \]
                  5. Recombined 3 regimes into one program.
                  6. Final simplification41.5%

                    \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\ \mathbf{else}:\\ \;\;\;\;\frac{\left(\ell \cdot \left|n\right|\right) \cdot \sqrt{U* \cdot \left(2 \cdot U\right)}}{Om}\\ \end{array} \]
                  7. Add Preprocessing

                  Alternative 19: 42.8% accurate, 0.4× speedup?

                  \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := U \cdot \left(2 \cdot n\right)\\ t_2 := \sqrt{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 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{t\_1 \cdot t}\\ \mathbf{else}:\\ \;\;\;\;\frac{\left|n \cdot l\_m\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}\\ \end{array} \end{array} \]
                  l_m = (fabs.f64 l)
                  (FPCore (n U t l_m Om U*)
                   :precision binary64
                   (let* ((t_1 (* U (* 2.0 n)))
                          (t_2
                           (sqrt
                            (*
                             t_1
                             (+
                              (- t (* 2.0 (/ (* l_m l_m) Om)))
                              (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
                     (if (<= t_2 2e-156)
                       (* (sqrt (* 2.0 n)) (sqrt (* U t)))
                       (if (<= t_2 2e+152)
                         (sqrt (* t_1 t))
                         (/ (* (fabs (* n l_m)) (sqrt (* 2.0 (* U U*)))) Om)))))
                  l_m = fabs(l);
                  double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                  	double t_1 = U * (2.0 * n);
                  	double t_2 = sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
                  	double tmp;
                  	if (t_2 <= 2e-156) {
                  		tmp = sqrt((2.0 * n)) * sqrt((U * t));
                  	} else if (t_2 <= 2e+152) {
                  		tmp = sqrt((t_1 * t));
                  	} else {
                  		tmp = (fabs((n * l_m)) * sqrt((2.0 * (U * U_42_)))) / 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) :: t_1
                      real(8) :: t_2
                      real(8) :: tmp
                      t_1 = u * (2.0d0 * n)
                      t_2 = sqrt((t_1 * ((t - (2.0d0 * ((l_m * l_m) / om))) + ((n * ((l_m / om) ** 2.0d0)) * (u_42 - u)))))
                      if (t_2 <= 2d-156) then
                          tmp = sqrt((2.0d0 * n)) * sqrt((u * t))
                      else if (t_2 <= 2d+152) then
                          tmp = sqrt((t_1 * t))
                      else
                          tmp = (abs((n * l_m)) * sqrt((2.0d0 * (u * u_42)))) / 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 t_1 = U * (2.0 * n);
                  	double t_2 = Math.sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * Math.pow((l_m / Om), 2.0)) * (U_42_ - U)))));
                  	double tmp;
                  	if (t_2 <= 2e-156) {
                  		tmp = Math.sqrt((2.0 * n)) * Math.sqrt((U * t));
                  	} else if (t_2 <= 2e+152) {
                  		tmp = Math.sqrt((t_1 * t));
                  	} else {
                  		tmp = (Math.abs((n * l_m)) * Math.sqrt((2.0 * (U * U_42_)))) / Om;
                  	}
                  	return tmp;
                  }
                  
                  l_m = math.fabs(l)
                  def code(n, U, t, l_m, Om, U_42_):
                  	t_1 = U * (2.0 * n)
                  	t_2 = math.sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * math.pow((l_m / Om), 2.0)) * (U_42_ - U)))))
                  	tmp = 0
                  	if t_2 <= 2e-156:
                  		tmp = math.sqrt((2.0 * n)) * math.sqrt((U * t))
                  	elif t_2 <= 2e+152:
                  		tmp = math.sqrt((t_1 * t))
                  	else:
                  		tmp = (math.fabs((n * l_m)) * math.sqrt((2.0 * (U * U_42_)))) / Om
                  	return tmp
                  
                  l_m = abs(l)
                  function code(n, U, t, l_m, Om, U_42_)
                  	t_1 = Float64(U * Float64(2.0 * n))
                  	t_2 = sqrt(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_42_ - U)))))
                  	tmp = 0.0
                  	if (t_2 <= 2e-156)
                  		tmp = Float64(sqrt(Float64(2.0 * n)) * sqrt(Float64(U * t)));
                  	elseif (t_2 <= 2e+152)
                  		tmp = sqrt(Float64(t_1 * t));
                  	else
                  		tmp = Float64(Float64(abs(Float64(n * l_m)) * sqrt(Float64(2.0 * Float64(U * U_42_)))) / Om);
                  	end
                  	return tmp
                  end
                  
                  l_m = abs(l);
                  function tmp_2 = code(n, U, t, l_m, Om, U_42_)
                  	t_1 = U * (2.0 * n);
                  	t_2 = sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * ((l_m / Om) ^ 2.0)) * (U_42_ - U)))));
                  	tmp = 0.0;
                  	if (t_2 <= 2e-156)
                  		tmp = sqrt((2.0 * n)) * sqrt((U * t));
                  	elseif (t_2 <= 2e+152)
                  		tmp = sqrt((t_1 * t));
                  	else
                  		tmp = (abs((n * l_m)) * sqrt((2.0 * (U * U_42_)))) / Om;
                  	end
                  	tmp_2 = tmp;
                  end
                  
                  l_m = N[Abs[l], $MachinePrecision]
                  code[n_, U_, t_, l$95$m_, Om_, U$42$_] := Block[{t$95$1 = N[(U * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[Sqrt[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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$2, 2e-156], N[(N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(U * t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$2, 2e+152], N[Sqrt[N[(t$95$1 * t), $MachinePrecision]], $MachinePrecision], N[(N[(N[Abs[N[(n * l$95$m), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * N[(U * U$42$), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]]]]]
                  
                  \begin{array}{l}
                  l_m = \left|\ell\right|
                  
                  \\
                  \begin{array}{l}
                  t_1 := U \cdot \left(2 \cdot n\right)\\
                  t_2 := \sqrt{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 2 \cdot 10^{-156}:\\
                  \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\
                  
                  \mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+152}:\\
                  \;\;\;\;\sqrt{t\_1 \cdot t}\\
                  
                  \mathbf{else}:\\
                  \;\;\;\;\frac{\left|n \cdot l\_m\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}\\
                  
                  
                  \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*))))) < 2.00000000000000008e-156

                    1. Initial program 12.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. pow1/2N/A

                        \[\leadsto \color{blue}{{\left(\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)\right)}^{\frac{1}{2}}} \]
                      2. associate-*l*N/A

                        \[\leadsto {\color{blue}{\left(\left(2 \cdot n\right) \cdot \left(U \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)\right)\right)}}^{\frac{1}{2}} \]
                      3. *-commutativeN/A

                        \[\leadsto {\color{blue}{\left(\left(U \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)\right) \cdot \left(2 \cdot n\right)\right)}}^{\frac{1}{2}} \]
                      4. unpow-prod-downN/A

                        \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
                      5. *-lowering-*.f64N/A

                        \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
                    4. Applied egg-rr41.9%

                      \[\leadsto \color{blue}{\sqrt{U \cdot \left(t - \mathsf{fma}\left(\frac{\ell \cdot \ell}{Om \cdot Om}, n \cdot \left(U - U*\right), \ell \cdot \left(\frac{\ell}{Om} \cdot 2\right)\right)\right)} \cdot \sqrt{2 \cdot n}} \]
                    5. Taylor expanded in t around inf

                      \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]
                    6. Step-by-step derivation
                      1. Simplified32.4%

                        \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]

                      if 2.00000000000000008e-156 < (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*))))) < 2.0000000000000001e152

                      1. Initial program 98.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{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]
                      4. Step-by-step derivation
                        1. Simplified71.2%

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]

                        if 2.0000000000000001e152 < (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 24.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 inf

                          \[\leadsto \sqrt{\color{blue}{2 \cdot \frac{U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}{{Om}^{2}}}} \]
                        4. Step-by-step derivation
                          1. associate-*r/N/A

                            \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}{{Om}^{2}}}} \]
                          2. /-lowering-/.f64N/A

                            \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}{{Om}^{2}}}} \]
                          3. *-lowering-*.f64N/A

                            \[\leadsto \sqrt{\frac{\color{blue}{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}}{{Om}^{2}}} \]
                          4. associate-*r*N/A

                            \[\leadsto \sqrt{\frac{2 \cdot \color{blue}{\left(\left(U \cdot U*\right) \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}}{{Om}^{2}}} \]
                          5. *-lowering-*.f64N/A

                            \[\leadsto \sqrt{\frac{2 \cdot \color{blue}{\left(\left(U \cdot U*\right) \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}}{{Om}^{2}}} \]
                          6. *-lowering-*.f64N/A

                            \[\leadsto \sqrt{\frac{2 \cdot \left(\color{blue}{\left(U \cdot U*\right)} \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                          7. *-lowering-*.f64N/A

                            \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \color{blue}{\left({\ell}^{2} \cdot {n}^{2}\right)}\right)}{{Om}^{2}}} \]
                          8. unpow2N/A

                            \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                          9. *-lowering-*.f64N/A

                            \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                          10. unpow2N/A

                            \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(n \cdot n\right)}\right)\right)}{{Om}^{2}}} \]
                          11. *-lowering-*.f64N/A

                            \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(n \cdot n\right)}\right)\right)}{{Om}^{2}}} \]
                          12. unpow2N/A

                            \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
                          13. *-lowering-*.f6426.4

                            \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
                        5. Simplified26.4%

                          \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{Om \cdot Om}}} \]
                        6. Step-by-step derivation
                          1. sqrt-divN/A

                            \[\leadsto \color{blue}{\frac{\sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}{\sqrt{Om \cdot Om}}} \]
                          2. sqrt-prodN/A

                            \[\leadsto \frac{\sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}{\color{blue}{\sqrt{Om} \cdot \sqrt{Om}}} \]
                          3. rem-square-sqrtN/A

                            \[\leadsto \frac{\sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}{\color{blue}{Om}} \]
                          4. /-lowering-/.f64N/A

                            \[\leadsto \color{blue}{\frac{\sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}{Om}} \]
                          5. pow1/2N/A

                            \[\leadsto \frac{\color{blue}{{\left(2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)\right)}^{\frac{1}{2}}}}{Om} \]
                          6. associate-*r*N/A

                            \[\leadsto \frac{{\color{blue}{\left(\left(2 \cdot \left(U \cdot U*\right)\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}^{\frac{1}{2}}}{Om} \]
                          7. *-commutativeN/A

                            \[\leadsto \frac{{\color{blue}{\left(\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right) \cdot \left(2 \cdot \left(U \cdot U*\right)\right)\right)}}^{\frac{1}{2}}}{Om} \]
                          8. unpow-prod-downN/A

                            \[\leadsto \frac{\color{blue}{{\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}}{Om} \]
                          9. *-lowering-*.f64N/A

                            \[\leadsto \frac{\color{blue}{{\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}}{Om} \]
                          10. pow1/2N/A

                            \[\leadsto \frac{\color{blue}{\sqrt{\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
                          11. unswap-sqrN/A

                            \[\leadsto \frac{\sqrt{\color{blue}{\left(\ell \cdot n\right) \cdot \left(\ell \cdot n\right)}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
                          12. rem-sqrt-squareN/A

                            \[\leadsto \frac{\color{blue}{\left|\ell \cdot n\right|} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
                          13. fabs-lowering-fabs.f64N/A

                            \[\leadsto \frac{\color{blue}{\left|\ell \cdot n\right|} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
                          14. *-lowering-*.f64N/A

                            \[\leadsto \frac{\left|\color{blue}{\ell \cdot n}\right| \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}}{Om} \]
                          15. pow1/2N/A

                            \[\leadsto \frac{\left|\ell \cdot n\right| \cdot \color{blue}{\sqrt{2 \cdot \left(U \cdot U*\right)}}}{Om} \]
                          16. sqrt-lowering-sqrt.f64N/A

                            \[\leadsto \frac{\left|\ell \cdot n\right| \cdot \color{blue}{\sqrt{2 \cdot \left(U \cdot U*\right)}}}{Om} \]
                          17. *-lowering-*.f64N/A

                            \[\leadsto \frac{\left|\ell \cdot n\right| \cdot \sqrt{\color{blue}{2 \cdot \left(U \cdot U*\right)}}}{Om} \]
                          18. *-lowering-*.f6427.1

                            \[\leadsto \frac{\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \color{blue}{\left(U \cdot U*\right)}}}{Om} \]
                        7. Applied egg-rr27.1%

                          \[\leadsto \color{blue}{\frac{\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}} \]
                      5. Recombined 3 regimes into one program.
                      6. Final simplification44.6%

                        \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\ \mathbf{else}:\\ \;\;\;\;\frac{\left|n \cdot \ell\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}\\ \end{array} \]
                      7. Add Preprocessing

                      Alternative 20: 42.7% accurate, 0.4× speedup?

                      \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := U \cdot \left(2 \cdot n\right)\\ t_2 := \sqrt{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 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{t\_1 \cdot t}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{U* \cdot \left(2 \cdot U\right)} \cdot \frac{l\_m \cdot \left|n\right|}{Om}\\ \end{array} \end{array} \]
                      l_m = (fabs.f64 l)
                      (FPCore (n U t l_m Om U*)
                       :precision binary64
                       (let* ((t_1 (* U (* 2.0 n)))
                              (t_2
                               (sqrt
                                (*
                                 t_1
                                 (+
                                  (- t (* 2.0 (/ (* l_m l_m) Om)))
                                  (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))))
                         (if (<= t_2 2e-156)
                           (* (sqrt (* 2.0 n)) (sqrt (* U t)))
                           (if (<= t_2 2e+152)
                             (sqrt (* t_1 t))
                             (* (sqrt (* U* (* 2.0 U))) (/ (* l_m (fabs n)) Om))))))
                      l_m = fabs(l);
                      double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                      	double t_1 = U * (2.0 * n);
                      	double t_2 = sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))));
                      	double tmp;
                      	if (t_2 <= 2e-156) {
                      		tmp = sqrt((2.0 * n)) * sqrt((U * t));
                      	} else if (t_2 <= 2e+152) {
                      		tmp = sqrt((t_1 * t));
                      	} else {
                      		tmp = sqrt((U_42_ * (2.0 * U))) * ((l_m * fabs(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) :: t_1
                          real(8) :: t_2
                          real(8) :: tmp
                          t_1 = u * (2.0d0 * n)
                          t_2 = sqrt((t_1 * ((t - (2.0d0 * ((l_m * l_m) / om))) + ((n * ((l_m / om) ** 2.0d0)) * (u_42 - u)))))
                          if (t_2 <= 2d-156) then
                              tmp = sqrt((2.0d0 * n)) * sqrt((u * t))
                          else if (t_2 <= 2d+152) then
                              tmp = sqrt((t_1 * t))
                          else
                              tmp = sqrt((u_42 * (2.0d0 * u))) * ((l_m * abs(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 t_1 = U * (2.0 * n);
                      	double t_2 = Math.sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * Math.pow((l_m / Om), 2.0)) * (U_42_ - U)))));
                      	double tmp;
                      	if (t_2 <= 2e-156) {
                      		tmp = Math.sqrt((2.0 * n)) * Math.sqrt((U * t));
                      	} else if (t_2 <= 2e+152) {
                      		tmp = Math.sqrt((t_1 * t));
                      	} else {
                      		tmp = Math.sqrt((U_42_ * (2.0 * U))) * ((l_m * Math.abs(n)) / Om);
                      	}
                      	return tmp;
                      }
                      
                      l_m = math.fabs(l)
                      def code(n, U, t, l_m, Om, U_42_):
                      	t_1 = U * (2.0 * n)
                      	t_2 = math.sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * math.pow((l_m / Om), 2.0)) * (U_42_ - U)))))
                      	tmp = 0
                      	if t_2 <= 2e-156:
                      		tmp = math.sqrt((2.0 * n)) * math.sqrt((U * t))
                      	elif t_2 <= 2e+152:
                      		tmp = math.sqrt((t_1 * t))
                      	else:
                      		tmp = math.sqrt((U_42_ * (2.0 * U))) * ((l_m * math.fabs(n)) / Om)
                      	return tmp
                      
                      l_m = abs(l)
                      function code(n, U, t, l_m, Om, U_42_)
                      	t_1 = Float64(U * Float64(2.0 * n))
                      	t_2 = sqrt(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_42_ - U)))))
                      	tmp = 0.0
                      	if (t_2 <= 2e-156)
                      		tmp = Float64(sqrt(Float64(2.0 * n)) * sqrt(Float64(U * t)));
                      	elseif (t_2 <= 2e+152)
                      		tmp = sqrt(Float64(t_1 * t));
                      	else
                      		tmp = Float64(sqrt(Float64(U_42_ * Float64(2.0 * U))) * Float64(Float64(l_m * abs(n)) / Om));
                      	end
                      	return tmp
                      end
                      
                      l_m = abs(l);
                      function tmp_2 = code(n, U, t, l_m, Om, U_42_)
                      	t_1 = U * (2.0 * n);
                      	t_2 = sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * ((l_m / Om) ^ 2.0)) * (U_42_ - U)))));
                      	tmp = 0.0;
                      	if (t_2 <= 2e-156)
                      		tmp = sqrt((2.0 * n)) * sqrt((U * t));
                      	elseif (t_2 <= 2e+152)
                      		tmp = sqrt((t_1 * t));
                      	else
                      		tmp = sqrt((U_42_ * (2.0 * U))) * ((l_m * abs(n)) / Om);
                      	end
                      	tmp_2 = tmp;
                      end
                      
                      l_m = N[Abs[l], $MachinePrecision]
                      code[n_, U_, t_, l$95$m_, Om_, U$42$_] := Block[{t$95$1 = N[(U * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[Sqrt[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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[t$95$2, 2e-156], N[(N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(U * t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$2, 2e+152], N[Sqrt[N[(t$95$1 * t), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(U$42$ * N[(2.0 * U), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[(N[(l$95$m * N[Abs[n], $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]]]]]
                      
                      \begin{array}{l}
                      l_m = \left|\ell\right|
                      
                      \\
                      \begin{array}{l}
                      t_1 := U \cdot \left(2 \cdot n\right)\\
                      t_2 := \sqrt{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 2 \cdot 10^{-156}:\\
                      \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\
                      
                      \mathbf{elif}\;t\_2 \leq 2 \cdot 10^{+152}:\\
                      \;\;\;\;\sqrt{t\_1 \cdot t}\\
                      
                      \mathbf{else}:\\
                      \;\;\;\;\sqrt{U* \cdot \left(2 \cdot U\right)} \cdot \frac{l\_m \cdot \left|n\right|}{Om}\\
                      
                      
                      \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*))))) < 2.00000000000000008e-156

                        1. Initial program 12.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. pow1/2N/A

                            \[\leadsto \color{blue}{{\left(\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)\right)}^{\frac{1}{2}}} \]
                          2. associate-*l*N/A

                            \[\leadsto {\color{blue}{\left(\left(2 \cdot n\right) \cdot \left(U \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)\right)\right)}}^{\frac{1}{2}} \]
                          3. *-commutativeN/A

                            \[\leadsto {\color{blue}{\left(\left(U \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)\right) \cdot \left(2 \cdot n\right)\right)}}^{\frac{1}{2}} \]
                          4. unpow-prod-downN/A

                            \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
                          5. *-lowering-*.f64N/A

                            \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
                        4. Applied egg-rr41.9%

                          \[\leadsto \color{blue}{\sqrt{U \cdot \left(t - \mathsf{fma}\left(\frac{\ell \cdot \ell}{Om \cdot Om}, n \cdot \left(U - U*\right), \ell \cdot \left(\frac{\ell}{Om} \cdot 2\right)\right)\right)} \cdot \sqrt{2 \cdot n}} \]
                        5. Taylor expanded in t around inf

                          \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]
                        6. Step-by-step derivation
                          1. Simplified32.4%

                            \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]

                          if 2.00000000000000008e-156 < (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*))))) < 2.0000000000000001e152

                          1. Initial program 98.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{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]
                          4. Step-by-step derivation
                            1. Simplified71.2%

                              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]

                            if 2.0000000000000001e152 < (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 24.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 inf

                              \[\leadsto \sqrt{\color{blue}{2 \cdot \frac{U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}{{Om}^{2}}}} \]
                            4. Step-by-step derivation
                              1. associate-*r/N/A

                                \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}{{Om}^{2}}}} \]
                              2. /-lowering-/.f64N/A

                                \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}{{Om}^{2}}}} \]
                              3. *-lowering-*.f64N/A

                                \[\leadsto \sqrt{\frac{\color{blue}{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}}{{Om}^{2}}} \]
                              4. associate-*r*N/A

                                \[\leadsto \sqrt{\frac{2 \cdot \color{blue}{\left(\left(U \cdot U*\right) \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}}{{Om}^{2}}} \]
                              5. *-lowering-*.f64N/A

                                \[\leadsto \sqrt{\frac{2 \cdot \color{blue}{\left(\left(U \cdot U*\right) \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}}{{Om}^{2}}} \]
                              6. *-lowering-*.f64N/A

                                \[\leadsto \sqrt{\frac{2 \cdot \left(\color{blue}{\left(U \cdot U*\right)} \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                              7. *-lowering-*.f64N/A

                                \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \color{blue}{\left({\ell}^{2} \cdot {n}^{2}\right)}\right)}{{Om}^{2}}} \]
                              8. unpow2N/A

                                \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                              9. *-lowering-*.f64N/A

                                \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                              10. unpow2N/A

                                \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(n \cdot n\right)}\right)\right)}{{Om}^{2}}} \]
                              11. *-lowering-*.f64N/A

                                \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(n \cdot n\right)}\right)\right)}{{Om}^{2}}} \]
                              12. unpow2N/A

                                \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
                              13. *-lowering-*.f6426.4

                                \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
                            5. Simplified26.4%

                              \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{Om \cdot Om}}} \]
                            6. Step-by-step derivation
                              1. clear-numN/A

                                \[\leadsto \sqrt{\color{blue}{\frac{1}{\frac{Om \cdot Om}{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}}} \]
                              2. associate-/r/N/A

                                \[\leadsto \sqrt{\color{blue}{\frac{1}{Om \cdot Om} \cdot \left(2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)\right)}} \]
                              3. sqrt-prodN/A

                                \[\leadsto \color{blue}{\sqrt{\frac{1}{Om \cdot Om}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}} \]
                              4. sqrt-divN/A

                                \[\leadsto \color{blue}{\frac{\sqrt{1}}{\sqrt{Om \cdot Om}}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                              5. metadata-evalN/A

                                \[\leadsto \frac{\color{blue}{1}}{\sqrt{Om \cdot Om}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                              6. pow2N/A

                                \[\leadsto \frac{1}{\sqrt{\color{blue}{{Om}^{2}}}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                              7. sqrt-pow1N/A

                                \[\leadsto \frac{1}{\color{blue}{{Om}^{\left(\frac{2}{2}\right)}}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                              8. metadata-evalN/A

                                \[\leadsto \frac{1}{{Om}^{\color{blue}{1}}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                              9. unpow1N/A

                                \[\leadsto \frac{1}{\color{blue}{Om}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                              10. *-lowering-*.f64N/A

                                \[\leadsto \color{blue}{\frac{1}{Om} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}} \]
                              11. /-lowering-/.f64N/A

                                \[\leadsto \color{blue}{\frac{1}{Om}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                              12. pow1/2N/A

                                \[\leadsto \frac{1}{Om} \cdot \color{blue}{{\left(2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)\right)}^{\frac{1}{2}}} \]
                              13. associate-*r*N/A

                                \[\leadsto \frac{1}{Om} \cdot {\color{blue}{\left(\left(2 \cdot \left(U \cdot U*\right)\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}^{\frac{1}{2}} \]
                              14. *-commutativeN/A

                                \[\leadsto \frac{1}{Om} \cdot {\color{blue}{\left(\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right) \cdot \left(2 \cdot \left(U \cdot U*\right)\right)\right)}}^{\frac{1}{2}} \]
                              15. unpow-prod-downN/A

                                \[\leadsto \frac{1}{Om} \cdot \color{blue}{\left({\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}\right)} \]
                              16. *-lowering-*.f64N/A

                                \[\leadsto \frac{1}{Om} \cdot \color{blue}{\left({\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}\right)} \]
                            7. Applied egg-rr27.1%

                              \[\leadsto \color{blue}{\frac{1}{Om} \cdot \left(\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}\right)} \]
                            8. Step-by-step derivation
                              1. associate-*r*N/A

                                \[\leadsto \color{blue}{\left(\frac{1}{Om} \cdot \left|\ell \cdot n\right|\right) \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}} \]
                              2. *-lowering-*.f64N/A

                                \[\leadsto \color{blue}{\left(\frac{1}{Om} \cdot \left|\ell \cdot n\right|\right) \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}} \]
                              3. associate-*l/N/A

                                \[\leadsto \color{blue}{\frac{1 \cdot \left|\ell \cdot n\right|}{Om}} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)} \]
                              4. metadata-evalN/A

                                \[\leadsto \frac{\color{blue}{\left|-1\right|} \cdot \left|\ell \cdot n\right|}{Om} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)} \]
                              5. fabs-mulN/A

                                \[\leadsto \frac{\color{blue}{\left|-1 \cdot \left(\ell \cdot n\right)\right|}}{Om} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)} \]
                              6. neg-mul-1N/A

                                \[\leadsto \frac{\left|\color{blue}{\mathsf{neg}\left(\ell \cdot n\right)}\right|}{Om} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)} \]
                              7. neg-fabsN/A

                                \[\leadsto \frac{\color{blue}{\left|\ell \cdot n\right|}}{Om} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)} \]
                              8. /-lowering-/.f64N/A

                                \[\leadsto \color{blue}{\frac{\left|\ell \cdot n\right|}{Om}} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)} \]
                              9. fabs-mulN/A

                                \[\leadsto \frac{\color{blue}{\left|\ell\right| \cdot \left|n\right|}}{Om} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)} \]
                              10. rem-sqrt-squareN/A

                                \[\leadsto \frac{\color{blue}{\sqrt{\ell \cdot \ell}} \cdot \left|n\right|}{Om} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)} \]
                              11. pow2N/A

                                \[\leadsto \frac{\sqrt{\color{blue}{{\ell}^{2}}} \cdot \left|n\right|}{Om} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)} \]
                              12. sqrt-pow1N/A

                                \[\leadsto \frac{\color{blue}{{\ell}^{\left(\frac{2}{2}\right)}} \cdot \left|n\right|}{Om} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)} \]
                              13. metadata-evalN/A

                                \[\leadsto \frac{{\ell}^{\color{blue}{1}} \cdot \left|n\right|}{Om} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)} \]
                              14. unpow1N/A

                                \[\leadsto \frac{\color{blue}{\ell} \cdot \left|n\right|}{Om} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)} \]
                              15. *-lowering-*.f64N/A

                                \[\leadsto \frac{\color{blue}{\ell \cdot \left|n\right|}}{Om} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)} \]
                              16. fabs-lowering-fabs.f64N/A

                                \[\leadsto \frac{\ell \cdot \color{blue}{\left|n\right|}}{Om} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)} \]
                              17. sqrt-lowering-sqrt.f64N/A

                                \[\leadsto \frac{\ell \cdot \left|n\right|}{Om} \cdot \color{blue}{\sqrt{2 \cdot \left(U \cdot U*\right)}} \]
                              18. associate-*r*N/A

                                \[\leadsto \frac{\ell \cdot \left|n\right|}{Om} \cdot \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot U*}} \]
                              19. *-commutativeN/A

                                \[\leadsto \frac{\ell \cdot \left|n\right|}{Om} \cdot \sqrt{\color{blue}{U* \cdot \left(2 \cdot U\right)}} \]
                              20. *-lowering-*.f64N/A

                                \[\leadsto \frac{\ell \cdot \left|n\right|}{Om} \cdot \sqrt{\color{blue}{U* \cdot \left(2 \cdot U\right)}} \]
                              21. *-commutativeN/A

                                \[\leadsto \frac{\ell \cdot \left|n\right|}{Om} \cdot \sqrt{U* \cdot \color{blue}{\left(U \cdot 2\right)}} \]
                              22. *-lowering-*.f6419.4

                                \[\leadsto \frac{\ell \cdot \left|n\right|}{Om} \cdot \sqrt{U* \cdot \color{blue}{\left(U \cdot 2\right)}} \]
                            9. Applied egg-rr19.4%

                              \[\leadsto \color{blue}{\frac{\ell \cdot \left|n\right|}{Om} \cdot \sqrt{U* \cdot \left(U \cdot 2\right)}} \]
                          5. Recombined 3 regimes into one program.
                          6. Final simplification40.7%

                            \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \mathbf{elif}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{+152}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{U* \cdot \left(2 \cdot U\right)} \cdot \frac{\ell \cdot \left|n\right|}{Om}\\ \end{array} \]
                          7. Add Preprocessing

                          Alternative 21: 37.8% accurate, 0.9× speedup?

                          \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := U \cdot \left(2 \cdot n\right)\\ \mathbf{if}\;\sqrt{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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{n \cdot \left(t \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{t\_1 \cdot t}\\ \end{array} \end{array} \]
                          l_m = (fabs.f64 l)
                          (FPCore (n U t l_m Om U*)
                           :precision binary64
                           (let* ((t_1 (* U (* 2.0 n))))
                             (if (<=
                                  (sqrt
                                   (*
                                    t_1
                                    (+
                                     (- t (* 2.0 (/ (* l_m l_m) Om)))
                                     (* (* n (pow (/ l_m Om) 2.0)) (- U* U)))))
                                  2e-156)
                               (sqrt (* n (* t (* 2.0 U))))
                               (sqrt (* t_1 t)))))
                          l_m = fabs(l);
                          double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                          	double t_1 = U * (2.0 * n);
                          	double tmp;
                          	if (sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U))))) <= 2e-156) {
                          		tmp = sqrt((n * (t * (2.0 * U))));
                          	} else {
                          		tmp = sqrt((t_1 * t));
                          	}
                          	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) :: t_1
                              real(8) :: tmp
                              t_1 = u * (2.0d0 * n)
                              if (sqrt((t_1 * ((t - (2.0d0 * ((l_m * l_m) / om))) + ((n * ((l_m / om) ** 2.0d0)) * (u_42 - u))))) <= 2d-156) then
                                  tmp = sqrt((n * (t * (2.0d0 * u))))
                              else
                                  tmp = sqrt((t_1 * t))
                              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 t_1 = U * (2.0 * n);
                          	double tmp;
                          	if (Math.sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * Math.pow((l_m / Om), 2.0)) * (U_42_ - U))))) <= 2e-156) {
                          		tmp = Math.sqrt((n * (t * (2.0 * U))));
                          	} else {
                          		tmp = Math.sqrt((t_1 * t));
                          	}
                          	return tmp;
                          }
                          
                          l_m = math.fabs(l)
                          def code(n, U, t, l_m, Om, U_42_):
                          	t_1 = U * (2.0 * n)
                          	tmp = 0
                          	if math.sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * math.pow((l_m / Om), 2.0)) * (U_42_ - U))))) <= 2e-156:
                          		tmp = math.sqrt((n * (t * (2.0 * U))))
                          	else:
                          		tmp = math.sqrt((t_1 * t))
                          	return tmp
                          
                          l_m = abs(l)
                          function code(n, U, t, l_m, Om, U_42_)
                          	t_1 = Float64(U * Float64(2.0 * n))
                          	tmp = 0.0
                          	if (sqrt(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_42_ - U))))) <= 2e-156)
                          		tmp = sqrt(Float64(n * Float64(t * Float64(2.0 * U))));
                          	else
                          		tmp = sqrt(Float64(t_1 * t));
                          	end
                          	return tmp
                          end
                          
                          l_m = abs(l);
                          function tmp_2 = code(n, U, t, l_m, Om, U_42_)
                          	t_1 = U * (2.0 * n);
                          	tmp = 0.0;
                          	if (sqrt((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * ((l_m / Om) ^ 2.0)) * (U_42_ - U))))) <= 2e-156)
                          		tmp = sqrt((n * (t * (2.0 * U))));
                          	else
                          		tmp = sqrt((t_1 * t));
                          	end
                          	tmp_2 = tmp;
                          end
                          
                          l_m = N[Abs[l], $MachinePrecision]
                          code[n_, U_, t_, l$95$m_, Om_, U$42$_] := Block[{t$95$1 = N[(U * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[Sqrt[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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], 2e-156], N[Sqrt[N[(n * N[(t * N[(2.0 * U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(t$95$1 * t), $MachinePrecision]], $MachinePrecision]]]
                          
                          \begin{array}{l}
                          l_m = \left|\ell\right|
                          
                          \\
                          \begin{array}{l}
                          t_1 := U \cdot \left(2 \cdot n\right)\\
                          \mathbf{if}\;\sqrt{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)} \leq 2 \cdot 10^{-156}:\\
                          \;\;\;\;\sqrt{n \cdot \left(t \cdot \left(2 \cdot U\right)\right)}\\
                          
                          \mathbf{else}:\\
                          \;\;\;\;\sqrt{t\_1 \cdot t}\\
                          
                          
                          \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*))))) < 2.00000000000000008e-156

                            1. Initial program 12.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 t around inf

                              \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot t\right)\right)}} \]
                            4. Step-by-step derivation
                              1. associate-*r*N/A

                                \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]
                              2. *-lowering-*.f64N/A

                                \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]
                              3. *-lowering-*.f64N/A

                                \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right)} \cdot \left(n \cdot t\right)} \]
                              4. *-lowering-*.f6424.9

                                \[\leadsto \sqrt{\left(2 \cdot U\right) \cdot \color{blue}{\left(n \cdot t\right)}} \]
                            5. Simplified24.9%

                              \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]
                            6. Step-by-step derivation
                              1. *-commutativeN/A

                                \[\leadsto \sqrt{\left(2 \cdot U\right) \cdot \color{blue}{\left(t \cdot n\right)}} \]
                              2. associate-*r*N/A

                                \[\leadsto \sqrt{\color{blue}{\left(\left(2 \cdot U\right) \cdot t\right) \cdot n}} \]
                              3. *-lowering-*.f64N/A

                                \[\leadsto \sqrt{\color{blue}{\left(\left(2 \cdot U\right) \cdot t\right) \cdot n}} \]
                              4. *-lowering-*.f64N/A

                                \[\leadsto \sqrt{\color{blue}{\left(\left(2 \cdot U\right) \cdot t\right)} \cdot n} \]
                              5. *-commutativeN/A

                                \[\leadsto \sqrt{\left(\color{blue}{\left(U \cdot 2\right)} \cdot t\right) \cdot n} \]
                              6. *-lowering-*.f6427.4

                                \[\leadsto \sqrt{\left(\color{blue}{\left(U \cdot 2\right)} \cdot t\right) \cdot n} \]
                            7. Applied egg-rr27.4%

                              \[\leadsto \sqrt{\color{blue}{\left(\left(U \cdot 2\right) \cdot t\right) \cdot n}} \]

                            if 2.00000000000000008e-156 < (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 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{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]
                            4. Step-by-step derivation
                              1. Simplified35.5%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]
                            5. Recombined 2 regimes into one program.
                            6. Final simplification34.6%

                              \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\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)} \leq 2 \cdot 10^{-156}:\\ \;\;\;\;\sqrt{n \cdot \left(t \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\ \end{array} \]
                            7. Add Preprocessing

                            Alternative 22: 37.8% accurate, 0.9× speedup?

                            \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := U \cdot \left(2 \cdot n\right)\\ \mathbf{if}\;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) \leq 0:\\ \;\;\;\;\sqrt{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{t\_1 \cdot t}\\ \end{array} \end{array} \]
                            l_m = (fabs.f64 l)
                            (FPCore (n U t l_m Om U*)
                             :precision binary64
                             (let* ((t_1 (* U (* 2.0 n))))
                               (if (<=
                                    (*
                                     t_1
                                     (+
                                      (- t (* 2.0 (/ (* l_m l_m) Om)))
                                      (* (* n (pow (/ l_m Om) 2.0)) (- U* U))))
                                    0.0)
                                 (sqrt (* (* 2.0 U) (* n t)))
                                 (sqrt (* t_1 t)))))
                            l_m = fabs(l);
                            double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                            	double t_1 = U * (2.0 * n);
                            	double tmp;
                            	if ((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * pow((l_m / Om), 2.0)) * (U_42_ - U)))) <= 0.0) {
                            		tmp = sqrt(((2.0 * U) * (n * t)));
                            	} else {
                            		tmp = sqrt((t_1 * t));
                            	}
                            	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) :: t_1
                                real(8) :: tmp
                                t_1 = u * (2.0d0 * n)
                                if ((t_1 * ((t - (2.0d0 * ((l_m * l_m) / om))) + ((n * ((l_m / om) ** 2.0d0)) * (u_42 - u)))) <= 0.0d0) then
                                    tmp = sqrt(((2.0d0 * u) * (n * t)))
                                else
                                    tmp = sqrt((t_1 * t))
                                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 t_1 = U * (2.0 * n);
                            	double tmp;
                            	if ((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * Math.pow((l_m / Om), 2.0)) * (U_42_ - U)))) <= 0.0) {
                            		tmp = Math.sqrt(((2.0 * U) * (n * t)));
                            	} else {
                            		tmp = Math.sqrt((t_1 * t));
                            	}
                            	return tmp;
                            }
                            
                            l_m = math.fabs(l)
                            def code(n, U, t, l_m, Om, U_42_):
                            	t_1 = U * (2.0 * n)
                            	tmp = 0
                            	if (t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * math.pow((l_m / Om), 2.0)) * (U_42_ - U)))) <= 0.0:
                            		tmp = math.sqrt(((2.0 * U) * (n * t)))
                            	else:
                            		tmp = math.sqrt((t_1 * t))
                            	return tmp
                            
                            l_m = abs(l)
                            function code(n, U, t, l_m, Om, U_42_)
                            	t_1 = Float64(U * Float64(2.0 * n))
                            	tmp = 0.0
                            	if (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_42_ - U)))) <= 0.0)
                            		tmp = sqrt(Float64(Float64(2.0 * U) * Float64(n * t)));
                            	else
                            		tmp = sqrt(Float64(t_1 * t));
                            	end
                            	return tmp
                            end
                            
                            l_m = abs(l);
                            function tmp_2 = code(n, U, t, l_m, Om, U_42_)
                            	t_1 = U * (2.0 * n);
                            	tmp = 0.0;
                            	if ((t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) + ((n * ((l_m / Om) ^ 2.0)) * (U_42_ - U)))) <= 0.0)
                            		tmp = sqrt(((2.0 * U) * (n * t)));
                            	else
                            		tmp = sqrt((t_1 * t));
                            	end
                            	tmp_2 = tmp;
                            end
                            
                            l_m = N[Abs[l], $MachinePrecision]
                            code[n_, U_, t_, l$95$m_, Om_, U$42$_] := Block[{t$95$1 = N[(U * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[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$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 0.0], N[Sqrt[N[(N[(2.0 * U), $MachinePrecision] * N[(n * t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(t$95$1 * t), $MachinePrecision]], $MachinePrecision]]]
                            
                            \begin{array}{l}
                            l_m = \left|\ell\right|
                            
                            \\
                            \begin{array}{l}
                            t_1 := U \cdot \left(2 \cdot n\right)\\
                            \mathbf{if}\;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) \leq 0:\\
                            \;\;\;\;\sqrt{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;\sqrt{t\_1 \cdot t}\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 2 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*)))) < 0.0

                              1. Initial program 9.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 t around inf

                                \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot t\right)\right)}} \]
                              4. Step-by-step derivation
                                1. associate-*r*N/A

                                  \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]
                                2. *-lowering-*.f64N/A

                                  \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]
                                3. *-lowering-*.f64N/A

                                  \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right)} \cdot \left(n \cdot t\right)} \]
                                4. *-lowering-*.f6424.1

                                  \[\leadsto \sqrt{\left(2 \cdot U\right) \cdot \color{blue}{\left(n \cdot t\right)}} \]
                              5. Simplified24.1%

                                \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]

                              if 0.0 < (*.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 57.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 t around inf

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]
                              4. Step-by-step derivation
                                1. Simplified36.0%

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]
                              5. Recombined 2 regimes into one program.
                              6. Final simplification34.6%

                                \[\leadsto \begin{array}{l} \mathbf{if}\;\left(U \cdot \left(2 \cdot n\right)\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) \leq 0:\\ \;\;\;\;\sqrt{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\ \end{array} \]
                              7. Add Preprocessing

                              Alternative 23: 52.3% accurate, 2.6× speedup?

                              \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \sqrt{\mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{if}\;Om \leq -6 \cdot 10^{-91}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;Om \leq -4 \cdot 10^{-310}:\\ \;\;\;\;\left(\left|n \cdot l\_m\right| \cdot \sqrt{U \cdot U*}\right) \cdot \left(-\frac{\sqrt{2}}{Om}\right)\\ \mathbf{elif}\;Om \leq 10000000000:\\ \;\;\;\;\frac{\left(l\_m \cdot \left|n\right|\right) \cdot \sqrt{U* \cdot \left(2 \cdot U\right)}}{Om}\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                              l_m = (fabs.f64 l)
                              (FPCore (n U t l_m Om U*)
                               :precision binary64
                               (let* ((t_1 (sqrt (* (fma l_m (* (/ l_m Om) -2.0) t) (* n (* 2.0 U))))))
                                 (if (<= Om -6e-91)
                                   t_1
                                   (if (<= Om -4e-310)
                                     (* (* (fabs (* n l_m)) (sqrt (* U U*))) (- (/ (sqrt 2.0) Om)))
                                     (if (<= Om 10000000000.0)
                                       (/ (* (* l_m (fabs n)) (sqrt (* U* (* 2.0 U)))) Om)
                                       t_1)))))
                              l_m = fabs(l);
                              double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                              	double t_1 = sqrt((fma(l_m, ((l_m / Om) * -2.0), t) * (n * (2.0 * U))));
                              	double tmp;
                              	if (Om <= -6e-91) {
                              		tmp = t_1;
                              	} else if (Om <= -4e-310) {
                              		tmp = (fabs((n * l_m)) * sqrt((U * U_42_))) * -(sqrt(2.0) / Om);
                              	} else if (Om <= 10000000000.0) {
                              		tmp = ((l_m * fabs(n)) * sqrt((U_42_ * (2.0 * U)))) / Om;
                              	} else {
                              		tmp = t_1;
                              	}
                              	return tmp;
                              }
                              
                              l_m = abs(l)
                              function code(n, U, t, l_m, Om, U_42_)
                              	t_1 = sqrt(Float64(fma(l_m, Float64(Float64(l_m / Om) * -2.0), t) * Float64(n * Float64(2.0 * U))))
                              	tmp = 0.0
                              	if (Om <= -6e-91)
                              		tmp = t_1;
                              	elseif (Om <= -4e-310)
                              		tmp = Float64(Float64(abs(Float64(n * l_m)) * sqrt(Float64(U * U_42_))) * Float64(-Float64(sqrt(2.0) / Om)));
                              	elseif (Om <= 10000000000.0)
                              		tmp = Float64(Float64(Float64(l_m * abs(n)) * sqrt(Float64(U_42_ * Float64(2.0 * U)))) / Om);
                              	else
                              		tmp = t_1;
                              	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[Sqrt[N[(N[(l$95$m * N[(N[(l$95$m / Om), $MachinePrecision] * -2.0), $MachinePrecision] + t), $MachinePrecision] * N[(n * N[(2.0 * U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]}, If[LessEqual[Om, -6e-91], t$95$1, If[LessEqual[Om, -4e-310], N[(N[(N[Abs[N[(n * l$95$m), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(U * U$42$), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] * (-N[(N[Sqrt[2.0], $MachinePrecision] / Om), $MachinePrecision])), $MachinePrecision], If[LessEqual[Om, 10000000000.0], N[(N[(N[(l$95$m * N[Abs[n], $MachinePrecision]), $MachinePrecision] * N[Sqrt[N[(U$42$ * N[(2.0 * U), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision], t$95$1]]]]
                              
                              \begin{array}{l}
                              l_m = \left|\ell\right|
                              
                              \\
                              \begin{array}{l}
                              t_1 := \sqrt{\mathsf{fma}\left(l\_m, \frac{l\_m}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\
                              \mathbf{if}\;Om \leq -6 \cdot 10^{-91}:\\
                              \;\;\;\;t\_1\\
                              
                              \mathbf{elif}\;Om \leq -4 \cdot 10^{-310}:\\
                              \;\;\;\;\left(\left|n \cdot l\_m\right| \cdot \sqrt{U \cdot U*}\right) \cdot \left(-\frac{\sqrt{2}}{Om}\right)\\
                              
                              \mathbf{elif}\;Om \leq 10000000000:\\
                              \;\;\;\;\frac{\left(l\_m \cdot \left|n\right|\right) \cdot \sqrt{U* \cdot \left(2 \cdot U\right)}}{Om}\\
                              
                              \mathbf{else}:\\
                              \;\;\;\;t\_1\\
                              
                              
                              \end{array}
                              \end{array}
                              
                              Derivation
                              1. Split input into 3 regimes
                              2. if Om < -6.0000000000000004e-91 or 1e10 < Om

                                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. Step-by-step derivation
                                  1. 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)}} \]
                                  2. +-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)}} \]
                                  3. *-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)} \]
                                  4. 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)} \]
                                  5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                  6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                  7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                  8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                  9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                                  10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                  11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                  12. --lowering--.f64N/A

                                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right)}\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                  13. /-lowering-/.f64N/A

                                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                  14. *-lowering-*.f64N/A

                                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \color{blue}{\frac{\ell}{Om} \cdot n}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                  15. /-lowering-/.f64N/A

                                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \color{blue}{\frac{\ell}{Om}} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                  16. sub-negN/A

                                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                                  17. +-commutativeN/A

                                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{\left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right) + t}\right)} \]
                                4. Applied egg-rr64.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\ell}{Om}, t\right)\right)}} \]
                                5. Taylor expanded in Om around inf

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
                                6. Step-by-step derivation
                                  1. +-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)}} \]
                                  2. accelerator-lowering-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)}} \]
                                  3. /-lowering-/.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)} \]
                                  4. 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)} \]
                                  5. *-lowering-*.f6454.5

                                    \[\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. Simplified54.5%

                                  \[\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)}} \]
                                8. Step-by-step derivation
                                  1. sqrt-lowering-sqrt.f64N/A

                                    \[\leadsto \color{blue}{\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(-2 \cdot \frac{\ell \cdot \ell}{Om} + t\right)}} \]
                                  2. *-commutativeN/A

                                    \[\leadsto \sqrt{\color{blue}{\left(-2 \cdot \frac{\ell \cdot \ell}{Om} + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)}} \]
                                  3. associate-/l*N/A

                                    \[\leadsto \sqrt{\left(-2 \cdot \color{blue}{\left(\ell \cdot \frac{\ell}{Om}\right)} + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                                  4. associate-*l*N/A

                                    \[\leadsto \sqrt{\left(\color{blue}{\left(-2 \cdot \ell\right) \cdot \frac{\ell}{Om}} + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                                  5. *-lowering-*.f64N/A

                                    \[\leadsto \sqrt{\color{blue}{\left(\left(-2 \cdot \ell\right) \cdot \frac{\ell}{Om} + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)}} \]
                                  6. associate-*l*N/A

                                    \[\leadsto \sqrt{\left(\color{blue}{-2 \cdot \left(\ell \cdot \frac{\ell}{Om}\right)} + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                                  7. associate-/l*N/A

                                    \[\leadsto \sqrt{\left(-2 \cdot \color{blue}{\frac{\ell \cdot \ell}{Om}} + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                                  8. *-commutativeN/A

                                    \[\leadsto \sqrt{\left(\color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                                  9. associate-/l*N/A

                                    \[\leadsto \sqrt{\left(\color{blue}{\left(\ell \cdot \frac{\ell}{Om}\right)} \cdot -2 + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                                  10. associate-*l*N/A

                                    \[\leadsto \sqrt{\left(\color{blue}{\ell \cdot \left(\frac{\ell}{Om} \cdot -2\right)} + t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                                  11. accelerator-lowering-fma.f64N/A

                                    \[\leadsto \sqrt{\color{blue}{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right)} \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                                  12. *-lowering-*.f64N/A

                                    \[\leadsto \sqrt{\mathsf{fma}\left(\ell, \color{blue}{\frac{\ell}{Om} \cdot -2}, t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                                  13. /-lowering-/.f64N/A

                                    \[\leadsto \sqrt{\mathsf{fma}\left(\ell, \color{blue}{\frac{\ell}{Om}} \cdot -2, t\right) \cdot \left(\left(2 \cdot n\right) \cdot U\right)} \]
                                  14. *-commutativeN/A

                                    \[\leadsto \sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(\color{blue}{\left(n \cdot 2\right)} \cdot U\right)} \]
                                  15. associate-*l*N/A

                                    \[\leadsto \sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \color{blue}{\left(n \cdot \left(2 \cdot U\right)\right)}} \]
                                  16. *-commutativeN/A

                                    \[\leadsto \sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(n \cdot \color{blue}{\left(U \cdot 2\right)}\right)} \]
                                  17. *-lowering-*.f64N/A

                                    \[\leadsto \sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \color{blue}{\left(n \cdot \left(U \cdot 2\right)\right)}} \]
                                  18. *-commutativeN/A

                                    \[\leadsto \sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(n \cdot \color{blue}{\left(2 \cdot U\right)}\right)} \]
                                  19. *-lowering-*.f6460.0

                                    \[\leadsto \sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(n \cdot \color{blue}{\left(2 \cdot U\right)}\right)} \]
                                9. Applied egg-rr60.0%

                                  \[\leadsto \color{blue}{\sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}} \]

                                if -6.0000000000000004e-91 < Om < -3.999999999999988e-310

                                1. Initial program 42.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 \sqrt{\color{blue}{2 \cdot \frac{U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}{{Om}^{2}}}} \]
                                4. Step-by-step derivation
                                  1. associate-*r/N/A

                                    \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}{{Om}^{2}}}} \]
                                  2. /-lowering-/.f64N/A

                                    \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}{{Om}^{2}}}} \]
                                  3. *-lowering-*.f64N/A

                                    \[\leadsto \sqrt{\frac{\color{blue}{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}}{{Om}^{2}}} \]
                                  4. associate-*r*N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \color{blue}{\left(\left(U \cdot U*\right) \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}}{{Om}^{2}}} \]
                                  5. *-lowering-*.f64N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \color{blue}{\left(\left(U \cdot U*\right) \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}}{{Om}^{2}}} \]
                                  6. *-lowering-*.f64N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \left(\color{blue}{\left(U \cdot U*\right)} \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                                  7. *-lowering-*.f64N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \color{blue}{\left({\ell}^{2} \cdot {n}^{2}\right)}\right)}{{Om}^{2}}} \]
                                  8. unpow2N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                                  9. *-lowering-*.f64N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                                  10. unpow2N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(n \cdot n\right)}\right)\right)}{{Om}^{2}}} \]
                                  11. *-lowering-*.f64N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(n \cdot n\right)}\right)\right)}{{Om}^{2}}} \]
                                  12. unpow2N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
                                  13. *-lowering-*.f6419.7

                                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
                                5. Simplified19.7%

                                  \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{Om \cdot Om}}} \]
                                6. Step-by-step derivation
                                  1. *-commutativeN/A

                                    \[\leadsto \sqrt{\frac{\color{blue}{\left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right) \cdot 2}}{Om \cdot Om}} \]
                                  2. associate-/l*N/A

                                    \[\leadsto \sqrt{\color{blue}{\left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right) \cdot \frac{2}{Om \cdot Om}}} \]
                                  3. sqrt-prodN/A

                                    \[\leadsto \color{blue}{\sqrt{\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)} \cdot \sqrt{\frac{2}{Om \cdot Om}}} \]
                                  4. pow1/2N/A

                                    \[\leadsto \color{blue}{{\left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}^{\frac{1}{2}}} \cdot \sqrt{\frac{2}{Om \cdot Om}} \]
                                  5. *-lowering-*.f64N/A

                                    \[\leadsto \color{blue}{{\left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}^{\frac{1}{2}} \cdot \sqrt{\frac{2}{Om \cdot Om}}} \]
                                7. Applied egg-rr31.1%

                                  \[\leadsto \color{blue}{\left(\left|\ell \cdot n\right| \cdot \sqrt{U \cdot U*}\right) \cdot \sqrt{\frac{2}{Om \cdot Om}}} \]
                                8. Taylor expanded in Om around -inf

                                  \[\leadsto \left(\left|\ell \cdot n\right| \cdot \sqrt{U \cdot U*}\right) \cdot \color{blue}{\left(-1 \cdot \frac{\sqrt{2}}{Om}\right)} \]
                                9. Step-by-step derivation
                                  1. mul-1-negN/A

                                    \[\leadsto \left(\left|\ell \cdot n\right| \cdot \sqrt{U \cdot U*}\right) \cdot \color{blue}{\left(\mathsf{neg}\left(\frac{\sqrt{2}}{Om}\right)\right)} \]
                                  2. neg-lowering-neg.f64N/A

                                    \[\leadsto \left(\left|\ell \cdot n\right| \cdot \sqrt{U \cdot U*}\right) \cdot \color{blue}{\left(\mathsf{neg}\left(\frac{\sqrt{2}}{Om}\right)\right)} \]
                                  3. /-lowering-/.f64N/A

                                    \[\leadsto \left(\left|\ell \cdot n\right| \cdot \sqrt{U \cdot U*}\right) \cdot \left(\mathsf{neg}\left(\color{blue}{\frac{\sqrt{2}}{Om}}\right)\right) \]
                                  4. sqrt-lowering-sqrt.f6448.1

                                    \[\leadsto \left(\left|\ell \cdot n\right| \cdot \sqrt{U \cdot U*}\right) \cdot \left(-\frac{\color{blue}{\sqrt{2}}}{Om}\right) \]
                                10. Simplified48.1%

                                  \[\leadsto \left(\left|\ell \cdot n\right| \cdot \sqrt{U \cdot U*}\right) \cdot \color{blue}{\left(-\frac{\sqrt{2}}{Om}\right)} \]

                                if -3.999999999999988e-310 < Om < 1e10

                                1. Initial program 43.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 U* around inf

                                  \[\leadsto \sqrt{\color{blue}{2 \cdot \frac{U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}{{Om}^{2}}}} \]
                                4. Step-by-step derivation
                                  1. associate-*r/N/A

                                    \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}{{Om}^{2}}}} \]
                                  2. /-lowering-/.f64N/A

                                    \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}{{Om}^{2}}}} \]
                                  3. *-lowering-*.f64N/A

                                    \[\leadsto \sqrt{\frac{\color{blue}{2 \cdot \left(U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right)}}{{Om}^{2}}} \]
                                  4. associate-*r*N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \color{blue}{\left(\left(U \cdot U*\right) \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}}{{Om}^{2}}} \]
                                  5. *-lowering-*.f64N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \color{blue}{\left(\left(U \cdot U*\right) \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}}{{Om}^{2}}} \]
                                  6. *-lowering-*.f64N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \left(\color{blue}{\left(U \cdot U*\right)} \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                                  7. *-lowering-*.f64N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \color{blue}{\left({\ell}^{2} \cdot {n}^{2}\right)}\right)}{{Om}^{2}}} \]
                                  8. unpow2N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                                  9. *-lowering-*.f64N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot {n}^{2}\right)\right)}{{Om}^{2}}} \]
                                  10. unpow2N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(n \cdot n\right)}\right)\right)}{{Om}^{2}}} \]
                                  11. *-lowering-*.f64N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(n \cdot n\right)}\right)\right)}{{Om}^{2}}} \]
                                  12. unpow2N/A

                                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
                                  13. *-lowering-*.f6433.8

                                    \[\leadsto \sqrt{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{\color{blue}{Om \cdot Om}}} \]
                                5. Simplified33.8%

                                  \[\leadsto \sqrt{\color{blue}{\frac{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}{Om \cdot Om}}} \]
                                6. Step-by-step derivation
                                  1. clear-numN/A

                                    \[\leadsto \sqrt{\color{blue}{\frac{1}{\frac{Om \cdot Om}{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}}} \]
                                  2. associate-/r/N/A

                                    \[\leadsto \sqrt{\color{blue}{\frac{1}{Om \cdot Om} \cdot \left(2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)\right)}} \]
                                  3. sqrt-prodN/A

                                    \[\leadsto \color{blue}{\sqrt{\frac{1}{Om \cdot Om}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}} \]
                                  4. sqrt-divN/A

                                    \[\leadsto \color{blue}{\frac{\sqrt{1}}{\sqrt{Om \cdot Om}}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                                  5. metadata-evalN/A

                                    \[\leadsto \frac{\color{blue}{1}}{\sqrt{Om \cdot Om}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                                  6. pow2N/A

                                    \[\leadsto \frac{1}{\sqrt{\color{blue}{{Om}^{2}}}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                                  7. sqrt-pow1N/A

                                    \[\leadsto \frac{1}{\color{blue}{{Om}^{\left(\frac{2}{2}\right)}}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                                  8. metadata-evalN/A

                                    \[\leadsto \frac{1}{{Om}^{\color{blue}{1}}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                                  9. unpow1N/A

                                    \[\leadsto \frac{1}{\color{blue}{Om}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                                  10. *-lowering-*.f64N/A

                                    \[\leadsto \color{blue}{\frac{1}{Om} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}} \]
                                  11. /-lowering-/.f64N/A

                                    \[\leadsto \color{blue}{\frac{1}{Om}} \cdot \sqrt{2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)} \]
                                  12. pow1/2N/A

                                    \[\leadsto \frac{1}{Om} \cdot \color{blue}{{\left(2 \cdot \left(\left(U \cdot U*\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)\right)}^{\frac{1}{2}}} \]
                                  13. associate-*r*N/A

                                    \[\leadsto \frac{1}{Om} \cdot {\color{blue}{\left(\left(2 \cdot \left(U \cdot U*\right)\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)\right)}}^{\frac{1}{2}} \]
                                  14. *-commutativeN/A

                                    \[\leadsto \frac{1}{Om} \cdot {\color{blue}{\left(\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right) \cdot \left(2 \cdot \left(U \cdot U*\right)\right)\right)}}^{\frac{1}{2}} \]
                                  15. unpow-prod-downN/A

                                    \[\leadsto \frac{1}{Om} \cdot \color{blue}{\left({\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}\right)} \]
                                  16. *-lowering-*.f64N/A

                                    \[\leadsto \frac{1}{Om} \cdot \color{blue}{\left({\left(\left(\ell \cdot \ell\right) \cdot \left(n \cdot n\right)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot \left(U \cdot U*\right)\right)}^{\frac{1}{2}}\right)} \]
                                7. Applied egg-rr57.0%

                                  \[\leadsto \color{blue}{\frac{1}{Om} \cdot \left(\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}\right)} \]
                                8. Step-by-step derivation
                                  1. *-commutativeN/A

                                    \[\leadsto \color{blue}{\left(\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}\right) \cdot \frac{1}{Om}} \]
                                  2. un-div-invN/A

                                    \[\leadsto \color{blue}{\frac{\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}} \]
                                  3. /-lowering-/.f64N/A

                                    \[\leadsto \color{blue}{\frac{\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om}} \]
                                  4. *-lowering-*.f64N/A

                                    \[\leadsto \frac{\color{blue}{\left|\ell \cdot n\right| \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}}{Om} \]
                                  5. fabs-mulN/A

                                    \[\leadsto \frac{\color{blue}{\left(\left|\ell\right| \cdot \left|n\right|\right)} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om} \]
                                  6. rem-sqrt-squareN/A

                                    \[\leadsto \frac{\left(\color{blue}{\sqrt{\ell \cdot \ell}} \cdot \left|n\right|\right) \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om} \]
                                  7. pow2N/A

                                    \[\leadsto \frac{\left(\sqrt{\color{blue}{{\ell}^{2}}} \cdot \left|n\right|\right) \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om} \]
                                  8. sqrt-pow1N/A

                                    \[\leadsto \frac{\left(\color{blue}{{\ell}^{\left(\frac{2}{2}\right)}} \cdot \left|n\right|\right) \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om} \]
                                  9. metadata-evalN/A

                                    \[\leadsto \frac{\left({\ell}^{\color{blue}{1}} \cdot \left|n\right|\right) \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om} \]
                                  10. unpow1N/A

                                    \[\leadsto \frac{\left(\color{blue}{\ell} \cdot \left|n\right|\right) \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om} \]
                                  11. *-lowering-*.f64N/A

                                    \[\leadsto \frac{\color{blue}{\left(\ell \cdot \left|n\right|\right)} \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om} \]
                                  12. fabs-lowering-fabs.f64N/A

                                    \[\leadsto \frac{\left(\ell \cdot \color{blue}{\left|n\right|}\right) \cdot \sqrt{2 \cdot \left(U \cdot U*\right)}}{Om} \]
                                  13. sqrt-lowering-sqrt.f64N/A

                                    \[\leadsto \frac{\left(\ell \cdot \left|n\right|\right) \cdot \color{blue}{\sqrt{2 \cdot \left(U \cdot U*\right)}}}{Om} \]
                                  14. associate-*r*N/A

                                    \[\leadsto \frac{\left(\ell \cdot \left|n\right|\right) \cdot \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot U*}}}{Om} \]
                                  15. *-commutativeN/A

                                    \[\leadsto \frac{\left(\ell \cdot \left|n\right|\right) \cdot \sqrt{\color{blue}{U* \cdot \left(2 \cdot U\right)}}}{Om} \]
                                  16. *-lowering-*.f64N/A

                                    \[\leadsto \frac{\left(\ell \cdot \left|n\right|\right) \cdot \sqrt{\color{blue}{U* \cdot \left(2 \cdot U\right)}}}{Om} \]
                                  17. *-commutativeN/A

                                    \[\leadsto \frac{\left(\ell \cdot \left|n\right|\right) \cdot \sqrt{U* \cdot \color{blue}{\left(U \cdot 2\right)}}}{Om} \]
                                  18. *-lowering-*.f6427.3

                                    \[\leadsto \frac{\left(\ell \cdot \left|n\right|\right) \cdot \sqrt{U* \cdot \color{blue}{\left(U \cdot 2\right)}}}{Om} \]
                                9. Applied egg-rr27.3%

                                  \[\leadsto \color{blue}{\frac{\left(\ell \cdot \left|n\right|\right) \cdot \sqrt{U* \cdot \left(U \cdot 2\right)}}{Om}} \]
                              3. Recombined 3 regimes into one program.
                              4. Final simplification51.2%

                                \[\leadsto \begin{array}{l} \mathbf{if}\;Om \leq -6 \cdot 10^{-91}:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\ \mathbf{elif}\;Om \leq -4 \cdot 10^{-310}:\\ \;\;\;\;\left(\left|n \cdot \ell\right| \cdot \sqrt{U \cdot U*}\right) \cdot \left(-\frac{\sqrt{2}}{Om}\right)\\ \mathbf{elif}\;Om \leq 10000000000:\\ \;\;\;\;\frac{\left(\ell \cdot \left|n\right|\right) \cdot \sqrt{U* \cdot \left(2 \cdot U\right)}}{Om}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(\ell, \frac{\ell}{Om} \cdot -2, t\right) \cdot \left(n \cdot \left(2 \cdot U\right)\right)}\\ \end{array} \]
                              5. Add Preprocessing

                              Alternative 24: 39.4% accurate, 3.7× speedup?

                              \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;l\_m \leq 4.4 \cdot 10^{+34}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\frac{\left(U \cdot -4\right) \cdot \left(n \cdot \left(l\_m \cdot l\_m\right)\right)}{Om}}\\ \end{array} \end{array} \]
                              l_m = (fabs.f64 l)
                              (FPCore (n U t l_m Om U*)
                               :precision binary64
                               (if (<= l_m 4.4e+34)
                                 (sqrt (* (* U (* 2.0 n)) t))
                                 (sqrt (/ (* (* U -4.0) (* n (* l_m l_m))) 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 <= 4.4e+34) {
                              		tmp = sqrt(((U * (2.0 * n)) * t));
                              	} else {
                              		tmp = sqrt((((U * -4.0) * (n * (l_m * l_m))) / 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 <= 4.4d+34) then
                                      tmp = sqrt(((u * (2.0d0 * n)) * t))
                                  else
                                      tmp = sqrt((((u * (-4.0d0)) * (n * (l_m * l_m))) / 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 <= 4.4e+34) {
                              		tmp = Math.sqrt(((U * (2.0 * n)) * t));
                              	} else {
                              		tmp = Math.sqrt((((U * -4.0) * (n * (l_m * l_m))) / Om));
                              	}
                              	return tmp;
                              }
                              
                              l_m = math.fabs(l)
                              def code(n, U, t, l_m, Om, U_42_):
                              	tmp = 0
                              	if l_m <= 4.4e+34:
                              		tmp = math.sqrt(((U * (2.0 * n)) * t))
                              	else:
                              		tmp = math.sqrt((((U * -4.0) * (n * (l_m * l_m))) / Om))
                              	return tmp
                              
                              l_m = abs(l)
                              function code(n, U, t, l_m, Om, U_42_)
                              	tmp = 0.0
                              	if (l_m <= 4.4e+34)
                              		tmp = sqrt(Float64(Float64(U * Float64(2.0 * n)) * t));
                              	else
                              		tmp = sqrt(Float64(Float64(Float64(U * -4.0) * Float64(n * Float64(l_m * l_m))) / 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 <= 4.4e+34)
                              		tmp = sqrt(((U * (2.0 * n)) * t));
                              	else
                              		tmp = sqrt((((U * -4.0) * (n * (l_m * l_m))) / 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, 4.4e+34], N[Sqrt[N[(N[(U * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(N[(U * -4.0), $MachinePrecision] * N[(n * N[(l$95$m * l$95$m), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]], $MachinePrecision]]
                              
                              \begin{array}{l}
                              l_m = \left|\ell\right|
                              
                              \\
                              \begin{array}{l}
                              \mathbf{if}\;l\_m \leq 4.4 \cdot 10^{+34}:\\
                              \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\
                              
                              \mathbf{else}:\\
                              \;\;\;\;\sqrt{\frac{\left(U \cdot -4\right) \cdot \left(n \cdot \left(l\_m \cdot l\_m\right)\right)}{Om}}\\
                              
                              
                              \end{array}
                              \end{array}
                              
                              Derivation
                              1. Split input into 2 regimes
                              2. if l < 4.4000000000000005e34

                                1. Initial program 55.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 t around inf

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]
                                4. Step-by-step derivation
                                  1. Simplified37.3%

                                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]

                                  if 4.4000000000000005e34 < l

                                  1. Initial program 28.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. 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)}} \]
                                    2. +-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)}} \]
                                    3. *-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)} \]
                                    4. 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)} \]
                                    5. *-commutativeN/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(\frac{\ell}{Om}\right)}^{2} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                    6. 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(\color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                    7. associate-*l*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(\frac{\ell}{Om} \cdot \left(\frac{\ell}{Om} \cdot n\right)\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                    8. 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 \frac{\ell}{Om}\right) \cdot \left(\frac{\ell}{Om} \cdot n\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                    9. accelerator-lowering-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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                                    10. *-lowering-*.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 \frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                    11. neg-lowering-neg.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 \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                    12. --lowering--.f64N/A

                                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right)}\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                    13. /-lowering-/.f64N/A

                                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\frac{\ell}{Om}}, \frac{\ell}{Om} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                    14. *-lowering-*.f64N/A

                                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \color{blue}{\frac{\ell}{Om} \cdot n}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                    15. /-lowering-/.f64N/A

                                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \color{blue}{\frac{\ell}{Om}} \cdot n, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                    16. sub-negN/A

                                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                                    17. +-commutativeN/A

                                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \color{blue}{\left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right) + t}\right)} \]
                                  4. Applied egg-rr37.1%

                                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \frac{\ell}{Om}, \frac{\ell}{Om} \cdot n, \mathsf{fma}\left(-2 \cdot \ell, \frac{\ell}{Om}, t\right)\right)}} \]
                                  5. Taylor expanded in Om around inf

                                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
                                  6. Step-by-step derivation
                                    1. +-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)}} \]
                                    2. accelerator-lowering-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)}} \]
                                    3. /-lowering-/.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)} \]
                                    4. 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)} \]
                                    5. *-lowering-*.f6428.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)} \]
                                  7. Simplified28.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)}} \]
                                  8. Taylor expanded in l around inf

                                    \[\leadsto \sqrt{\color{blue}{-4 \cdot \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{Om}}} \]
                                  9. Step-by-step derivation
                                    1. associate-*r/N/A

                                      \[\leadsto \sqrt{\color{blue}{\frac{-4 \cdot \left(U \cdot \left({\ell}^{2} \cdot n\right)\right)}{Om}}} \]
                                    2. /-lowering-/.f64N/A

                                      \[\leadsto \sqrt{\color{blue}{\frac{-4 \cdot \left(U \cdot \left({\ell}^{2} \cdot n\right)\right)}{Om}}} \]
                                    3. associate-*r*N/A

                                      \[\leadsto \sqrt{\frac{\color{blue}{\left(-4 \cdot U\right) \cdot \left({\ell}^{2} \cdot n\right)}}{Om}} \]
                                    4. *-lowering-*.f64N/A

                                      \[\leadsto \sqrt{\frac{\color{blue}{\left(-4 \cdot U\right) \cdot \left({\ell}^{2} \cdot n\right)}}{Om}} \]
                                    5. *-lowering-*.f64N/A

                                      \[\leadsto \sqrt{\frac{\color{blue}{\left(-4 \cdot U\right)} \cdot \left({\ell}^{2} \cdot n\right)}{Om}} \]
                                    6. *-lowering-*.f64N/A

                                      \[\leadsto \sqrt{\frac{\left(-4 \cdot U\right) \cdot \color{blue}{\left({\ell}^{2} \cdot n\right)}}{Om}} \]
                                    7. unpow2N/A

                                      \[\leadsto \sqrt{\frac{\left(-4 \cdot U\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot n\right)}{Om}} \]
                                    8. *-lowering-*.f6431.7

                                      \[\leadsto \sqrt{\frac{\left(-4 \cdot U\right) \cdot \left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot n\right)}{Om}} \]
                                  10. Simplified31.7%

                                    \[\leadsto \sqrt{\color{blue}{\frac{\left(-4 \cdot U\right) \cdot \left(\left(\ell \cdot \ell\right) \cdot n\right)}{Om}}} \]
                                5. Recombined 2 regimes into one program.
                                6. Final simplification36.5%

                                  \[\leadsto \begin{array}{l} \mathbf{if}\;\ell \leq 4.4 \cdot 10^{+34}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\frac{\left(U \cdot -4\right) \cdot \left(n \cdot \left(\ell \cdot \ell\right)\right)}{Om}}\\ \end{array} \]
                                7. Add Preprocessing

                                Alternative 25: 39.1% accurate, 3.7× speedup?

                                \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;l\_m \leq 5.2 \cdot 10^{+76}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\frac{-4 \cdot \left(n \cdot \left(U \cdot \left(l\_m \cdot l\_m\right)\right)\right)}{Om}}\\ \end{array} \end{array} \]
                                l_m = (fabs.f64 l)
                                (FPCore (n U t l_m Om U*)
                                 :precision binary64
                                 (if (<= l_m 5.2e+76)
                                   (sqrt (* (* U (* 2.0 n)) t))
                                   (sqrt (/ (* -4.0 (* n (* U (* l_m l_m)))) 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.2e+76) {
                                		tmp = sqrt(((U * (2.0 * n)) * t));
                                	} else {
                                		tmp = sqrt(((-4.0 * (n * (U * (l_m * l_m)))) / 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.2d+76) then
                                        tmp = sqrt(((u * (2.0d0 * n)) * t))
                                    else
                                        tmp = sqrt((((-4.0d0) * (n * (u * (l_m * l_m)))) / 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.2e+76) {
                                		tmp = Math.sqrt(((U * (2.0 * n)) * t));
                                	} else {
                                		tmp = Math.sqrt(((-4.0 * (n * (U * (l_m * l_m)))) / Om));
                                	}
                                	return tmp;
                                }
                                
                                l_m = math.fabs(l)
                                def code(n, U, t, l_m, Om, U_42_):
                                	tmp = 0
                                	if l_m <= 5.2e+76:
                                		tmp = math.sqrt(((U * (2.0 * n)) * t))
                                	else:
                                		tmp = math.sqrt(((-4.0 * (n * (U * (l_m * l_m)))) / Om))
                                	return tmp
                                
                                l_m = abs(l)
                                function code(n, U, t, l_m, Om, U_42_)
                                	tmp = 0.0
                                	if (l_m <= 5.2e+76)
                                		tmp = sqrt(Float64(Float64(U * Float64(2.0 * n)) * t));
                                	else
                                		tmp = sqrt(Float64(Float64(-4.0 * Float64(n * Float64(U * Float64(l_m * l_m)))) / 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.2e+76)
                                		tmp = sqrt(((U * (2.0 * n)) * t));
                                	else
                                		tmp = sqrt(((-4.0 * (n * (U * (l_m * l_m)))) / 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.2e+76], N[Sqrt[N[(N[(U * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(-4.0 * N[(n * N[(U * N[(l$95$m * l$95$m), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]], $MachinePrecision]]
                                
                                \begin{array}{l}
                                l_m = \left|\ell\right|
                                
                                \\
                                \begin{array}{l}
                                \mathbf{if}\;l\_m \leq 5.2 \cdot 10^{+76}:\\
                                \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\
                                
                                \mathbf{else}:\\
                                \;\;\;\;\sqrt{\frac{-4 \cdot \left(n \cdot \left(U \cdot \left(l\_m \cdot l\_m\right)\right)\right)}{Om}}\\
                                
                                
                                \end{array}
                                \end{array}
                                
                                Derivation
                                1. Split input into 2 regimes
                                2. if l < 5.1999999999999999e76

                                  1. Initial program 54.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 t around inf

                                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]
                                  4. Step-by-step derivation
                                    1. Simplified36.5%

                                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]

                                    if 5.1999999999999999e76 < l

                                    1. Initial program 27.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 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. *-lowering-*.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. *-lowering-*.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. *-lowering-*.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. *-lowering-*.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. *-lowering-*.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. associate-/l*N/A

                                        \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \left(\color{blue}{n \cdot \frac{U - U*}{{Om}^{2}}} + 2 \cdot \frac{1}{Om}\right)\right)} \]
                                      11. accelerator-lowering-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(n, \frac{U - U*}{{Om}^{2}}, 2 \cdot \frac{1}{Om}\right)}\right)} \]
                                      12. /-lowering-/.f64N/A

                                        \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(n, \color{blue}{\frac{U - U*}{{Om}^{2}}}, 2 \cdot \frac{1}{Om}\right)\right)} \]
                                      13. --lowering--.f64N/A

                                        \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(n, \frac{\color{blue}{U - U*}}{{Om}^{2}}, 2 \cdot \frac{1}{Om}\right)\right)} \]
                                      14. unpow2N/A

                                        \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(n, \frac{U - U*}{\color{blue}{Om \cdot Om}}, 2 \cdot \frac{1}{Om}\right)\right)} \]
                                      15. *-lowering-*.f64N/A

                                        \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(n, \frac{U - U*}{\color{blue}{Om \cdot 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(n, \frac{U - U*}{Om \cdot 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(n, \frac{U - U*}{Om \cdot Om}, \frac{\color{blue}{2}}{Om}\right)\right)} \]
                                      18. /-lowering-/.f6428.9

                                        \[\leadsto \sqrt{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(n, \frac{U - U*}{Om \cdot Om}, \color{blue}{\frac{2}{Om}}\right)\right)} \]
                                    5. Simplified28.9%

                                      \[\leadsto \sqrt{\color{blue}{\left(-2 \cdot U\right) \cdot \left(\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot \mathsf{fma}\left(n, \frac{U - U*}{Om \cdot Om}, \frac{2}{Om}\right)\right)}} \]
                                    6. Taylor expanded in n around 0

                                      \[\leadsto \sqrt{\color{blue}{-4 \cdot \frac{U \cdot \left({\ell}^{2} \cdot n\right)}{Om}}} \]
                                    7. Step-by-step derivation
                                      1. associate-*r/N/A

                                        \[\leadsto \sqrt{\color{blue}{\frac{-4 \cdot \left(U \cdot \left({\ell}^{2} \cdot n\right)\right)}{Om}}} \]
                                      2. /-lowering-/.f64N/A

                                        \[\leadsto \sqrt{\color{blue}{\frac{-4 \cdot \left(U \cdot \left({\ell}^{2} \cdot n\right)\right)}{Om}}} \]
                                      3. *-lowering-*.f64N/A

                                        \[\leadsto \sqrt{\frac{\color{blue}{-4 \cdot \left(U \cdot \left({\ell}^{2} \cdot n\right)\right)}}{Om}} \]
                                      4. associate-*r*N/A

                                        \[\leadsto \sqrt{\frac{-4 \cdot \color{blue}{\left(\left(U \cdot {\ell}^{2}\right) \cdot n\right)}}{Om}} \]
                                      5. *-lowering-*.f64N/A

                                        \[\leadsto \sqrt{\frac{-4 \cdot \color{blue}{\left(\left(U \cdot {\ell}^{2}\right) \cdot n\right)}}{Om}} \]
                                      6. *-lowering-*.f64N/A

                                        \[\leadsto \sqrt{\frac{-4 \cdot \left(\color{blue}{\left(U \cdot {\ell}^{2}\right)} \cdot n\right)}{Om}} \]
                                      7. unpow2N/A

                                        \[\leadsto \sqrt{\frac{-4 \cdot \left(\left(U \cdot \color{blue}{\left(\ell \cdot \ell\right)}\right) \cdot n\right)}{Om}} \]
                                      8. *-lowering-*.f6437.6

                                        \[\leadsto \sqrt{\frac{-4 \cdot \left(\left(U \cdot \color{blue}{\left(\ell \cdot \ell\right)}\right) \cdot n\right)}{Om}} \]
                                    8. Simplified37.6%

                                      \[\leadsto \sqrt{\color{blue}{\frac{-4 \cdot \left(\left(U \cdot \left(\ell \cdot \ell\right)\right) \cdot n\right)}{Om}}} \]
                                  5. Recombined 2 regimes into one program.
                                  6. Final simplification36.6%

                                    \[\leadsto \begin{array}{l} \mathbf{if}\;\ell \leq 5.2 \cdot 10^{+76}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\frac{-4 \cdot \left(n \cdot \left(U \cdot \left(\ell \cdot \ell\right)\right)\right)}{Om}}\\ \end{array} \]
                                  7. Add Preprocessing

                                  Alternative 26: 38.4% accurate, 4.2× speedup?

                                  \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;U \leq -5 \cdot 10^{-310}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{2 \cdot \left(n \cdot t\right)} \cdot \sqrt{U}\\ \end{array} \end{array} \]
                                  l_m = (fabs.f64 l)
                                  (FPCore (n U t l_m Om U*)
                                   :precision binary64
                                   (if (<= U -5e-310)
                                     (sqrt (* (* U (* 2.0 n)) t))
                                     (* (sqrt (* 2.0 (* n t))) (sqrt U))))
                                  l_m = fabs(l);
                                  double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                                  	double tmp;
                                  	if (U <= -5e-310) {
                                  		tmp = sqrt(((U * (2.0 * n)) * t));
                                  	} else {
                                  		tmp = sqrt((2.0 * (n * t))) * sqrt(U);
                                  	}
                                  	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 (u <= (-5d-310)) then
                                          tmp = sqrt(((u * (2.0d0 * n)) * t))
                                      else
                                          tmp = sqrt((2.0d0 * (n * t))) * sqrt(u)
                                      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 (U <= -5e-310) {
                                  		tmp = Math.sqrt(((U * (2.0 * n)) * t));
                                  	} else {
                                  		tmp = Math.sqrt((2.0 * (n * t))) * Math.sqrt(U);
                                  	}
                                  	return tmp;
                                  }
                                  
                                  l_m = math.fabs(l)
                                  def code(n, U, t, l_m, Om, U_42_):
                                  	tmp = 0
                                  	if U <= -5e-310:
                                  		tmp = math.sqrt(((U * (2.0 * n)) * t))
                                  	else:
                                  		tmp = math.sqrt((2.0 * (n * t))) * math.sqrt(U)
                                  	return tmp
                                  
                                  l_m = abs(l)
                                  function code(n, U, t, l_m, Om, U_42_)
                                  	tmp = 0.0
                                  	if (U <= -5e-310)
                                  		tmp = sqrt(Float64(Float64(U * Float64(2.0 * n)) * t));
                                  	else
                                  		tmp = Float64(sqrt(Float64(2.0 * Float64(n * t))) * sqrt(U));
                                  	end
                                  	return tmp
                                  end
                                  
                                  l_m = abs(l);
                                  function tmp_2 = code(n, U, t, l_m, Om, U_42_)
                                  	tmp = 0.0;
                                  	if (U <= -5e-310)
                                  		tmp = sqrt(((U * (2.0 * n)) * t));
                                  	else
                                  		tmp = sqrt((2.0 * (n * t))) * sqrt(U);
                                  	end
                                  	tmp_2 = tmp;
                                  end
                                  
                                  l_m = N[Abs[l], $MachinePrecision]
                                  code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[U, -5e-310], N[Sqrt[N[(N[(U * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(2.0 * N[(n * t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[U], $MachinePrecision]), $MachinePrecision]]
                                  
                                  \begin{array}{l}
                                  l_m = \left|\ell\right|
                                  
                                  \\
                                  \begin{array}{l}
                                  \mathbf{if}\;U \leq -5 \cdot 10^{-310}:\\
                                  \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\
                                  
                                  \mathbf{else}:\\
                                  \;\;\;\;\sqrt{2 \cdot \left(n \cdot t\right)} \cdot \sqrt{U}\\
                                  
                                  
                                  \end{array}
                                  \end{array}
                                  
                                  Derivation
                                  1. Split input into 2 regimes
                                  2. if U < -4.999999999999985e-310

                                    1. Initial program 49.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 t around inf

                                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]
                                    4. Step-by-step derivation
                                      1. Simplified31.5%

                                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]

                                      if -4.999999999999985e-310 < U

                                      1. Initial program 53.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 t around inf

                                        \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot t\right)\right)}} \]
                                      4. Step-by-step derivation
                                        1. associate-*r*N/A

                                          \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]
                                        2. *-lowering-*.f64N/A

                                          \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]
                                        3. *-lowering-*.f64N/A

                                          \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right)} \cdot \left(n \cdot t\right)} \]
                                        4. *-lowering-*.f6435.6

                                          \[\leadsto \sqrt{\left(2 \cdot U\right) \cdot \color{blue}{\left(n \cdot t\right)}} \]
                                      5. Simplified35.6%

                                        \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]
                                      6. Step-by-step derivation
                                        1. *-commutativeN/A

                                          \[\leadsto \sqrt{\color{blue}{\left(n \cdot t\right) \cdot \left(2 \cdot U\right)}} \]
                                        2. associate-*r*N/A

                                          \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot 2\right) \cdot U}} \]
                                        3. sqrt-prodN/A

                                          \[\leadsto \color{blue}{\sqrt{\left(n \cdot t\right) \cdot 2} \cdot \sqrt{U}} \]
                                        4. pow1/2N/A

                                          \[\leadsto \sqrt{\left(n \cdot t\right) \cdot 2} \cdot \color{blue}{{U}^{\frac{1}{2}}} \]
                                        5. *-lowering-*.f64N/A

                                          \[\leadsto \color{blue}{\sqrt{\left(n \cdot t\right) \cdot 2} \cdot {U}^{\frac{1}{2}}} \]
                                        6. sqrt-lowering-sqrt.f64N/A

                                          \[\leadsto \color{blue}{\sqrt{\left(n \cdot t\right) \cdot 2}} \cdot {U}^{\frac{1}{2}} \]
                                        7. *-lowering-*.f64N/A

                                          \[\leadsto \sqrt{\color{blue}{\left(n \cdot t\right) \cdot 2}} \cdot {U}^{\frac{1}{2}} \]
                                        8. *-lowering-*.f64N/A

                                          \[\leadsto \sqrt{\color{blue}{\left(n \cdot t\right)} \cdot 2} \cdot {U}^{\frac{1}{2}} \]
                                        9. pow1/2N/A

                                          \[\leadsto \sqrt{\left(n \cdot t\right) \cdot 2} \cdot \color{blue}{\sqrt{U}} \]
                                        10. sqrt-lowering-sqrt.f6443.1

                                          \[\leadsto \sqrt{\left(n \cdot t\right) \cdot 2} \cdot \color{blue}{\sqrt{U}} \]
                                      7. Applied egg-rr43.1%

                                        \[\leadsto \color{blue}{\sqrt{\left(n \cdot t\right) \cdot 2} \cdot \sqrt{U}} \]
                                    5. Recombined 2 regimes into one program.
                                    6. Final simplification37.1%

                                      \[\leadsto \begin{array}{l} \mathbf{if}\;U \leq -5 \cdot 10^{-310}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{2 \cdot \left(n \cdot t\right)} \cdot \sqrt{U}\\ \end{array} \]
                                    7. Add Preprocessing

                                    Alternative 27: 38.4% accurate, 4.2× speedup?

                                    \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;U \leq -5 \cdot 10^{-310}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{n \cdot t} \cdot \sqrt{2 \cdot U}\\ \end{array} \end{array} \]
                                    l_m = (fabs.f64 l)
                                    (FPCore (n U t l_m Om U*)
                                     :precision binary64
                                     (if (<= U -5e-310)
                                       (sqrt (* (* U (* 2.0 n)) t))
                                       (* (sqrt (* n t)) (sqrt (* 2.0 U)))))
                                    l_m = fabs(l);
                                    double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                                    	double tmp;
                                    	if (U <= -5e-310) {
                                    		tmp = sqrt(((U * (2.0 * n)) * t));
                                    	} else {
                                    		tmp = sqrt((n * t)) * sqrt((2.0 * U));
                                    	}
                                    	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 (u <= (-5d-310)) then
                                            tmp = sqrt(((u * (2.0d0 * n)) * t))
                                        else
                                            tmp = sqrt((n * t)) * sqrt((2.0d0 * u))
                                        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 (U <= -5e-310) {
                                    		tmp = Math.sqrt(((U * (2.0 * n)) * t));
                                    	} else {
                                    		tmp = Math.sqrt((n * t)) * Math.sqrt((2.0 * U));
                                    	}
                                    	return tmp;
                                    }
                                    
                                    l_m = math.fabs(l)
                                    def code(n, U, t, l_m, Om, U_42_):
                                    	tmp = 0
                                    	if U <= -5e-310:
                                    		tmp = math.sqrt(((U * (2.0 * n)) * t))
                                    	else:
                                    		tmp = math.sqrt((n * t)) * math.sqrt((2.0 * U))
                                    	return tmp
                                    
                                    l_m = abs(l)
                                    function code(n, U, t, l_m, Om, U_42_)
                                    	tmp = 0.0
                                    	if (U <= -5e-310)
                                    		tmp = sqrt(Float64(Float64(U * Float64(2.0 * n)) * t));
                                    	else
                                    		tmp = Float64(sqrt(Float64(n * t)) * sqrt(Float64(2.0 * U)));
                                    	end
                                    	return tmp
                                    end
                                    
                                    l_m = abs(l);
                                    function tmp_2 = code(n, U, t, l_m, Om, U_42_)
                                    	tmp = 0.0;
                                    	if (U <= -5e-310)
                                    		tmp = sqrt(((U * (2.0 * n)) * t));
                                    	else
                                    		tmp = sqrt((n * t)) * sqrt((2.0 * U));
                                    	end
                                    	tmp_2 = tmp;
                                    end
                                    
                                    l_m = N[Abs[l], $MachinePrecision]
                                    code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[U, -5e-310], N[Sqrt[N[(N[(U * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(n * t), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(2.0 * U), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]
                                    
                                    \begin{array}{l}
                                    l_m = \left|\ell\right|
                                    
                                    \\
                                    \begin{array}{l}
                                    \mathbf{if}\;U \leq -5 \cdot 10^{-310}:\\
                                    \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\
                                    
                                    \mathbf{else}:\\
                                    \;\;\;\;\sqrt{n \cdot t} \cdot \sqrt{2 \cdot U}\\
                                    
                                    
                                    \end{array}
                                    \end{array}
                                    
                                    Derivation
                                    1. Split input into 2 regimes
                                    2. if U < -4.999999999999985e-310

                                      1. Initial program 49.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 t around inf

                                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]
                                      4. Step-by-step derivation
                                        1. Simplified31.5%

                                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{t}} \]

                                        if -4.999999999999985e-310 < U

                                        1. Initial program 53.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 t around inf

                                          \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot t\right)\right)}} \]
                                        4. Step-by-step derivation
                                          1. associate-*r*N/A

                                            \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]
                                          2. *-lowering-*.f64N/A

                                            \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]
                                          3. *-lowering-*.f64N/A

                                            \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right)} \cdot \left(n \cdot t\right)} \]
                                          4. *-lowering-*.f6435.6

                                            \[\leadsto \sqrt{\left(2 \cdot U\right) \cdot \color{blue}{\left(n \cdot t\right)}} \]
                                        5. Simplified35.6%

                                          \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]
                                        6. Step-by-step derivation
                                          1. pow1/2N/A

                                            \[\leadsto \color{blue}{{\left(\left(2 \cdot U\right) \cdot \left(n \cdot t\right)\right)}^{\frac{1}{2}}} \]
                                          2. *-commutativeN/A

                                            \[\leadsto {\color{blue}{\left(\left(n \cdot t\right) \cdot \left(2 \cdot U\right)\right)}}^{\frac{1}{2}} \]
                                          3. unpow-prod-downN/A

                                            \[\leadsto \color{blue}{{\left(n \cdot t\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot U\right)}^{\frac{1}{2}}} \]
                                          4. *-lowering-*.f64N/A

                                            \[\leadsto \color{blue}{{\left(n \cdot t\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot U\right)}^{\frac{1}{2}}} \]
                                          5. pow1/2N/A

                                            \[\leadsto \color{blue}{\sqrt{n \cdot t}} \cdot {\left(2 \cdot U\right)}^{\frac{1}{2}} \]
                                          6. sqrt-lowering-sqrt.f64N/A

                                            \[\leadsto \color{blue}{\sqrt{n \cdot t}} \cdot {\left(2 \cdot U\right)}^{\frac{1}{2}} \]
                                          7. *-lowering-*.f64N/A

                                            \[\leadsto \sqrt{\color{blue}{n \cdot t}} \cdot {\left(2 \cdot U\right)}^{\frac{1}{2}} \]
                                          8. pow1/2N/A

                                            \[\leadsto \sqrt{n \cdot t} \cdot \color{blue}{\sqrt{2 \cdot U}} \]
                                          9. sqrt-lowering-sqrt.f64N/A

                                            \[\leadsto \sqrt{n \cdot t} \cdot \color{blue}{\sqrt{2 \cdot U}} \]
                                          10. *-commutativeN/A

                                            \[\leadsto \sqrt{n \cdot t} \cdot \sqrt{\color{blue}{U \cdot 2}} \]
                                          11. *-lowering-*.f6443.1

                                            \[\leadsto \sqrt{n \cdot t} \cdot \sqrt{\color{blue}{U \cdot 2}} \]
                                        7. Applied egg-rr43.1%

                                          \[\leadsto \color{blue}{\sqrt{n \cdot t} \cdot \sqrt{U \cdot 2}} \]
                                      5. Recombined 2 regimes into one program.
                                      6. Final simplification37.1%

                                        \[\leadsto \begin{array}{l} \mathbf{if}\;U \leq -5 \cdot 10^{-310}:\\ \;\;\;\;\sqrt{\left(U \cdot \left(2 \cdot n\right)\right) \cdot t}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{n \cdot t} \cdot \sqrt{2 \cdot U}\\ \end{array} \]
                                      7. Add Preprocessing

                                      Alternative 28: 38.1% accurate, 4.2× speedup?

                                      \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;n \leq 3.5 \cdot 10^{-301}:\\ \;\;\;\;\sqrt{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \end{array} \end{array} \]
                                      l_m = (fabs.f64 l)
                                      (FPCore (n U t l_m Om U*)
                                       :precision binary64
                                       (if (<= n 3.5e-301)
                                         (sqrt (* (* 2.0 U) (* n t)))
                                         (* (sqrt (* 2.0 n)) (sqrt (* U t)))))
                                      l_m = fabs(l);
                                      double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                                      	double tmp;
                                      	if (n <= 3.5e-301) {
                                      		tmp = sqrt(((2.0 * U) * (n * t)));
                                      	} else {
                                      		tmp = sqrt((2.0 * n)) * sqrt((U * t));
                                      	}
                                      	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 (n <= 3.5d-301) then
                                              tmp = sqrt(((2.0d0 * u) * (n * t)))
                                          else
                                              tmp = sqrt((2.0d0 * n)) * sqrt((u * t))
                                          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 (n <= 3.5e-301) {
                                      		tmp = Math.sqrt(((2.0 * U) * (n * t)));
                                      	} else {
                                      		tmp = Math.sqrt((2.0 * n)) * Math.sqrt((U * t));
                                      	}
                                      	return tmp;
                                      }
                                      
                                      l_m = math.fabs(l)
                                      def code(n, U, t, l_m, Om, U_42_):
                                      	tmp = 0
                                      	if n <= 3.5e-301:
                                      		tmp = math.sqrt(((2.0 * U) * (n * t)))
                                      	else:
                                      		tmp = math.sqrt((2.0 * n)) * math.sqrt((U * t))
                                      	return tmp
                                      
                                      l_m = abs(l)
                                      function code(n, U, t, l_m, Om, U_42_)
                                      	tmp = 0.0
                                      	if (n <= 3.5e-301)
                                      		tmp = sqrt(Float64(Float64(2.0 * U) * Float64(n * t)));
                                      	else
                                      		tmp = Float64(sqrt(Float64(2.0 * n)) * sqrt(Float64(U * t)));
                                      	end
                                      	return tmp
                                      end
                                      
                                      l_m = abs(l);
                                      function tmp_2 = code(n, U, t, l_m, Om, U_42_)
                                      	tmp = 0.0;
                                      	if (n <= 3.5e-301)
                                      		tmp = sqrt(((2.0 * U) * (n * t)));
                                      	else
                                      		tmp = sqrt((2.0 * n)) * sqrt((U * t));
                                      	end
                                      	tmp_2 = tmp;
                                      end
                                      
                                      l_m = N[Abs[l], $MachinePrecision]
                                      code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[n, 3.5e-301], N[Sqrt[N[(N[(2.0 * U), $MachinePrecision] * N[(n * t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(2.0 * n), $MachinePrecision]], $MachinePrecision] * N[Sqrt[N[(U * t), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]]
                                      
                                      \begin{array}{l}
                                      l_m = \left|\ell\right|
                                      
                                      \\
                                      \begin{array}{l}
                                      \mathbf{if}\;n \leq 3.5 \cdot 10^{-301}:\\
                                      \;\;\;\;\sqrt{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}\\
                                      
                                      \mathbf{else}:\\
                                      \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\
                                      
                                      
                                      \end{array}
                                      \end{array}
                                      
                                      Derivation
                                      1. Split input into 2 regimes
                                      2. if n < 3.49999999999999992e-301

                                        1. Initial program 53.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 t around inf

                                          \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot t\right)\right)}} \]
                                        4. Step-by-step derivation
                                          1. associate-*r*N/A

                                            \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]
                                          2. *-lowering-*.f64N/A

                                            \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]
                                          3. *-lowering-*.f64N/A

                                            \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right)} \cdot \left(n \cdot t\right)} \]
                                          4. *-lowering-*.f6432.0

                                            \[\leadsto \sqrt{\left(2 \cdot U\right) \cdot \color{blue}{\left(n \cdot t\right)}} \]
                                        5. Simplified32.0%

                                          \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]

                                        if 3.49999999999999992e-301 < n

                                        1. Initial program 50.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. pow1/2N/A

                                            \[\leadsto \color{blue}{{\left(\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)\right)}^{\frac{1}{2}}} \]
                                          2. associate-*l*N/A

                                            \[\leadsto {\color{blue}{\left(\left(2 \cdot n\right) \cdot \left(U \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)\right)\right)}}^{\frac{1}{2}} \]
                                          3. *-commutativeN/A

                                            \[\leadsto {\color{blue}{\left(\left(U \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)\right) \cdot \left(2 \cdot n\right)\right)}}^{\frac{1}{2}} \]
                                          4. unpow-prod-downN/A

                                            \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
                                          5. *-lowering-*.f64N/A

                                            \[\leadsto \color{blue}{{\left(U \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)\right)}^{\frac{1}{2}} \cdot {\left(2 \cdot n\right)}^{\frac{1}{2}}} \]
                                        4. Applied egg-rr45.9%

                                          \[\leadsto \color{blue}{\sqrt{U \cdot \left(t - \mathsf{fma}\left(\frac{\ell \cdot \ell}{Om \cdot Om}, n \cdot \left(U - U*\right), \ell \cdot \left(\frac{\ell}{Om} \cdot 2\right)\right)\right)} \cdot \sqrt{2 \cdot n}} \]
                                        5. Taylor expanded in t around inf

                                          \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]
                                        6. Step-by-step derivation
                                          1. Simplified40.0%

                                            \[\leadsto \sqrt{U \cdot \color{blue}{t}} \cdot \sqrt{2 \cdot n} \]
                                        7. Recombined 2 regimes into one program.
                                        8. Final simplification36.5%

                                          \[\leadsto \begin{array}{l} \mathbf{if}\;n \leq 3.5 \cdot 10^{-301}:\\ \;\;\;\;\sqrt{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{2 \cdot n} \cdot \sqrt{U \cdot t}\\ \end{array} \]
                                        9. Add Preprocessing

                                        Alternative 29: 35.2% accurate, 6.8× speedup?

                                        \[\begin{array}{l} l_m = \left|\ell\right| \\ \sqrt{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)} \end{array} \]
                                        l_m = (fabs.f64 l)
                                        (FPCore (n U t l_m Om U*) :precision binary64 (sqrt (* (* 2.0 U) (* n t))))
                                        l_m = fabs(l);
                                        double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                                        	return sqrt(((2.0 * U) * (n * t)));
                                        }
                                        
                                        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(((2.0d0 * u) * (n * t)))
                                        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(((2.0 * U) * (n * t)));
                                        }
                                        
                                        l_m = math.fabs(l)
                                        def code(n, U, t, l_m, Om, U_42_):
                                        	return math.sqrt(((2.0 * U) * (n * t)))
                                        
                                        l_m = abs(l)
                                        function code(n, U, t, l_m, Om, U_42_)
                                        	return sqrt(Float64(Float64(2.0 * U) * Float64(n * t)))
                                        end
                                        
                                        l_m = abs(l);
                                        function tmp = code(n, U, t, l_m, Om, U_42_)
                                        	tmp = sqrt(((2.0 * U) * (n * t)));
                                        end
                                        
                                        l_m = N[Abs[l], $MachinePrecision]
                                        code[n_, U_, t_, l$95$m_, Om_, U$42$_] := N[Sqrt[N[(N[(2.0 * U), $MachinePrecision] * N[(n * t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]
                                        
                                        \begin{array}{l}
                                        l_m = \left|\ell\right|
                                        
                                        \\
                                        \sqrt{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}
                                        \end{array}
                                        
                                        Derivation
                                        1. Initial program 51.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. associate-*r*N/A

                                            \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]
                                          2. *-lowering-*.f64N/A

                                            \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]
                                          3. *-lowering-*.f64N/A

                                            \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right)} \cdot \left(n \cdot t\right)} \]
                                          4. *-lowering-*.f6432.0

                                            \[\leadsto \sqrt{\left(2 \cdot U\right) \cdot \color{blue}{\left(n \cdot t\right)}} \]
                                        5. Simplified32.0%

                                          \[\leadsto \sqrt{\color{blue}{\left(2 \cdot U\right) \cdot \left(n \cdot t\right)}} \]
                                        6. Add Preprocessing

                                        Reproduce

                                        ?
                                        herbie shell --seed 2024201 
                                        (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*))))))