Initial program 19.5
\[\frac{1}{\sqrt{x}} - \frac{1}{\sqrt{x + 1}}
\]
Applied egg-rr19.6
\[\leadsto \color{blue}{\frac{1}{\frac{{x}^{-0.5} + {\left(1 + x\right)}^{-0.5}}{\frac{1}{x} - \frac{1}{1 + x}}}}
\]
Applied egg-rr5.0
\[\leadsto \frac{1}{\frac{{x}^{-0.5} + {\left(1 + x\right)}^{-0.5}}{\color{blue}{\frac{\frac{1 + \left(x - x\right)}{x}}{1 + x}}}}
\]
Applied egg-rr0.4
\[\leadsto \color{blue}{{\left(\left({x}^{-0.5} + {\left(x + 1\right)}^{-0.5}\right) \cdot x\right)}^{-1} \cdot \frac{1}{x + 1}}
\]
Applied egg-rr0.5
\[\leadsto {\left(\color{blue}{\mathsf{fma}\left({\left(\sqrt{x}\right)}^{-0.5}, {\left(\sqrt{x}\right)}^{-0.5}, {\left(x + 1\right)}^{-0.5}\right)} \cdot x\right)}^{-1} \cdot \frac{1}{x + 1}
\]
Simplified0.4
\[\leadsto {\left(\color{blue}{\left({\left(1 + x\right)}^{-0.5} + \frac{1}{\sqrt{x}}\right)} \cdot x\right)}^{-1} \cdot \frac{1}{x + 1}
\]
Proof
(+.f64 (pow.f64 (+.f64 1 x) -1/2) (/.f64 1 (sqrt.f64 x))): 0 points increase in error, 0 points decrease in error
(+.f64 (pow.f64 (Rewrite<= +-commutative_binary64 (+.f64 x 1)) -1/2) (/.f64 1 (sqrt.f64 x))): 0 points increase in error, 0 points decrease in error
(+.f64 (pow.f64 (+.f64 x 1) -1/2) (Rewrite<= unpow-1_binary64 (pow.f64 (sqrt.f64 x) -1))): 0 points increase in error, 0 points decrease in error
(+.f64 (pow.f64 (+.f64 x 1) -1/2) (pow.f64 (sqrt.f64 x) (Rewrite<= metadata-eval (*.f64 2 -1/2)))): 0 points increase in error, 0 points decrease in error
(+.f64 (pow.f64 (+.f64 x 1) -1/2) (Rewrite<= pow-sqr_binary64 (*.f64 (pow.f64 (sqrt.f64 x) -1/2) (pow.f64 (sqrt.f64 x) -1/2)))): 66 points increase in error, 30 points decrease in error
(Rewrite<= +-commutative_binary64 (+.f64 (*.f64 (pow.f64 (sqrt.f64 x) -1/2) (pow.f64 (sqrt.f64 x) -1/2)) (pow.f64 (+.f64 x 1) -1/2))): 0 points increase in error, 0 points decrease in error
(Rewrite<= fma-udef_binary64 (fma.f64 (pow.f64 (sqrt.f64 x) -1/2) (pow.f64 (sqrt.f64 x) -1/2) (pow.f64 (+.f64 x 1) -1/2))): 19 points increase in error, 21 points decrease in error
Final simplification0.4
\[\leadsto {\left(x \cdot \left({\left(1 + x\right)}^{-0.5} + \frac{1}{\sqrt{x}}\right)\right)}^{-1} \cdot \frac{1}{1 + x}
\]