Initial program 43.8
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}
\]
Simplified43.8
\[\leadsto \color{blue}{\frac{\sqrt{\mathsf{fma}\left(b, b, c \cdot \left(a \cdot -4\right)\right)} - b}{a \cdot 2}}
\]
Proof
(/.f64 (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))) b) (*.f64 a 2)): 0 points increase in error, 0 points decrease in error
(/.f64 (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a (Rewrite<= metadata-eval (neg.f64 4)))))) b) (*.f64 a 2)): 0 points increase in error, 0 points decrease in error
(/.f64 (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 c (Rewrite<= distribute-rgt-neg-in_binary64 (neg.f64 (*.f64 a 4)))))) b) (*.f64 a 2)): 0 points increase in error, 0 points decrease in error
(/.f64 (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 c (neg.f64 (Rewrite<= *-commutative_binary64 (*.f64 4 a)))))) b) (*.f64 a 2)): 0 points increase in error, 0 points decrease in error
(/.f64 (-.f64 (sqrt.f64 (fma.f64 b b (Rewrite<= distribute-rgt-neg-in_binary64 (neg.f64 (*.f64 c (*.f64 4 a)))))) b) (*.f64 a 2)): 0 points increase in error, 0 points decrease in error
(/.f64 (-.f64 (sqrt.f64 (fma.f64 b b (neg.f64 (Rewrite<= *-commutative_binary64 (*.f64 (*.f64 4 a) c))))) b) (*.f64 a 2)): 0 points increase in error, 0 points decrease in error
(/.f64 (-.f64 (sqrt.f64 (Rewrite<= fma-neg_binary64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) b) (*.f64 a 2)): 11 points increase in error, 7 points decrease in error
(/.f64 (Rewrite<= unsub-neg_binary64 (+.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))) (neg.f64 b))) (*.f64 a 2)): 0 points increase in error, 0 points decrease in error
(/.f64 (Rewrite<= +-commutative_binary64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) (*.f64 a 2)): 0 points increase in error, 0 points decrease in error
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (Rewrite<= *-commutative_binary64 (*.f64 2 a))): 0 points increase in error, 0 points decrease in error
Taylor expanded in a around 0 2.9
\[\leadsto \color{blue}{-1 \cdot \frac{{c}^{2} \cdot a}{{b}^{3}} + \left(-1 \cdot \frac{c}{b} + \left(-0.25 \cdot \frac{{a}^{3} \cdot \left(16 \cdot \frac{{c}^{4}}{{b}^{6}} + {\left(-2 \cdot \frac{{c}^{2}}{{b}^{3}}\right)}^{2}\right)}{b} + -2 \cdot \frac{{c}^{3} \cdot {a}^{2}}{{b}^{5}}\right)\right)}
\]
Simplified2.9
\[\leadsto \color{blue}{\left(\mathsf{fma}\left(-2, \frac{{c}^{3} \cdot \left(a \cdot a\right)}{{b}^{5}}, \frac{{a}^{3} \cdot -0.25}{\frac{b}{\mathsf{fma}\left(16, \frac{{c}^{4}}{{b}^{6}}, 4 \cdot \frac{{c}^{4}}{{b}^{6}}\right)}}\right) - \frac{c}{b}\right) - \frac{c \cdot \left(c \cdot a\right)}{{b}^{3}}}
\]
Proof
(-.f64 (-.f64 (fma.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (*.f64 a a)) (pow.f64 b 5)) (/.f64 (*.f64 (pow.f64 a 3) -1/4) (/.f64 b (fma.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6)) (*.f64 4 (/.f64 (pow.f64 c 4) (pow.f64 b 6))))))) (/.f64 c b)) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (-.f64 (fma.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (Rewrite<= unpow2_binary64 (pow.f64 a 2))) (pow.f64 b 5)) (/.f64 (*.f64 (pow.f64 a 3) -1/4) (/.f64 b (fma.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6)) (*.f64 4 (/.f64 (pow.f64 c 4) (pow.f64 b 6))))))) (/.f64 c b)) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (-.f64 (fma.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5)) (/.f64 (*.f64 (pow.f64 a 3) -1/4) (/.f64 b (fma.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6)) (*.f64 (Rewrite<= metadata-eval (*.f64 -2 -2)) (/.f64 (pow.f64 c 4) (pow.f64 b 6))))))) (/.f64 c b)) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (-.f64 (fma.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5)) (/.f64 (*.f64 (pow.f64 a 3) -1/4) (/.f64 b (fma.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6)) (*.f64 (*.f64 -2 -2) (/.f64 (pow.f64 c (Rewrite<= metadata-eval (*.f64 2 2))) (pow.f64 b 6))))))) (/.f64 c b)) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (-.f64 (fma.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5)) (/.f64 (*.f64 (pow.f64 a 3) -1/4) (/.f64 b (fma.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6)) (*.f64 (*.f64 -2 -2) (/.f64 (Rewrite<= pow-sqr_binary64 (*.f64 (pow.f64 c 2) (pow.f64 c 2))) (pow.f64 b 6))))))) (/.f64 c b)) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (-.f64 (fma.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5)) (/.f64 (*.f64 (pow.f64 a 3) -1/4) (/.f64 b (fma.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6)) (*.f64 (*.f64 -2 -2) (/.f64 (*.f64 (pow.f64 c 2) (pow.f64 c 2)) (pow.f64 b (Rewrite<= metadata-eval (*.f64 2 3))))))))) (/.f64 c b)) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (-.f64 (fma.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5)) (/.f64 (*.f64 (pow.f64 a 3) -1/4) (/.f64 b (fma.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6)) (*.f64 (*.f64 -2 -2) (/.f64 (*.f64 (pow.f64 c 2) (pow.f64 c 2)) (Rewrite<= pow-sqr_binary64 (*.f64 (pow.f64 b 3) (pow.f64 b 3))))))))) (/.f64 c b)) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (-.f64 (fma.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5)) (/.f64 (*.f64 (pow.f64 a 3) -1/4) (/.f64 b (fma.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6)) (*.f64 (*.f64 -2 -2) (Rewrite=> times-frac_binary64 (*.f64 (/.f64 (pow.f64 c 2) (pow.f64 b 3)) (/.f64 (pow.f64 c 2) (pow.f64 b 3))))))))) (/.f64 c b)) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (-.f64 (fma.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5)) (/.f64 (*.f64 (pow.f64 a 3) -1/4) (/.f64 b (fma.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6)) (Rewrite<= swap-sqr_binary64 (*.f64 (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))) (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))))))))) (/.f64 c b)) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (-.f64 (fma.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5)) (/.f64 (*.f64 (pow.f64 a 3) -1/4) (/.f64 b (fma.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6)) (Rewrite<= unpow2_binary64 (pow.f64 (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))) 2)))))) (/.f64 c b)) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (-.f64 (fma.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5)) (/.f64 (*.f64 (pow.f64 a 3) -1/4) (/.f64 b (Rewrite<= fma-def_binary64 (+.f64 (*.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6))) (pow.f64 (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))) 2)))))) (/.f64 c b)) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (-.f64 (fma.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5)) (Rewrite<= associate-*l/_binary64 (*.f64 (/.f64 (pow.f64 a 3) (/.f64 b (+.f64 (*.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6))) (pow.f64 (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))) 2)))) -1/4))) (/.f64 c b)) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (-.f64 (fma.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5)) (*.f64 (Rewrite<= associate-/l*_binary64 (/.f64 (*.f64 (pow.f64 a 3) (+.f64 (*.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6))) (pow.f64 (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))) 2))) b)) -1/4)) (/.f64 c b)) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (-.f64 (fma.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5)) (Rewrite<= *-commutative_binary64 (*.f64 -1/4 (/.f64 (*.f64 (pow.f64 a 3) (+.f64 (*.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6))) (pow.f64 (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))) 2))) b)))) (/.f64 c b)) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (-.f64 (Rewrite<= fma-def_binary64 (+.f64 (*.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5))) (*.f64 -1/4 (/.f64 (*.f64 (pow.f64 a 3) (+.f64 (*.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6))) (pow.f64 (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))) 2))) b)))) (/.f64 c b)) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (-.f64 (Rewrite<= +-commutative_binary64 (+.f64 (*.f64 -1/4 (/.f64 (*.f64 (pow.f64 a 3) (+.f64 (*.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6))) (pow.f64 (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))) 2))) b)) (*.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5))))) (/.f64 c b)) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (Rewrite<= unsub-neg_binary64 (+.f64 (+.f64 (*.f64 -1/4 (/.f64 (*.f64 (pow.f64 a 3) (+.f64 (*.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6))) (pow.f64 (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))) 2))) b)) (*.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5)))) (neg.f64 (/.f64 c b)))) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (+.f64 (+.f64 (*.f64 -1/4 (/.f64 (*.f64 (pow.f64 a 3) (+.f64 (*.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6))) (pow.f64 (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))) 2))) b)) (*.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5)))) (Rewrite<= mul-1-neg_binary64 (*.f64 -1 (/.f64 c b)))) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (Rewrite<= +-commutative_binary64 (+.f64 (*.f64 -1 (/.f64 c b)) (+.f64 (*.f64 -1/4 (/.f64 (*.f64 (pow.f64 a 3) (+.f64 (*.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6))) (pow.f64 (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))) 2))) b)) (*.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5)))))) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(-.f64 (+.f64 (*.f64 -1 (/.f64 c b)) (+.f64 (*.f64 -1/4 (/.f64 (*.f64 (pow.f64 a 3) (+.f64 (*.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6))) (pow.f64 (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))) 2))) b)) (*.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5))))) (/.f64 (Rewrite<= associate-*l*_binary64 (*.f64 (*.f64 c c) a)) (pow.f64 b 3))): 0 points increase in error, 1 points decrease in error
(-.f64 (+.f64 (*.f64 -1 (/.f64 c b)) (+.f64 (*.f64 -1/4 (/.f64 (*.f64 (pow.f64 a 3) (+.f64 (*.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6))) (pow.f64 (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))) 2))) b)) (*.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5))))) (/.f64 (*.f64 (Rewrite<= unpow2_binary64 (pow.f64 c 2)) a) (pow.f64 b 3))): 0 points increase in error, 0 points decrease in error
(Rewrite<= unsub-neg_binary64 (+.f64 (+.f64 (*.f64 -1 (/.f64 c b)) (+.f64 (*.f64 -1/4 (/.f64 (*.f64 (pow.f64 a 3) (+.f64 (*.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6))) (pow.f64 (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))) 2))) b)) (*.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5))))) (neg.f64 (/.f64 (*.f64 (pow.f64 c 2) a) (pow.f64 b 3))))): 0 points increase in error, 0 points decrease in error
(+.f64 (+.f64 (*.f64 -1 (/.f64 c b)) (+.f64 (*.f64 -1/4 (/.f64 (*.f64 (pow.f64 a 3) (+.f64 (*.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6))) (pow.f64 (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))) 2))) b)) (*.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5))))) (Rewrite<= mul-1-neg_binary64 (*.f64 -1 (/.f64 (*.f64 (pow.f64 c 2) a) (pow.f64 b 3))))): 0 points increase in error, 0 points decrease in error
(Rewrite<= +-commutative_binary64 (+.f64 (*.f64 -1 (/.f64 (*.f64 (pow.f64 c 2) a) (pow.f64 b 3))) (+.f64 (*.f64 -1 (/.f64 c b)) (+.f64 (*.f64 -1/4 (/.f64 (*.f64 (pow.f64 a 3) (+.f64 (*.f64 16 (/.f64 (pow.f64 c 4) (pow.f64 b 6))) (pow.f64 (*.f64 -2 (/.f64 (pow.f64 c 2) (pow.f64 b 3))) 2))) b)) (*.f64 -2 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 2)) (pow.f64 b 5))))))): 0 points increase in error, 0 points decrease in error
Taylor expanded in c around 0 2.9
\[\leadsto \left(\mathsf{fma}\left(-2, \frac{{c}^{3} \cdot \left(a \cdot a\right)}{{b}^{5}}, \color{blue}{-5 \cdot \frac{{c}^{4} \cdot {a}^{3}}{{b}^{7}}}\right) - \frac{c}{b}\right) - \frac{c \cdot \left(c \cdot a\right)}{{b}^{3}}
\]
Simplified2.9
\[\leadsto \left(\mathsf{fma}\left(-2, \frac{{c}^{3} \cdot \left(a \cdot a\right)}{{b}^{5}}, \color{blue}{\frac{{c}^{4} \cdot -5}{\frac{{b}^{7}}{{a}^{3}}}}\right) - \frac{c}{b}\right) - \frac{c \cdot \left(c \cdot a\right)}{{b}^{3}}
\]
Proof
(/.f64 (*.f64 (pow.f64 c 4) -5) (/.f64 (pow.f64 b 7) (pow.f64 a 3))): 0 points increase in error, 0 points decrease in error
(Rewrite<= associate-*l/_binary64 (*.f64 (/.f64 (pow.f64 c 4) (/.f64 (pow.f64 b 7) (pow.f64 a 3))) -5)): 65 points increase in error, 35 points decrease in error
(*.f64 (Rewrite<= associate-/l*_binary64 (/.f64 (*.f64 (pow.f64 c 4) (pow.f64 a 3)) (pow.f64 b 7))) -5): 36 points increase in error, 40 points decrease in error
(Rewrite<= *-commutative_binary64 (*.f64 -5 (/.f64 (*.f64 (pow.f64 c 4) (pow.f64 a 3)) (pow.f64 b 7)))): 0 points increase in error, 0 points decrease in error
Applied egg-rr2.9
\[\leadsto \left(\mathsf{fma}\left(-2, \frac{{c}^{3} \cdot \left(a \cdot a\right)}{{b}^{5}}, \frac{{c}^{4} \cdot -5}{\frac{{b}^{7}}{{a}^{3}}}\right) - \frac{c}{b}\right) - \color{blue}{\frac{c \cdot c}{b \cdot b} \cdot \frac{a}{b}}
\]
Applied egg-rr2.9
\[\leadsto \left(\mathsf{fma}\left(-2, \frac{{c}^{3} \cdot \left(a \cdot a\right)}{{b}^{5}}, \color{blue}{\left(\frac{{c}^{4} \cdot -5}{{b}^{7}} \cdot \left(a \cdot a\right)\right) \cdot a}\right) - \frac{c}{b}\right) - \frac{c \cdot c}{b \cdot b} \cdot \frac{a}{b}
\]
Final simplification2.9
\[\leadsto \left(\mathsf{fma}\left(-2, \frac{{c}^{3} \cdot \left(a \cdot a\right)}{{b}^{5}}, a \cdot \left(\left(a \cdot a\right) \cdot \frac{{c}^{4} \cdot -5}{{b}^{7}}\right)\right) - \frac{c}{b}\right) - \frac{c \cdot c}{b \cdot b} \cdot \frac{a}{b}
\]