Toniolo and Linder, Equation (13)

Percentage Accurate: 50.0% → 67.1%
Time: 16.9s
Alternatives: 28
Speedup: 2.4×

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 28 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: 50.0% accurate, 1.0× speedup?

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

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

Alternative 1: 67.1% accurate, 0.4× speedup?

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

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

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


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

    1. Initial program 8.1%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
    4. Applied rewrites8.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 \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
    5. Step-by-step derivation
      1. lift-fma.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    1. Initial program 98.1%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 2.00000000000000007e154 < (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.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
    4. Applied rewrites29.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 \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
    5. Step-by-step derivation
      1. lift-fma.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
    8. 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)} \]
    9. Step-by-step derivation
      1. lower-*.f64N/A

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

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

Alternative 2: 67.1% accurate, 0.4× speedup?

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

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

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


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

    1. Initial program 8.1%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
    4. Applied rewrites8.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 \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
    5. Step-by-step derivation
      1. lift-fma.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    1. Initial program 98.1%

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

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

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

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

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

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

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

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

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(\color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}} \cdot n\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
      10. 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)} \]
      11. 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)} \]
      12. 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)} \]
      13. lower-fma.f64N/A

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

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

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

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

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

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

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

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

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

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

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

    if 2.00000000000000007e154 < (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.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
    4. Applied rewrites29.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 \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
    5. Step-by-step derivation
      1. lift-fma.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
    8. 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)} \]
    9. Step-by-step derivation
      1. lower-*.f64N/A

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

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

Alternative 3: 64.3% accurate, 0.4× speedup?

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

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

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


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

    1. Initial program 8.1%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    1. Initial program 98.1%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 2.00000000000000007e154 < (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.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
    4. Applied rewrites29.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 \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
    5. Step-by-step derivation
      1. lift-fma.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
    8. 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)} \]
    9. Step-by-step derivation
      1. lower-*.f64N/A

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

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

Alternative 4: 53.5% accurate, 0.4× speedup?

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

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

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

\mathbf{else}:\\
\;\;\;\;\sqrt{\frac{l\_m}{Om} \cdot \left(\frac{\left(\left(\left(n \cdot n\right) \cdot l\_m\right) \cdot U*\right) \cdot U}{Om} \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*))))) < 0.0

    1. Initial program 8.1%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
    4. Applied rewrites8.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 \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
    5. Step-by-step derivation
      1. lift-fma.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    1. Initial program 98.1%

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

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

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

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

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

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

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

        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right)} \]
      7. lower-*.f6477.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)} \]
    5. Applied rewrites77.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.00000000000000007e154 < (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.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      Alternative 5: 62.6% accurate, 0.4× speedup?

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

        1. Initial program 7.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        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*)))) < +inf.0

        1. Initial program 78.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        if +inf.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 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. lift--.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      Alternative 6: 62.6% accurate, 0.4× speedup?

      \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \left(2 \cdot n\right) \cdot U\\ t_2 := t\_1 \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\ \mathbf{if}\;t\_2 \leq 0:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(\left(-l\_m\right) \cdot l\_m, \frac{\mathsf{fma}\left(\frac{n}{Om}, U - U*, 2\right)}{Om}, t\right) \cdot \left(2 \cdot n\right)} \cdot \sqrt{U}\\ \mathbf{elif}\;t\_2 \leq \infty:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(\frac{l\_m}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{l\_m}{Om}, -2 \cdot l\_m\right), t\right) \cdot t\_1}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{2 \cdot \frac{U \cdot \left(l\_m \cdot \left(n \cdot \mathsf{fma}\left(-2, l\_m, \frac{l\_m \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}{Om}}\\ \end{array} \end{array} \]
      l_m = (fabs.f64 l)
      (FPCore (n U t l_m Om U*)
       :precision binary64
       (let* ((t_1 (* (* 2.0 n) U))
              (t_2
               (*
                t_1
                (-
                 (- t (* 2.0 (/ (* l_m l_m) Om)))
                 (* (* n (pow (/ l_m Om) 2.0)) (- U U*))))))
         (if (<= t_2 0.0)
           (*
            (sqrt
             (*
              (fma (* (- l_m) l_m) (/ (fma (/ n Om) (- U U*) 2.0) Om) t)
              (* 2.0 n)))
            (sqrt U))
           (if (<= t_2 INFINITY)
             (sqrt
              (*
               (fma (/ l_m Om) (fma (* (- (- U U*)) n) (/ l_m Om) (* -2.0 l_m)) t)
               t_1))
             (sqrt
              (*
               2.0
               (/
                (* U (* l_m (* n (fma -2.0 l_m (/ (* l_m (* 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 = (2.0 * n) * U;
      	double t_2 = t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_)));
      	double tmp;
      	if (t_2 <= 0.0) {
      		tmp = sqrt((fma((-l_m * l_m), (fma((n / Om), (U - U_42_), 2.0) / Om), t) * (2.0 * n))) * sqrt(U);
      	} else if (t_2 <= ((double) INFINITY)) {
      		tmp = sqrt((fma((l_m / Om), fma((-(U - U_42_) * n), (l_m / Om), (-2.0 * l_m)), t) * t_1));
      	} else {
      		tmp = sqrt((2.0 * ((U * (l_m * (n * fma(-2.0, l_m, ((l_m * (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(Float64(2.0 * n) * U)
      	t_2 = Float64(t_1 * Float64(Float64(t - Float64(2.0 * Float64(Float64(l_m * l_m) / Om))) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_))))
      	tmp = 0.0
      	if (t_2 <= 0.0)
      		tmp = Float64(sqrt(Float64(fma(Float64(Float64(-l_m) * l_m), Float64(fma(Float64(n / Om), Float64(U - U_42_), 2.0) / Om), t) * Float64(2.0 * n))) * sqrt(U));
      	elseif (t_2 <= Inf)
      		tmp = sqrt(Float64(fma(Float64(l_m / Om), fma(Float64(Float64(-Float64(U - U_42_)) * n), Float64(l_m / Om), Float64(-2.0 * l_m)), t) * t_1));
      	else
      		tmp = sqrt(Float64(2.0 * Float64(Float64(U * Float64(l_m * Float64(n * fma(-2.0, l_m, Float64(Float64(l_m * Float64(n * Float64(U_42_ - U))) / 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[(2.0 * n), $MachinePrecision] * U), $MachinePrecision]}, Block[{t$95$2 = N[(t$95$1 * N[(N[(t - N[(2.0 * N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, 0.0], N[(N[Sqrt[N[(N[(N[((-l$95$m) * l$95$m), $MachinePrecision] * N[(N[(N[(n / Om), $MachinePrecision] * N[(U - U$42$), $MachinePrecision] + 2.0), $MachinePrecision] / Om), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[U], $MachinePrecision]), $MachinePrecision], If[LessEqual[t$95$2, Infinity], N[Sqrt[N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(N[((-N[(U - U$42$), $MachinePrecision]) * n), $MachinePrecision] * N[(l$95$m / Om), $MachinePrecision] + N[(-2.0 * l$95$m), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision] * t$95$1), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(2.0 * N[(N[(U * N[(l$95$m * N[(n * N[(-2.0 * l$95$m + N[(N[(l$95$m * N[(n * N[(U$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]]]]]
      
      \begin{array}{l}
      l_m = \left|\ell\right|
      
      \\
      \begin{array}{l}
      t_1 := \left(2 \cdot n\right) \cdot U\\
      t_2 := t\_1 \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\
      \mathbf{if}\;t\_2 \leq 0:\\
      \;\;\;\;\sqrt{\mathsf{fma}\left(\left(-l\_m\right) \cdot l\_m, \frac{\mathsf{fma}\left(\frac{n}{Om}, U - U*, 2\right)}{Om}, t\right) \cdot \left(2 \cdot n\right)} \cdot \sqrt{U}\\
      
      \mathbf{elif}\;t\_2 \leq \infty:\\
      \;\;\;\;\sqrt{\mathsf{fma}\left(\frac{l\_m}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{l\_m}{Om}, -2 \cdot l\_m\right), t\right) \cdot t\_1}\\
      
      \mathbf{else}:\\
      \;\;\;\;\sqrt{2 \cdot \frac{U \cdot \left(l\_m \cdot \left(n \cdot \mathsf{fma}\left(-2, l\_m, \frac{l\_m \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}{Om}}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))) < 0.0

        1. Initial program 7.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        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*)))) < +inf.0

        1. Initial program 78.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        if +inf.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 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. lift--.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      Alternative 7: 63.6% accurate, 0.4× speedup?

      \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \mathsf{fma}\left(\frac{l\_m}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{l\_m}{Om}, -2 \cdot l\_m\right), t\right)\\ t_2 := \left(2 \cdot n\right) \cdot U\\ t_3 := 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 0:\\ \;\;\;\;\sqrt{\left(t\_1 \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{elif}\;t\_3 \leq \infty:\\ \;\;\;\;\sqrt{t\_1 \cdot t\_2}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{2 \cdot \frac{U \cdot \left(l\_m \cdot \left(n \cdot \mathsf{fma}\left(-2, l\_m, \frac{l\_m \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}{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 Om) (fma (* (- (- U U*)) n) (/ l_m Om) (* -2.0 l_m)) t))
              (t_2 (* (* 2.0 n) U))
              (t_3
               (*
                t_2
                (-
                 (- t (* 2.0 (/ (* l_m l_m) Om)))
                 (* (* n (pow (/ l_m Om) 2.0)) (- U U*))))))
         (if (<= t_3 0.0)
           (sqrt (* (* t_1 (* 2.0 n)) U))
           (if (<= t_3 INFINITY)
             (sqrt (* t_1 t_2))
             (sqrt
              (*
               2.0
               (/
                (* U (* l_m (* n (fma -2.0 l_m (/ (* l_m (* 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 / Om), fma((-(U - U_42_) * n), (l_m / Om), (-2.0 * l_m)), t);
      	double t_2 = (2.0 * n) * U;
      	double t_3 = t_2 * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_)));
      	double tmp;
      	if (t_3 <= 0.0) {
      		tmp = sqrt(((t_1 * (2.0 * n)) * U));
      	} else if (t_3 <= ((double) INFINITY)) {
      		tmp = sqrt((t_1 * t_2));
      	} else {
      		tmp = sqrt((2.0 * ((U * (l_m * (n * fma(-2.0, l_m, ((l_m * (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(Float64(l_m / Om), fma(Float64(Float64(-Float64(U - U_42_)) * n), Float64(l_m / Om), Float64(-2.0 * l_m)), t)
      	t_2 = Float64(Float64(2.0 * n) * U)
      	t_3 = 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 - U_42_))))
      	tmp = 0.0
      	if (t_3 <= 0.0)
      		tmp = sqrt(Float64(Float64(t_1 * Float64(2.0 * n)) * U));
      	elseif (t_3 <= Inf)
      		tmp = sqrt(Float64(t_1 * t_2));
      	else
      		tmp = sqrt(Float64(2.0 * Float64(Float64(U * Float64(l_m * Float64(n * fma(-2.0, l_m, Float64(Float64(l_m * Float64(n * Float64(U_42_ - U))) / 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 / Om), $MachinePrecision] * N[(N[((-N[(U - U$42$), $MachinePrecision]) * n), $MachinePrecision] * N[(l$95$m / Om), $MachinePrecision] + N[(-2.0 * l$95$m), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]}, Block[{t$95$2 = N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$2 * N[(N[(t - N[(2.0 * N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, 0.0], N[Sqrt[N[(N[(t$95$1 * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision], If[LessEqual[t$95$3, Infinity], N[Sqrt[N[(t$95$1 * t$95$2), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(2.0 * N[(N[(U * N[(l$95$m * N[(n * N[(-2.0 * l$95$m + N[(N[(l$95$m * N[(n * N[(U$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]]]]]]
      
      \begin{array}{l}
      l_m = \left|\ell\right|
      
      \\
      \begin{array}{l}
      t_1 := \mathsf{fma}\left(\frac{l\_m}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{l\_m}{Om}, -2 \cdot l\_m\right), t\right)\\
      t_2 := \left(2 \cdot n\right) \cdot U\\
      t_3 := 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 0:\\
      \;\;\;\;\sqrt{\left(t\_1 \cdot \left(2 \cdot n\right)\right) \cdot U}\\
      
      \mathbf{elif}\;t\_3 \leq \infty:\\
      \;\;\;\;\sqrt{t\_1 \cdot t\_2}\\
      
      \mathbf{else}:\\
      \;\;\;\;\sqrt{2 \cdot \frac{U \cdot \left(l\_m \cdot \left(n \cdot \mathsf{fma}\left(-2, l\_m, \frac{l\_m \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}{Om}}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))) < 0.0

        1. Initial program 7.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
        4. Applied rewrites15.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, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
        5. Step-by-step derivation
          1. lift-fma.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        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*)))) < +inf.0

        1. Initial program 78.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        if +inf.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 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. lift--.f64N/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      Alternative 8: 58.9% accurate, 0.4× speedup?

      \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \left(2 \cdot n\right) \cdot U\\ t_2 := t\_1 \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\ \mathbf{if}\;t\_2 \leq 10^{-259}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{l\_m}{Om}, -2 \cdot l\_m\right), t\right) \cdot U\right) \cdot \left(2 \cdot n\right)}\\ \mathbf{elif}\;t\_2 \leq \infty:\\ \;\;\;\;\sqrt{t\_1 \cdot \left(t - \frac{\left(l\_m \cdot l\_m\right) \cdot \mathsf{fma}\left(U - U*, \frac{n}{Om}, 2\right)}{Om}\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{2 \cdot \frac{U \cdot \left(l\_m \cdot \left(n \cdot \mathsf{fma}\left(-2, l\_m, \frac{l\_m \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}{Om}}\\ \end{array} \end{array} \]
      l_m = (fabs.f64 l)
      (FPCore (n U t l_m Om U*)
       :precision binary64
       (let* ((t_1 (* (* 2.0 n) U))
              (t_2
               (*
                t_1
                (-
                 (- t (* 2.0 (/ (* l_m l_m) Om)))
                 (* (* n (pow (/ l_m Om) 2.0)) (- U U*))))))
         (if (<= t_2 1e-259)
           (sqrt
            (*
             (*
              (fma (/ l_m Om) (fma (* (- (- U U*)) n) (/ l_m Om) (* -2.0 l_m)) t)
              U)
             (* 2.0 n)))
           (if (<= t_2 INFINITY)
             (sqrt (* t_1 (- t (/ (* (* l_m l_m) (fma (- U U*) (/ n Om) 2.0)) Om))))
             (sqrt
              (*
               2.0
               (/
                (* U (* l_m (* n (fma -2.0 l_m (/ (* l_m (* 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 = (2.0 * n) * U;
      	double t_2 = t_1 * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_)));
      	double tmp;
      	if (t_2 <= 1e-259) {
      		tmp = sqrt(((fma((l_m / Om), fma((-(U - U_42_) * n), (l_m / Om), (-2.0 * l_m)), t) * U) * (2.0 * n)));
      	} else if (t_2 <= ((double) INFINITY)) {
      		tmp = sqrt((t_1 * (t - (((l_m * l_m) * fma((U - U_42_), (n / Om), 2.0)) / Om))));
      	} else {
      		tmp = sqrt((2.0 * ((U * (l_m * (n * fma(-2.0, l_m, ((l_m * (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(Float64(2.0 * n) * U)
      	t_2 = Float64(t_1 * Float64(Float64(t - Float64(2.0 * Float64(Float64(l_m * l_m) / Om))) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_))))
      	tmp = 0.0
      	if (t_2 <= 1e-259)
      		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), fma(Float64(Float64(-Float64(U - U_42_)) * n), Float64(l_m / Om), Float64(-2.0 * l_m)), t) * U) * Float64(2.0 * n)));
      	elseif (t_2 <= Inf)
      		tmp = sqrt(Float64(t_1 * Float64(t - Float64(Float64(Float64(l_m * l_m) * fma(Float64(U - U_42_), Float64(n / Om), 2.0)) / Om))));
      	else
      		tmp = sqrt(Float64(2.0 * Float64(Float64(U * Float64(l_m * Float64(n * fma(-2.0, l_m, Float64(Float64(l_m * Float64(n * Float64(U_42_ - U))) / 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[(2.0 * n), $MachinePrecision] * U), $MachinePrecision]}, Block[{t$95$2 = N[(t$95$1 * N[(N[(t - N[(2.0 * N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$2, 1e-259], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(N[((-N[(U - U$42$), $MachinePrecision]) * n), $MachinePrecision] * N[(l$95$m / Om), $MachinePrecision] + N[(-2.0 * l$95$m), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision] * U), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], If[LessEqual[t$95$2, Infinity], N[Sqrt[N[(t$95$1 * N[(t - N[(N[(N[(l$95$m * l$95$m), $MachinePrecision] * N[(N[(U - U$42$), $MachinePrecision] * N[(n / Om), $MachinePrecision] + 2.0), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(2.0 * N[(N[(U * N[(l$95$m * N[(n * N[(-2.0 * l$95$m + N[(N[(l$95$m * N[(n * N[(U$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]]]]]
      
      \begin{array}{l}
      l_m = \left|\ell\right|
      
      \\
      \begin{array}{l}
      t_1 := \left(2 \cdot n\right) \cdot U\\
      t_2 := t\_1 \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\
      \mathbf{if}\;t\_2 \leq 10^{-259}:\\
      \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{l\_m}{Om}, -2 \cdot l\_m\right), t\right) \cdot U\right) \cdot \left(2 \cdot n\right)}\\
      
      \mathbf{elif}\;t\_2 \leq \infty:\\
      \;\;\;\;\sqrt{t\_1 \cdot \left(t - \frac{\left(l\_m \cdot l\_m\right) \cdot \mathsf{fma}\left(U - U*, \frac{n}{Om}, 2\right)}{Om}\right)}\\
      
      \mathbf{else}:\\
      \;\;\;\;\sqrt{2 \cdot \frac{U \cdot \left(l\_m \cdot \left(n \cdot \mathsf{fma}\left(-2, l\_m, \frac{l\_m \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}{Om}}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))) < 1.0000000000000001e-259

        1. Initial program 18.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        if 1.0000000000000001e-259 < (*.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 77.5%

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

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

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

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

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

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

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

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \color{blue}{\left(\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)}\right)} \]
          7. unpow2N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{\color{blue}{Om \cdot Om}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
          8. associate-/r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(\color{blue}{\frac{\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{Om}}{Om}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
          9. metadata-evalN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(\frac{\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{Om}}{Om} + \color{blue}{\left(\mathsf{neg}\left(-2\right)\right)} \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
          10. cancel-sign-sub-invN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \color{blue}{\left(\frac{\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{Om}}{Om} - -2 \cdot \frac{{\ell}^{2}}{Om}\right)}\right)} \]
          11. associate-*r/N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(\frac{\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{Om}}{Om} - \color{blue}{\frac{-2 \cdot {\ell}^{2}}{Om}}\right)\right)} \]
        5. Applied rewrites69.1%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - \frac{\left(\ell \cdot \ell\right) \cdot \mathsf{fma}\left(U - U*, \frac{n}{Om}, 2\right)}{Om}\right)}} \]

        if +inf.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 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. lift--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
          2. sub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
          3. +-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
          4. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. distribute-lft-neg-inN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. lift-pow.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. unpow2N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          10. associate-*r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          11. associate-*r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          12. lower-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          13. lower-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          14. lower-neg.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          15. lower-*.f641.0

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          16. lift--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
          17. sub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
        4. Applied rewrites1.0%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
        5. Step-by-step derivation
          1. lift-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
          2. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          3. lower-fma.f641.0

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
          4. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          6. lower-*.f641.0

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          7. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          8. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          9. lift-*.f641.0

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          10. lift-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
          11. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
          12. lower-fma.f641.0

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
          13. lift-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
          14. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
          15. associate-/l*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
          16. lift-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
          17. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
          18. lower-*.f643.6

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
        6. Applied rewrites3.6%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
        7. Applied rewrites40.8%

          \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
        8. Taylor expanded in t around 0

          \[\leadsto \sqrt{\color{blue}{2 \cdot \frac{U \cdot \left(\ell \cdot \left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}{Om}}} \]
        9. Step-by-step derivation
          1. lower-*.f64N/A

            \[\leadsto \sqrt{\color{blue}{2 \cdot \frac{U \cdot \left(\ell \cdot \left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}{Om}}} \]
          2. lower-/.f64N/A

            \[\leadsto \sqrt{2 \cdot \color{blue}{\frac{U \cdot \left(\ell \cdot \left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}{Om}}} \]
          3. lower-*.f64N/A

            \[\leadsto \sqrt{2 \cdot \frac{\color{blue}{U \cdot \left(\ell \cdot \left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}}{Om}} \]
          4. lower-*.f64N/A

            \[\leadsto \sqrt{2 \cdot \frac{U \cdot \color{blue}{\left(\ell \cdot \left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}}{Om}} \]
          5. lower-*.f64N/A

            \[\leadsto \sqrt{2 \cdot \frac{U \cdot \left(\ell \cdot \color{blue}{\left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)}\right)}{Om}} \]
          6. lower-fma.f64N/A

            \[\leadsto \sqrt{2 \cdot \frac{U \cdot \left(\ell \cdot \left(n \cdot \color{blue}{\mathsf{fma}\left(-2, \ell, \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)}\right)\right)}{Om}} \]
          7. lower-/.f64N/A

            \[\leadsto \sqrt{2 \cdot \frac{U \cdot \left(\ell \cdot \left(n \cdot \mathsf{fma}\left(-2, \ell, \color{blue}{\frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}}\right)\right)\right)}{Om}} \]
          8. lower-*.f64N/A

            \[\leadsto \sqrt{2 \cdot \frac{U \cdot \left(\ell \cdot \left(n \cdot \mathsf{fma}\left(-2, \ell, \frac{\color{blue}{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}}{Om}\right)\right)\right)}{Om}} \]
          9. lower-*.f64N/A

            \[\leadsto \sqrt{2 \cdot \frac{U \cdot \left(\ell \cdot \left(n \cdot \mathsf{fma}\left(-2, \ell, \frac{\ell \cdot \color{blue}{\left(n \cdot \left(U* - U\right)\right)}}{Om}\right)\right)\right)}{Om}} \]
          10. lower--.f6461.7

            \[\leadsto \sqrt{2 \cdot \frac{U \cdot \left(\ell \cdot \left(n \cdot \mathsf{fma}\left(-2, \ell, \frac{\ell \cdot \left(n \cdot \color{blue}{\left(U* - U\right)}\right)}{Om}\right)\right)\right)}{Om}} \]
        10. Applied rewrites61.7%

          \[\leadsto \sqrt{\color{blue}{2 \cdot \frac{U \cdot \left(\ell \cdot \left(n \cdot \mathsf{fma}\left(-2, \ell, \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}{Om}}} \]
      3. Recombined 3 regimes into one program.
      4. Add Preprocessing

      Alternative 9: 51.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 := \left(2 \cdot n\right) \cdot U\\ t_3 := t\_2 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\ \mathbf{if}\;t\_3 \leq 0:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, -2 \cdot l\_m, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{elif}\;t\_3 \leq \infty:\\ \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(\left(\left(\left(n \cdot \left(U - U*\right)\right) \cdot n\right) \cdot l\_m\right) \cdot \left(l\_m \cdot U\right)\right) \cdot \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 (* (* 2.0 n) U))
              (t_3
               (*
                t_2
                (- (- t (* 2.0 t_1)) (* (* n (pow (/ l_m Om) 2.0)) (- U U*))))))
         (if (<= t_3 0.0)
           (sqrt (* (* (fma (/ l_m Om) (* -2.0 l_m) t) (* 2.0 n)) U))
           (if (<= t_3 INFINITY)
             (sqrt (* t_2 (fma -2.0 t_1 t)))
             (sqrt
              (* (* (* (* (* n (- U U*)) n) l_m) (* l_m U)) (/ -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 = (2.0 * n) * U;
      	double t_3 = t_2 * ((t - (2.0 * t_1)) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_)));
      	double tmp;
      	if (t_3 <= 0.0) {
      		tmp = sqrt(((fma((l_m / Om), (-2.0 * l_m), t) * (2.0 * n)) * U));
      	} else if (t_3 <= ((double) INFINITY)) {
      		tmp = sqrt((t_2 * fma(-2.0, t_1, t)));
      	} else {
      		tmp = sqrt((((((n * (U - U_42_)) * n) * l_m) * (l_m * U)) * (-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(Float64(2.0 * n) * U)
      	t_3 = Float64(t_2 * Float64(Float64(t - Float64(2.0 * t_1)) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_))))
      	tmp = 0.0
      	if (t_3 <= 0.0)
      		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(-2.0 * l_m), t) * Float64(2.0 * n)) * U));
      	elseif (t_3 <= Inf)
      		tmp = sqrt(Float64(t_2 * fma(-2.0, t_1, t)));
      	else
      		tmp = sqrt(Float64(Float64(Float64(Float64(Float64(n * Float64(U - U_42_)) * n) * l_m) * Float64(l_m * U)) * 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[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$2 * N[(N[(t - N[(2.0 * t$95$1), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, 0.0], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(-2.0 * l$95$m), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $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[Sqrt[N[(N[(N[(N[(N[(n * N[(U - U$42$), $MachinePrecision]), $MachinePrecision] * n), $MachinePrecision] * l$95$m), $MachinePrecision] * N[(l$95$m * U), $MachinePrecision]), $MachinePrecision] * 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 := \left(2 \cdot n\right) \cdot U\\
      t_3 := t\_2 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\
      \mathbf{if}\;t\_3 \leq 0:\\
      \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, -2 \cdot l\_m, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
      
      \mathbf{elif}\;t\_3 \leq \infty:\\
      \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\
      
      \mathbf{else}:\\
      \;\;\;\;\sqrt{\left(\left(\left(\left(n \cdot \left(U - U*\right)\right) \cdot n\right) \cdot l\_m\right) \cdot \left(l\_m \cdot U\right)\right) \cdot \frac{-2}{Om \cdot Om}}\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 3 regimes
      2. if (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))) < 0.0

        1. Initial program 7.0%

          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
        2. Add Preprocessing
        3. Step-by-step derivation
          1. lift--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
          2. sub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
          3. +-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
          4. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          6. distribute-lft-neg-inN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          7. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          8. lift-pow.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          9. unpow2N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          10. associate-*r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          11. associate-*r*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
          12. lower-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
          13. lower-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          14. lower-neg.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          15. lower-*.f6415.4

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
          16. lift--.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
          17. sub-negN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
        4. Applied rewrites15.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, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
        5. Step-by-step derivation
          1. lift-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
          2. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          3. lower-fma.f6415.4

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
          4. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          5. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          6. lower-*.f6415.4

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          7. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          8. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          9. lift-*.f6415.4

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
          10. lift-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
          11. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
          12. lower-fma.f6415.4

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
          13. lift-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
          14. lift-*.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
          15. associate-/l*N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
          16. lift-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
          17. *-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
          18. lower-*.f6415.6

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
        6. Applied rewrites15.6%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
        7. Applied rewrites40.4%

          \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
        8. Taylor expanded in n around 0

          \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
        9. Step-by-step derivation
          1. lower-*.f6435.7

            \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
        10. Applied rewrites35.7%

          \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]

        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*)))) < +inf.0

        1. Initial program 78.2%

          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
        2. Add Preprocessing
        3. Taylor expanded in n around 0

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
        4. Step-by-step derivation
          1. cancel-sign-sub-invN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
          2. metadata-evalN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right)} \]
          3. +-commutativeN/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)}} \]
          4. lower-fma.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)}} \]
          5. lower-/.f64N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right)} \]
          6. unpow2N/A

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right)} \]
          7. lower-*.f6458.2

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right)} \]
        5. Applied rewrites58.2%

          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)}} \]

        if +inf.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 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 n around inf

          \[\leadsto \sqrt{\color{blue}{-2 \cdot \frac{U \cdot \left({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\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({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)\right)}{{Om}^{2}}}} \]
          2. *-commutativeN/A

            \[\leadsto \sqrt{\frac{\color{blue}{\left(U \cdot \left({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)\right) \cdot -2}}{{Om}^{2}}} \]
          3. associate-/l*N/A

            \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}}} \]
          4. lower-*.f64N/A

            \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}}} \]
          5. associate-*r*N/A

            \[\leadsto \sqrt{\color{blue}{\left(\left(U \cdot {\ell}^{2}\right) \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)} \cdot \frac{-2}{{Om}^{2}}} \]
          6. lower-*.f64N/A

            \[\leadsto \sqrt{\color{blue}{\left(\left(U \cdot {\ell}^{2}\right) \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)} \cdot \frac{-2}{{Om}^{2}}} \]
          7. *-commutativeN/A

            \[\leadsto \sqrt{\left(\color{blue}{\left({\ell}^{2} \cdot U\right)} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
          8. lower-*.f64N/A

            \[\leadsto \sqrt{\left(\color{blue}{\left({\ell}^{2} \cdot U\right)} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
          9. unpow2N/A

            \[\leadsto \sqrt{\left(\left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot U\right) \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
          10. lower-*.f64N/A

            \[\leadsto \sqrt{\left(\left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot U\right) \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
          11. lower-*.f64N/A

            \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \color{blue}{\left({n}^{2} \cdot \left(U - U*\right)\right)}\right) \cdot \frac{-2}{{Om}^{2}}} \]
          12. unpow2N/A

            \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\color{blue}{\left(n \cdot n\right)} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
          13. lower-*.f64N/A

            \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\color{blue}{\left(n \cdot n\right)} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
          14. lower--.f64N/A

            \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \color{blue}{\left(U - U*\right)}\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
          15. lower-/.f64N/A

            \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \left(U - U*\right)\right)\right) \cdot \color{blue}{\frac{-2}{{Om}^{2}}}} \]
          16. unpow2N/A

            \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{\color{blue}{Om \cdot Om}}} \]
          17. lower-*.f6427.1

            \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{\color{blue}{Om \cdot Om}}} \]
        5. Applied rewrites27.1%

          \[\leadsto \sqrt{\color{blue}{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{Om \cdot Om}}} \]
        6. Step-by-step derivation
          1. Applied rewrites30.2%

            \[\leadsto \sqrt{\left(\left(\left(\left(n \cdot \left(U - U*\right)\right) \cdot n\right) \cdot \ell\right) \cdot \left(\ell \cdot U\right)\right) \cdot \frac{\color{blue}{-2}}{Om \cdot Om}} \]
        7. Recombined 3 regimes into one program.
        8. Add Preprocessing

        Alternative 10: 51.1% accurate, 0.4× speedup?

        \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \frac{l\_m \cdot l\_m}{Om}\\ t_2 := \left(2 \cdot n\right) \cdot U\\ t_3 := t\_2 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\ \mathbf{if}\;t\_3 \leq 0:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, -2 \cdot l\_m, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{elif}\;t\_3 \leq 5 \cdot 10^{+264}:\\ \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(\left(l\_m \cdot \left(\frac{-2}{Om \cdot Om} \cdot U\right)\right) \cdot \left(\left(n \cdot \left(U - U*\right)\right) \cdot n\right)\right) \cdot l\_m}\\ \end{array} \end{array} \]
        l_m = (fabs.f64 l)
        (FPCore (n U t l_m Om U*)
         :precision binary64
         (let* ((t_1 (/ (* l_m l_m) Om))
                (t_2 (* (* 2.0 n) U))
                (t_3
                 (*
                  t_2
                  (- (- t (* 2.0 t_1)) (* (* n (pow (/ l_m Om) 2.0)) (- U U*))))))
           (if (<= t_3 0.0)
             (sqrt (* (* (fma (/ l_m Om) (* -2.0 l_m) t) (* 2.0 n)) U))
             (if (<= t_3 5e+264)
               (sqrt (* t_2 (fma -2.0 t_1 t)))
               (sqrt
                (* (* (* l_m (* (/ -2.0 (* Om Om)) U)) (* (* n (- U U*)) n)) l_m))))))
        l_m = fabs(l);
        double code(double n, double U, double t, double l_m, double Om, double U_42_) {
        	double t_1 = (l_m * l_m) / Om;
        	double t_2 = (2.0 * n) * U;
        	double t_3 = t_2 * ((t - (2.0 * t_1)) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_)));
        	double tmp;
        	if (t_3 <= 0.0) {
        		tmp = sqrt(((fma((l_m / Om), (-2.0 * l_m), t) * (2.0 * n)) * U));
        	} else if (t_3 <= 5e+264) {
        		tmp = sqrt((t_2 * fma(-2.0, t_1, t)));
        	} else {
        		tmp = sqrt((((l_m * ((-2.0 / (Om * Om)) * U)) * ((n * (U - U_42_)) * n)) * l_m));
        	}
        	return tmp;
        }
        
        l_m = abs(l)
        function code(n, U, t, l_m, Om, U_42_)
        	t_1 = Float64(Float64(l_m * l_m) / Om)
        	t_2 = Float64(Float64(2.0 * n) * U)
        	t_3 = Float64(t_2 * Float64(Float64(t - Float64(2.0 * t_1)) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_))))
        	tmp = 0.0
        	if (t_3 <= 0.0)
        		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(-2.0 * l_m), t) * Float64(2.0 * n)) * U));
        	elseif (t_3 <= 5e+264)
        		tmp = sqrt(Float64(t_2 * fma(-2.0, t_1, t)));
        	else
        		tmp = sqrt(Float64(Float64(Float64(l_m * Float64(Float64(-2.0 / Float64(Om * Om)) * U)) * Float64(Float64(n * Float64(U - U_42_)) * n)) * l_m));
        	end
        	return tmp
        end
        
        l_m = N[Abs[l], $MachinePrecision]
        code[n_, U_, t_, l$95$m_, Om_, U$42$_] := Block[{t$95$1 = N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]}, Block[{t$95$2 = N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$2 * N[(N[(t - N[(2.0 * t$95$1), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, 0.0], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(-2.0 * l$95$m), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision], If[LessEqual[t$95$3, 5e+264], N[Sqrt[N[(t$95$2 * N[(-2.0 * t$95$1 + t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(N[(l$95$m * N[(N[(-2.0 / N[(Om * Om), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]), $MachinePrecision] * N[(N[(n * N[(U - U$42$), $MachinePrecision]), $MachinePrecision] * n), $MachinePrecision]), $MachinePrecision] * l$95$m), $MachinePrecision]], $MachinePrecision]]]]]]
        
        \begin{array}{l}
        l_m = \left|\ell\right|
        
        \\
        \begin{array}{l}
        t_1 := \frac{l\_m \cdot l\_m}{Om}\\
        t_2 := \left(2 \cdot n\right) \cdot U\\
        t_3 := t\_2 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\
        \mathbf{if}\;t\_3 \leq 0:\\
        \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, -2 \cdot l\_m, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
        
        \mathbf{elif}\;t\_3 \leq 5 \cdot 10^{+264}:\\
        \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\
        
        \mathbf{else}:\\
        \;\;\;\;\sqrt{\left(\left(l\_m \cdot \left(\frac{-2}{Om \cdot Om} \cdot U\right)\right) \cdot \left(\left(n \cdot \left(U - U*\right)\right) \cdot n\right)\right) \cdot l\_m}\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 3 regimes
        2. if (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))) < 0.0

          1. Initial program 7.0%

            \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
          2. Add Preprocessing
          3. Step-by-step derivation
            1. lift--.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
            2. sub-negN/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
            3. +-commutativeN/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
            4. lift-*.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
            5. *-commutativeN/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
            6. distribute-lft-neg-inN/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
            7. lift-*.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
            8. lift-pow.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
            9. unpow2N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
            10. associate-*r*N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
            11. associate-*r*N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
            12. lower-fma.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
            13. lower-*.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
            14. lower-neg.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
            15. lower-*.f6415.4

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
            16. lift--.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
            17. sub-negN/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
          4. Applied rewrites15.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, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
          5. Step-by-step derivation
            1. lift-fma.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
            2. *-commutativeN/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
            3. lower-fma.f6415.4

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
            4. lift-*.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
            5. *-commutativeN/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
            6. lower-*.f6415.4

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
            7. lift-*.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
            8. *-commutativeN/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
            9. lift-*.f6415.4

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
            10. lift-fma.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
            11. *-commutativeN/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
            12. lower-fma.f6415.4

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
            13. lift-/.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
            14. lift-*.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
            15. associate-/l*N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
            16. lift-/.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
            17. *-commutativeN/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
            18. lower-*.f6415.6

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
          6. Applied rewrites15.6%

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
          7. Applied rewrites40.4%

            \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
          8. Taylor expanded in n around 0

            \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
          9. Step-by-step derivation
            1. lower-*.f6435.7

              \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
          10. Applied rewrites35.7%

            \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]

          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*)))) < 5.00000000000000033e264

          1. Initial program 98.1%

            \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
          2. Add Preprocessing
          3. Taylor expanded in n around 0

            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
          4. Step-by-step derivation
            1. cancel-sign-sub-invN/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
            2. metadata-evalN/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right)} \]
            3. +-commutativeN/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)}} \]
            4. lower-fma.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)}} \]
            5. lower-/.f64N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right)} \]
            6. unpow2N/A

              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right)} \]
            7. lower-*.f6477.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)} \]
          5. Applied rewrites77.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)}} \]

          if 5.00000000000000033e264 < (*.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 27.3%

            \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
          2. Add Preprocessing
          3. Taylor expanded in n around inf

            \[\leadsto \sqrt{\color{blue}{-2 \cdot \frac{U \cdot \left({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\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({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)\right)}{{Om}^{2}}}} \]
            2. *-commutativeN/A

              \[\leadsto \sqrt{\frac{\color{blue}{\left(U \cdot \left({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)\right) \cdot -2}}{{Om}^{2}}} \]
            3. associate-/l*N/A

              \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}}} \]
            4. lower-*.f64N/A

              \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}}} \]
            5. associate-*r*N/A

              \[\leadsto \sqrt{\color{blue}{\left(\left(U \cdot {\ell}^{2}\right) \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)} \cdot \frac{-2}{{Om}^{2}}} \]
            6. lower-*.f64N/A

              \[\leadsto \sqrt{\color{blue}{\left(\left(U \cdot {\ell}^{2}\right) \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)} \cdot \frac{-2}{{Om}^{2}}} \]
            7. *-commutativeN/A

              \[\leadsto \sqrt{\left(\color{blue}{\left({\ell}^{2} \cdot U\right)} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
            8. lower-*.f64N/A

              \[\leadsto \sqrt{\left(\color{blue}{\left({\ell}^{2} \cdot U\right)} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
            9. unpow2N/A

              \[\leadsto \sqrt{\left(\left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot U\right) \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
            10. lower-*.f64N/A

              \[\leadsto \sqrt{\left(\left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot U\right) \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
            11. lower-*.f64N/A

              \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \color{blue}{\left({n}^{2} \cdot \left(U - U*\right)\right)}\right) \cdot \frac{-2}{{Om}^{2}}} \]
            12. unpow2N/A

              \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\color{blue}{\left(n \cdot n\right)} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
            13. lower-*.f64N/A

              \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\color{blue}{\left(n \cdot n\right)} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
            14. lower--.f64N/A

              \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \color{blue}{\left(U - U*\right)}\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
            15. lower-/.f64N/A

              \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \left(U - U*\right)\right)\right) \cdot \color{blue}{\frac{-2}{{Om}^{2}}}} \]
            16. unpow2N/A

              \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{\color{blue}{Om \cdot Om}}} \]
            17. lower-*.f6429.2

              \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{\color{blue}{Om \cdot Om}}} \]
          5. Applied rewrites29.2%

            \[\leadsto \sqrt{\color{blue}{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{Om \cdot Om}}} \]
          6. Step-by-step derivation
            1. Applied rewrites32.3%

              \[\leadsto \sqrt{\left(\left(\left(\left(n \cdot \left(U - U*\right)\right) \cdot n\right) \cdot \left(\ell \cdot \ell\right)\right) \cdot U\right) \cdot \frac{\color{blue}{-2}}{Om \cdot Om}} \]
            2. Step-by-step derivation
              1. Applied rewrites33.0%

                \[\leadsto \sqrt{\left(\ell \cdot \ell\right) \cdot \color{blue}{\left(\left(\left(\left(U - U*\right) \cdot n\right) \cdot n\right) \cdot \left(\frac{-2}{Om \cdot Om} \cdot U\right)\right)}} \]
              2. Step-by-step derivation
                1. Applied rewrites34.7%

                  \[\leadsto \sqrt{\left(\left(\ell \cdot \left(\frac{-2}{Om \cdot Om} \cdot U\right)\right) \cdot \left(\left(n \cdot \left(U - U*\right)\right) \cdot n\right)\right) \cdot \color{blue}{\ell}} \]
              3. Recombined 3 regimes into one program.
              4. Add Preprocessing

              Alternative 11: 51.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 := \left(2 \cdot n\right) \cdot U\\ t_3 := t\_2 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\ \mathbf{if}\;t\_3 \leq 0:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, -2 \cdot l\_m, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{elif}\;t\_3 \leq \infty:\\ \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(\left(\left(-U*\right) \cdot \left(\left(n \cdot l\_m\right) \cdot \left(n \cdot l\_m\right)\right)\right) \cdot U\right) \cdot \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 (* (* 2.0 n) U))
                      (t_3
                       (*
                        t_2
                        (- (- t (* 2.0 t_1)) (* (* n (pow (/ l_m Om) 2.0)) (- U U*))))))
                 (if (<= t_3 0.0)
                   (sqrt (* (* (fma (/ l_m Om) (* -2.0 l_m) t) (* 2.0 n)) U))
                   (if (<= t_3 INFINITY)
                     (sqrt (* t_2 (fma -2.0 t_1 t)))
                     (sqrt
                      (* (* (* (- U*) (* (* n l_m) (* n l_m))) U) (/ -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 = (2.0 * n) * U;
              	double t_3 = t_2 * ((t - (2.0 * t_1)) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_)));
              	double tmp;
              	if (t_3 <= 0.0) {
              		tmp = sqrt(((fma((l_m / Om), (-2.0 * l_m), t) * (2.0 * n)) * U));
              	} else if (t_3 <= ((double) INFINITY)) {
              		tmp = sqrt((t_2 * fma(-2.0, t_1, t)));
              	} else {
              		tmp = sqrt((((-U_42_ * ((n * l_m) * (n * l_m))) * U) * (-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(Float64(2.0 * n) * U)
              	t_3 = Float64(t_2 * Float64(Float64(t - Float64(2.0 * t_1)) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_))))
              	tmp = 0.0
              	if (t_3 <= 0.0)
              		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(-2.0 * l_m), t) * Float64(2.0 * n)) * U));
              	elseif (t_3 <= Inf)
              		tmp = sqrt(Float64(t_2 * fma(-2.0, t_1, t)));
              	else
              		tmp = sqrt(Float64(Float64(Float64(Float64(-U_42_) * Float64(Float64(n * l_m) * Float64(n * l_m))) * U) * 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[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$2 * N[(N[(t - N[(2.0 * t$95$1), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, 0.0], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(-2.0 * l$95$m), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $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[Sqrt[N[(N[(N[((-U$42$) * N[(N[(n * l$95$m), $MachinePrecision] * N[(n * l$95$m), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision] * 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 := \left(2 \cdot n\right) \cdot U\\
              t_3 := t\_2 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\
              \mathbf{if}\;t\_3 \leq 0:\\
              \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, -2 \cdot l\_m, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
              
              \mathbf{elif}\;t\_3 \leq \infty:\\
              \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\
              
              \mathbf{else}:\\
              \;\;\;\;\sqrt{\left(\left(\left(-U*\right) \cdot \left(\left(n \cdot l\_m\right) \cdot \left(n \cdot l\_m\right)\right)\right) \cdot U\right) \cdot \frac{-2}{Om \cdot Om}}\\
              
              
              \end{array}
              \end{array}
              
              Derivation
              1. Split input into 3 regimes
              2. if (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))) < 0.0

                1. Initial program 7.0%

                  \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                2. Add Preprocessing
                3. Step-by-step derivation
                  1. lift--.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                  2. sub-negN/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                  3. +-commutativeN/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                  4. lift-*.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                  5. *-commutativeN/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                  6. distribute-lft-neg-inN/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                  7. lift-*.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                  8. lift-pow.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                  9. unpow2N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                  10. associate-*r*N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                  11. associate-*r*N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                  12. lower-fma.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                  13. lower-*.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                  14. lower-neg.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                  15. lower-*.f6415.4

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                  16. lift--.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                  17. sub-negN/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                4. Applied rewrites15.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, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                5. Step-by-step derivation
                  1. lift-fma.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                  2. *-commutativeN/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                  3. lower-fma.f6415.4

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                  4. lift-*.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                  5. *-commutativeN/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                  6. lower-*.f6415.4

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                  7. lift-*.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                  8. *-commutativeN/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                  9. lift-*.f6415.4

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                  10. lift-fma.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                  11. *-commutativeN/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                  12. lower-fma.f6415.4

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                  13. lift-/.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                  14. lift-*.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                  15. associate-/l*N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                  16. lift-/.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                  17. *-commutativeN/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                  18. lower-*.f6415.6

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                6. Applied rewrites15.6%

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                7. Applied rewrites40.4%

                  \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                8. Taylor expanded in n around 0

                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                9. Step-by-step derivation
                  1. lower-*.f6435.7

                    \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                10. Applied rewrites35.7%

                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]

                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*)))) < +inf.0

                1. Initial program 78.2%

                  \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                2. Add Preprocessing
                3. Taylor expanded in n around 0

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
                4. Step-by-step derivation
                  1. cancel-sign-sub-invN/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
                  2. metadata-evalN/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right)} \]
                  3. +-commutativeN/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)}} \]
                  4. lower-fma.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)}} \]
                  5. lower-/.f64N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right)} \]
                  6. unpow2N/A

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right)} \]
                  7. lower-*.f6458.2

                    \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right)} \]
                5. Applied rewrites58.2%

                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)}} \]

                if +inf.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 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 n around inf

                  \[\leadsto \sqrt{\color{blue}{-2 \cdot \frac{U \cdot \left({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\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({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)\right)}{{Om}^{2}}}} \]
                  2. *-commutativeN/A

                    \[\leadsto \sqrt{\frac{\color{blue}{\left(U \cdot \left({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)\right) \cdot -2}}{{Om}^{2}}} \]
                  3. associate-/l*N/A

                    \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}}} \]
                  4. lower-*.f64N/A

                    \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}}} \]
                  5. associate-*r*N/A

                    \[\leadsto \sqrt{\color{blue}{\left(\left(U \cdot {\ell}^{2}\right) \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)} \cdot \frac{-2}{{Om}^{2}}} \]
                  6. lower-*.f64N/A

                    \[\leadsto \sqrt{\color{blue}{\left(\left(U \cdot {\ell}^{2}\right) \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)} \cdot \frac{-2}{{Om}^{2}}} \]
                  7. *-commutativeN/A

                    \[\leadsto \sqrt{\left(\color{blue}{\left({\ell}^{2} \cdot U\right)} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
                  8. lower-*.f64N/A

                    \[\leadsto \sqrt{\left(\color{blue}{\left({\ell}^{2} \cdot U\right)} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
                  9. unpow2N/A

                    \[\leadsto \sqrt{\left(\left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot U\right) \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
                  10. lower-*.f64N/A

                    \[\leadsto \sqrt{\left(\left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot U\right) \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
                  11. lower-*.f64N/A

                    \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \color{blue}{\left({n}^{2} \cdot \left(U - U*\right)\right)}\right) \cdot \frac{-2}{{Om}^{2}}} \]
                  12. unpow2N/A

                    \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\color{blue}{\left(n \cdot n\right)} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
                  13. lower-*.f64N/A

                    \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\color{blue}{\left(n \cdot n\right)} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
                  14. lower--.f64N/A

                    \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \color{blue}{\left(U - U*\right)}\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
                  15. lower-/.f64N/A

                    \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \left(U - U*\right)\right)\right) \cdot \color{blue}{\frac{-2}{{Om}^{2}}}} \]
                  16. unpow2N/A

                    \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{\color{blue}{Om \cdot Om}}} \]
                  17. lower-*.f6427.1

                    \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{\color{blue}{Om \cdot Om}}} \]
                5. Applied rewrites27.1%

                  \[\leadsto \sqrt{\color{blue}{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{Om \cdot Om}}} \]
                6. Step-by-step derivation
                  1. Applied rewrites27.5%

                    \[\leadsto \sqrt{\left(\left(\left(\left(n \cdot \left(U - U*\right)\right) \cdot n\right) \cdot \left(\ell \cdot \ell\right)\right) \cdot U\right) \cdot \frac{\color{blue}{-2}}{Om \cdot Om}} \]
                  2. Taylor expanded in U around 0

                    \[\leadsto \sqrt{\left(\left(-1 \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)\right) \cdot U\right) \cdot \frac{-2}{Om \cdot Om}} \]
                  3. Step-by-step derivation
                    1. Applied rewrites28.5%

                      \[\leadsto \sqrt{\left(\left(\left(-U*\right) \cdot \left(\left(n \cdot \ell\right) \cdot \left(n \cdot \ell\right)\right)\right) \cdot U\right) \cdot \frac{-2}{Om \cdot Om}} \]
                  4. Recombined 3 regimes into one program.
                  5. Add Preprocessing

                  Alternative 12: 51.2% accurate, 0.4× speedup?

                  \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} t_1 := \frac{l\_m \cdot l\_m}{Om}\\ t_2 := \left(2 \cdot n\right) \cdot U\\ t_3 := t\_2 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\ \mathbf{if}\;t\_3 \leq 0:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, -2 \cdot l\_m, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{elif}\;t\_3 \leq \infty:\\ \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{t\_2 \cdot \frac{\left(\left(l\_m \cdot l\_m\right) \cdot n\right) \cdot U*}{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 (* (* 2.0 n) U))
                          (t_3
                           (*
                            t_2
                            (- (- t (* 2.0 t_1)) (* (* n (pow (/ l_m Om) 2.0)) (- U U*))))))
                     (if (<= t_3 0.0)
                       (sqrt (* (* (fma (/ l_m Om) (* -2.0 l_m) t) (* 2.0 n)) U))
                       (if (<= t_3 INFINITY)
                         (sqrt (* t_2 (fma -2.0 t_1 t)))
                         (sqrt (* t_2 (/ (* (* (* l_m l_m) n) 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 = (l_m * l_m) / Om;
                  	double t_2 = (2.0 * n) * U;
                  	double t_3 = t_2 * ((t - (2.0 * t_1)) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_)));
                  	double tmp;
                  	if (t_3 <= 0.0) {
                  		tmp = sqrt(((fma((l_m / Om), (-2.0 * l_m), t) * (2.0 * n)) * U));
                  	} else if (t_3 <= ((double) INFINITY)) {
                  		tmp = sqrt((t_2 * fma(-2.0, t_1, t)));
                  	} else {
                  		tmp = sqrt((t_2 * ((((l_m * l_m) * n) * U_42_) / (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(Float64(2.0 * n) * U)
                  	t_3 = Float64(t_2 * Float64(Float64(t - Float64(2.0 * t_1)) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_))))
                  	tmp = 0.0
                  	if (t_3 <= 0.0)
                  		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(-2.0 * l_m), t) * Float64(2.0 * n)) * U));
                  	elseif (t_3 <= Inf)
                  		tmp = sqrt(Float64(t_2 * fma(-2.0, t_1, t)));
                  	else
                  		tmp = sqrt(Float64(t_2 * Float64(Float64(Float64(Float64(l_m * l_m) * n) * U_42_) / 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[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$2 * N[(N[(t - N[(2.0 * t$95$1), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, 0.0], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(-2.0 * l$95$m), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $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[Sqrt[N[(t$95$2 * N[(N[(N[(N[(l$95$m * l$95$m), $MachinePrecision] * n), $MachinePrecision] * U$42$), $MachinePrecision] / 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 := \left(2 \cdot n\right) \cdot U\\
                  t_3 := t\_2 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\
                  \mathbf{if}\;t\_3 \leq 0:\\
                  \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, -2 \cdot l\_m, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                  
                  \mathbf{elif}\;t\_3 \leq \infty:\\
                  \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\
                  
                  \mathbf{else}:\\
                  \;\;\;\;\sqrt{t\_2 \cdot \frac{\left(\left(l\_m \cdot l\_m\right) \cdot n\right) \cdot U*}{Om \cdot Om}}\\
                  
                  
                  \end{array}
                  \end{array}
                  
                  Derivation
                  1. Split input into 3 regimes
                  2. if (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))) < 0.0

                    1. Initial program 7.0%

                      \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                    2. Add Preprocessing
                    3. Step-by-step derivation
                      1. lift--.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                      2. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                      3. +-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                      4. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      5. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      6. distribute-lft-neg-inN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      7. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      8. lift-pow.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      9. unpow2N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      10. associate-*r*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      11. associate-*r*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      12. lower-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                      13. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      14. lower-neg.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      15. lower-*.f6415.4

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      16. lift--.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                      17. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                    4. Applied rewrites15.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, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                    5. Step-by-step derivation
                      1. lift-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      2. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      3. lower-fma.f6415.4

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      4. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      5. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      6. lower-*.f6415.4

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      7. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      8. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      9. lift-*.f6415.4

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      10. lift-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                      11. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                      12. lower-fma.f6415.4

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                      13. lift-/.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                      14. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                      15. associate-/l*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                      16. lift-/.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                      17. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                      18. lower-*.f6415.6

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                    6. Applied rewrites15.6%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                    7. Applied rewrites40.4%

                      \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                    8. Taylor expanded in n around 0

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    9. Step-by-step derivation
                      1. lower-*.f6435.7

                        \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    10. Applied rewrites35.7%

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]

                    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*)))) < +inf.0

                    1. Initial program 78.2%

                      \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                    2. Add Preprocessing
                    3. Taylor expanded in n around 0

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
                    4. Step-by-step derivation
                      1. cancel-sign-sub-invN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
                      2. metadata-evalN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right)} \]
                      3. +-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)}} \]
                      4. lower-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)}} \]
                      5. lower-/.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right)} \]
                      6. unpow2N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right)} \]
                      7. lower-*.f6458.2

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right)} \]
                    5. Applied rewrites58.2%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)}} \]

                    if +inf.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 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. lift--.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                      2. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                      3. +-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                      4. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      5. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      6. distribute-lft-neg-inN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      7. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      8. lift-pow.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      9. unpow2N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      10. associate-*r*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      11. associate-*r*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      12. lower-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                      13. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      14. lower-neg.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      15. lower-*.f641.0

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      16. lift--.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                      17. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                    4. Applied rewrites1.0%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                    5. Taylor expanded in U* around inf

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\frac{U* \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}}} \]
                    6. Step-by-step derivation
                      1. lower-/.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\frac{U* \cdot \left({\ell}^{2} \cdot n\right)}{{Om}^{2}}}} \]
                      2. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \frac{\color{blue}{\left({\ell}^{2} \cdot n\right) \cdot U*}}{{Om}^{2}}} \]
                      3. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \frac{\color{blue}{\left({\ell}^{2} \cdot n\right) \cdot U*}}{{Om}^{2}}} \]
                      4. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \frac{\color{blue}{\left({\ell}^{2} \cdot n\right)} \cdot U*}{{Om}^{2}}} \]
                      5. unpow2N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \frac{\left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot n\right) \cdot U*}{{Om}^{2}}} \]
                      6. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \frac{\left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot n\right) \cdot U*}{{Om}^{2}}} \]
                      7. unpow2N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \frac{\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot U*}{\color{blue}{Om \cdot Om}}} \]
                      8. lower-*.f6427.5

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \frac{\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot U*}{\color{blue}{Om \cdot Om}}} \]
                    7. Applied rewrites27.5%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\frac{\left(\left(\ell \cdot \ell\right) \cdot n\right) \cdot U*}{Om \cdot Om}}} \]
                  3. Recombined 3 regimes into one program.
                  4. Add Preprocessing

                  Alternative 13: 51.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 := \left(2 \cdot n\right) \cdot U\\ t_3 := t\_2 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\ \mathbf{if}\;t\_3 \leq 0:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, -2 \cdot l\_m, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{elif}\;t\_3 \leq \infty:\\ \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\frac{\left(U* \cdot U\right) \cdot \left(\left(l\_m \cdot n\right) \cdot \left(l\_m \cdot n\right)\right)}{Om \cdot Om} \cdot 2}\\ \end{array} \end{array} \]
                  l_m = (fabs.f64 l)
                  (FPCore (n U t l_m Om U*)
                   :precision binary64
                   (let* ((t_1 (/ (* l_m l_m) Om))
                          (t_2 (* (* 2.0 n) U))
                          (t_3
                           (*
                            t_2
                            (- (- t (* 2.0 t_1)) (* (* n (pow (/ l_m Om) 2.0)) (- U U*))))))
                     (if (<= t_3 0.0)
                       (sqrt (* (* (fma (/ l_m Om) (* -2.0 l_m) t) (* 2.0 n)) U))
                       (if (<= t_3 INFINITY)
                         (sqrt (* t_2 (fma -2.0 t_1 t)))
                         (sqrt (* (/ (* (* U* U) (* (* l_m n) (* l_m n))) (* Om Om)) 2.0))))))
                  l_m = fabs(l);
                  double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                  	double t_1 = (l_m * l_m) / Om;
                  	double t_2 = (2.0 * n) * U;
                  	double t_3 = t_2 * ((t - (2.0 * t_1)) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_)));
                  	double tmp;
                  	if (t_3 <= 0.0) {
                  		tmp = sqrt(((fma((l_m / Om), (-2.0 * l_m), t) * (2.0 * n)) * U));
                  	} else if (t_3 <= ((double) INFINITY)) {
                  		tmp = sqrt((t_2 * fma(-2.0, t_1, t)));
                  	} else {
                  		tmp = sqrt(((((U_42_ * U) * ((l_m * n) * (l_m * n))) / (Om * Om)) * 2.0));
                  	}
                  	return tmp;
                  }
                  
                  l_m = abs(l)
                  function code(n, U, t, l_m, Om, U_42_)
                  	t_1 = Float64(Float64(l_m * l_m) / Om)
                  	t_2 = Float64(Float64(2.0 * n) * U)
                  	t_3 = Float64(t_2 * Float64(Float64(t - Float64(2.0 * t_1)) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_))))
                  	tmp = 0.0
                  	if (t_3 <= 0.0)
                  		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(-2.0 * l_m), t) * Float64(2.0 * n)) * U));
                  	elseif (t_3 <= Inf)
                  		tmp = sqrt(Float64(t_2 * fma(-2.0, t_1, t)));
                  	else
                  		tmp = sqrt(Float64(Float64(Float64(Float64(U_42_ * U) * Float64(Float64(l_m * n) * Float64(l_m * n))) / Float64(Om * Om)) * 2.0));
                  	end
                  	return tmp
                  end
                  
                  l_m = N[Abs[l], $MachinePrecision]
                  code[n_, U_, t_, l$95$m_, Om_, U$42$_] := Block[{t$95$1 = N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]}, Block[{t$95$2 = N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision]}, Block[{t$95$3 = N[(t$95$2 * N[(N[(t - N[(2.0 * t$95$1), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$3, 0.0], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(-2.0 * l$95$m), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $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[Sqrt[N[(N[(N[(N[(U$42$ * U), $MachinePrecision] * N[(N[(l$95$m * n), $MachinePrecision] * N[(l$95$m * n), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(Om * Om), $MachinePrecision]), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision]]]]]]
                  
                  \begin{array}{l}
                  l_m = \left|\ell\right|
                  
                  \\
                  \begin{array}{l}
                  t_1 := \frac{l\_m \cdot l\_m}{Om}\\
                  t_2 := \left(2 \cdot n\right) \cdot U\\
                  t_3 := t\_2 \cdot \left(\left(t - 2 \cdot t\_1\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\\
                  \mathbf{if}\;t\_3 \leq 0:\\
                  \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, -2 \cdot l\_m, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                  
                  \mathbf{elif}\;t\_3 \leq \infty:\\
                  \;\;\;\;\sqrt{t\_2 \cdot \mathsf{fma}\left(-2, t\_1, t\right)}\\
                  
                  \mathbf{else}:\\
                  \;\;\;\;\sqrt{\frac{\left(U* \cdot U\right) \cdot \left(\left(l\_m \cdot n\right) \cdot \left(l\_m \cdot n\right)\right)}{Om \cdot Om} \cdot 2}\\
                  
                  
                  \end{array}
                  \end{array}
                  
                  Derivation
                  1. Split input into 3 regimes
                  2. if (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))) < 0.0

                    1. Initial program 7.0%

                      \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                    2. Add Preprocessing
                    3. Step-by-step derivation
                      1. lift--.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                      2. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                      3. +-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                      4. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      5. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      6. distribute-lft-neg-inN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      7. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      8. lift-pow.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      9. unpow2N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      10. associate-*r*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      11. associate-*r*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                      12. lower-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                      13. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      14. lower-neg.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      15. lower-*.f6415.4

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                      16. lift--.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                      17. sub-negN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                    4. Applied rewrites15.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, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                    5. Step-by-step derivation
                      1. lift-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      2. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      3. lower-fma.f6415.4

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      4. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      5. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      6. lower-*.f6415.4

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      7. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      8. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      9. lift-*.f6415.4

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                      10. lift-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                      11. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                      12. lower-fma.f6415.4

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                      13. lift-/.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                      14. lift-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                      15. associate-/l*N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                      16. lift-/.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                      17. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                      18. lower-*.f6415.6

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                    6. Applied rewrites15.6%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                    7. Applied rewrites40.4%

                      \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                    8. Taylor expanded in n around 0

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    9. Step-by-step derivation
                      1. lower-*.f6435.7

                        \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                    10. Applied rewrites35.7%

                      \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]

                    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*)))) < +inf.0

                    1. Initial program 78.2%

                      \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                    2. Add Preprocessing
                    3. Taylor expanded in n around 0

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
                    4. Step-by-step derivation
                      1. cancel-sign-sub-invN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
                      2. metadata-evalN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right)} \]
                      3. +-commutativeN/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)}} \]
                      4. lower-fma.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)}} \]
                      5. lower-/.f64N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right)} \]
                      6. unpow2N/A

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right)} \]
                      7. lower-*.f6458.2

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right)} \]
                    5. Applied rewrites58.2%

                      \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)}} \]

                    if +inf.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 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 n around inf

                      \[\leadsto \sqrt{\color{blue}{-2 \cdot \frac{U \cdot \left({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\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({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)\right)}{{Om}^{2}}}} \]
                      2. *-commutativeN/A

                        \[\leadsto \sqrt{\frac{\color{blue}{\left(U \cdot \left({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)\right) \cdot -2}}{{Om}^{2}}} \]
                      3. associate-/l*N/A

                        \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}}} \]
                      4. lower-*.f64N/A

                        \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left({\ell}^{2} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}}} \]
                      5. associate-*r*N/A

                        \[\leadsto \sqrt{\color{blue}{\left(\left(U \cdot {\ell}^{2}\right) \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)} \cdot \frac{-2}{{Om}^{2}}} \]
                      6. lower-*.f64N/A

                        \[\leadsto \sqrt{\color{blue}{\left(\left(U \cdot {\ell}^{2}\right) \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right)} \cdot \frac{-2}{{Om}^{2}}} \]
                      7. *-commutativeN/A

                        \[\leadsto \sqrt{\left(\color{blue}{\left({\ell}^{2} \cdot U\right)} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
                      8. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\color{blue}{\left({\ell}^{2} \cdot U\right)} \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
                      9. unpow2N/A

                        \[\leadsto \sqrt{\left(\left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot U\right) \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
                      10. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(\color{blue}{\left(\ell \cdot \ell\right)} \cdot U\right) \cdot \left({n}^{2} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
                      11. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \color{blue}{\left({n}^{2} \cdot \left(U - U*\right)\right)}\right) \cdot \frac{-2}{{Om}^{2}}} \]
                      12. unpow2N/A

                        \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\color{blue}{\left(n \cdot n\right)} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
                      13. lower-*.f64N/A

                        \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\color{blue}{\left(n \cdot n\right)} \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
                      14. lower--.f64N/A

                        \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \color{blue}{\left(U - U*\right)}\right)\right) \cdot \frac{-2}{{Om}^{2}}} \]
                      15. lower-/.f64N/A

                        \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \left(U - U*\right)\right)\right) \cdot \color{blue}{\frac{-2}{{Om}^{2}}}} \]
                      16. unpow2N/A

                        \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{\color{blue}{Om \cdot Om}}} \]
                      17. lower-*.f6427.1

                        \[\leadsto \sqrt{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{\color{blue}{Om \cdot Om}}} \]
                    5. Applied rewrites27.1%

                      \[\leadsto \sqrt{\color{blue}{\left(\left(\left(\ell \cdot \ell\right) \cdot U\right) \cdot \left(\left(n \cdot n\right) \cdot \left(U - U*\right)\right)\right) \cdot \frac{-2}{Om \cdot Om}}} \]
                    6. Taylor expanded in U around 0

                      \[\leadsto \sqrt{2 \cdot \color{blue}{\frac{U \cdot \left(U* \cdot \left({\ell}^{2} \cdot {n}^{2}\right)\right)}{{Om}^{2}}}} \]
                    7. Step-by-step derivation
                      1. Applied rewrites25.9%

                        \[\leadsto \sqrt{\frac{\left(U* \cdot U\right) \cdot \left(\left(\ell \cdot n\right) \cdot \left(\ell \cdot n\right)\right)}{Om \cdot Om} \cdot \color{blue}{2}} \]
                    8. Recombined 3 regimes into one program.
                    9. Add Preprocessing

                    Alternative 14: 38.1% accurate, 0.8× speedup?

                    \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \leq 0:\\ \;\;\;\;\left(\sqrt{U \cdot t} \cdot \sqrt{2}\right) \cdot \sqrt{n}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(U \cdot n\right) \cdot t} \cdot \sqrt{2}\\ \end{array} \end{array} \]
                    l_m = (fabs.f64 l)
                    (FPCore (n U t l_m Om U*)
                     :precision binary64
                     (if (<=
                          (sqrt
                           (*
                            (* (* 2.0 n) U)
                            (-
                             (- t (* 2.0 (/ (* l_m l_m) Om)))
                             (* (* n (pow (/ l_m Om) 2.0)) (- U U*)))))
                          0.0)
                       (* (* (sqrt (* U t)) (sqrt 2.0)) (sqrt n))
                       (* (sqrt (* (* U n) t)) (sqrt 2.0))))
                    l_m = fabs(l);
                    double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                    	double tmp;
                    	if (sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_))))) <= 0.0) {
                    		tmp = (sqrt((U * t)) * sqrt(2.0)) * sqrt(n);
                    	} else {
                    		tmp = sqrt(((U * n) * t)) * sqrt(2.0);
                    	}
                    	return tmp;
                    }
                    
                    l_m = abs(l)
                    real(8) function code(n, u, t, l_m, om, u_42)
                        real(8), intent (in) :: n
                        real(8), intent (in) :: u
                        real(8), intent (in) :: t
                        real(8), intent (in) :: l_m
                        real(8), intent (in) :: om
                        real(8), intent (in) :: u_42
                        real(8) :: tmp
                        if (sqrt((((2.0d0 * n) * u) * ((t - (2.0d0 * ((l_m * l_m) / om))) - ((n * ((l_m / om) ** 2.0d0)) * (u - u_42))))) <= 0.0d0) then
                            tmp = (sqrt((u * t)) * sqrt(2.0d0)) * sqrt(n)
                        else
                            tmp = sqrt(((u * n) * t)) * sqrt(2.0d0)
                        end if
                        code = tmp
                    end function
                    
                    l_m = Math.abs(l);
                    public static double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                    	double tmp;
                    	if (Math.sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * Math.pow((l_m / Om), 2.0)) * (U - U_42_))))) <= 0.0) {
                    		tmp = (Math.sqrt((U * t)) * Math.sqrt(2.0)) * Math.sqrt(n);
                    	} else {
                    		tmp = Math.sqrt(((U * n) * t)) * Math.sqrt(2.0);
                    	}
                    	return tmp;
                    }
                    
                    l_m = math.fabs(l)
                    def code(n, U, t, l_m, Om, U_42_):
                    	tmp = 0
                    	if math.sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * math.pow((l_m / Om), 2.0)) * (U - U_42_))))) <= 0.0:
                    		tmp = (math.sqrt((U * t)) * math.sqrt(2.0)) * math.sqrt(n)
                    	else:
                    		tmp = math.sqrt(((U * n) * t)) * math.sqrt(2.0)
                    	return tmp
                    
                    l_m = abs(l)
                    function code(n, U, t, l_m, Om, U_42_)
                    	tmp = 0.0
                    	if (sqrt(Float64(Float64(Float64(2.0 * n) * U) * Float64(Float64(t - Float64(2.0 * Float64(Float64(l_m * l_m) / Om))) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_))))) <= 0.0)
                    		tmp = Float64(Float64(sqrt(Float64(U * t)) * sqrt(2.0)) * sqrt(n));
                    	else
                    		tmp = Float64(sqrt(Float64(Float64(U * n) * t)) * sqrt(2.0));
                    	end
                    	return tmp
                    end
                    
                    l_m = abs(l);
                    function tmp_2 = code(n, U, t, l_m, Om, U_42_)
                    	tmp = 0.0;
                    	if (sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * ((l_m / Om) ^ 2.0)) * (U - U_42_))))) <= 0.0)
                    		tmp = (sqrt((U * t)) * sqrt(2.0)) * sqrt(n);
                    	else
                    		tmp = sqrt(((U * n) * t)) * sqrt(2.0);
                    	end
                    	tmp_2 = tmp;
                    end
                    
                    l_m = N[Abs[l], $MachinePrecision]
                    code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[N[Sqrt[N[(N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision] * N[(N[(t - N[(2.0 * N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], 0.0], N[(N[(N[Sqrt[N[(U * t), $MachinePrecision]], $MachinePrecision] * N[Sqrt[2.0], $MachinePrecision]), $MachinePrecision] * N[Sqrt[n], $MachinePrecision]), $MachinePrecision], N[(N[Sqrt[N[(N[(U * n), $MachinePrecision] * t), $MachinePrecision]], $MachinePrecision] * N[Sqrt[2.0], $MachinePrecision]), $MachinePrecision]]
                    
                    \begin{array}{l}
                    l_m = \left|\ell\right|
                    
                    \\
                    \begin{array}{l}
                    \mathbf{if}\;\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \leq 0:\\
                    \;\;\;\;\left(\sqrt{U \cdot t} \cdot \sqrt{2}\right) \cdot \sqrt{n}\\
                    
                    \mathbf{else}:\\
                    \;\;\;\;\sqrt{\left(U \cdot n\right) \cdot t} \cdot \sqrt{2}\\
                    
                    
                    \end{array}
                    \end{array}
                    
                    Derivation
                    1. Split input into 2 regimes
                    2. if (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*))))) < 0.0

                      1. Initial program 8.1%

                        \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                      2. Add Preprocessing
                      3. Step-by-step derivation
                        1. lift--.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                        2. sub-negN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                        3. +-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                        4. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        5. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        6. distribute-lft-neg-inN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        7. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        8. lift-pow.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        9. unpow2N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        10. associate-*r*N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        11. associate-*r*N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        12. lower-fma.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                        13. lower-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                        14. lower-neg.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                        15. lower-*.f648.1

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                        16. lift--.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                        17. sub-negN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                      4. Applied rewrites8.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 \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      5. Step-by-step derivation
                        1. lift-fma.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                        2. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        3. lower-fma.f648.1

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                        4. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        5. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        6. lower-*.f648.1

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        7. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        8. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        9. lift-*.f648.1

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        10. lift-fma.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                        11. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                        12. lower-fma.f648.1

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                        13. lift-/.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                        14. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                        15. associate-/l*N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                        16. lift-/.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                        17. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                        18. lower-*.f648.1

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                      6. Applied rewrites8.1%

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                      7. Applied rewrites41.1%

                        \[\leadsto \color{blue}{\sqrt{U \cdot \left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot 2\right)} \cdot \sqrt{n}} \]
                      8. Taylor expanded in t around inf

                        \[\leadsto \color{blue}{\left(\sqrt{U \cdot t} \cdot \sqrt{2}\right)} \cdot \sqrt{n} \]
                      9. Step-by-step derivation
                        1. lower-*.f64N/A

                          \[\leadsto \color{blue}{\left(\sqrt{U \cdot t} \cdot \sqrt{2}\right)} \cdot \sqrt{n} \]
                        2. lower-sqrt.f64N/A

                          \[\leadsto \left(\color{blue}{\sqrt{U \cdot t}} \cdot \sqrt{2}\right) \cdot \sqrt{n} \]
                        3. lower-*.f64N/A

                          \[\leadsto \left(\sqrt{\color{blue}{U \cdot t}} \cdot \sqrt{2}\right) \cdot \sqrt{n} \]
                        4. lower-sqrt.f6428.4

                          \[\leadsto \left(\sqrt{U \cdot t} \cdot \color{blue}{\sqrt{2}}\right) \cdot \sqrt{n} \]
                      10. Applied rewrites28.4%

                        \[\leadsto \color{blue}{\left(\sqrt{U \cdot t} \cdot \sqrt{2}\right)} \cdot \sqrt{n} \]

                      if 0.0 < (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))))

                      1. Initial program 61.0%

                        \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                      2. Add Preprocessing
                      3. Step-by-step derivation
                        1. lift--.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                        2. sub-negN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                        3. +-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                        4. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        5. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        6. distribute-lft-neg-inN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        7. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        8. lift-pow.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        9. unpow2N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        10. associate-*r*N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        11. associate-*r*N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        12. lower-fma.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                        13. lower-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                        14. lower-neg.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                        15. lower-*.f6463.9

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                        16. lift--.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                        17. sub-negN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                      4. Applied rewrites63.9%

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      5. Step-by-step derivation
                        1. lift-fma.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                        2. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        3. lower-fma.f6463.9

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                        4. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        5. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        6. lower-*.f6463.9

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        7. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        8. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        9. lift-*.f6463.9

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        10. lift-fma.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                        11. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                        12. lower-fma.f6463.9

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                        13. lift-/.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                        14. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                        15. associate-/l*N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                        16. lift-/.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                        17. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                        18. lower-*.f6466.2

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                      6. Applied rewrites66.2%

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                      7. Applied rewrites62.1%

                        \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                      8. Taylor expanded in t around inf

                        \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot t\right)} \cdot \sqrt{2}} \]
                      9. Step-by-step derivation
                        1. lower-*.f64N/A

                          \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot t\right)} \cdot \sqrt{2}} \]
                        2. lower-sqrt.f64N/A

                          \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot t\right)}} \cdot \sqrt{2} \]
                        3. associate-*r*N/A

                          \[\leadsto \sqrt{\color{blue}{\left(U \cdot n\right) \cdot t}} \cdot \sqrt{2} \]
                        4. lower-*.f64N/A

                          \[\leadsto \sqrt{\color{blue}{\left(U \cdot n\right) \cdot t}} \cdot \sqrt{2} \]
                        5. lower-*.f64N/A

                          \[\leadsto \sqrt{\color{blue}{\left(U \cdot n\right)} \cdot t} \cdot \sqrt{2} \]
                        6. lower-sqrt.f6443.1

                          \[\leadsto \sqrt{\left(U \cdot n\right) \cdot t} \cdot \color{blue}{\sqrt{2}} \]
                      10. Applied rewrites43.1%

                        \[\leadsto \color{blue}{\sqrt{\left(U \cdot n\right) \cdot t} \cdot \sqrt{2}} \]
                    3. Recombined 2 regimes into one program.
                    4. Add Preprocessing

                    Alternative 15: 38.1% accurate, 0.8× speedup?

                    \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \leq 0:\\ \;\;\;\;\sqrt{2 \cdot \left(U \cdot t\right)} \cdot \sqrt{n}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(U \cdot n\right) \cdot t} \cdot \sqrt{2}\\ \end{array} \end{array} \]
                    l_m = (fabs.f64 l)
                    (FPCore (n U t l_m Om U*)
                     :precision binary64
                     (if (<=
                          (sqrt
                           (*
                            (* (* 2.0 n) U)
                            (-
                             (- t (* 2.0 (/ (* l_m l_m) Om)))
                             (* (* n (pow (/ l_m Om) 2.0)) (- U U*)))))
                          0.0)
                       (* (sqrt (* 2.0 (* U t))) (sqrt n))
                       (* (sqrt (* (* U n) t)) (sqrt 2.0))))
                    l_m = fabs(l);
                    double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                    	double tmp;
                    	if (sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_))))) <= 0.0) {
                    		tmp = sqrt((2.0 * (U * t))) * sqrt(n);
                    	} else {
                    		tmp = sqrt(((U * n) * t)) * sqrt(2.0);
                    	}
                    	return tmp;
                    }
                    
                    l_m = abs(l)
                    real(8) function code(n, u, t, l_m, om, u_42)
                        real(8), intent (in) :: n
                        real(8), intent (in) :: u
                        real(8), intent (in) :: t
                        real(8), intent (in) :: l_m
                        real(8), intent (in) :: om
                        real(8), intent (in) :: u_42
                        real(8) :: tmp
                        if (sqrt((((2.0d0 * n) * u) * ((t - (2.0d0 * ((l_m * l_m) / om))) - ((n * ((l_m / om) ** 2.0d0)) * (u - u_42))))) <= 0.0d0) then
                            tmp = sqrt((2.0d0 * (u * t))) * sqrt(n)
                        else
                            tmp = sqrt(((u * n) * t)) * sqrt(2.0d0)
                        end if
                        code = tmp
                    end function
                    
                    l_m = Math.abs(l);
                    public static double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                    	double tmp;
                    	if (Math.sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * Math.pow((l_m / Om), 2.0)) * (U - U_42_))))) <= 0.0) {
                    		tmp = Math.sqrt((2.0 * (U * t))) * Math.sqrt(n);
                    	} else {
                    		tmp = Math.sqrt(((U * n) * t)) * Math.sqrt(2.0);
                    	}
                    	return tmp;
                    }
                    
                    l_m = math.fabs(l)
                    def code(n, U, t, l_m, Om, U_42_):
                    	tmp = 0
                    	if math.sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * math.pow((l_m / Om), 2.0)) * (U - U_42_))))) <= 0.0:
                    		tmp = math.sqrt((2.0 * (U * t))) * math.sqrt(n)
                    	else:
                    		tmp = math.sqrt(((U * n) * t)) * math.sqrt(2.0)
                    	return tmp
                    
                    l_m = abs(l)
                    function code(n, U, t, l_m, Om, U_42_)
                    	tmp = 0.0
                    	if (sqrt(Float64(Float64(Float64(2.0 * n) * U) * Float64(Float64(t - Float64(2.0 * Float64(Float64(l_m * l_m) / Om))) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_))))) <= 0.0)
                    		tmp = Float64(sqrt(Float64(2.0 * Float64(U * t))) * sqrt(n));
                    	else
                    		tmp = Float64(sqrt(Float64(Float64(U * n) * t)) * sqrt(2.0));
                    	end
                    	return tmp
                    end
                    
                    l_m = abs(l);
                    function tmp_2 = code(n, U, t, l_m, Om, U_42_)
                    	tmp = 0.0;
                    	if (sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * ((l_m / Om) ^ 2.0)) * (U - U_42_))))) <= 0.0)
                    		tmp = sqrt((2.0 * (U * t))) * sqrt(n);
                    	else
                    		tmp = sqrt(((U * n) * t)) * sqrt(2.0);
                    	end
                    	tmp_2 = tmp;
                    end
                    
                    l_m = N[Abs[l], $MachinePrecision]
                    code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[N[Sqrt[N[(N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision] * N[(N[(t - N[(2.0 * N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], 0.0], N[(N[Sqrt[N[(2.0 * N[(U * t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[n], $MachinePrecision]), $MachinePrecision], N[(N[Sqrt[N[(N[(U * n), $MachinePrecision] * t), $MachinePrecision]], $MachinePrecision] * N[Sqrt[2.0], $MachinePrecision]), $MachinePrecision]]
                    
                    \begin{array}{l}
                    l_m = \left|\ell\right|
                    
                    \\
                    \begin{array}{l}
                    \mathbf{if}\;\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \leq 0:\\
                    \;\;\;\;\sqrt{2 \cdot \left(U \cdot t\right)} \cdot \sqrt{n}\\
                    
                    \mathbf{else}:\\
                    \;\;\;\;\sqrt{\left(U \cdot n\right) \cdot t} \cdot \sqrt{2}\\
                    
                    
                    \end{array}
                    \end{array}
                    
                    Derivation
                    1. Split input into 2 regimes
                    2. if (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*))))) < 0.0

                      1. Initial program 8.1%

                        \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                      2. Add Preprocessing
                      3. Step-by-step derivation
                        1. lift--.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                        2. sub-negN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                        3. +-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                        4. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        5. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        6. distribute-lft-neg-inN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        7. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        8. lift-pow.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        9. unpow2N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        10. associate-*r*N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        11. associate-*r*N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        12. lower-fma.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                        13. lower-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                        14. lower-neg.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                        15. lower-*.f648.1

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                        16. lift--.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                        17. sub-negN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                      4. Applied rewrites8.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 \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      5. Step-by-step derivation
                        1. lift-fma.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                        2. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        3. lower-fma.f648.1

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                        4. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        5. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        6. lower-*.f648.1

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        7. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        8. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        9. lift-*.f648.1

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        10. lift-fma.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                        11. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                        12. lower-fma.f648.1

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                        13. lift-/.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                        14. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                        15. associate-/l*N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                        16. lift-/.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                        17. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                        18. lower-*.f648.1

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                      6. Applied rewrites8.1%

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                      7. Applied rewrites41.1%

                        \[\leadsto \color{blue}{\sqrt{U \cdot \left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot 2\right)} \cdot \sqrt{n}} \]
                      8. Taylor expanded in t around inf

                        \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot t\right)}} \cdot \sqrt{n} \]
                      9. Step-by-step derivation
                        1. lower-*.f64N/A

                          \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot t\right)}} \cdot \sqrt{n} \]
                        2. lower-*.f6428.4

                          \[\leadsto \sqrt{2 \cdot \color{blue}{\left(U \cdot t\right)}} \cdot \sqrt{n} \]
                      10. Applied rewrites28.4%

                        \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot t\right)}} \cdot \sqrt{n} \]

                      if 0.0 < (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*)))))

                      1. Initial program 61.0%

                        \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                      2. Add Preprocessing
                      3. Step-by-step derivation
                        1. lift--.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                        2. sub-negN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                        3. +-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                        4. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        5. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        6. distribute-lft-neg-inN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        7. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        8. lift-pow.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        9. unpow2N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        10. associate-*r*N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        11. associate-*r*N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                        12. lower-fma.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                        13. lower-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                        14. lower-neg.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                        15. lower-*.f6463.9

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                        16. lift--.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                        17. sub-negN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                      4. Applied rewrites63.9%

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                      5. Step-by-step derivation
                        1. lift-fma.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                        2. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        3. lower-fma.f6463.9

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                        4. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        5. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        6. lower-*.f6463.9

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        7. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        8. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        9. lift-*.f6463.9

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                        10. lift-fma.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                        11. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                        12. lower-fma.f6463.9

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                        13. lift-/.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                        14. lift-*.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                        15. associate-/l*N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                        16. lift-/.f64N/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                        17. *-commutativeN/A

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                        18. lower-*.f6466.2

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                      6. Applied rewrites66.2%

                        \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                      7. Applied rewrites62.1%

                        \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                      8. Taylor expanded in t around inf

                        \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot t\right)} \cdot \sqrt{2}} \]
                      9. Step-by-step derivation
                        1. lower-*.f64N/A

                          \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot t\right)} \cdot \sqrt{2}} \]
                        2. lower-sqrt.f64N/A

                          \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot t\right)}} \cdot \sqrt{2} \]
                        3. associate-*r*N/A

                          \[\leadsto \sqrt{\color{blue}{\left(U \cdot n\right) \cdot t}} \cdot \sqrt{2} \]
                        4. lower-*.f64N/A

                          \[\leadsto \sqrt{\color{blue}{\left(U \cdot n\right) \cdot t}} \cdot \sqrt{2} \]
                        5. lower-*.f64N/A

                          \[\leadsto \sqrt{\color{blue}{\left(U \cdot n\right)} \cdot t} \cdot \sqrt{2} \]
                        6. lower-sqrt.f6443.1

                          \[\leadsto \sqrt{\left(U \cdot n\right) \cdot t} \cdot \color{blue}{\sqrt{2}} \]
                      10. Applied rewrites43.1%

                        \[\leadsto \color{blue}{\sqrt{\left(U \cdot n\right) \cdot t} \cdot \sqrt{2}} \]
                    3. Recombined 2 regimes into one program.
                    4. Add Preprocessing

                    Alternative 16: 38.5% accurate, 0.8× speedup?

                    \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \leq 4 \cdot 10^{-157}:\\ \;\;\;\;\sqrt{\left(2 \cdot n\right) \cdot \left(t \cdot U\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(U \cdot n\right) \cdot t} \cdot \sqrt{2}\\ \end{array} \end{array} \]
                    l_m = (fabs.f64 l)
                    (FPCore (n U t l_m Om U*)
                     :precision binary64
                     (if (<=
                          (sqrt
                           (*
                            (* (* 2.0 n) U)
                            (-
                             (- t (* 2.0 (/ (* l_m l_m) Om)))
                             (* (* n (pow (/ l_m Om) 2.0)) (- U U*)))))
                          4e-157)
                       (sqrt (* (* 2.0 n) (* t U)))
                       (* (sqrt (* (* U n) t)) (sqrt 2.0))))
                    l_m = fabs(l);
                    double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                    	double tmp;
                    	if (sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_))))) <= 4e-157) {
                    		tmp = sqrt(((2.0 * n) * (t * U)));
                    	} else {
                    		tmp = sqrt(((U * n) * t)) * sqrt(2.0);
                    	}
                    	return tmp;
                    }
                    
                    l_m = abs(l)
                    real(8) function code(n, u, t, l_m, om, u_42)
                        real(8), intent (in) :: n
                        real(8), intent (in) :: u
                        real(8), intent (in) :: t
                        real(8), intent (in) :: l_m
                        real(8), intent (in) :: om
                        real(8), intent (in) :: u_42
                        real(8) :: tmp
                        if (sqrt((((2.0d0 * n) * u) * ((t - (2.0d0 * ((l_m * l_m) / om))) - ((n * ((l_m / om) ** 2.0d0)) * (u - u_42))))) <= 4d-157) then
                            tmp = sqrt(((2.0d0 * n) * (t * u)))
                        else
                            tmp = sqrt(((u * n) * t)) * sqrt(2.0d0)
                        end if
                        code = tmp
                    end function
                    
                    l_m = Math.abs(l);
                    public static double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                    	double tmp;
                    	if (Math.sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * Math.pow((l_m / Om), 2.0)) * (U - U_42_))))) <= 4e-157) {
                    		tmp = Math.sqrt(((2.0 * n) * (t * U)));
                    	} else {
                    		tmp = Math.sqrt(((U * n) * t)) * Math.sqrt(2.0);
                    	}
                    	return tmp;
                    }
                    
                    l_m = math.fabs(l)
                    def code(n, U, t, l_m, Om, U_42_):
                    	tmp = 0
                    	if math.sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * math.pow((l_m / Om), 2.0)) * (U - U_42_))))) <= 4e-157:
                    		tmp = math.sqrt(((2.0 * n) * (t * U)))
                    	else:
                    		tmp = math.sqrt(((U * n) * t)) * math.sqrt(2.0)
                    	return tmp
                    
                    l_m = abs(l)
                    function code(n, U, t, l_m, Om, U_42_)
                    	tmp = 0.0
                    	if (sqrt(Float64(Float64(Float64(2.0 * n) * U) * Float64(Float64(t - Float64(2.0 * Float64(Float64(l_m * l_m) / Om))) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_))))) <= 4e-157)
                    		tmp = sqrt(Float64(Float64(2.0 * n) * Float64(t * U)));
                    	else
                    		tmp = Float64(sqrt(Float64(Float64(U * n) * t)) * sqrt(2.0));
                    	end
                    	return tmp
                    end
                    
                    l_m = abs(l);
                    function tmp_2 = code(n, U, t, l_m, Om, U_42_)
                    	tmp = 0.0;
                    	if (sqrt((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * ((l_m / Om) ^ 2.0)) * (U - U_42_))))) <= 4e-157)
                    		tmp = sqrt(((2.0 * n) * (t * U)));
                    	else
                    		tmp = sqrt(((U * n) * t)) * sqrt(2.0);
                    	end
                    	tmp_2 = tmp;
                    end
                    
                    l_m = N[Abs[l], $MachinePrecision]
                    code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[N[Sqrt[N[(N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision] * N[(N[(t - N[(2.0 * N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], 4e-157], N[Sqrt[N[(N[(2.0 * n), $MachinePrecision] * N[(t * U), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(N[(U * n), $MachinePrecision] * t), $MachinePrecision]], $MachinePrecision] * N[Sqrt[2.0], $MachinePrecision]), $MachinePrecision]]
                    
                    \begin{array}{l}
                    l_m = \left|\ell\right|
                    
                    \\
                    \begin{array}{l}
                    \mathbf{if}\;\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \leq 4 \cdot 10^{-157}:\\
                    \;\;\;\;\sqrt{\left(2 \cdot n\right) \cdot \left(t \cdot U\right)}\\
                    
                    \mathbf{else}:\\
                    \;\;\;\;\sqrt{\left(U \cdot n\right) \cdot t} \cdot \sqrt{2}\\
                    
                    
                    \end{array}
                    \end{array}
                    
                    Derivation
                    1. Split input into 2 regimes
                    2. if (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) n) U) (-.f64 (-.f64 t (*.f64 #s(literal 2 binary64) (/.f64 (*.f64 l l) Om))) (*.f64 (*.f64 n (pow.f64 (/.f64 l Om) #s(literal 2 binary64))) (-.f64 U U*))))) < 3.99999999999999977e-157

                      1. Initial program 9.8%

                        \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                      2. Add Preprocessing
                      3. Taylor expanded in t around inf

                        \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot t\right)\right)}} \]
                      4. Step-by-step derivation
                        1. *-commutativeN/A

                          \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                        2. lower-*.f64N/A

                          \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                        3. *-commutativeN/A

                          \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                        4. lower-*.f64N/A

                          \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                        5. lower-*.f6426.6

                          \[\leadsto \sqrt{\left(\color{blue}{\left(n \cdot t\right)} \cdot U\right) \cdot 2} \]
                      5. Applied rewrites26.6%

                        \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}} \]
                      6. Step-by-step derivation
                        1. Applied rewrites26.6%

                          \[\leadsto \sqrt{\left(2 \cdot n\right) \cdot \color{blue}{\left(t \cdot U\right)}} \]

                        if 3.99999999999999977e-157 < (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 60.9%

                          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                        2. Add Preprocessing
                        3. Step-by-step derivation
                          1. lift--.f64N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                          2. sub-negN/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                          3. +-commutativeN/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                          4. lift-*.f64N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                          5. *-commutativeN/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                          6. distribute-lft-neg-inN/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                          7. lift-*.f64N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                          8. lift-pow.f64N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                          9. unpow2N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                          10. associate-*r*N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                          11. associate-*r*N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                          12. lower-fma.f64N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                          13. lower-*.f64N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                          14. lower-neg.f64N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                          15. lower-*.f6463.8

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                          16. lift--.f64N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                          17. sub-negN/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                        4. Applied rewrites63.8%

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                        5. Step-by-step derivation
                          1. lift-fma.f64N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                          2. *-commutativeN/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                          3. lower-fma.f6463.8

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                          4. lift-*.f64N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                          5. *-commutativeN/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                          6. lower-*.f6463.8

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                          7. lift-*.f64N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                          8. *-commutativeN/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                          9. lift-*.f6463.8

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                          10. lift-fma.f64N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                          11. *-commutativeN/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                          12. lower-fma.f6463.8

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                          13. lift-/.f64N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                          14. lift-*.f64N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                          15. associate-/l*N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                          16. lift-/.f64N/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                          17. *-commutativeN/A

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                          18. lower-*.f6466.1

                            \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                        6. Applied rewrites66.1%

                          \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                        7. Applied rewrites62.1%

                          \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                        8. Taylor expanded in t around inf

                          \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot t\right)} \cdot \sqrt{2}} \]
                        9. Step-by-step derivation
                          1. lower-*.f64N/A

                            \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot t\right)} \cdot \sqrt{2}} \]
                          2. lower-sqrt.f64N/A

                            \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot t\right)}} \cdot \sqrt{2} \]
                          3. associate-*r*N/A

                            \[\leadsto \sqrt{\color{blue}{\left(U \cdot n\right) \cdot t}} \cdot \sqrt{2} \]
                          4. lower-*.f64N/A

                            \[\leadsto \sqrt{\color{blue}{\left(U \cdot n\right) \cdot t}} \cdot \sqrt{2} \]
                          5. lower-*.f64N/A

                            \[\leadsto \sqrt{\color{blue}{\left(U \cdot n\right)} \cdot t} \cdot \sqrt{2} \]
                          6. lower-sqrt.f6443.3

                            \[\leadsto \sqrt{\left(U \cdot n\right) \cdot t} \cdot \color{blue}{\sqrt{2}} \]
                        10. Applied rewrites43.3%

                          \[\leadsto \color{blue}{\sqrt{\left(U \cdot n\right) \cdot t} \cdot \sqrt{2}} \]
                      7. Recombined 2 regimes into one program.
                      8. Add Preprocessing

                      Alternative 17: 38.6% accurate, 0.9× speedup?

                      \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right) \leq 10^{-313}:\\ \;\;\;\;\sqrt{\left(2 \cdot n\right) \cdot \left(t \cdot U\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(\left(n \cdot U\right) \cdot t\right) \cdot 2}\\ \end{array} \end{array} \]
                      l_m = (fabs.f64 l)
                      (FPCore (n U t l_m Om U*)
                       :precision binary64
                       (if (<=
                            (*
                             (* (* 2.0 n) U)
                             (-
                              (- t (* 2.0 (/ (* l_m l_m) Om)))
                              (* (* n (pow (/ l_m Om) 2.0)) (- U U*))))
                            1e-313)
                         (sqrt (* (* 2.0 n) (* t U)))
                         (sqrt (* (* (* n U) t) 2.0))))
                      l_m = fabs(l);
                      double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                      	double tmp;
                      	if ((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * pow((l_m / Om), 2.0)) * (U - U_42_)))) <= 1e-313) {
                      		tmp = sqrt(((2.0 * n) * (t * U)));
                      	} else {
                      		tmp = sqrt((((n * U) * t) * 2.0));
                      	}
                      	return tmp;
                      }
                      
                      l_m = abs(l)
                      real(8) function code(n, u, t, l_m, om, u_42)
                          real(8), intent (in) :: n
                          real(8), intent (in) :: u
                          real(8), intent (in) :: t
                          real(8), intent (in) :: l_m
                          real(8), intent (in) :: om
                          real(8), intent (in) :: u_42
                          real(8) :: tmp
                          if ((((2.0d0 * n) * u) * ((t - (2.0d0 * ((l_m * l_m) / om))) - ((n * ((l_m / om) ** 2.0d0)) * (u - u_42)))) <= 1d-313) then
                              tmp = sqrt(((2.0d0 * n) * (t * u)))
                          else
                              tmp = sqrt((((n * u) * t) * 2.0d0))
                          end if
                          code = tmp
                      end function
                      
                      l_m = Math.abs(l);
                      public static double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                      	double tmp;
                      	if ((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * Math.pow((l_m / Om), 2.0)) * (U - U_42_)))) <= 1e-313) {
                      		tmp = Math.sqrt(((2.0 * n) * (t * U)));
                      	} else {
                      		tmp = Math.sqrt((((n * U) * t) * 2.0));
                      	}
                      	return tmp;
                      }
                      
                      l_m = math.fabs(l)
                      def code(n, U, t, l_m, Om, U_42_):
                      	tmp = 0
                      	if (((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * math.pow((l_m / Om), 2.0)) * (U - U_42_)))) <= 1e-313:
                      		tmp = math.sqrt(((2.0 * n) * (t * U)))
                      	else:
                      		tmp = math.sqrt((((n * U) * t) * 2.0))
                      	return tmp
                      
                      l_m = abs(l)
                      function code(n, U, t, l_m, Om, U_42_)
                      	tmp = 0.0
                      	if (Float64(Float64(Float64(2.0 * n) * U) * Float64(Float64(t - Float64(2.0 * Float64(Float64(l_m * l_m) / Om))) - Float64(Float64(n * (Float64(l_m / Om) ^ 2.0)) * Float64(U - U_42_)))) <= 1e-313)
                      		tmp = sqrt(Float64(Float64(2.0 * n) * Float64(t * U)));
                      	else
                      		tmp = sqrt(Float64(Float64(Float64(n * U) * t) * 2.0));
                      	end
                      	return tmp
                      end
                      
                      l_m = abs(l);
                      function tmp_2 = code(n, U, t, l_m, Om, U_42_)
                      	tmp = 0.0;
                      	if ((((2.0 * n) * U) * ((t - (2.0 * ((l_m * l_m) / Om))) - ((n * ((l_m / Om) ^ 2.0)) * (U - U_42_)))) <= 1e-313)
                      		tmp = sqrt(((2.0 * n) * (t * U)));
                      	else
                      		tmp = sqrt((((n * U) * t) * 2.0));
                      	end
                      	tmp_2 = tmp;
                      end
                      
                      l_m = N[Abs[l], $MachinePrecision]
                      code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[N[(N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision] * N[(N[(t - N[(2.0 * N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(n * N[Power[N[(l$95$m / Om), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision] * N[(U - U$42$), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], 1e-313], N[Sqrt[N[(N[(2.0 * n), $MachinePrecision] * N[(t * U), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(N[(n * U), $MachinePrecision] * t), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision]]
                      
                      \begin{array}{l}
                      l_m = \left|\ell\right|
                      
                      \\
                      \begin{array}{l}
                      \mathbf{if}\;\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{l\_m \cdot l\_m}{Om}\right) - \left(n \cdot {\left(\frac{l\_m}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right) \leq 10^{-313}:\\
                      \;\;\;\;\sqrt{\left(2 \cdot n\right) \cdot \left(t \cdot U\right)}\\
                      
                      \mathbf{else}:\\
                      \;\;\;\;\sqrt{\left(\left(n \cdot U\right) \cdot t\right) \cdot 2}\\
                      
                      
                      \end{array}
                      \end{array}
                      
                      Derivation
                      1. Split input into 2 regimes
                      2. if (*.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.00000000001e-313

                        1. Initial program 8.5%

                          \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                        2. Add Preprocessing
                        3. Taylor expanded in t around inf

                          \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot t\right)\right)}} \]
                        4. Step-by-step derivation
                          1. *-commutativeN/A

                            \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                          2. lower-*.f64N/A

                            \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                          3. *-commutativeN/A

                            \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                          4. lower-*.f64N/A

                            \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                          5. lower-*.f6425.3

                            \[\leadsto \sqrt{\left(\color{blue}{\left(n \cdot t\right)} \cdot U\right) \cdot 2} \]
                        5. Applied rewrites25.3%

                          \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}} \]
                        6. Step-by-step derivation
                          1. Applied rewrites25.4%

                            \[\leadsto \sqrt{\left(2 \cdot n\right) \cdot \color{blue}{\left(t \cdot U\right)}} \]

                          if 1.00000000001e-313 < (*.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 62.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{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot t\right)\right)}} \]
                          4. Step-by-step derivation
                            1. *-commutativeN/A

                              \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                            2. lower-*.f64N/A

                              \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                            3. *-commutativeN/A

                              \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                            4. lower-*.f64N/A

                              \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                            5. lower-*.f6441.5

                              \[\leadsto \sqrt{\left(\color{blue}{\left(n \cdot t\right)} \cdot U\right) \cdot 2} \]
                          5. Applied rewrites41.5%

                            \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}} \]
                          6. Step-by-step derivation
                            1. Applied rewrites43.7%

                              \[\leadsto \sqrt{\left(\left(n \cdot U\right) \cdot t\right) \cdot 2} \]
                          7. Recombined 2 regimes into one program.
                          8. Add Preprocessing

                          Alternative 18: 61.8% accurate, 2.0× speedup?

                          \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;l\_m \leq 5.3 \cdot 10^{+209}:\\ \;\;\;\;\sqrt{\mathsf{fma}\left(\mathsf{fma}\left(\frac{l\_m}{Om} \cdot n, -\left(U - U*\right), -2 \cdot l\_m\right) \cdot \frac{l\_m}{Om}, 2 \cdot n, t \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(U \cdot n\right) \cdot \left(\frac{n}{Om} \cdot \frac{U* - U}{Om} - \frac{2}{Om}\right)} \cdot \left(l\_m \cdot \sqrt{2}\right)\\ \end{array} \end{array} \]
                          l_m = (fabs.f64 l)
                          (FPCore (n U t l_m Om U*)
                           :precision binary64
                           (if (<= l_m 5.3e+209)
                             (sqrt
                              (*
                               (fma
                                (* (fma (* (/ l_m Om) n) (- (- U U*)) (* -2.0 l_m)) (/ l_m Om))
                                (* 2.0 n)
                                (* t (* 2.0 n)))
                               U))
                             (*
                              (sqrt (* (* U n) (- (* (/ n Om) (/ (- U* U) Om)) (/ 2.0 Om))))
                              (* l_m (sqrt 2.0)))))
                          l_m = fabs(l);
                          double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                          	double tmp;
                          	if (l_m <= 5.3e+209) {
                          		tmp = sqrt((fma((fma(((l_m / Om) * n), -(U - U_42_), (-2.0 * l_m)) * (l_m / Om)), (2.0 * n), (t * (2.0 * n))) * U));
                          	} else {
                          		tmp = sqrt(((U * n) * (((n / Om) * ((U_42_ - U) / Om)) - (2.0 / Om)))) * (l_m * sqrt(2.0));
                          	}
                          	return tmp;
                          }
                          
                          l_m = abs(l)
                          function code(n, U, t, l_m, Om, U_42_)
                          	tmp = 0.0
                          	if (l_m <= 5.3e+209)
                          		tmp = sqrt(Float64(fma(Float64(fma(Float64(Float64(l_m / Om) * n), Float64(-Float64(U - U_42_)), Float64(-2.0 * l_m)) * Float64(l_m / Om)), Float64(2.0 * n), Float64(t * Float64(2.0 * n))) * U));
                          	else
                          		tmp = Float64(sqrt(Float64(Float64(U * n) * Float64(Float64(Float64(n / Om) * Float64(Float64(U_42_ - U) / Om)) - Float64(2.0 / Om)))) * Float64(l_m * sqrt(2.0)));
                          	end
                          	return tmp
                          end
                          
                          l_m = N[Abs[l], $MachinePrecision]
                          code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[l$95$m, 5.3e+209], N[Sqrt[N[(N[(N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * n), $MachinePrecision] * (-N[(U - U$42$), $MachinePrecision]) + N[(-2.0 * l$95$m), $MachinePrecision]), $MachinePrecision] * N[(l$95$m / Om), $MachinePrecision]), $MachinePrecision] * N[(2.0 * n), $MachinePrecision] + N[(t * N[(2.0 * n), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(N[(U * n), $MachinePrecision] * N[(N[(N[(n / Om), $MachinePrecision] * N[(N[(U$42$ - U), $MachinePrecision] / 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}
                          \mathbf{if}\;l\_m \leq 5.3 \cdot 10^{+209}:\\
                          \;\;\;\;\sqrt{\mathsf{fma}\left(\mathsf{fma}\left(\frac{l\_m}{Om} \cdot n, -\left(U - U*\right), -2 \cdot l\_m\right) \cdot \frac{l\_m}{Om}, 2 \cdot n, t \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                          
                          \mathbf{else}:\\
                          \;\;\;\;\sqrt{\left(U \cdot n\right) \cdot \left(\frac{n}{Om} \cdot \frac{U* - U}{Om} - \frac{2}{Om}\right)} \cdot \left(l\_m \cdot \sqrt{2}\right)\\
                          
                          
                          \end{array}
                          \end{array}
                          
                          Derivation
                          1. Split input into 2 regimes
                          2. if l < 5.29999999999999995e209

                            1. Initial program 56.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. lift--.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                              2. sub-negN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                              3. +-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                              4. lift-*.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                              5. *-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                              6. distribute-lft-neg-inN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                              7. lift-*.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                              8. lift-pow.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                              9. unpow2N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                              10. associate-*r*N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                              11. associate-*r*N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                              12. lower-fma.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                              13. lower-*.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                              14. lower-neg.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                              15. lower-*.f6458.9

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                              16. lift--.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                              17. sub-negN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                            4. Applied rewrites58.9%

                              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                            5. Step-by-step derivation
                              1. lift-fma.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                              2. *-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                              3. lower-fma.f6458.9

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                              4. lift-*.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                              5. *-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                              6. lower-*.f6458.9

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                              7. lift-*.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                              8. *-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                              9. lift-*.f6458.9

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                              10. lift-fma.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                              11. *-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                              12. lower-fma.f6458.9

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                              13. lift-/.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                              14. lift-*.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                              15. associate-/l*N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                              16. lift-/.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                              17. *-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                              18. lower-*.f6461.0

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                            6. Applied rewrites61.0%

                              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                            7. Applied rewrites59.1%

                              \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                            8. Step-by-step derivation
                              1. lift-*.f64N/A

                                \[\leadsto \sqrt{\color{blue}{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right)} \cdot U} \]
                              2. *-commutativeN/A

                                \[\leadsto \sqrt{\color{blue}{\left(\left(2 \cdot n\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right)\right)} \cdot U} \]
                              3. lift-fma.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right) + t\right)}\right) \cdot U} \]
                              4. distribute-rgt-inN/A

                                \[\leadsto \sqrt{\color{blue}{\left(\left(\frac{\ell}{Om} \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right)\right) \cdot \left(2 \cdot n\right) + t \cdot \left(2 \cdot n\right)\right)} \cdot U} \]
                              5. lower-fma.f64N/A

                                \[\leadsto \sqrt{\color{blue}{\mathsf{fma}\left(\frac{\ell}{Om} \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), 2 \cdot n, t \cdot \left(2 \cdot n\right)\right)} \cdot U} \]
                            9. Applied rewrites63.7%

                              \[\leadsto \sqrt{\color{blue}{\mathsf{fma}\left(\mathsf{fma}\left(\frac{\ell}{Om} \cdot n, -\left(U - U*\right), -2 \cdot \ell\right) \cdot \frac{\ell}{Om}, 2 \cdot n, t \cdot \left(2 \cdot n\right)\right)} \cdot U} \]

                            if 5.29999999999999995e209 < l

                            1. Initial program 15.7%

                              \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                            2. Add Preprocessing
                            3. Step-by-step derivation
                              1. lift--.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                              2. sub-negN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                              3. +-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                              4. lift-*.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                              5. *-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                              6. distribute-lft-neg-inN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                              7. lift-*.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                              8. lift-pow.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                              9. unpow2N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                              10. associate-*r*N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                              11. associate-*r*N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                              12. lower-fma.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                              13. lower-*.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                              14. lower-neg.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                              15. lower-*.f6416.3

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                              16. lift--.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                              17. sub-negN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                            4. Applied rewrites16.3%

                              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                            5. Step-by-step derivation
                              1. lift-fma.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                              2. *-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                              3. lower-fma.f6416.3

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                              4. lift-*.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                              5. *-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                              6. lower-*.f6416.3

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                              7. lift-*.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                              8. *-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                              9. lift-*.f6416.3

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                              10. lift-fma.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                              11. *-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                              12. lower-fma.f6416.3

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                              13. lift-/.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                              14. lift-*.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                              15. associate-/l*N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                              16. lift-/.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                              17. *-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                              18. lower-*.f6417.0

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                            6. Applied rewrites17.0%

                              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                            7. Applied rewrites57.4%

                              \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                            8. 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)} \]
                            9. Step-by-step derivation
                              1. lower-*.f64N/A

                                \[\leadsto \color{blue}{\sqrt{U \cdot \left(n \cdot \left(\frac{n \cdot \left(U* - U\right)}{{Om}^{2}} - 2 \cdot \frac{1}{Om}\right)\right)} \cdot \left(\ell \cdot \sqrt{2}\right)} \]
                            10. Applied rewrites80.2%

                              \[\leadsto \color{blue}{\sqrt{\left(U \cdot n\right) \cdot \left(\frac{n}{Om} \cdot \frac{U* - U}{Om} - \frac{2}{Om}\right)} \cdot \left(\ell \cdot \sqrt{2}\right)} \]
                          3. Recombined 2 regimes into one program.
                          4. Add Preprocessing

                          Alternative 19: 61.4% accurate, 2.0× speedup?

                          \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;n \leq -3.05 \cdot 10^{+47}:\\ \;\;\;\;\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - l\_m \cdot \left(l\_m \cdot \frac{\mathsf{fma}\left(\frac{n}{Om}, U - U*, 2\right)}{Om}\right)\right)}\\ \mathbf{elif}\;n \leq 4 \cdot 10^{+15}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{l\_m}{Om}, -2 \cdot l\_m\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{U \cdot \left(\mathsf{fma}\left(\frac{l\_m}{Om}, \frac{U* \cdot \left(l\_m \cdot n\right)}{Om}, t\right) \cdot 2\right)} \cdot \sqrt{n}\\ \end{array} \end{array} \]
                          l_m = (fabs.f64 l)
                          (FPCore (n U t l_m Om U*)
                           :precision binary64
                           (if (<= n -3.05e+47)
                             (sqrt
                              (*
                               (* (* 2.0 n) U)
                               (- t (* l_m (* l_m (/ (fma (/ n Om) (- U U*) 2.0) Om))))))
                             (if (<= n 4e+15)
                               (sqrt
                                (*
                                 (*
                                  (fma (/ l_m Om) (fma (* (- (- U U*)) n) (/ l_m Om) (* -2.0 l_m)) t)
                                  (* 2.0 n))
                                 U))
                               (*
                                (sqrt (* U (* (fma (/ l_m Om) (/ (* U* (* l_m n)) Om) t) 2.0)))
                                (sqrt n)))))
                          l_m = fabs(l);
                          double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                          	double tmp;
                          	if (n <= -3.05e+47) {
                          		tmp = sqrt((((2.0 * n) * U) * (t - (l_m * (l_m * (fma((n / Om), (U - U_42_), 2.0) / Om))))));
                          	} else if (n <= 4e+15) {
                          		tmp = sqrt(((fma((l_m / Om), fma((-(U - U_42_) * n), (l_m / Om), (-2.0 * l_m)), t) * (2.0 * n)) * U));
                          	} else {
                          		tmp = sqrt((U * (fma((l_m / Om), ((U_42_ * (l_m * n)) / Om), t) * 2.0))) * sqrt(n);
                          	}
                          	return tmp;
                          }
                          
                          l_m = abs(l)
                          function code(n, U, t, l_m, Om, U_42_)
                          	tmp = 0.0
                          	if (n <= -3.05e+47)
                          		tmp = sqrt(Float64(Float64(Float64(2.0 * n) * U) * Float64(t - Float64(l_m * Float64(l_m * Float64(fma(Float64(n / Om), Float64(U - U_42_), 2.0) / Om))))));
                          	elseif (n <= 4e+15)
                          		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), fma(Float64(Float64(-Float64(U - U_42_)) * n), Float64(l_m / Om), Float64(-2.0 * l_m)), t) * Float64(2.0 * n)) * U));
                          	else
                          		tmp = Float64(sqrt(Float64(U * Float64(fma(Float64(l_m / Om), Float64(Float64(U_42_ * Float64(l_m * n)) / Om), t) * 2.0))) * sqrt(n));
                          	end
                          	return tmp
                          end
                          
                          l_m = N[Abs[l], $MachinePrecision]
                          code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[n, -3.05e+47], N[Sqrt[N[(N[(N[(2.0 * n), $MachinePrecision] * U), $MachinePrecision] * N[(t - N[(l$95$m * N[(l$95$m * N[(N[(N[(n / Om), $MachinePrecision] * N[(U - U$42$), $MachinePrecision] + 2.0), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision], If[LessEqual[n, 4e+15], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(N[((-N[(U - U$42$), $MachinePrecision]) * n), $MachinePrecision] * N[(l$95$m / Om), $MachinePrecision] + N[(-2.0 * l$95$m), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(U * N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(N[(U$42$ * N[(l$95$m * n), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision] + t), $MachinePrecision] * 2.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[n], $MachinePrecision]), $MachinePrecision]]]
                          
                          \begin{array}{l}
                          l_m = \left|\ell\right|
                          
                          \\
                          \begin{array}{l}
                          \mathbf{if}\;n \leq -3.05 \cdot 10^{+47}:\\
                          \;\;\;\;\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - l\_m \cdot \left(l\_m \cdot \frac{\mathsf{fma}\left(\frac{n}{Om}, U - U*, 2\right)}{Om}\right)\right)}\\
                          
                          \mathbf{elif}\;n \leq 4 \cdot 10^{+15}:\\
                          \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{l\_m}{Om}, -2 \cdot l\_m\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                          
                          \mathbf{else}:\\
                          \;\;\;\;\sqrt{U \cdot \left(\mathsf{fma}\left(\frac{l\_m}{Om}, \frac{U* \cdot \left(l\_m \cdot n\right)}{Om}, t\right) \cdot 2\right)} \cdot \sqrt{n}\\
                          
                          
                          \end{array}
                          \end{array}
                          
                          Derivation
                          1. Split input into 3 regimes
                          2. if n < -3.05000000000000009e47

                            1. Initial program 59.6%

                              \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                            2. Add Preprocessing
                            3. Taylor expanded in n around 0

                              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t + -1 \cdot \frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}}\right) - 2 \cdot \frac{{\ell}^{2}}{Om}\right)}} \]
                            4. Step-by-step derivation
                              1. mul-1-negN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t + \color{blue}{\left(\mathsf{neg}\left(\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}}\right)\right)}\right) - 2 \cdot \frac{{\ell}^{2}}{Om}\right)} \]
                              2. unsub-negN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(t - \frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}}\right)} - 2 \cdot \frac{{\ell}^{2}}{Om}\right)} \]
                              3. associate--r+N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - \left(\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)}} \]
                              4. +-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \color{blue}{\left(2 \cdot \frac{{\ell}^{2}}{Om} + \frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}}\right)}\right)} \]
                              5. lower--.f64N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - \left(2 \cdot \frac{{\ell}^{2}}{Om} + \frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}}\right)\right)}} \]
                              6. +-commutativeN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \color{blue}{\left(\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{{Om}^{2}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)}\right)} \]
                              7. unpow2N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{\color{blue}{Om \cdot Om}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
                              8. associate-/r*N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(\color{blue}{\frac{\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{Om}}{Om}} + 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
                              9. metadata-evalN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(\frac{\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{Om}}{Om} + \color{blue}{\left(\mathsf{neg}\left(-2\right)\right)} \cdot \frac{{\ell}^{2}}{Om}\right)\right)} \]
                              10. cancel-sign-sub-invN/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \color{blue}{\left(\frac{\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{Om}}{Om} - -2 \cdot \frac{{\ell}^{2}}{Om}\right)}\right)} \]
                              11. associate-*r/N/A

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \left(\frac{\frac{{\ell}^{2} \cdot \left(n \cdot \left(U - U*\right)\right)}{Om}}{Om} - \color{blue}{\frac{-2 \cdot {\ell}^{2}}{Om}}\right)\right)} \]
                            5. Applied rewrites65.7%

                              \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(t - \frac{\left(\ell \cdot \ell\right) \cdot \mathsf{fma}\left(U - U*, \frac{n}{Om}, 2\right)}{Om}\right)}} \]
                            6. Step-by-step derivation
                              1. Applied rewrites73.9%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(t - \ell \cdot \color{blue}{\left(\ell \cdot \frac{\mathsf{fma}\left(\frac{n}{Om}, U - U*, 2\right)}{Om}\right)}\right)} \]

                              if -3.05000000000000009e47 < n < 4e15

                              1. Initial program 48.6%

                                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                              2. Add Preprocessing
                              3. Step-by-step derivation
                                1. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                                2. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                                3. +-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                6. distribute-lft-neg-inN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                8. lift-pow.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                9. unpow2N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                10. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                11. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                12. lower-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                                13. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                14. lower-neg.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                15. lower-*.f6450.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                16. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                                17. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                              4. Applied rewrites50.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 \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                              5. Step-by-step derivation
                                1. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                2. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                3. lower-fma.f6450.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                6. lower-*.f6450.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                8. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                9. lift-*.f6450.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                10. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                                11. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                                12. lower-fma.f6450.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                                13. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                                14. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                                15. associate-/l*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                                16. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                                17. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                                18. lower-*.f6452.7

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                              6. Applied rewrites52.7%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                              7. Applied rewrites61.3%

                                \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]

                              if 4e15 < n

                              1. Initial program 59.9%

                                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                              2. Add Preprocessing
                              3. Step-by-step derivation
                                1. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                                2. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                                3. +-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                6. distribute-lft-neg-inN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                8. lift-pow.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                9. unpow2N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                10. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                11. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                12. lower-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                                13. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                14. lower-neg.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                15. lower-*.f6461.7

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                16. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                                17. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                              4. Applied rewrites61.7%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                              5. Step-by-step derivation
                                1. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                2. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                3. lower-fma.f6461.7

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                6. lower-*.f6461.7

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                8. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                9. lift-*.f6461.7

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                10. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                                11. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                                12. lower-fma.f6461.7

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                                13. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                                14. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                                15. associate-/l*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                                16. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                                17. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                                18. lower-*.f6461.7

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                              6. Applied rewrites61.7%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                              7. Applied rewrites70.8%

                                \[\leadsto \color{blue}{\sqrt{U \cdot \left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot 2\right)} \cdot \sqrt{n}} \]
                              8. Taylor expanded in U* around inf

                                \[\leadsto \sqrt{U \cdot \left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot 2\right)} \cdot \sqrt{n} \]
                              9. Step-by-step derivation
                                1. lower-/.f64N/A

                                  \[\leadsto \sqrt{U \cdot \left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot 2\right)} \cdot \sqrt{n} \]
                                2. lower-*.f64N/A

                                  \[\leadsto \sqrt{U \cdot \left(\mathsf{fma}\left(\frac{\ell}{Om}, \frac{\color{blue}{U* \cdot \left(\ell \cdot n\right)}}{Om}, t\right) \cdot 2\right)} \cdot \sqrt{n} \]
                                3. lower-*.f6473.1

                                  \[\leadsto \sqrt{U \cdot \left(\mathsf{fma}\left(\frac{\ell}{Om}, \frac{U* \cdot \color{blue}{\left(\ell \cdot n\right)}}{Om}, t\right) \cdot 2\right)} \cdot \sqrt{n} \]
                              10. Applied rewrites73.1%

                                \[\leadsto \sqrt{U \cdot \left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot 2\right)} \cdot \sqrt{n} \]
                            7. Recombined 3 regimes into one program.
                            8. Add Preprocessing

                            Alternative 20: 57.9% accurate, 2.1× speedup?

                            \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;l\_m \leq 3.8 \cdot 10^{-97}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \frac{U* \cdot \left(l\_m \cdot n\right)}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{elif}\;l\_m \leq 3.1 \cdot 10^{+124}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, l\_m \cdot \mathsf{fma}\left(n, \frac{U* - U}{Om}, -2\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{2 \cdot \frac{U \cdot \left(l\_m \cdot \left(n \cdot \mathsf{fma}\left(-2, l\_m, \frac{l\_m \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}{Om}}\\ \end{array} \end{array} \]
                            l_m = (fabs.f64 l)
                            (FPCore (n U t l_m Om U*)
                             :precision binary64
                             (if (<= l_m 3.8e-97)
                               (sqrt (* (* (fma (/ l_m Om) (/ (* U* (* l_m n)) Om) t) (* 2.0 n)) U))
                               (if (<= l_m 3.1e+124)
                                 (sqrt
                                  (*
                                   (* (fma (/ l_m Om) (* l_m (fma n (/ (- U* U) Om) -2.0)) t) (* 2.0 n))
                                   U))
                                 (sqrt
                                  (*
                                   2.0
                                   (/
                                    (* U (* l_m (* n (fma -2.0 l_m (/ (* l_m (* 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 tmp;
                            	if (l_m <= 3.8e-97) {
                            		tmp = sqrt(((fma((l_m / Om), ((U_42_ * (l_m * n)) / Om), t) * (2.0 * n)) * U));
                            	} else if (l_m <= 3.1e+124) {
                            		tmp = sqrt(((fma((l_m / Om), (l_m * fma(n, ((U_42_ - U) / Om), -2.0)), t) * (2.0 * n)) * U));
                            	} else {
                            		tmp = sqrt((2.0 * ((U * (l_m * (n * fma(-2.0, l_m, ((l_m * (n * (U_42_ - U))) / Om))))) / Om)));
                            	}
                            	return tmp;
                            }
                            
                            l_m = abs(l)
                            function code(n, U, t, l_m, Om, U_42_)
                            	tmp = 0.0
                            	if (l_m <= 3.8e-97)
                            		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(Float64(U_42_ * Float64(l_m * n)) / Om), t) * Float64(2.0 * n)) * U));
                            	elseif (l_m <= 3.1e+124)
                            		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(l_m * fma(n, Float64(Float64(U_42_ - U) / Om), -2.0)), t) * Float64(2.0 * n)) * U));
                            	else
                            		tmp = sqrt(Float64(2.0 * Float64(Float64(U * Float64(l_m * Float64(n * fma(-2.0, l_m, Float64(Float64(l_m * Float64(n * Float64(U_42_ - U))) / Om))))) / Om)));
                            	end
                            	return tmp
                            end
                            
                            l_m = N[Abs[l], $MachinePrecision]
                            code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[l$95$m, 3.8e-97], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(N[(U$42$ * N[(l$95$m * n), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision], If[LessEqual[l$95$m, 3.1e+124], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(l$95$m * N[(n * N[(N[(U$42$ - U), $MachinePrecision] / Om), $MachinePrecision] + -2.0), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(2.0 * N[(N[(U * N[(l$95$m * N[(n * N[(-2.0 * l$95$m + N[(N[(l$95$m * N[(n * N[(U$42$ - U), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]]]
                            
                            \begin{array}{l}
                            l_m = \left|\ell\right|
                            
                            \\
                            \begin{array}{l}
                            \mathbf{if}\;l\_m \leq 3.8 \cdot 10^{-97}:\\
                            \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \frac{U* \cdot \left(l\_m \cdot n\right)}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                            
                            \mathbf{elif}\;l\_m \leq 3.1 \cdot 10^{+124}:\\
                            \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, l\_m \cdot \mathsf{fma}\left(n, \frac{U* - U}{Om}, -2\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;\sqrt{2 \cdot \frac{U \cdot \left(l\_m \cdot \left(n \cdot \mathsf{fma}\left(-2, l\_m, \frac{l\_m \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}{Om}}\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 3 regimes
                            2. if l < 3.8000000000000001e-97

                              1. Initial program 58.2%

                                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                              2. Add Preprocessing
                              3. Step-by-step derivation
                                1. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                                2. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                                3. +-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                6. distribute-lft-neg-inN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                8. lift-pow.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                9. unpow2N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                10. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                11. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                12. lower-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                                13. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                14. lower-neg.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                15. lower-*.f6461.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                16. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                                17. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                              4. Applied rewrites61.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 \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                              5. Step-by-step derivation
                                1. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                2. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                3. lower-fma.f6461.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                6. lower-*.f6461.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                8. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                9. lift-*.f6461.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                10. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                                11. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                                12. lower-fma.f6461.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                                13. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                                14. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                                15. associate-/l*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                                16. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                                17. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                                18. lower-*.f6461.7

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                              6. Applied rewrites61.7%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                              7. Applied rewrites57.9%

                                \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                              8. Taylor expanded in U* around inf

                                \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                              9. Step-by-step derivation
                                1. lower-/.f64N/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                2. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \frac{\color{blue}{U* \cdot \left(\ell \cdot n\right)}}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                3. lower-*.f6457.2

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \frac{U* \cdot \color{blue}{\left(\ell \cdot n\right)}}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                              10. Applied rewrites57.2%

                                \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]

                              if 3.8000000000000001e-97 < l < 3.1000000000000002e124

                              1. Initial program 60.6%

                                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                              2. Add Preprocessing
                              3. Step-by-step derivation
                                1. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                                2. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                                3. +-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                6. distribute-lft-neg-inN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                8. lift-pow.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                9. unpow2N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                10. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                11. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                12. lower-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                                13. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                14. lower-neg.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                15. lower-*.f6462.7

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                16. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                                17. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                              4. Applied rewrites62.7%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                              5. Step-by-step derivation
                                1. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                2. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                3. lower-fma.f6462.7

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                6. lower-*.f6462.7

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                8. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                9. lift-*.f6462.7

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                10. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                                11. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                                12. lower-fma.f6462.7

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                                13. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                                14. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                                15. associate-/l*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                                16. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                                17. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                                18. lower-*.f6462.7

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                              6. Applied rewrites62.7%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                              7. Applied rewrites62.8%

                                \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                              8. Taylor expanded in l around 0

                                \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\ell \cdot \left(\frac{n \cdot \left(U* - U\right)}{Om} - 2\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                              9. Step-by-step derivation
                                1. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\ell \cdot \left(\frac{n \cdot \left(U* - U\right)}{Om} - 2\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                2. sub-negN/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \color{blue}{\left(\frac{n \cdot \left(U* - U\right)}{Om} + \left(\mathsf{neg}\left(2\right)\right)\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                3. associate-/l*N/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \left(\color{blue}{n \cdot \frac{U* - U}{Om}} + \left(\mathsf{neg}\left(2\right)\right)\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                4. metadata-evalN/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \left(n \cdot \frac{U* - U}{Om} + \color{blue}{-2}\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                5. lower-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \color{blue}{\mathsf{fma}\left(n, \frac{U* - U}{Om}, -2\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                6. lower-/.f64N/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \mathsf{fma}\left(n, \color{blue}{\frac{U* - U}{Om}}, -2\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                7. lower--.f6468.8

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \mathsf{fma}\left(n, \frac{\color{blue}{U* - U}}{Om}, -2\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                              10. Applied rewrites68.8%

                                \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\ell \cdot \mathsf{fma}\left(n, \frac{U* - U}{Om}, -2\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]

                              if 3.1000000000000002e124 < l

                              1. Initial program 11.0%

                                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                              2. Add Preprocessing
                              3. Step-by-step derivation
                                1. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                                2. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                                3. +-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                6. distribute-lft-neg-inN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                8. lift-pow.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                9. unpow2N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                10. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                11. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                12. lower-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                                13. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                14. lower-neg.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                15. lower-*.f6411.4

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                16. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                                17. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                              4. Applied rewrites11.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, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                              5. Step-by-step derivation
                                1. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                2. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                3. lower-fma.f6411.4

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                6. lower-*.f6411.4

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                8. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                9. lift-*.f6411.4

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                10. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                                11. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                                12. lower-fma.f6411.4

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                                13. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                                14. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                                15. associate-/l*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                                16. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                                17. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                                18. lower-*.f6425.0

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                              6. Applied rewrites25.0%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                              7. Applied rewrites58.8%

                                \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                              8. Taylor expanded in t around 0

                                \[\leadsto \sqrt{\color{blue}{2 \cdot \frac{U \cdot \left(\ell \cdot \left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}{Om}}} \]
                              9. Step-by-step derivation
                                1. lower-*.f64N/A

                                  \[\leadsto \sqrt{\color{blue}{2 \cdot \frac{U \cdot \left(\ell \cdot \left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}{Om}}} \]
                                2. lower-/.f64N/A

                                  \[\leadsto \sqrt{2 \cdot \color{blue}{\frac{U \cdot \left(\ell \cdot \left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}{Om}}} \]
                                3. lower-*.f64N/A

                                  \[\leadsto \sqrt{2 \cdot \frac{\color{blue}{U \cdot \left(\ell \cdot \left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}}{Om}} \]
                                4. lower-*.f64N/A

                                  \[\leadsto \sqrt{2 \cdot \frac{U \cdot \color{blue}{\left(\ell \cdot \left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}}{Om}} \]
                                5. lower-*.f64N/A

                                  \[\leadsto \sqrt{2 \cdot \frac{U \cdot \left(\ell \cdot \color{blue}{\left(n \cdot \left(-2 \cdot \ell + \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)}\right)}{Om}} \]
                                6. lower-fma.f64N/A

                                  \[\leadsto \sqrt{2 \cdot \frac{U \cdot \left(\ell \cdot \left(n \cdot \color{blue}{\mathsf{fma}\left(-2, \ell, \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)}\right)\right)}{Om}} \]
                                7. lower-/.f64N/A

                                  \[\leadsto \sqrt{2 \cdot \frac{U \cdot \left(\ell \cdot \left(n \cdot \mathsf{fma}\left(-2, \ell, \color{blue}{\frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}}\right)\right)\right)}{Om}} \]
                                8. lower-*.f64N/A

                                  \[\leadsto \sqrt{2 \cdot \frac{U \cdot \left(\ell \cdot \left(n \cdot \mathsf{fma}\left(-2, \ell, \frac{\color{blue}{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}}{Om}\right)\right)\right)}{Om}} \]
                                9. lower-*.f64N/A

                                  \[\leadsto \sqrt{2 \cdot \frac{U \cdot \left(\ell \cdot \left(n \cdot \mathsf{fma}\left(-2, \ell, \frac{\ell \cdot \color{blue}{\left(n \cdot \left(U* - U\right)\right)}}{Om}\right)\right)\right)}{Om}} \]
                                10. lower--.f6465.2

                                  \[\leadsto \sqrt{2 \cdot \frac{U \cdot \left(\ell \cdot \left(n \cdot \mathsf{fma}\left(-2, \ell, \frac{\ell \cdot \left(n \cdot \color{blue}{\left(U* - U\right)}\right)}{Om}\right)\right)\right)}{Om}} \]
                              10. Applied rewrites65.2%

                                \[\leadsto \sqrt{\color{blue}{2 \cdot \frac{U \cdot \left(\ell \cdot \left(n \cdot \mathsf{fma}\left(-2, \ell, \frac{\ell \cdot \left(n \cdot \left(U* - U\right)\right)}{Om}\right)\right)\right)}{Om}}} \]
                            3. Recombined 3 regimes into one program.
                            4. Add Preprocessing

                            Alternative 21: 52.8% accurate, 2.3× speedup?

                            \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;n \leq 1.6 \cdot 10^{-305} \lor \neg \left(n \leq 5.5 \cdot 10^{-143}\right):\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \frac{U* \cdot \left(l\_m \cdot n\right)}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{U \cdot \left(\mathsf{fma}\left(\frac{l\_m}{Om}, -2 \cdot l\_m, t\right) \cdot 2\right)} \cdot \sqrt{n}\\ \end{array} \end{array} \]
                            l_m = (fabs.f64 l)
                            (FPCore (n U t l_m Om U*)
                             :precision binary64
                             (if (or (<= n 1.6e-305) (not (<= n 5.5e-143)))
                               (sqrt (* (* (fma (/ l_m Om) (/ (* U* (* l_m n)) Om) t) (* 2.0 n)) U))
                               (* (sqrt (* U (* (fma (/ l_m Om) (* -2.0 l_m) t) 2.0))) (sqrt n))))
                            l_m = fabs(l);
                            double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                            	double tmp;
                            	if ((n <= 1.6e-305) || !(n <= 5.5e-143)) {
                            		tmp = sqrt(((fma((l_m / Om), ((U_42_ * (l_m * n)) / Om), t) * (2.0 * n)) * U));
                            	} else {
                            		tmp = sqrt((U * (fma((l_m / Om), (-2.0 * l_m), t) * 2.0))) * sqrt(n);
                            	}
                            	return tmp;
                            }
                            
                            l_m = abs(l)
                            function code(n, U, t, l_m, Om, U_42_)
                            	tmp = 0.0
                            	if ((n <= 1.6e-305) || !(n <= 5.5e-143))
                            		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(Float64(U_42_ * Float64(l_m * n)) / Om), t) * Float64(2.0 * n)) * U));
                            	else
                            		tmp = Float64(sqrt(Float64(U * Float64(fma(Float64(l_m / Om), Float64(-2.0 * l_m), t) * 2.0))) * sqrt(n));
                            	end
                            	return tmp
                            end
                            
                            l_m = N[Abs[l], $MachinePrecision]
                            code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[Or[LessEqual[n, 1.6e-305], N[Not[LessEqual[n, 5.5e-143]], $MachinePrecision]], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(N[(U$42$ * N[(l$95$m * n), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(U * N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(-2.0 * l$95$m), $MachinePrecision] + t), $MachinePrecision] * 2.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[Sqrt[n], $MachinePrecision]), $MachinePrecision]]
                            
                            \begin{array}{l}
                            l_m = \left|\ell\right|
                            
                            \\
                            \begin{array}{l}
                            \mathbf{if}\;n \leq 1.6 \cdot 10^{-305} \lor \neg \left(n \leq 5.5 \cdot 10^{-143}\right):\\
                            \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \frac{U* \cdot \left(l\_m \cdot n\right)}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;\sqrt{U \cdot \left(\mathsf{fma}\left(\frac{l\_m}{Om}, -2 \cdot l\_m, t\right) \cdot 2\right)} \cdot \sqrt{n}\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 2 regimes
                            2. if n < 1.60000000000000004e-305 or 5.50000000000000041e-143 < n

                              1. Initial program 56.9%

                                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                              2. Add Preprocessing
                              3. Step-by-step derivation
                                1. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                                2. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                                3. +-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                6. distribute-lft-neg-inN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                8. lift-pow.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                9. unpow2N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                10. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                11. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                12. lower-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                                13. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                14. lower-neg.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                15. lower-*.f6459.6

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                16. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                                17. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                              4. Applied rewrites59.6%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                              5. Step-by-step derivation
                                1. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                2. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                3. lower-fma.f6459.6

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                6. lower-*.f6459.6

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                8. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                9. lift-*.f6459.6

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                10. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                                11. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                                12. lower-fma.f6459.6

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                                13. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                                14. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                                15. associate-/l*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                                16. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                                17. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                                18. lower-*.f6460.6

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                              6. Applied rewrites60.6%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                              7. Applied rewrites59.3%

                                \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                              8. Taylor expanded in U* around inf

                                \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                              9. Step-by-step derivation
                                1. lower-/.f64N/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                2. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \frac{\color{blue}{U* \cdot \left(\ell \cdot n\right)}}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                3. lower-*.f6460.1

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \frac{U* \cdot \color{blue}{\left(\ell \cdot n\right)}}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                              10. Applied rewrites60.1%

                                \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]

                              if 1.60000000000000004e-305 < n < 5.50000000000000041e-143

                              1. Initial program 36.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. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                                2. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                                3. +-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                6. distribute-lft-neg-inN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                8. lift-pow.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                9. unpow2N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                10. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                11. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                12. lower-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                                13. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                14. lower-neg.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                15. lower-*.f6437.9

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                16. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                                17. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                              4. Applied rewrites37.9%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                              5. Step-by-step derivation
                                1. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                2. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                3. lower-fma.f6437.9

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                6. lower-*.f6437.9

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                8. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                9. lift-*.f6437.9

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                10. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                                11. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                                12. lower-fma.f6437.9

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                                13. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                                14. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                                15. associate-/l*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                                16. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                                17. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                                18. lower-*.f6444.2

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                              6. Applied rewrites44.2%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                              7. Applied rewrites71.2%

                                \[\leadsto \color{blue}{\sqrt{U \cdot \left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot 2\right)} \cdot \sqrt{n}} \]
                              8. Taylor expanded in n around 0

                                \[\leadsto \sqrt{U \cdot \left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot 2\right)} \cdot \sqrt{n} \]
                              9. Step-by-step derivation
                                1. lower-*.f6463.2

                                  \[\leadsto \sqrt{U \cdot \left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot 2\right)} \cdot \sqrt{n} \]
                              10. Applied rewrites63.2%

                                \[\leadsto \sqrt{U \cdot \left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot 2\right)} \cdot \sqrt{n} \]
                            3. Recombined 2 regimes into one program.
                            4. Final simplification60.7%

                              \[\leadsto \begin{array}{l} \mathbf{if}\;n \leq 1.6 \cdot 10^{-305} \lor \neg \left(n \leq 5.5 \cdot 10^{-143}\right):\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \frac{U* \cdot \left(\ell \cdot n\right)}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{U \cdot \left(\mathsf{fma}\left(\frac{\ell}{Om}, -2 \cdot \ell, t\right) \cdot 2\right)} \cdot \sqrt{n}\\ \end{array} \]
                            5. Add Preprocessing

                            Alternative 22: 58.8% accurate, 2.4× speedup?

                            \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;l\_m \leq 5 \cdot 10^{-100}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \frac{U* \cdot \left(l\_m \cdot n\right)}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, l\_m \cdot \mathsf{fma}\left(n, \frac{U* - U}{Om}, -2\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \end{array} \end{array} \]
                            l_m = (fabs.f64 l)
                            (FPCore (n U t l_m Om U*)
                             :precision binary64
                             (if (<= l_m 5e-100)
                               (sqrt (* (* (fma (/ l_m Om) (/ (* U* (* l_m n)) Om) t) (* 2.0 n)) U))
                               (sqrt
                                (*
                                 (* (fma (/ l_m Om) (* l_m (fma n (/ (- U* U) Om) -2.0)) t) (* 2.0 n))
                                 U))))
                            l_m = fabs(l);
                            double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                            	double tmp;
                            	if (l_m <= 5e-100) {
                            		tmp = sqrt(((fma((l_m / Om), ((U_42_ * (l_m * n)) / Om), t) * (2.0 * n)) * U));
                            	} else {
                            		tmp = sqrt(((fma((l_m / Om), (l_m * fma(n, ((U_42_ - U) / Om), -2.0)), t) * (2.0 * n)) * U));
                            	}
                            	return tmp;
                            }
                            
                            l_m = abs(l)
                            function code(n, U, t, l_m, Om, U_42_)
                            	tmp = 0.0
                            	if (l_m <= 5e-100)
                            		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(Float64(U_42_ * Float64(l_m * n)) / Om), t) * Float64(2.0 * n)) * U));
                            	else
                            		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(l_m * fma(n, Float64(Float64(U_42_ - U) / Om), -2.0)), t) * Float64(2.0 * n)) * U));
                            	end
                            	return tmp
                            end
                            
                            l_m = N[Abs[l], $MachinePrecision]
                            code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[l$95$m, 5e-100], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(N[(U$42$ * N[(l$95$m * n), $MachinePrecision]), $MachinePrecision] / Om), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(l$95$m * N[(n * N[(N[(U$42$ - U), $MachinePrecision] / Om), $MachinePrecision] + -2.0), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision]]
                            
                            \begin{array}{l}
                            l_m = \left|\ell\right|
                            
                            \\
                            \begin{array}{l}
                            \mathbf{if}\;l\_m \leq 5 \cdot 10^{-100}:\\
                            \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, \frac{U* \cdot \left(l\_m \cdot n\right)}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, l\_m \cdot \mathsf{fma}\left(n, \frac{U* - U}{Om}, -2\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 2 regimes
                            2. if l < 5.0000000000000001e-100

                              1. Initial program 58.2%

                                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                              2. Add Preprocessing
                              3. Step-by-step derivation
                                1. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                                2. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                                3. +-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                6. distribute-lft-neg-inN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                8. lift-pow.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                9. unpow2N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                10. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                11. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                12. lower-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                                13. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                14. lower-neg.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                15. lower-*.f6461.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                16. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                                17. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                              4. Applied rewrites61.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 \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                              5. Step-by-step derivation
                                1. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                2. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                3. lower-fma.f6461.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                6. lower-*.f6461.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                8. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                9. lift-*.f6461.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                10. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                                11. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                                12. lower-fma.f6461.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                                13. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                                14. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                                15. associate-/l*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                                16. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                                17. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                                18. lower-*.f6461.7

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                              6. Applied rewrites61.7%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                              7. Applied rewrites57.9%

                                \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                              8. Taylor expanded in U* around inf

                                \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                              9. Step-by-step derivation
                                1. lower-/.f64N/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                2. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \frac{\color{blue}{U* \cdot \left(\ell \cdot n\right)}}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                3. lower-*.f6457.2

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \frac{U* \cdot \color{blue}{\left(\ell \cdot n\right)}}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                              10. Applied rewrites57.2%

                                \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\frac{U* \cdot \left(\ell \cdot n\right)}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]

                              if 5.0000000000000001e-100 < l

                              1. Initial program 41.8%

                                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                              2. Add Preprocessing
                              3. Step-by-step derivation
                                1. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                                2. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                                3. +-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                6. distribute-lft-neg-inN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                8. lift-pow.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                9. unpow2N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                10. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                11. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                12. lower-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                                13. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                14. lower-neg.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                15. lower-*.f6443.2

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                16. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                                17. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                              4. Applied rewrites43.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 \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                              5. Step-by-step derivation
                                1. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                2. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                3. lower-fma.f6443.2

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                6. lower-*.f6443.2

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                8. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                9. lift-*.f6443.2

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                10. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                                11. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                                12. lower-fma.f6443.2

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                                13. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                                14. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                                15. associate-/l*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                                16. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                                17. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                                18. lower-*.f6448.3

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                              6. Applied rewrites48.3%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                              7. Applied rewrites61.3%

                                \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                              8. Taylor expanded in l around 0

                                \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\ell \cdot \left(\frac{n \cdot \left(U* - U\right)}{Om} - 2\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                              9. Step-by-step derivation
                                1. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\ell \cdot \left(\frac{n \cdot \left(U* - U\right)}{Om} - 2\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                2. sub-negN/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \color{blue}{\left(\frac{n \cdot \left(U* - U\right)}{Om} + \left(\mathsf{neg}\left(2\right)\right)\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                3. associate-/l*N/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \left(\color{blue}{n \cdot \frac{U* - U}{Om}} + \left(\mathsf{neg}\left(2\right)\right)\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                4. metadata-evalN/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \left(n \cdot \frac{U* - U}{Om} + \color{blue}{-2}\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                5. lower-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \color{blue}{\mathsf{fma}\left(n, \frac{U* - U}{Om}, -2\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                6. lower-/.f64N/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \mathsf{fma}\left(n, \color{blue}{\frac{U* - U}{Om}}, -2\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                7. lower--.f6465.1

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \ell \cdot \mathsf{fma}\left(n, \frac{\color{blue}{U* - U}}{Om}, -2\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                              10. Applied rewrites65.1%

                                \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\ell \cdot \mathsf{fma}\left(n, \frac{U* - U}{Om}, -2\right)}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                            3. Recombined 2 regimes into one program.
                            4. Add Preprocessing

                            Alternative 23: 44.0% accurate, 3.1× speedup?

                            \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;U* \leq 5.1 \cdot 10^{+85}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, -2 \cdot l\_m, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{U* \cdot U} \cdot \frac{\left(\sqrt{2} \cdot n\right) \cdot l\_m}{Om}\\ \end{array} \end{array} \]
                            l_m = (fabs.f64 l)
                            (FPCore (n U t l_m Om U*)
                             :precision binary64
                             (if (<= U* 5.1e+85)
                               (sqrt (* (* (fma (/ l_m Om) (* -2.0 l_m) t) (* 2.0 n)) U))
                               (* (sqrt (* U* U)) (/ (* (* (sqrt 2.0) n) l_m) Om))))
                            l_m = fabs(l);
                            double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                            	double tmp;
                            	if (U_42_ <= 5.1e+85) {
                            		tmp = sqrt(((fma((l_m / Om), (-2.0 * l_m), t) * (2.0 * n)) * U));
                            	} else {
                            		tmp = sqrt((U_42_ * U)) * (((sqrt(2.0) * n) * l_m) / Om);
                            	}
                            	return tmp;
                            }
                            
                            l_m = abs(l)
                            function code(n, U, t, l_m, Om, U_42_)
                            	tmp = 0.0
                            	if (U_42_ <= 5.1e+85)
                            		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(-2.0 * l_m), t) * Float64(2.0 * n)) * U));
                            	else
                            		tmp = Float64(sqrt(Float64(U_42_ * U)) * Float64(Float64(Float64(sqrt(2.0) * n) * l_m) / Om));
                            	end
                            	return tmp
                            end
                            
                            l_m = N[Abs[l], $MachinePrecision]
                            code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[U$42$, 5.1e+85], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(-2.0 * l$95$m), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision], N[(N[Sqrt[N[(U$42$ * U), $MachinePrecision]], $MachinePrecision] * N[(N[(N[(N[Sqrt[2.0], $MachinePrecision] * n), $MachinePrecision] * l$95$m), $MachinePrecision] / Om), $MachinePrecision]), $MachinePrecision]]
                            
                            \begin{array}{l}
                            l_m = \left|\ell\right|
                            
                            \\
                            \begin{array}{l}
                            \mathbf{if}\;U* \leq 5.1 \cdot 10^{+85}:\\
                            \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, -2 \cdot l\_m, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;\sqrt{U* \cdot U} \cdot \frac{\left(\sqrt{2} \cdot n\right) \cdot l\_m}{Om}\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 2 regimes
                            2. if U* < 5.0999999999999998e85

                              1. Initial program 55.0%

                                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                              2. Add Preprocessing
                              3. Step-by-step derivation
                                1. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                                2. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                                3. +-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                6. distribute-lft-neg-inN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                8. lift-pow.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                9. unpow2N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                10. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                11. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                12. lower-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                                13. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                14. lower-neg.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                15. lower-*.f6456.0

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                16. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                                17. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                              4. Applied rewrites56.0%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                              5. Step-by-step derivation
                                1. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                2. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                3. lower-fma.f6456.0

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                6. lower-*.f6456.0

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                8. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                9. lift-*.f6456.0

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                10. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                                11. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                                12. lower-fma.f6456.0

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                                13. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                                14. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                                15. associate-/l*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                                16. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                                17. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                                18. lower-*.f6458.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                              6. Applied rewrites58.1%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                              7. Applied rewrites60.4%

                                \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                              8. Taylor expanded in n around 0

                                \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                              9. Step-by-step derivation
                                1. lower-*.f6453.2

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                              10. Applied rewrites53.2%

                                \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]

                              if 5.0999999999999998e85 < U*

                              1. Initial program 47.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 \color{blue}{\frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om} \cdot \sqrt{U \cdot U*}} \]
                              4. Step-by-step derivation
                                1. *-commutativeN/A

                                  \[\leadsto \color{blue}{\sqrt{U \cdot U*} \cdot \frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om}} \]
                                2. lower-*.f64N/A

                                  \[\leadsto \color{blue}{\sqrt{U \cdot U*} \cdot \frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om}} \]
                                3. lower-sqrt.f64N/A

                                  \[\leadsto \color{blue}{\sqrt{U \cdot U*}} \cdot \frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om} \]
                                4. *-commutativeN/A

                                  \[\leadsto \sqrt{\color{blue}{U* \cdot U}} \cdot \frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om} \]
                                5. lower-*.f64N/A

                                  \[\leadsto \sqrt{\color{blue}{U* \cdot U}} \cdot \frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om} \]
                                6. lower-/.f64N/A

                                  \[\leadsto \sqrt{U* \cdot U} \cdot \color{blue}{\frac{\ell \cdot \left(n \cdot \sqrt{2}\right)}{Om}} \]
                                7. *-commutativeN/A

                                  \[\leadsto \sqrt{U* \cdot U} \cdot \frac{\color{blue}{\left(n \cdot \sqrt{2}\right) \cdot \ell}}{Om} \]
                                8. lower-*.f64N/A

                                  \[\leadsto \sqrt{U* \cdot U} \cdot \frac{\color{blue}{\left(n \cdot \sqrt{2}\right) \cdot \ell}}{Om} \]
                                9. *-commutativeN/A

                                  \[\leadsto \sqrt{U* \cdot U} \cdot \frac{\color{blue}{\left(\sqrt{2} \cdot n\right)} \cdot \ell}{Om} \]
                                10. lower-*.f64N/A

                                  \[\leadsto \sqrt{U* \cdot U} \cdot \frac{\color{blue}{\left(\sqrt{2} \cdot n\right)} \cdot \ell}{Om} \]
                                11. lower-sqrt.f6429.8

                                  \[\leadsto \sqrt{U* \cdot U} \cdot \frac{\left(\color{blue}{\sqrt{2}} \cdot n\right) \cdot \ell}{Om} \]
                              5. Applied rewrites29.8%

                                \[\leadsto \color{blue}{\sqrt{U* \cdot U} \cdot \frac{\left(\sqrt{2} \cdot n\right) \cdot \ell}{Om}} \]
                            3. Recombined 2 regimes into one program.
                            4. Add Preprocessing

                            Alternative 24: 47.0% accurate, 3.3× speedup?

                            \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;t \leq 1.9 \cdot 10^{+77}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, -2 \cdot l\_m, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}\\ \end{array} \end{array} \]
                            l_m = (fabs.f64 l)
                            (FPCore (n U t l_m Om U*)
                             :precision binary64
                             (if (<= t 1.9e+77)
                               (sqrt (* (* (fma (/ l_m Om) (* -2.0 l_m) t) (* 2.0 n)) U))
                               (sqrt (* (* (* n t) U) 2.0))))
                            l_m = fabs(l);
                            double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                            	double tmp;
                            	if (t <= 1.9e+77) {
                            		tmp = sqrt(((fma((l_m / Om), (-2.0 * l_m), t) * (2.0 * n)) * U));
                            	} else {
                            		tmp = sqrt((((n * t) * U) * 2.0));
                            	}
                            	return tmp;
                            }
                            
                            l_m = abs(l)
                            function code(n, U, t, l_m, Om, U_42_)
                            	tmp = 0.0
                            	if (t <= 1.9e+77)
                            		tmp = sqrt(Float64(Float64(fma(Float64(l_m / Om), Float64(-2.0 * l_m), t) * Float64(2.0 * n)) * U));
                            	else
                            		tmp = sqrt(Float64(Float64(Float64(n * t) * U) * 2.0));
                            	end
                            	return tmp
                            end
                            
                            l_m = N[Abs[l], $MachinePrecision]
                            code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[t, 1.9e+77], N[Sqrt[N[(N[(N[(N[(l$95$m / Om), $MachinePrecision] * N[(-2.0 * l$95$m), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(N[(n * t), $MachinePrecision] * U), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision]]
                            
                            \begin{array}{l}
                            l_m = \left|\ell\right|
                            
                            \\
                            \begin{array}{l}
                            \mathbf{if}\;t \leq 1.9 \cdot 10^{+77}:\\
                            \;\;\;\;\sqrt{\left(\mathsf{fma}\left(\frac{l\_m}{Om}, -2 \cdot l\_m, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;\sqrt{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 2 regimes
                            2. if t < 1.9000000000000001e77

                              1. Initial program 52.5%

                                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                              2. Add Preprocessing
                              3. Step-by-step derivation
                                1. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                                2. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                                3. +-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                6. distribute-lft-neg-inN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                8. lift-pow.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                9. unpow2N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                10. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                11. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                12. lower-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                                13. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                14. lower-neg.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                15. lower-*.f6455.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                16. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                                17. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                              4. Applied rewrites55.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 \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                              5. Step-by-step derivation
                                1. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                2. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                3. lower-fma.f6455.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                6. lower-*.f6455.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                8. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                9. lift-*.f6455.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                10. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                                11. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                                12. lower-fma.f6455.1

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                                13. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                                14. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                                15. associate-/l*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                                16. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                                17. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                                18. lower-*.f6457.5

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                              6. Applied rewrites57.5%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                              7. Applied rewrites56.8%

                                \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                              8. Taylor expanded in n around 0

                                \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                              9. Step-by-step derivation
                                1. lower-*.f6444.2

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                              10. Applied rewrites44.2%

                                \[\leadsto \sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{-2 \cdot \ell}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]

                              if 1.9000000000000001e77 < t

                              1. Initial program 55.8%

                                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                              2. Add Preprocessing
                              3. Taylor expanded in t around inf

                                \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot t\right)\right)}} \]
                              4. Step-by-step derivation
                                1. *-commutativeN/A

                                  \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                2. lower-*.f64N/A

                                  \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                3. *-commutativeN/A

                                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                4. lower-*.f64N/A

                                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                5. lower-*.f6466.6

                                  \[\leadsto \sqrt{\left(\color{blue}{\left(n \cdot t\right)} \cdot U\right) \cdot 2} \]
                              5. Applied rewrites66.6%

                                \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}} \]
                            3. Recombined 2 regimes into one program.
                            4. Add Preprocessing

                            Alternative 25: 43.0% accurate, 3.3× speedup?

                            \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;t \leq 3.45 \cdot 10^{-32}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(-2, \frac{l\_m \cdot l\_m}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}\\ \end{array} \end{array} \]
                            l_m = (fabs.f64 l)
                            (FPCore (n U t l_m Om U*)
                             :precision binary64
                             (if (<= t 3.45e-32)
                               (sqrt (* (* (fma -2.0 (/ (* l_m l_m) Om) t) (* 2.0 n)) U))
                               (sqrt (* (* (* n t) U) 2.0))))
                            l_m = fabs(l);
                            double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                            	double tmp;
                            	if (t <= 3.45e-32) {
                            		tmp = sqrt(((fma(-2.0, ((l_m * l_m) / Om), t) * (2.0 * n)) * U));
                            	} else {
                            		tmp = sqrt((((n * t) * U) * 2.0));
                            	}
                            	return tmp;
                            }
                            
                            l_m = abs(l)
                            function code(n, U, t, l_m, Om, U_42_)
                            	tmp = 0.0
                            	if (t <= 3.45e-32)
                            		tmp = sqrt(Float64(Float64(fma(-2.0, Float64(Float64(l_m * l_m) / Om), t) * Float64(2.0 * n)) * U));
                            	else
                            		tmp = sqrt(Float64(Float64(Float64(n * t) * U) * 2.0));
                            	end
                            	return tmp
                            end
                            
                            l_m = N[Abs[l], $MachinePrecision]
                            code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[t, 3.45e-32], N[Sqrt[N[(N[(N[(-2.0 * N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision] + t), $MachinePrecision] * N[(2.0 * n), $MachinePrecision]), $MachinePrecision] * U), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(N[(n * t), $MachinePrecision] * U), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision]]
                            
                            \begin{array}{l}
                            l_m = \left|\ell\right|
                            
                            \\
                            \begin{array}{l}
                            \mathbf{if}\;t \leq 3.45 \cdot 10^{-32}:\\
                            \;\;\;\;\sqrt{\left(\mathsf{fma}\left(-2, \frac{l\_m \cdot l\_m}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;\sqrt{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 2 regimes
                            2. if t < 3.45000000000000009e-32

                              1. Initial program 50.9%

                                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                              2. Add Preprocessing
                              3. Step-by-step derivation
                                1. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)}} \]
                                2. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) + \left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right)\right)}} \]
                                3. +-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\mathsf{neg}\left(\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\color{blue}{\left(U - U*\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)}\right)\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                6. distribute-lft-neg-inN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                8. lift-pow.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{{\left(\frac{\ell}{Om}\right)}^{2}}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                9. unpow2N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \color{blue}{\left(\frac{\ell}{Om} \cdot \frac{\ell}{Om}\right)}\right) + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                10. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \color{blue}{\left(\left(n \cdot \frac{\ell}{Om}\right) \cdot \frac{\ell}{Om}\right)} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                11. associate-*r*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om}} + \left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)} \]
                                12. lower-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)}} \]
                                13. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(\mathsf{neg}\left(\left(U - U*\right)\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                14. lower-neg.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\color{blue}{\left(-\left(U - U*\right)\right)} \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                15. lower-*.f6453.2

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)}, \frac{\ell}{Om}, t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right)} \]
                                16. lift--.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t - 2 \cdot \frac{\ell \cdot \ell}{Om}}\right)} \]
                                17. sub-negN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \color{blue}{t + \left(\mathsf{neg}\left(2 \cdot \frac{\ell \cdot \ell}{Om}\right)\right)}\right)} \]
                              4. Applied rewrites53.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 \left(n \cdot \frac{\ell}{Om}\right), \frac{\ell}{Om}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                              5. Step-by-step derivation
                                1. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\left(\left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right) \cdot \frac{\ell}{Om} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                2. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\color{blue}{\frac{\ell}{Om} \cdot \left(\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)\right)} + \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                3. lower-fma.f6453.2

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)}} \]
                                4. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(-\left(U - U*\right)\right) \cdot \left(n \cdot \frac{\ell}{Om}\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                6. lower-*.f6453.2

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right) \cdot \left(-\left(U - U*\right)\right)}, \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                7. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(n \cdot \frac{\ell}{Om}\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                8. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                9. lift-*.f6453.2

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \color{blue}{\left(\frac{\ell}{Om} \cdot n\right)} \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)\right)} \]
                                10. lift-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{-2 \cdot \frac{\ell \cdot \ell}{Om} + t}\right)} \]
                                11. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\frac{\ell \cdot \ell}{Om} \cdot -2} + t\right)} \]
                                12. lower-fma.f6453.2

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \color{blue}{\mathsf{fma}\left(\frac{\ell \cdot \ell}{Om}, -2, t\right)}\right)} \]
                                13. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell \cdot \ell}{Om}}, -2, t\right)\right)} \]
                                14. lift-*.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\color{blue}{\ell \cdot \ell}}{Om}, -2, t\right)\right)} \]
                                15. associate-/l*N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\ell \cdot \frac{\ell}{Om}}, -2, t\right)\right)} \]
                                16. lift-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\ell \cdot \color{blue}{\frac{\ell}{Om}}, -2, t\right)\right)} \]
                                17. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                                18. lower-*.f6455.3

                                  \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\color{blue}{\frac{\ell}{Om} \cdot \ell}, -2, t\right)\right)} \]
                              6. Applied rewrites55.3%

                                \[\leadsto \sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \color{blue}{\mathsf{fma}\left(\frac{\ell}{Om}, \left(\frac{\ell}{Om} \cdot n\right) \cdot \left(-\left(U - U*\right)\right), \mathsf{fma}\left(\frac{\ell}{Om} \cdot \ell, -2, t\right)\right)}} \]
                              7. Applied rewrites55.4%

                                \[\leadsto \color{blue}{\sqrt{\left(\mathsf{fma}\left(\frac{\ell}{Om}, \mathsf{fma}\left(\left(-\left(U - U*\right)\right) \cdot n, \frac{\ell}{Om}, -2 \cdot \ell\right), t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}} \]
                              8. Taylor expanded in n around 0

                                \[\leadsto \sqrt{\left(\color{blue}{\left(t + -2 \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                              9. Step-by-step derivation
                                1. +-commutativeN/A

                                  \[\leadsto \sqrt{\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                2. lower-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                3. lower-/.f64N/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                4. unpow2N/A

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                                5. lower-*.f6439.5

                                  \[\leadsto \sqrt{\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U} \]
                              10. Applied rewrites39.5%

                                \[\leadsto \sqrt{\left(\color{blue}{\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right)} \cdot \left(2 \cdot n\right)\right) \cdot U} \]

                              if 3.45000000000000009e-32 < t

                              1. Initial program 59.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. *-commutativeN/A

                                  \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                2. lower-*.f64N/A

                                  \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                3. *-commutativeN/A

                                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                4. lower-*.f64N/A

                                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                5. lower-*.f6459.1

                                  \[\leadsto \sqrt{\left(\color{blue}{\left(n \cdot t\right)} \cdot U\right) \cdot 2} \]
                              5. Applied rewrites59.1%

                                \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}} \]
                            3. Recombined 2 regimes into one program.
                            4. Final simplification44.8%

                              \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq 3.45 \cdot 10^{-32}:\\ \;\;\;\;\sqrt{\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot \left(2 \cdot n\right)\right) \cdot U}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}\\ \end{array} \]
                            5. Add Preprocessing

                            Alternative 26: 43.0% accurate, 3.3× speedup?

                            \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;t \leq 3.45 \cdot 10^{-32}:\\ \;\;\;\;\sqrt{\left(\left(\mathsf{fma}\left(-2, \frac{l\_m \cdot l\_m}{Om}, t\right) \cdot n\right) \cdot U\right) \cdot 2}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}\\ \end{array} \end{array} \]
                            l_m = (fabs.f64 l)
                            (FPCore (n U t l_m Om U*)
                             :precision binary64
                             (if (<= t 3.45e-32)
                               (sqrt (* (* (* (fma -2.0 (/ (* l_m l_m) Om) t) n) U) 2.0))
                               (sqrt (* (* (* n t) U) 2.0))))
                            l_m = fabs(l);
                            double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                            	double tmp;
                            	if (t <= 3.45e-32) {
                            		tmp = sqrt((((fma(-2.0, ((l_m * l_m) / Om), t) * n) * U) * 2.0));
                            	} else {
                            		tmp = sqrt((((n * t) * U) * 2.0));
                            	}
                            	return tmp;
                            }
                            
                            l_m = abs(l)
                            function code(n, U, t, l_m, Om, U_42_)
                            	tmp = 0.0
                            	if (t <= 3.45e-32)
                            		tmp = sqrt(Float64(Float64(Float64(fma(-2.0, Float64(Float64(l_m * l_m) / Om), t) * n) * U) * 2.0));
                            	else
                            		tmp = sqrt(Float64(Float64(Float64(n * t) * U) * 2.0));
                            	end
                            	return tmp
                            end
                            
                            l_m = N[Abs[l], $MachinePrecision]
                            code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[t, 3.45e-32], N[Sqrt[N[(N[(N[(N[(-2.0 * N[(N[(l$95$m * l$95$m), $MachinePrecision] / Om), $MachinePrecision] + t), $MachinePrecision] * n), $MachinePrecision] * U), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(N[(n * t), $MachinePrecision] * U), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision]]
                            
                            \begin{array}{l}
                            l_m = \left|\ell\right|
                            
                            \\
                            \begin{array}{l}
                            \mathbf{if}\;t \leq 3.45 \cdot 10^{-32}:\\
                            \;\;\;\;\sqrt{\left(\left(\mathsf{fma}\left(-2, \frac{l\_m \cdot l\_m}{Om}, t\right) \cdot n\right) \cdot U\right) \cdot 2}\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;\sqrt{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 2 regimes
                            2. if t < 3.45000000000000009e-32

                              1. Initial program 50.9%

                                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                              2. Add Preprocessing
                              3. Taylor expanded in n around 0

                                \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)\right)}} \]
                              4. Step-by-step derivation
                                1. *-commutativeN/A

                                  \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)\right) \cdot 2}} \]
                                2. lower-*.f64N/A

                                  \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right)\right) \cdot 2}} \]
                                3. *-commutativeN/A

                                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U\right)} \cdot 2} \]
                                4. lower-*.f64N/A

                                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot \left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right)\right) \cdot U\right)} \cdot 2} \]
                                5. *-commutativeN/A

                                  \[\leadsto \sqrt{\left(\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U\right) \cdot 2} \]
                                6. lower-*.f64N/A

                                  \[\leadsto \sqrt{\left(\color{blue}{\left(\left(t - 2 \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right)} \cdot U\right) \cdot 2} \]
                                7. cancel-sign-sub-invN/A

                                  \[\leadsto \sqrt{\left(\left(\color{blue}{\left(t + \left(\mathsf{neg}\left(2\right)\right) \cdot \frac{{\ell}^{2}}{Om}\right)} \cdot n\right) \cdot U\right) \cdot 2} \]
                                8. metadata-evalN/A

                                  \[\leadsto \sqrt{\left(\left(\left(t + \color{blue}{-2} \cdot \frac{{\ell}^{2}}{Om}\right) \cdot n\right) \cdot U\right) \cdot 2} \]
                                9. +-commutativeN/A

                                  \[\leadsto \sqrt{\left(\left(\color{blue}{\left(-2 \cdot \frac{{\ell}^{2}}{Om} + t\right)} \cdot n\right) \cdot U\right) \cdot 2} \]
                                10. lower-fma.f64N/A

                                  \[\leadsto \sqrt{\left(\left(\color{blue}{\mathsf{fma}\left(-2, \frac{{\ell}^{2}}{Om}, t\right)} \cdot n\right) \cdot U\right) \cdot 2} \]
                                11. lower-/.f64N/A

                                  \[\leadsto \sqrt{\left(\left(\mathsf{fma}\left(-2, \color{blue}{\frac{{\ell}^{2}}{Om}}, t\right) \cdot n\right) \cdot U\right) \cdot 2} \]
                                12. unpow2N/A

                                  \[\leadsto \sqrt{\left(\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U\right) \cdot 2} \]
                                13. lower-*.f6439.5

                                  \[\leadsto \sqrt{\left(\left(\mathsf{fma}\left(-2, \frac{\color{blue}{\ell \cdot \ell}}{Om}, t\right) \cdot n\right) \cdot U\right) \cdot 2} \]
                              5. Applied rewrites39.5%

                                \[\leadsto \sqrt{\color{blue}{\left(\left(\mathsf{fma}\left(-2, \frac{\ell \cdot \ell}{Om}, t\right) \cdot n\right) \cdot U\right) \cdot 2}} \]

                              if 3.45000000000000009e-32 < t

                              1. Initial program 59.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. *-commutativeN/A

                                  \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                2. lower-*.f64N/A

                                  \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                3. *-commutativeN/A

                                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                4. lower-*.f64N/A

                                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                5. lower-*.f6459.1

                                  \[\leadsto \sqrt{\left(\color{blue}{\left(n \cdot t\right)} \cdot U\right) \cdot 2} \]
                              5. Applied rewrites59.1%

                                \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}} \]
                            3. Recombined 2 regimes into one program.
                            4. Add Preprocessing

                            Alternative 27: 35.4% accurate, 5.6× speedup?

                            \[\begin{array}{l} l_m = \left|\ell\right| \\ \begin{array}{l} \mathbf{if}\;U \leq 2.45 \cdot 10^{-303}:\\ \;\;\;\;\sqrt{\left(\left(n \cdot U\right) \cdot t\right) \cdot 2}\\ \mathbf{else}:\\ \;\;\;\;\sqrt{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}\\ \end{array} \end{array} \]
                            l_m = (fabs.f64 l)
                            (FPCore (n U t l_m Om U*)
                             :precision binary64
                             (if (<= U 2.45e-303)
                               (sqrt (* (* (* n U) t) 2.0))
                               (sqrt (* (* (* n t) U) 2.0))))
                            l_m = fabs(l);
                            double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                            	double tmp;
                            	if (U <= 2.45e-303) {
                            		tmp = sqrt((((n * U) * t) * 2.0));
                            	} else {
                            		tmp = sqrt((((n * t) * U) * 2.0));
                            	}
                            	return tmp;
                            }
                            
                            l_m = abs(l)
                            real(8) function code(n, u, t, l_m, om, u_42)
                                real(8), intent (in) :: n
                                real(8), intent (in) :: u
                                real(8), intent (in) :: t
                                real(8), intent (in) :: l_m
                                real(8), intent (in) :: om
                                real(8), intent (in) :: u_42
                                real(8) :: tmp
                                if (u <= 2.45d-303) then
                                    tmp = sqrt((((n * u) * t) * 2.0d0))
                                else
                                    tmp = sqrt((((n * t) * u) * 2.0d0))
                                end if
                                code = tmp
                            end function
                            
                            l_m = Math.abs(l);
                            public static double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                            	double tmp;
                            	if (U <= 2.45e-303) {
                            		tmp = Math.sqrt((((n * U) * t) * 2.0));
                            	} else {
                            		tmp = Math.sqrt((((n * t) * U) * 2.0));
                            	}
                            	return tmp;
                            }
                            
                            l_m = math.fabs(l)
                            def code(n, U, t, l_m, Om, U_42_):
                            	tmp = 0
                            	if U <= 2.45e-303:
                            		tmp = math.sqrt((((n * U) * t) * 2.0))
                            	else:
                            		tmp = math.sqrt((((n * t) * U) * 2.0))
                            	return tmp
                            
                            l_m = abs(l)
                            function code(n, U, t, l_m, Om, U_42_)
                            	tmp = 0.0
                            	if (U <= 2.45e-303)
                            		tmp = sqrt(Float64(Float64(Float64(n * U) * t) * 2.0));
                            	else
                            		tmp = sqrt(Float64(Float64(Float64(n * t) * U) * 2.0));
                            	end
                            	return tmp
                            end
                            
                            l_m = abs(l);
                            function tmp_2 = code(n, U, t, l_m, Om, U_42_)
                            	tmp = 0.0;
                            	if (U <= 2.45e-303)
                            		tmp = sqrt((((n * U) * t) * 2.0));
                            	else
                            		tmp = sqrt((((n * t) * U) * 2.0));
                            	end
                            	tmp_2 = tmp;
                            end
                            
                            l_m = N[Abs[l], $MachinePrecision]
                            code[n_, U_, t_, l$95$m_, Om_, U$42$_] := If[LessEqual[U, 2.45e-303], N[Sqrt[N[(N[(N[(n * U), $MachinePrecision] * t), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision], N[Sqrt[N[(N[(N[(n * t), $MachinePrecision] * U), $MachinePrecision] * 2.0), $MachinePrecision]], $MachinePrecision]]
                            
                            \begin{array}{l}
                            l_m = \left|\ell\right|
                            
                            \\
                            \begin{array}{l}
                            \mathbf{if}\;U \leq 2.45 \cdot 10^{-303}:\\
                            \;\;\;\;\sqrt{\left(\left(n \cdot U\right) \cdot t\right) \cdot 2}\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;\sqrt{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 2 regimes
                            2. if U < 2.45e-303

                              1. Initial program 64.7%

                                \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                              2. Add Preprocessing
                              3. Taylor expanded in t around inf

                                \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot t\right)\right)}} \]
                              4. Step-by-step derivation
                                1. *-commutativeN/A

                                  \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                2. lower-*.f64N/A

                                  \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                3. *-commutativeN/A

                                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                4. lower-*.f64N/A

                                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                5. lower-*.f6446.9

                                  \[\leadsto \sqrt{\left(\color{blue}{\left(n \cdot t\right)} \cdot U\right) \cdot 2} \]
                              5. Applied rewrites46.9%

                                \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}} \]
                              6. Step-by-step derivation
                                1. Applied rewrites51.0%

                                  \[\leadsto \sqrt{\left(\left(n \cdot U\right) \cdot t\right) \cdot 2} \]

                                if 2.45e-303 < U

                                1. Initial program 41.7%

                                  \[\sqrt{\left(\left(2 \cdot n\right) \cdot U\right) \cdot \left(\left(t - 2 \cdot \frac{\ell \cdot \ell}{Om}\right) - \left(n \cdot {\left(\frac{\ell}{Om}\right)}^{2}\right) \cdot \left(U - U*\right)\right)} \]
                                2. Add Preprocessing
                                3. Taylor expanded in t around inf

                                  \[\leadsto \sqrt{\color{blue}{2 \cdot \left(U \cdot \left(n \cdot t\right)\right)}} \]
                                4. Step-by-step derivation
                                  1. *-commutativeN/A

                                    \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                  2. lower-*.f64N/A

                                    \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                  3. *-commutativeN/A

                                    \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                  4. lower-*.f64N/A

                                    \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                  5. lower-*.f6430.4

                                    \[\leadsto \sqrt{\left(\color{blue}{\left(n \cdot t\right)} \cdot U\right) \cdot 2} \]
                                5. Applied rewrites30.4%

                                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}} \]
                              7. Recombined 2 regimes into one program.
                              8. Add Preprocessing

                              Alternative 28: 35.4% accurate, 6.8× speedup?

                              \[\begin{array}{l} l_m = \left|\ell\right| \\ \sqrt{\left(2 \cdot n\right) \cdot \left(t \cdot U\right)} \end{array} \]
                              l_m = (fabs.f64 l)
                              (FPCore (n U t l_m Om U*) :precision binary64 (sqrt (* (* 2.0 n) (* t U))))
                              l_m = fabs(l);
                              double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                              	return sqrt(((2.0 * n) * (t * U)));
                              }
                              
                              l_m = abs(l)
                              real(8) function code(n, u, t, l_m, om, u_42)
                                  real(8), intent (in) :: n
                                  real(8), intent (in) :: u
                                  real(8), intent (in) :: t
                                  real(8), intent (in) :: l_m
                                  real(8), intent (in) :: om
                                  real(8), intent (in) :: u_42
                                  code = sqrt(((2.0d0 * n) * (t * u)))
                              end function
                              
                              l_m = Math.abs(l);
                              public static double code(double n, double U, double t, double l_m, double Om, double U_42_) {
                              	return Math.sqrt(((2.0 * n) * (t * U)));
                              }
                              
                              l_m = math.fabs(l)
                              def code(n, U, t, l_m, Om, U_42_):
                              	return math.sqrt(((2.0 * n) * (t * U)))
                              
                              l_m = abs(l)
                              function code(n, U, t, l_m, Om, U_42_)
                              	return sqrt(Float64(Float64(2.0 * n) * Float64(t * U)))
                              end
                              
                              l_m = abs(l);
                              function tmp = code(n, U, t, l_m, Om, U_42_)
                              	tmp = sqrt(((2.0 * n) * (t * U)));
                              end
                              
                              l_m = N[Abs[l], $MachinePrecision]
                              code[n_, U_, t_, l$95$m_, Om_, U$42$_] := N[Sqrt[N[(N[(2.0 * n), $MachinePrecision] * N[(t * U), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]
                              
                              \begin{array}{l}
                              l_m = \left|\ell\right|
                              
                              \\
                              \sqrt{\left(2 \cdot n\right) \cdot \left(t \cdot U\right)}
                              \end{array}
                              
                              Derivation
                              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. *-commutativeN/A

                                  \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                2. lower-*.f64N/A

                                  \[\leadsto \sqrt{\color{blue}{\left(U \cdot \left(n \cdot t\right)\right) \cdot 2}} \]
                                3. *-commutativeN/A

                                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                4. lower-*.f64N/A

                                  \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right)} \cdot 2} \]
                                5. lower-*.f6438.6

                                  \[\leadsto \sqrt{\left(\color{blue}{\left(n \cdot t\right)} \cdot U\right) \cdot 2} \]
                              5. Applied rewrites38.6%

                                \[\leadsto \sqrt{\color{blue}{\left(\left(n \cdot t\right) \cdot U\right) \cdot 2}} \]
                              6. Step-by-step derivation
                                1. Applied rewrites35.3%

                                  \[\leadsto \sqrt{\left(2 \cdot n\right) \cdot \color{blue}{\left(t \cdot U\right)}} \]
                                2. Add Preprocessing

                                Reproduce

                                ?
                                herbie shell --seed 2024314 
                                (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*))))))