Initial program 33.3
\[\frac{\sqrt{2} \cdot t}{\sqrt{\frac{x + 1}{x - 1} \cdot \left(\ell \cdot \ell + 2 \cdot \left(t \cdot t\right)\right) - \ell \cdot \ell}}
\]
Simplified35.2
\[\leadsto \color{blue}{\frac{\sqrt{2}}{\sqrt{\frac{\left(x + 1\right) \cdot \mathsf{fma}\left(2 \cdot t, t, \ell \cdot \ell\right)}{x + -1} - \ell \cdot \ell}} \cdot t}
\]
Proof
(*.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (/.f64 (*.f64 (+.f64 x 1) (fma.f64 (*.f64 2 t) t (*.f64 l l))) (+.f64 x -1)) (*.f64 l l)))) t): 0 points increase in error, 0 points decrease in error
(*.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (/.f64 (*.f64 (+.f64 x 1) (Rewrite<= fma-def_binary64 (+.f64 (*.f64 (*.f64 2 t) t) (*.f64 l l)))) (+.f64 x -1)) (*.f64 l l)))) t): 0 points increase in error, 0 points decrease in error
(*.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (/.f64 (*.f64 (+.f64 x 1) (+.f64 (Rewrite<= associate-*r*_binary64 (*.f64 2 (*.f64 t t))) (*.f64 l l))) (+.f64 x -1)) (*.f64 l l)))) t): 0 points increase in error, 0 points decrease in error
(*.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (/.f64 (*.f64 (+.f64 x 1) (Rewrite<= +-commutative_binary64 (+.f64 (*.f64 l l) (*.f64 2 (*.f64 t t))))) (+.f64 x -1)) (*.f64 l l)))) t): 0 points increase in error, 0 points decrease in error
(*.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (/.f64 (*.f64 (+.f64 x 1) (+.f64 (*.f64 l l) (*.f64 2 (*.f64 t t)))) (+.f64 x (Rewrite<= metadata-eval (neg.f64 1)))) (*.f64 l l)))) t): 0 points increase in error, 0 points decrease in error
(*.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (/.f64 (*.f64 (+.f64 x 1) (+.f64 (*.f64 l l) (*.f64 2 (*.f64 t t)))) (Rewrite<= sub-neg_binary64 (-.f64 x 1))) (*.f64 l l)))) t): 0 points increase in error, 0 points decrease in error
(*.f64 (/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (Rewrite<= associate-*l/_binary64 (*.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) (+.f64 (*.f64 l l) (*.f64 2 (*.f64 t t))))) (*.f64 l l)))) t): 22 points increase in error, 32 points decrease in error
(Rewrite=> associate-*l/_binary64 (/.f64 (*.f64 (sqrt.f64 2) t) (sqrt.f64 (-.f64 (*.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) (+.f64 (*.f64 l l) (*.f64 2 (*.f64 t t)))) (*.f64 l l))))): 19 points increase in error, 4 points decrease in error
Taylor expanded in x around inf 13.7
\[\leadsto \frac{\sqrt{2}}{\sqrt{\color{blue}{\left(\frac{{\ell}^{2}}{x} + \left(2 \cdot \frac{{t}^{2}}{x} + 2 \cdot {t}^{2}\right)\right) - -1 \cdot \frac{{\ell}^{2} + 2 \cdot {t}^{2}}{x}}}} \cdot t
\]
Simplified13.7
\[\leadsto \frac{\sqrt{2}}{\sqrt{\color{blue}{\frac{\ell \cdot \ell}{x} + \left(2 \cdot \left(\frac{t \cdot t}{x} + t \cdot t\right) - \frac{-\mathsf{fma}\left(2, t \cdot t, \ell \cdot \ell\right)}{x}\right)}}} \cdot t
\]
Proof
(+.f64 (/.f64 (*.f64 l l) x) (-.f64 (*.f64 2 (+.f64 (/.f64 (*.f64 t t) x) (*.f64 t t))) (/.f64 (neg.f64 (fma.f64 2 (*.f64 t t) (*.f64 l l))) x))): 0 points increase in error, 0 points decrease in error
(+.f64 (/.f64 (Rewrite<= unpow2_binary64 (pow.f64 l 2)) x) (-.f64 (*.f64 2 (+.f64 (/.f64 (*.f64 t t) x) (*.f64 t t))) (/.f64 (neg.f64 (fma.f64 2 (*.f64 t t) (*.f64 l l))) x))): 0 points increase in error, 0 points decrease in error
(+.f64 (/.f64 (pow.f64 l 2) x) (-.f64 (*.f64 2 (+.f64 (/.f64 (Rewrite<= unpow2_binary64 (pow.f64 t 2)) x) (*.f64 t t))) (/.f64 (neg.f64 (fma.f64 2 (*.f64 t t) (*.f64 l l))) x))): 0 points increase in error, 0 points decrease in error
(+.f64 (/.f64 (pow.f64 l 2) x) (-.f64 (*.f64 2 (+.f64 (/.f64 (pow.f64 t 2) x) (Rewrite<= unpow2_binary64 (pow.f64 t 2)))) (/.f64 (neg.f64 (fma.f64 2 (*.f64 t t) (*.f64 l l))) x))): 0 points increase in error, 0 points decrease in error
(+.f64 (/.f64 (pow.f64 l 2) x) (-.f64 (Rewrite<= distribute-lft-out_binary64 (+.f64 (*.f64 2 (/.f64 (pow.f64 t 2) x)) (*.f64 2 (pow.f64 t 2)))) (/.f64 (neg.f64 (fma.f64 2 (*.f64 t t) (*.f64 l l))) x))): 0 points increase in error, 0 points decrease in error
(+.f64 (/.f64 (pow.f64 l 2) x) (-.f64 (+.f64 (*.f64 2 (/.f64 (pow.f64 t 2) x)) (*.f64 2 (pow.f64 t 2))) (/.f64 (neg.f64 (Rewrite=> fma-udef_binary64 (+.f64 (*.f64 2 (*.f64 t t)) (*.f64 l l)))) x))): 0 points increase in error, 0 points decrease in error
(+.f64 (/.f64 (pow.f64 l 2) x) (-.f64 (+.f64 (*.f64 2 (/.f64 (pow.f64 t 2) x)) (*.f64 2 (pow.f64 t 2))) (/.f64 (neg.f64 (+.f64 (*.f64 2 (Rewrite<= unpow2_binary64 (pow.f64 t 2))) (*.f64 l l))) x))): 0 points increase in error, 0 points decrease in error
(+.f64 (/.f64 (pow.f64 l 2) x) (-.f64 (+.f64 (*.f64 2 (/.f64 (pow.f64 t 2) x)) (*.f64 2 (pow.f64 t 2))) (/.f64 (neg.f64 (+.f64 (*.f64 2 (pow.f64 t 2)) (Rewrite<= unpow2_binary64 (pow.f64 l 2)))) x))): 0 points increase in error, 0 points decrease in error
(+.f64 (/.f64 (pow.f64 l 2) x) (-.f64 (+.f64 (*.f64 2 (/.f64 (pow.f64 t 2) x)) (*.f64 2 (pow.f64 t 2))) (/.f64 (neg.f64 (Rewrite<= +-commutative_binary64 (+.f64 (pow.f64 l 2) (*.f64 2 (pow.f64 t 2))))) x))): 0 points increase in error, 0 points decrease in error
(+.f64 (/.f64 (pow.f64 l 2) x) (-.f64 (+.f64 (*.f64 2 (/.f64 (pow.f64 t 2) x)) (*.f64 2 (pow.f64 t 2))) (/.f64 (Rewrite<= mul-1-neg_binary64 (*.f64 -1 (+.f64 (pow.f64 l 2) (*.f64 2 (pow.f64 t 2))))) x))): 0 points increase in error, 0 points decrease in error
(+.f64 (/.f64 (pow.f64 l 2) x) (-.f64 (+.f64 (*.f64 2 (/.f64 (pow.f64 t 2) x)) (*.f64 2 (pow.f64 t 2))) (Rewrite<= associate-*r/_binary64 (*.f64 -1 (/.f64 (+.f64 (pow.f64 l 2) (*.f64 2 (pow.f64 t 2))) x))))): 0 points increase in error, 0 points decrease in error
(Rewrite<= associate--l+_binary64 (-.f64 (+.f64 (/.f64 (pow.f64 l 2) x) (+.f64 (*.f64 2 (/.f64 (pow.f64 t 2) x)) (*.f64 2 (pow.f64 t 2)))) (*.f64 -1 (/.f64 (+.f64 (pow.f64 l 2) (*.f64 2 (pow.f64 t 2))) x)))): 0 points increase in error, 0 points decrease in error
Taylor expanded in t around 0 14.1
\[\leadsto \frac{\sqrt{2}}{\sqrt{\frac{\ell \cdot \ell}{x} + \left(2 \cdot \left(\frac{t \cdot t}{x} + t \cdot t\right) - \color{blue}{-1 \cdot \frac{{\ell}^{2}}{x}}\right)}} \cdot t
\]
Simplified14.1
\[\leadsto \frac{\sqrt{2}}{\sqrt{\frac{\ell \cdot \ell}{x} + \left(2 \cdot \left(\frac{t \cdot t}{x} + t \cdot t\right) - \color{blue}{\ell \cdot \frac{-\ell}{x}}\right)}} \cdot t
\]
Proof
(*.f64 l (/.f64 (neg.f64 l) x)): 0 points increase in error, 0 points decrease in error
(*.f64 l (Rewrite<= distribute-neg-frac_binary64 (neg.f64 (/.f64 l x)))): 0 points increase in error, 0 points decrease in error
(Rewrite<= distribute-rgt-neg-in_binary64 (neg.f64 (*.f64 l (/.f64 l x)))): 0 points increase in error, 0 points decrease in error
(neg.f64 (Rewrite=> associate-*r/_binary64 (/.f64 (*.f64 l l) x))): 47 points increase in error, 15 points decrease in error
(neg.f64 (/.f64 (Rewrite<= unpow2_binary64 (pow.f64 l 2)) x)): 0 points increase in error, 0 points decrease in error
(Rewrite<= mul-1-neg_binary64 (*.f64 -1 (/.f64 (pow.f64 l 2) x))): 0 points increase in error, 0 points decrease in error
Applied egg-rr9.5
\[\leadsto \frac{\sqrt{2}}{\color{blue}{{\left(\frac{\ell}{\frac{x}{\ell}} + \mathsf{fma}\left(2, \mathsf{fma}\left(t, t, \frac{t}{x} \cdot t\right), \frac{\ell}{\frac{x}{\ell}}\right)\right)}^{0.25} \cdot {\left(\frac{\ell}{\frac{x}{\ell}} + \mathsf{fma}\left(2, \mathsf{fma}\left(t, t, \frac{t}{x} \cdot t\right), \frac{\ell}{\frac{x}{\ell}}\right)\right)}^{0.25}}} \cdot t
\]
Simplified9.4
\[\leadsto \frac{\sqrt{2}}{\color{blue}{\sqrt{2 \cdot \left(t \cdot \left(\frac{t}{x} + t\right) + \frac{\ell}{\frac{x}{\ell}}\right)}}} \cdot t
\]
Proof
(sqrt.f64 (*.f64 2 (+.f64 (*.f64 t (+.f64 (/.f64 t x) t)) (/.f64 l (/.f64 x l))))): 0 points increase in error, 0 points decrease in error
(sqrt.f64 (*.f64 2 (+.f64 (Rewrite<= distribute-rgt-out_binary64 (+.f64 (*.f64 (/.f64 t x) t) (*.f64 t t))) (/.f64 l (/.f64 x l))))): 0 points increase in error, 0 points decrease in error
(sqrt.f64 (*.f64 2 (+.f64 (Rewrite<= +-commutative_binary64 (+.f64 (*.f64 t t) (*.f64 (/.f64 t x) t))) (/.f64 l (/.f64 x l))))): 0 points increase in error, 0 points decrease in error
(sqrt.f64 (*.f64 2 (+.f64 (Rewrite<= fma-udef_binary64 (fma.f64 t t (*.f64 (/.f64 t x) t))) (/.f64 l (/.f64 x l))))): 0 points increase in error, 0 points decrease in error
(sqrt.f64 (*.f64 2 (+.f64 (fma.f64 t t (*.f64 (/.f64 t x) t)) (Rewrite<= associate-/l*_binary64 (/.f64 (*.f64 l l) x))))): 15 points increase in error, 2 points decrease in error
(sqrt.f64 (*.f64 2 (+.f64 (fma.f64 t t (*.f64 (/.f64 t x) t)) (/.f64 (Rewrite<= unpow2_binary64 (pow.f64 l 2)) x)))): 0 points increase in error, 0 points decrease in error
(sqrt.f64 (Rewrite<= distribute-lft-out_binary64 (+.f64 (*.f64 2 (fma.f64 t t (*.f64 (/.f64 t x) t))) (*.f64 2 (/.f64 (pow.f64 l 2) x))))): 0 points increase in error, 0 points decrease in error
(sqrt.f64 (+.f64 (*.f64 2 (fma.f64 t t (*.f64 (/.f64 t x) t))) (*.f64 (Rewrite<= metadata-eval (+.f64 1 1)) (/.f64 (pow.f64 l 2) x)))): 0 points increase in error, 0 points decrease in error
(sqrt.f64 (+.f64 (*.f64 2 (fma.f64 t t (*.f64 (/.f64 t x) t))) (Rewrite<= distribute-lft1-in_binary64 (+.f64 (*.f64 1 (/.f64 (pow.f64 l 2) x)) (/.f64 (pow.f64 l 2) x))))): 0 points increase in error, 0 points decrease in error
(sqrt.f64 (+.f64 (*.f64 2 (fma.f64 t t (*.f64 (/.f64 t x) t))) (+.f64 (Rewrite=> *-lft-identity_binary64 (/.f64 (pow.f64 l 2) x)) (/.f64 (pow.f64 l 2) x)))): 0 points increase in error, 0 points decrease in error
(sqrt.f64 (Rewrite<= associate-+l+_binary64 (+.f64 (+.f64 (*.f64 2 (fma.f64 t t (*.f64 (/.f64 t x) t))) (/.f64 (pow.f64 l 2) x)) (/.f64 (pow.f64 l 2) x)))): 1 points increase in error, 0 points decrease in error
(sqrt.f64 (+.f64 (+.f64 (*.f64 2 (fma.f64 t t (*.f64 (/.f64 t x) t))) (/.f64 (Rewrite=> unpow2_binary64 (*.f64 l l)) x)) (/.f64 (pow.f64 l 2) x))): 0 points increase in error, 0 points decrease in error
(sqrt.f64 (+.f64 (+.f64 (*.f64 2 (fma.f64 t t (*.f64 (/.f64 t x) t))) (Rewrite=> associate-/l*_binary64 (/.f64 l (/.f64 x l)))) (/.f64 (pow.f64 l 2) x))): 1 points increase in error, 1 points decrease in error
(sqrt.f64 (+.f64 (Rewrite<= fma-udef_binary64 (fma.f64 2 (fma.f64 t t (*.f64 (/.f64 t x) t)) (/.f64 l (/.f64 x l)))) (/.f64 (pow.f64 l 2) x))): 0 points increase in error, 0 points decrease in error
(sqrt.f64 (Rewrite<= +-commutative_binary64 (+.f64 (/.f64 (pow.f64 l 2) x) (fma.f64 2 (fma.f64 t t (*.f64 (/.f64 t x) t)) (/.f64 l (/.f64 x l)))))): 0 points increase in error, 0 points decrease in error
(sqrt.f64 (+.f64 (/.f64 (Rewrite=> unpow2_binary64 (*.f64 l l)) x) (fma.f64 2 (fma.f64 t t (*.f64 (/.f64 t x) t)) (/.f64 l (/.f64 x l))))): 0 points increase in error, 0 points decrease in error
(sqrt.f64 (+.f64 (Rewrite=> associate-/l*_binary64 (/.f64 l (/.f64 x l))) (fma.f64 2 (fma.f64 t t (*.f64 (/.f64 t x) t)) (/.f64 l (/.f64 x l))))): 1 points increase in error, 14 points decrease in error
(Rewrite<= unpow1/2_binary64 (pow.f64 (+.f64 (/.f64 l (/.f64 x l)) (fma.f64 2 (fma.f64 t t (*.f64 (/.f64 t x) t)) (/.f64 l (/.f64 x l)))) 1/2)): 0 points increase in error, 0 points decrease in error
(pow.f64 (+.f64 (/.f64 l (/.f64 x l)) (fma.f64 2 (fma.f64 t t (*.f64 (/.f64 t x) t)) (/.f64 l (/.f64 x l)))) (Rewrite<= metadata-eval (*.f64 2 1/4))): 0 points increase in error, 0 points decrease in error
(Rewrite<= pow-sqr_binary64 (*.f64 (pow.f64 (+.f64 (/.f64 l (/.f64 x l)) (fma.f64 2 (fma.f64 t t (*.f64 (/.f64 t x) t)) (/.f64 l (/.f64 x l)))) 1/4) (pow.f64 (+.f64 (/.f64 l (/.f64 x l)) (fma.f64 2 (fma.f64 t t (*.f64 (/.f64 t x) t)) (/.f64 l (/.f64 x l)))) 1/4))): 36 points increase in error, 39 points decrease in error
Applied egg-rr30.8
\[\leadsto \color{blue}{\left(e^{\mathsf{log1p}\left(\sqrt{\frac{1}{\mathsf{fma}\left(t, t + \frac{t}{x}, \ell \cdot \frac{\ell}{x}\right)}}\right)} - 1\right)} \cdot t
\]
Simplified9.6
\[\leadsto \color{blue}{\sqrt{\frac{1}{\mathsf{fma}\left(t, t + \frac{t}{x}, \ell \cdot \frac{\ell}{x}\right)}}} \cdot t
\]
Proof
(sqrt.f64 (/.f64 1 (fma.f64 t (+.f64 t (/.f64 t x)) (*.f64 l (/.f64 l x))))): 0 points increase in error, 0 points decrease in error
(Rewrite<= expm1-log1p_binary64 (expm1.f64 (log1p.f64 (sqrt.f64 (/.f64 1 (fma.f64 t (+.f64 t (/.f64 t x)) (*.f64 l (/.f64 l x)))))))): 28 points increase in error, 22 points decrease in error
(Rewrite<= expm1-def_binary64 (-.f64 (exp.f64 (log1p.f64 (sqrt.f64 (/.f64 1 (fma.f64 t (+.f64 t (/.f64 t x)) (*.f64 l (/.f64 l x))))))) 1)): 28 points increase in error, 61 points decrease in error
Initial program 62.6
\[\frac{\sqrt{2} \cdot t}{\sqrt{\frac{x + 1}{x - 1} \cdot \left(\ell \cdot \ell + 2 \cdot \left(t \cdot t\right)\right) - \ell \cdot \ell}}
\]
Taylor expanded in x around inf 29.1
\[\leadsto \frac{\sqrt{2} \cdot t}{\color{blue}{0.5 \cdot \frac{\left({\ell}^{2} + 2 \cdot {t}^{2}\right) - -1 \cdot \left({\ell}^{2} + 2 \cdot {t}^{2}\right)}{\sqrt{2} \cdot \left(t \cdot x\right)} + \sqrt{2} \cdot t}}
\]
Simplified29.1
\[\leadsto \frac{\sqrt{2} \cdot t}{\color{blue}{\mathsf{fma}\left(0.5, \frac{\ell \cdot \ell + \left(2 \cdot \left(t \cdot t\right) - \left(-\left(2 \cdot \left(t \cdot t\right) + \ell \cdot \ell\right)\right)\right)}{\sqrt{2} \cdot \left(t \cdot x\right)}, t \cdot \sqrt{2}\right)}}
\]
Proof
(fma.f64 1/2 (/.f64 (+.f64 (*.f64 l l) (-.f64 (*.f64 2 (*.f64 t t)) (neg.f64 (+.f64 (*.f64 2 (*.f64 t t)) (*.f64 l l))))) (*.f64 (sqrt.f64 2) (*.f64 t x))) (*.f64 t (sqrt.f64 2))): 0 points increase in error, 0 points decrease in error
(fma.f64 1/2 (/.f64 (+.f64 (*.f64 l l) (-.f64 (*.f64 2 (Rewrite<= unpow2_binary64 (pow.f64 t 2))) (neg.f64 (+.f64 (*.f64 2 (*.f64 t t)) (*.f64 l l))))) (*.f64 (sqrt.f64 2) (*.f64 t x))) (*.f64 t (sqrt.f64 2))): 0 points increase in error, 0 points decrease in error
(fma.f64 1/2 (/.f64 (+.f64 (*.f64 l l) (-.f64 (*.f64 2 (pow.f64 t 2)) (neg.f64 (+.f64 (*.f64 2 (Rewrite<= unpow2_binary64 (pow.f64 t 2))) (*.f64 l l))))) (*.f64 (sqrt.f64 2) (*.f64 t x))) (*.f64 t (sqrt.f64 2))): 0 points increase in error, 0 points decrease in error
(fma.f64 1/2 (/.f64 (+.f64 (*.f64 l l) (-.f64 (*.f64 2 (pow.f64 t 2)) (neg.f64 (Rewrite<= +-commutative_binary64 (+.f64 (*.f64 l l) (*.f64 2 (pow.f64 t 2))))))) (*.f64 (sqrt.f64 2) (*.f64 t x))) (*.f64 t (sqrt.f64 2))): 0 points increase in error, 0 points decrease in error
(fma.f64 1/2 (/.f64 (+.f64 (*.f64 l l) (-.f64 (*.f64 2 (pow.f64 t 2)) (neg.f64 (+.f64 (Rewrite<= unpow2_binary64 (pow.f64 l 2)) (*.f64 2 (pow.f64 t 2)))))) (*.f64 (sqrt.f64 2) (*.f64 t x))) (*.f64 t (sqrt.f64 2))): 0 points increase in error, 0 points decrease in error
(fma.f64 1/2 (/.f64 (+.f64 (*.f64 l l) (-.f64 (*.f64 2 (pow.f64 t 2)) (Rewrite<= mul-1-neg_binary64 (*.f64 -1 (+.f64 (pow.f64 l 2) (*.f64 2 (pow.f64 t 2))))))) (*.f64 (sqrt.f64 2) (*.f64 t x))) (*.f64 t (sqrt.f64 2))): 0 points increase in error, 0 points decrease in error
(fma.f64 1/2 (/.f64 (Rewrite<= associate--l+_binary64 (-.f64 (+.f64 (*.f64 l l) (*.f64 2 (pow.f64 t 2))) (*.f64 -1 (+.f64 (pow.f64 l 2) (*.f64 2 (pow.f64 t 2)))))) (*.f64 (sqrt.f64 2) (*.f64 t x))) (*.f64 t (sqrt.f64 2))): 0 points increase in error, 0 points decrease in error
(fma.f64 1/2 (/.f64 (-.f64 (+.f64 (Rewrite<= unpow2_binary64 (pow.f64 l 2)) (*.f64 2 (pow.f64 t 2))) (*.f64 -1 (+.f64 (pow.f64 l 2) (*.f64 2 (pow.f64 t 2))))) (*.f64 (sqrt.f64 2) (*.f64 t x))) (*.f64 t (sqrt.f64 2))): 0 points increase in error, 0 points decrease in error
(fma.f64 1/2 (/.f64 (-.f64 (+.f64 (pow.f64 l 2) (*.f64 2 (pow.f64 t 2))) (*.f64 -1 (+.f64 (pow.f64 l 2) (*.f64 2 (pow.f64 t 2))))) (*.f64 (sqrt.f64 2) (*.f64 t x))) (Rewrite=> *-commutative_binary64 (*.f64 (sqrt.f64 2) t))): 0 points increase in error, 0 points decrease in error
(Rewrite<= fma-def_binary64 (+.f64 (*.f64 1/2 (/.f64 (-.f64 (+.f64 (pow.f64 l 2) (*.f64 2 (pow.f64 t 2))) (*.f64 -1 (+.f64 (pow.f64 l 2) (*.f64 2 (pow.f64 t 2))))) (*.f64 (sqrt.f64 2) (*.f64 t x)))) (*.f64 (sqrt.f64 2) t))): 0 points increase in error, 0 points decrease in error