Simplified13.5
\[\leadsto \color{blue}{\sin \left(uy \cdot \left(2 \cdot \pi\right)\right) \cdot \sqrt{\mathsf{fma}\left(\mathsf{fma}\left(ux, maxCos, 1\right) - ux, ux - \mathsf{fma}\left(ux, maxCos, 1\right), 1\right)}}
\]
Proof
(*.f32 (sin.f32 (*.f32 uy (*.f32 2 (PI.f32)))) (sqrt.f32 (fma.f32 (-.f32 (fma.f32 ux maxCos 1) ux) (-.f32 ux (fma.f32 ux maxCos 1)) 1))): 0 points increase in error, 0 points decrease in error
(*.f32 (sin.f32 (Rewrite<= associate-*l*_binary32 (*.f32 (*.f32 uy 2) (PI.f32)))) (sqrt.f32 (fma.f32 (-.f32 (fma.f32 ux maxCos 1) ux) (-.f32 ux (fma.f32 ux maxCos 1)) 1))): 0 points increase in error, 0 points decrease in error
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (-.f32 (Rewrite<= fma-def_binary32 (+.f32 (*.f32 ux maxCos) 1)) ux) (-.f32 ux (fma.f32 ux maxCos 1)) 1))): 0 points increase in error, 0 points decrease in error
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (Rewrite<= associate-+r-_binary32 (+.f32 (*.f32 ux maxCos) (-.f32 1 ux))) (-.f32 ux (fma.f32 ux maxCos 1)) 1))): 1 points increase in error, 12 points decrease in error
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (Rewrite<= +-commutative_binary32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos))) (-.f32 ux (fma.f32 ux maxCos 1)) 1))): 0 points increase in error, 0 points decrease in error
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (-.f32 ux (Rewrite<= fma-def_binary32 (+.f32 (*.f32 ux maxCos) 1))) 1))): 0 points increase in error, 0 points decrease in error
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (Rewrite<= unsub-neg_binary32 (+.f32 ux (neg.f32 (+.f32 (*.f32 ux maxCos) 1)))) 1))): 0 points increase in error, 0 points decrease in error
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (+.f32 (Rewrite<= remove-double-neg_binary32 (neg.f32 (neg.f32 ux))) (neg.f32 (+.f32 (*.f32 ux maxCos) 1))) 1))): 0 points increase in error, 0 points decrease in error
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (Rewrite<= distribute-neg-in_binary32 (neg.f32 (+.f32 (neg.f32 ux) (+.f32 (*.f32 ux maxCos) 1)))) 1))): 0 points increase in error, 0 points decrease in error
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (neg.f32 (Rewrite<= +-commutative_binary32 (+.f32 (+.f32 (*.f32 ux maxCos) 1) (neg.f32 ux)))) 1))): 0 points increase in error, 0 points decrease in error
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (neg.f32 (Rewrite<= associate-+r+_binary32 (+.f32 (*.f32 ux maxCos) (+.f32 1 (neg.f32 ux))))) 1))): 2 points increase in error, 7 points decrease in error
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (neg.f32 (+.f32 (*.f32 ux maxCos) (Rewrite<= sub-neg_binary32 (-.f32 1 ux)))) 1))): 0 points increase in error, 0 points decrease in error
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (fma.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (neg.f32 (Rewrite<= +-commutative_binary32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)))) 1))): 0 points increase in error, 0 points decrease in error
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (Rewrite<= fma-def_binary32 (+.f32 (*.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (neg.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)))) 1)))): 85 points increase in error, 75 points decrease in error
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (+.f32 (Rewrite<= *-commutative_binary32 (*.f32 (neg.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos))) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)))) 1))): 0 points increase in error, 0 points decrease in error
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (Rewrite<= +-commutative_binary32 (+.f32 1 (*.f32 (neg.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos))) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos))))))): 0 points increase in error, 0 points decrease in error
(*.f32 (sin.f32 (*.f32 (*.f32 uy 2) (PI.f32))) (sqrt.f32 (Rewrite<= cancel-sign-sub-inv_binary32 (-.f32 1 (*.f32 (+.f32 (-.f32 1 ux) (*.f32 ux maxCos)) (+.f32 (-.f32 1 ux) (*.f32 ux maxCos))))))): 0 points increase in error, 0 points decrease in error
Simplified0.5
\[\leadsto \sin \left(uy \cdot \left(2 \cdot \pi\right)\right) \cdot \sqrt{\color{blue}{\left(ux - ux \cdot maxCos\right) \cdot \left(2 - \left(ux - ux \cdot maxCos\right)\right)}}
\]
Proof
(*.f32 (-.f32 ux (*.f32 ux maxCos)) (-.f32 2 (-.f32 ux (*.f32 ux maxCos)))): 0 points increase in error, 0 points decrease in error
(*.f32 (-.f32 (Rewrite<= *-rgt-identity_binary32 (*.f32 ux 1)) (*.f32 ux maxCos)) (-.f32 2 (-.f32 ux (*.f32 ux maxCos)))): 0 points increase in error, 0 points decrease in error
(*.f32 (Rewrite=> distribute-lft-out--_binary32 (*.f32 ux (-.f32 1 maxCos))) (-.f32 2 (-.f32 ux (*.f32 ux maxCos)))): 7 points increase in error, 3 points decrease in error
(*.f32 (*.f32 ux (Rewrite=> sub-neg_binary32 (+.f32 1 (neg.f32 maxCos)))) (-.f32 2 (-.f32 ux (*.f32 ux maxCos)))): 0 points increase in error, 0 points decrease in error
(*.f32 (*.f32 ux (+.f32 1 (Rewrite<= mul-1-neg_binary32 (*.f32 -1 maxCos)))) (-.f32 2 (-.f32 ux (*.f32 ux maxCos)))): 0 points increase in error, 0 points decrease in error
(*.f32 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos))) (-.f32 2 (-.f32 (Rewrite<= *-rgt-identity_binary32 (*.f32 ux 1)) (*.f32 ux maxCos)))): 0 points increase in error, 0 points decrease in error
(*.f32 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos))) (-.f32 2 (Rewrite=> distribute-lft-out--_binary32 (*.f32 ux (-.f32 1 maxCos))))): 0 points increase in error, 0 points decrease in error
(*.f32 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos))) (-.f32 2 (*.f32 ux (Rewrite=> sub-neg_binary32 (+.f32 1 (neg.f32 maxCos)))))): 0 points increase in error, 0 points decrease in error
(*.f32 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos))) (-.f32 2 (*.f32 ux (+.f32 1 (Rewrite<= mul-1-neg_binary32 (*.f32 -1 maxCos)))))): 0 points increase in error, 0 points decrease in error
(Rewrite<= distribute-rgt-out--_binary32 (-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos))) (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))))): 23 points increase in error, 22 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (*.f32 ux (+.f32 1 (Rewrite=> mul-1-neg_binary32 (neg.f32 maxCos)))) (*.f32 ux (+.f32 1 (*.f32 -1 maxCos))))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (*.f32 ux (Rewrite<= sub-neg_binary32 (-.f32 1 maxCos))) (*.f32 ux (+.f32 1 (*.f32 -1 maxCos))))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (*.f32 ux (-.f32 1 maxCos)) (*.f32 ux (+.f32 1 (Rewrite=> mul-1-neg_binary32 (neg.f32 maxCos)))))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (*.f32 ux (-.f32 1 maxCos)) (*.f32 ux (Rewrite<= sub-neg_binary32 (-.f32 1 maxCos))))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (Rewrite<= unswap-sqr_binary32 (*.f32 (*.f32 ux ux) (*.f32 (-.f32 1 maxCos) (-.f32 1 maxCos))))): 1 points increase in error, 1 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (Rewrite<= unpow2_binary32 (pow.f32 ux 2)) (*.f32 (-.f32 1 maxCos) (-.f32 1 maxCos)))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (pow.f32 ux 2) (Rewrite<= unpow2_binary32 (pow.f32 (-.f32 1 maxCos) 2)))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (pow.f32 ux 2) (pow.f32 (Rewrite=> sub-neg_binary32 (+.f32 1 (neg.f32 maxCos))) 2))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (pow.f32 ux 2) (pow.f32 (+.f32 1 (Rewrite<= mul-1-neg_binary32 (*.f32 -1 maxCos))) 2))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (Rewrite=> *-commutative_binary32 (*.f32 (pow.f32 (+.f32 1 (*.f32 -1 maxCos)) 2) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (pow.f32 (+.f32 1 (Rewrite=> mul-1-neg_binary32 (neg.f32 maxCos))) 2) (pow.f32 ux 2))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (pow.f32 (Rewrite<= sub-neg_binary32 (-.f32 1 maxCos)) 2) (pow.f32 ux 2))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (Rewrite=> unpow2_binary32 (*.f32 (-.f32 1 maxCos) (-.f32 1 maxCos))) (pow.f32 ux 2))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (Rewrite=> associate-*l*_binary32 (*.f32 (-.f32 1 maxCos) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2))))): 1 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (Rewrite=> sub-neg_binary32 (+.f32 1 (neg.f32 maxCos))) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (Rewrite=> +-commutative_binary32 (+.f32 (neg.f32 maxCos) 1)) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (+.f32 (neg.f32 maxCos) (Rewrite<= metadata-eval (neg.f32 -1))) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (Rewrite<= distribute-neg-in_binary32 (neg.f32 (+.f32 maxCos -1))) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (neg.f32 (+.f32 maxCos (Rewrite<= metadata-eval (neg.f32 1)))) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(-.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (neg.f32 (Rewrite<= sub-neg_binary32 (-.f32 maxCos 1))) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(Rewrite=> cancel-sign-sub_binary32 (+.f32 (*.f32 2 (*.f32 ux (+.f32 1 (*.f32 -1 maxCos)))) (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2))))): 0 points increase in error, 0 points decrease in error
(+.f32 (*.f32 2 (Rewrite=> *-commutative_binary32 (*.f32 (+.f32 1 (*.f32 -1 maxCos)) ux))) (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(+.f32 (*.f32 2 (*.f32 (+.f32 1 (Rewrite=> mul-1-neg_binary32 (neg.f32 maxCos))) ux)) (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(+.f32 (*.f32 2 (*.f32 (Rewrite<= sub-neg_binary32 (-.f32 1 maxCos)) ux)) (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(+.f32 (Rewrite=> associate-*r*_binary32 (*.f32 (*.f32 2 (-.f32 1 maxCos)) ux)) (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(+.f32 (*.f32 (Rewrite<= count-2_binary32 (+.f32 (-.f32 1 maxCos) (-.f32 1 maxCos))) ux) (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(+.f32 (*.f32 (Rewrite<= associate--l+_binary32 (-.f32 (+.f32 (-.f32 1 maxCos) 1) maxCos)) ux) (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 4 points increase in error, 4 points decrease in error
(+.f32 (*.f32 (-.f32 (+.f32 (Rewrite=> sub-neg_binary32 (+.f32 1 (neg.f32 maxCos))) 1) maxCos) ux) (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(+.f32 (*.f32 (-.f32 (+.f32 (Rewrite=> +-commutative_binary32 (+.f32 (neg.f32 maxCos) 1)) 1) maxCos) ux) (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(+.f32 (*.f32 (-.f32 (+.f32 (+.f32 (neg.f32 maxCos) (Rewrite<= metadata-eval (neg.f32 -1))) 1) maxCos) ux) (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(+.f32 (*.f32 (-.f32 (+.f32 (Rewrite<= distribute-neg-in_binary32 (neg.f32 (+.f32 maxCos -1))) 1) maxCos) ux) (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(+.f32 (*.f32 (-.f32 (+.f32 (neg.f32 (+.f32 maxCos (Rewrite<= metadata-eval (neg.f32 1)))) 1) maxCos) ux) (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(+.f32 (*.f32 (-.f32 (+.f32 (neg.f32 (Rewrite<= sub-neg_binary32 (-.f32 maxCos 1))) 1) maxCos) ux) (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(+.f32 (*.f32 (-.f32 (+.f32 (Rewrite<= mul-1-neg_binary32 (*.f32 -1 (-.f32 maxCos 1))) 1) maxCos) ux) (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(+.f32 (*.f32 (-.f32 (Rewrite<= +-commutative_binary32 (+.f32 1 (*.f32 -1 (-.f32 maxCos 1)))) maxCos) ux) (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(+.f32 (Rewrite<= *-commutative_binary32 (*.f32 ux (-.f32 (+.f32 1 (*.f32 -1 (-.f32 maxCos 1))) maxCos))) (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2)))): 0 points increase in error, 0 points decrease in error
(Rewrite<= +-commutative_binary32 (+.f32 (*.f32 (-.f32 maxCos 1) (*.f32 (-.f32 1 maxCos) (pow.f32 ux 2))) (*.f32 ux (-.f32 (+.f32 1 (*.f32 -1 (-.f32 maxCos 1))) maxCos)))): 0 points increase in error, 0 points decrease in error