Initial program 14.4
\[r \cdot \frac{\sin b}{\cos \left(a + b\right)}
\]
Simplified14.4
\[\leadsto \color{blue}{r \cdot \frac{\sin b}{\cos \left(b + a\right)}}
\]
Proof
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 b a)))): 0 points increase in error, 0 points decrease in error
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (Rewrite<= +-commutative_binary64 (+.f64 a b))))): 0 points increase in error, 0 points decrease in error
Taylor expanded in r around 0 14.4
\[\leadsto \color{blue}{\frac{\sin b \cdot r}{\cos \left(a + b\right)}}
\]
Simplified14.4
\[\leadsto \color{blue}{\sin b \cdot \frac{r}{\cos \left(a + b\right)}}
\]
Proof
(*.f64 (sin.f64 b) (/.f64 r (cos.f64 (+.f64 a b)))): 0 points increase in error, 0 points decrease in error
(*.f64 (sin.f64 b) (/.f64 r (cos.f64 (Rewrite<= +-commutative_binary64 (+.f64 b a))))): 0 points increase in error, 0 points decrease in error
(Rewrite<= *-commutative_binary64 (*.f64 (/.f64 r (cos.f64 (+.f64 b a))) (sin.f64 b))): 0 points increase in error, 0 points decrease in error
(Rewrite=> associate-*l/_binary64 (/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 b a)))): 35 points increase in error, 30 points decrease in error
(/.f64 (Rewrite<= *-commutative_binary64 (*.f64 (sin.f64 b) r)) (cos.f64 (+.f64 b a))): 0 points increase in error, 0 points decrease in error
(/.f64 (*.f64 (sin.f64 b) r) (cos.f64 (Rewrite=> +-commutative_binary64 (+.f64 a b)))): 0 points increase in error, 0 points decrease in error
Applied egg-rr0.3
\[\leadsto \sin b \cdot \frac{r}{\color{blue}{\mathsf{fma}\left(\cos b, \cos a, -\sin b \cdot \left(\sin a \cdot 1\right)\right) + \mathsf{fma}\left(-\sin b, \sin a \cdot 1, \sin b \cdot \left(\sin a \cdot 1\right)\right)}}
\]
Taylor expanded in b around inf 0.3
\[\leadsto \sin b \cdot \frac{r}{\mathsf{fma}\left(\cos b, \cos a, -\sin b \cdot \left(\sin a \cdot 1\right)\right) + \mathsf{fma}\left(-\sin b, \sin a \cdot 1, \color{blue}{\sin a \cdot \sin b}\right)}
\]
Taylor expanded in b around inf 0.3
\[\leadsto \sin b \cdot \frac{r}{\mathsf{fma}\left(\cos b, \cos a, -\color{blue}{\sin a \cdot \sin b}\right) + \mathsf{fma}\left(-\sin b, \sin a \cdot 1, \sin a \cdot \sin b\right)}
\]
Final simplification0.3
\[\leadsto \sin b \cdot \frac{r}{\mathsf{fma}\left(\cos b, \cos a, \sin a \cdot \left(-\sin b\right)\right) + \mathsf{fma}\left(-\sin b, \sin a, \sin b \cdot \sin a\right)}
\]