Initial program 0.1
\[x \cdot x - \left(y \cdot 4\right) \cdot \left(z \cdot z - t\right)
\]
Simplified0.1
\[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot 4, t - z \cdot z, x \cdot x\right)}
\]
Proof
(fma.f64 (*.f64 y 4) (-.f64 t (*.f64 z z)) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(fma.f64 (*.f64 y 4) (Rewrite=> sub-neg_binary64 (+.f64 t (neg.f64 (*.f64 z z)))) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(fma.f64 (*.f64 y 4) (Rewrite<= +-commutative_binary64 (+.f64 (neg.f64 (*.f64 z z)) t)) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(fma.f64 (*.f64 y 4) (+.f64 (Rewrite=> neg-sub0_binary64 (-.f64 0 (*.f64 z z))) t) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(fma.f64 (*.f64 y 4) (Rewrite<= associate--r-_binary64 (-.f64 0 (-.f64 (*.f64 z z) t))) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(fma.f64 (*.f64 y 4) (Rewrite<= neg-sub0_binary64 (neg.f64 (-.f64 (*.f64 z z) t))) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(Rewrite<= fma-def_binary64 (+.f64 (*.f64 (*.f64 y 4) (neg.f64 (-.f64 (*.f64 z z) t))) (*.f64 x x))): 2 points increase in error, 0 points decrease in error
(+.f64 (Rewrite<= distribute-rgt-neg-in_binary64 (neg.f64 (*.f64 (*.f64 y 4) (-.f64 (*.f64 z z) t)))) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(+.f64 (Rewrite<= distribute-lft-neg-out_binary64 (*.f64 (neg.f64 (*.f64 y 4)) (-.f64 (*.f64 z z) t))) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(Rewrite<= +-commutative_binary64 (+.f64 (*.f64 x x) (*.f64 (neg.f64 (*.f64 y 4)) (-.f64 (*.f64 z z) t)))): 0 points increase in error, 0 points decrease in error
(Rewrite<= cancel-sign-sub-inv_binary64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y 4) (-.f64 (*.f64 z z) t)))): 0 points increase in error, 0 points decrease in error
Initial program 51.6
\[x \cdot x - \left(y \cdot 4\right) \cdot \left(z \cdot z - t\right)
\]
Simplified51.6
\[\leadsto \color{blue}{\mathsf{fma}\left(y \cdot 4, t - z \cdot z, x \cdot x\right)}
\]
Proof
(fma.f64 (*.f64 y 4) (-.f64 t (*.f64 z z)) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(fma.f64 (*.f64 y 4) (Rewrite=> sub-neg_binary64 (+.f64 t (neg.f64 (*.f64 z z)))) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(fma.f64 (*.f64 y 4) (Rewrite<= +-commutative_binary64 (+.f64 (neg.f64 (*.f64 z z)) t)) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(fma.f64 (*.f64 y 4) (+.f64 (Rewrite=> neg-sub0_binary64 (-.f64 0 (*.f64 z z))) t) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(fma.f64 (*.f64 y 4) (Rewrite<= associate--r-_binary64 (-.f64 0 (-.f64 (*.f64 z z) t))) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(fma.f64 (*.f64 y 4) (Rewrite<= neg-sub0_binary64 (neg.f64 (-.f64 (*.f64 z z) t))) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(Rewrite<= fma-def_binary64 (+.f64 (*.f64 (*.f64 y 4) (neg.f64 (-.f64 (*.f64 z z) t))) (*.f64 x x))): 2 points increase in error, 0 points decrease in error
(+.f64 (Rewrite<= distribute-rgt-neg-in_binary64 (neg.f64 (*.f64 (*.f64 y 4) (-.f64 (*.f64 z z) t)))) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(+.f64 (Rewrite<= distribute-lft-neg-out_binary64 (*.f64 (neg.f64 (*.f64 y 4)) (-.f64 (*.f64 z z) t))) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(Rewrite<= +-commutative_binary64 (+.f64 (*.f64 x x) (*.f64 (neg.f64 (*.f64 y 4)) (-.f64 (*.f64 z z) t)))): 0 points increase in error, 0 points decrease in error
(Rewrite<= cancel-sign-sub-inv_binary64 (-.f64 (*.f64 x x) (*.f64 (*.f64 y 4) (-.f64 (*.f64 z z) t)))): 0 points increase in error, 0 points decrease in error
Taylor expanded in t around 0 51.9
\[\leadsto \color{blue}{-4 \cdot \left(y \cdot {z}^{2}\right) + {x}^{2}}
\]
Simplified0.5
\[\leadsto \color{blue}{\mathsf{fma}\left(z, z \cdot \left(y \cdot -4\right), x \cdot x\right)}
\]
Proof
(fma.f64 z (*.f64 z (*.f64 y -4)) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(fma.f64 z (*.f64 z (Rewrite<= *-commutative_binary64 (*.f64 -4 y))) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(fma.f64 z (Rewrite<= *-commutative_binary64 (*.f64 (*.f64 -4 y) z)) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(fma.f64 z (*.f64 (*.f64 -4 y) z) (Rewrite<= unpow2_binary64 (pow.f64 x 2))): 0 points increase in error, 0 points decrease in error
(Rewrite<= fma-def_binary64 (+.f64 (*.f64 z (*.f64 (*.f64 -4 y) z)) (pow.f64 x 2))): 0 points increase in error, 0 points decrease in error
(+.f64 (Rewrite<= *-commutative_binary64 (*.f64 (*.f64 (*.f64 -4 y) z) z)) (pow.f64 x 2)): 0 points increase in error, 0 points decrease in error
(+.f64 (Rewrite<= associate-*r*_binary64 (*.f64 (*.f64 -4 y) (*.f64 z z))) (pow.f64 x 2)): 42 points increase in error, 16 points decrease in error
(+.f64 (*.f64 (*.f64 -4 y) (Rewrite<= unpow2_binary64 (pow.f64 z 2))) (pow.f64 x 2)): 0 points increase in error, 0 points decrease in error
(+.f64 (Rewrite<= associate-*r*_binary64 (*.f64 -4 (*.f64 y (pow.f64 z 2)))) (pow.f64 x 2)): 0 points increase in error, 0 points decrease in error
Applied egg-rr48.3
\[\leadsto \color{blue}{\frac{\left(z \cdot \left(y \cdot \left(-4 \cdot z\right)\right)\right) \cdot \left(z \cdot \left(y \cdot \left(-4 \cdot z\right)\right)\right) - {x}^{4}}{z \cdot \left(y \cdot \left(-4 \cdot z\right)\right) - x \cdot x}}
\]
Applied egg-rr0.5
\[\leadsto \color{blue}{\left(z \cdot -4\right) \cdot \left(z \cdot y\right) + x \cdot x}
\]