Initial program 30.0
\[1 - \sqrt{0.5 \cdot \left(1 + \frac{1}{\mathsf{hypot}\left(1, x\right)}\right)}
\]
Simplified30.0
\[\leadsto \color{blue}{1 - \sqrt{0.5 + \frac{0.5}{\mathsf{hypot}\left(1, x\right)}}}
\]
Proof
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))): 0 points increase in error, 0 points decrease in error
(-.f64 1 (sqrt.f64 (+.f64 (Rewrite<= metadata-eval (*.f64 1 1/2)) (/.f64 1/2 (hypot.f64 1 x))))): 0 points increase in error, 0 points decrease in error
(-.f64 1 (sqrt.f64 (+.f64 (*.f64 1 1/2) (/.f64 (Rewrite<= metadata-eval (*.f64 1 1/2)) (hypot.f64 1 x))))): 0 points increase in error, 0 points decrease in error
(-.f64 1 (sqrt.f64 (+.f64 (*.f64 1 1/2) (Rewrite<= associate-*l/_binary64 (*.f64 (/.f64 1 (hypot.f64 1 x)) 1/2))))): 0 points increase in error, 0 points decrease in error
(-.f64 1 (sqrt.f64 (Rewrite<= distribute-rgt-in_binary64 (*.f64 1/2 (+.f64 1 (/.f64 1 (hypot.f64 1 x))))))): 0 points increase in error, 0 points decrease in error
Applied egg-rr30.0
\[\leadsto \color{blue}{\frac{0.5 - \frac{0.5}{\mathsf{hypot}\left(1, x\right)}}{1 + \sqrt{0.5 + \frac{0.5}{\mathsf{hypot}\left(1, x\right)}}}}
\]
Applied egg-rr30.0
\[\leadsto \color{blue}{{\left(\frac{1}{1 - \sqrt{0.5 + \frac{0.5}{\mathsf{hypot}\left(1, x\right)}}}\right)}^{-1}}
\]
Taylor expanded in x around 0 0.9
\[\leadsto {\color{blue}{\left(5.5 + \left(8 \cdot \frac{1}{{x}^{2}} + -0.53125 \cdot {x}^{2}\right)\right)}}^{-1}
\]
Simplified0.9
\[\leadsto {\color{blue}{\left(5.5 + \mathsf{fma}\left(x, x \cdot -0.53125, \frac{8}{x \cdot x}\right)\right)}}^{-1}
\]
Proof
(+.f64 11/2 (fma.f64 x (*.f64 x -17/32) (/.f64 8 (*.f64 x x)))): 0 points increase in error, 0 points decrease in error
(+.f64 11/2 (fma.f64 x (*.f64 x -17/32) (/.f64 8 (Rewrite<= unpow2_binary64 (pow.f64 x 2))))): 0 points increase in error, 0 points decrease in error
(+.f64 11/2 (fma.f64 x (*.f64 x -17/32) (/.f64 (Rewrite<= metadata-eval (*.f64 8 1)) (pow.f64 x 2)))): 0 points increase in error, 0 points decrease in error
(+.f64 11/2 (fma.f64 x (*.f64 x -17/32) (Rewrite<= associate-*r/_binary64 (*.f64 8 (/.f64 1 (pow.f64 x 2)))))): 0 points increase in error, 0 points decrease in error
(+.f64 11/2 (Rewrite<= fma-def_binary64 (+.f64 (*.f64 x (*.f64 x -17/32)) (*.f64 8 (/.f64 1 (pow.f64 x 2)))))): 0 points increase in error, 0 points decrease in error
(+.f64 11/2 (+.f64 (Rewrite<= associate-*l*_binary64 (*.f64 (*.f64 x x) -17/32)) (*.f64 8 (/.f64 1 (pow.f64 x 2))))): 12 points increase in error, 10 points decrease in error
(+.f64 11/2 (+.f64 (*.f64 (Rewrite<= unpow2_binary64 (pow.f64 x 2)) -17/32) (*.f64 8 (/.f64 1 (pow.f64 x 2))))): 0 points increase in error, 0 points decrease in error
(+.f64 11/2 (+.f64 (Rewrite<= *-commutative_binary64 (*.f64 -17/32 (pow.f64 x 2))) (*.f64 8 (/.f64 1 (pow.f64 x 2))))): 0 points increase in error, 0 points decrease in error
(+.f64 11/2 (Rewrite<= +-commutative_binary64 (+.f64 (*.f64 8 (/.f64 1 (pow.f64 x 2))) (*.f64 -17/32 (pow.f64 x 2))))): 0 points increase in error, 0 points decrease in error
Taylor expanded in x around 0 0.1
\[\leadsto \color{blue}{0.125 \cdot {x}^{2} + \left(0.0673828125 \cdot {x}^{6} + -0.0859375 \cdot {x}^{4}\right)}
\]
Simplified0.1
\[\leadsto \color{blue}{\mathsf{fma}\left(x \cdot x, \mathsf{fma}\left(x \cdot x, -0.0859375, 0.125\right), 0.0673828125 \cdot {x}^{6}\right)}
\]
Proof
(fma.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -11/128 1/8) (*.f64 69/1024 (pow.f64 x 6))): 0 points increase in error, 0 points decrease in error
(fma.f64 (Rewrite<= unpow2_binary64 (pow.f64 x 2)) (fma.f64 (*.f64 x x) -11/128 1/8) (*.f64 69/1024 (pow.f64 x 6))): 0 points increase in error, 0 points decrease in error
(fma.f64 (pow.f64 x 2) (fma.f64 (Rewrite<= unpow2_binary64 (pow.f64 x 2)) -11/128 1/8) (*.f64 69/1024 (pow.f64 x 6))): 0 points increase in error, 0 points decrease in error
(fma.f64 (pow.f64 x 2) (Rewrite<= fma-def_binary64 (+.f64 (*.f64 (pow.f64 x 2) -11/128) 1/8)) (*.f64 69/1024 (pow.f64 x 6))): 0 points increase in error, 0 points decrease in error
(fma.f64 (pow.f64 x 2) (+.f64 (Rewrite<= *-commutative_binary64 (*.f64 -11/128 (pow.f64 x 2))) 1/8) (*.f64 69/1024 (pow.f64 x 6))): 0 points increase in error, 0 points decrease in error
(fma.f64 (pow.f64 x 2) (Rewrite<= +-commutative_binary64 (+.f64 1/8 (*.f64 -11/128 (pow.f64 x 2)))) (*.f64 69/1024 (pow.f64 x 6))): 0 points increase in error, 0 points decrease in error
(Rewrite<= fma-def_binary64 (+.f64 (*.f64 (pow.f64 x 2) (+.f64 1/8 (*.f64 -11/128 (pow.f64 x 2)))) (*.f64 69/1024 (pow.f64 x 6)))): 0 points increase in error, 1 points decrease in error
(+.f64 (Rewrite<= distribute-rgt-out_binary64 (+.f64 (*.f64 1/8 (pow.f64 x 2)) (*.f64 (*.f64 -11/128 (pow.f64 x 2)) (pow.f64 x 2)))) (*.f64 69/1024 (pow.f64 x 6))): 0 points increase in error, 0 points decrease in error
(+.f64 (+.f64 (*.f64 1/8 (pow.f64 x 2)) (Rewrite<= associate-*r*_binary64 (*.f64 -11/128 (*.f64 (pow.f64 x 2) (pow.f64 x 2))))) (*.f64 69/1024 (pow.f64 x 6))): 0 points increase in error, 0 points decrease in error
(+.f64 (+.f64 (*.f64 1/8 (pow.f64 x 2)) (*.f64 -11/128 (Rewrite=> pow-sqr_binary64 (pow.f64 x (*.f64 2 2))))) (*.f64 69/1024 (pow.f64 x 6))): 0 points increase in error, 0 points decrease in error
(+.f64 (+.f64 (*.f64 1/8 (pow.f64 x 2)) (*.f64 -11/128 (pow.f64 x (Rewrite=> metadata-eval 4)))) (*.f64 69/1024 (pow.f64 x 6))): 0 points increase in error, 0 points decrease in error
(Rewrite<= associate-+r+_binary64 (+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 (*.f64 -11/128 (pow.f64 x 4)) (*.f64 69/1024 (pow.f64 x 6))))): 0 points increase in error, 0 points decrease in error
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (Rewrite<= +-commutative_binary64 (+.f64 (*.f64 69/1024 (pow.f64 x 6)) (*.f64 -11/128 (pow.f64 x 4))))): 0 points increase in error, 0 points decrease in error