Simplified0.3
\[\leadsto \cos \left(\left(uy \cdot 2\right) \cdot \pi\right) \cdot \sqrt{\color{blue}{\mathsf{fma}\left(ux, maxCos \cdot \left(\left(-2 - ux \cdot -2\right) - maxCos \cdot ux\right), ux + ux \cdot \left(1 - ux\right)\right)}}
\]
Proof
(fma.f32 ux (*.f32 maxCos (-.f32 (-.f32 -2 (*.f32 ux -2)) (*.f32 maxCos ux))) (+.f32 ux (*.f32 ux (-.f32 1 ux)))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (*.f32 maxCos (-.f32 (Rewrite<= unsub-neg_binary32 (+.f32 -2 (neg.f32 (*.f32 ux -2)))) (*.f32 maxCos ux))) (+.f32 ux (*.f32 ux (-.f32 1 ux)))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (*.f32 maxCos (-.f32 (+.f32 -2 (Rewrite<= distribute-lft-neg-out_binary32 (*.f32 (neg.f32 ux) -2))) (*.f32 maxCos ux))) (+.f32 ux (*.f32 ux (-.f32 1 ux)))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (*.f32 maxCos (-.f32 (+.f32 (Rewrite<= metadata-eval (*.f32 1 -2)) (*.f32 (neg.f32 ux) -2)) (*.f32 maxCos ux))) (+.f32 ux (*.f32 ux (-.f32 1 ux)))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (*.f32 maxCos (-.f32 (Rewrite<= distribute-rgt-in_binary32 (*.f32 -2 (+.f32 1 (neg.f32 ux)))) (*.f32 maxCos ux))) (+.f32 ux (*.f32 ux (-.f32 1 ux)))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (*.f32 maxCos (-.f32 (*.f32 -2 (Rewrite<= sub-neg_binary32 (-.f32 1 ux))) (*.f32 maxCos ux))) (+.f32 ux (*.f32 ux (-.f32 1 ux)))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (Rewrite<= distribute-lft-out--_binary32 (-.f32 (*.f32 maxCos (*.f32 -2 (-.f32 1 ux))) (*.f32 maxCos (*.f32 maxCos ux)))) (+.f32 ux (*.f32 ux (-.f32 1 ux)))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (-.f32 (Rewrite<= *-commutative_binary32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos)) (*.f32 maxCos (*.f32 maxCos ux))) (+.f32 ux (*.f32 ux (-.f32 1 ux)))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (Rewrite<= associate-*l*_binary32 (*.f32 (*.f32 maxCos maxCos) ux))) (+.f32 ux (*.f32 ux (-.f32 1 ux)))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (Rewrite<= unpow2_binary32 (pow.f32 maxCos 2)) ux)) (+.f32 ux (*.f32 ux (-.f32 1 ux)))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux)) (+.f32 (Rewrite<= remove-double-neg_binary32 (neg.f32 (neg.f32 ux))) (*.f32 ux (-.f32 1 ux)))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux)) (+.f32 (Rewrite=> neg-sub0_binary32 (-.f32 0 (neg.f32 ux))) (*.f32 ux (-.f32 1 ux)))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux)) (+.f32 (-.f32 (Rewrite<= metadata-eval (-.f32 1 1)) (neg.f32 ux)) (*.f32 ux (-.f32 1 ux)))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux)) (+.f32 (Rewrite<= associate--r+_binary32 (-.f32 1 (+.f32 1 (neg.f32 ux)))) (*.f32 ux (-.f32 1 ux)))): 134 points increase in error, 91 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux)) (+.f32 (-.f32 1 (Rewrite<= sub-neg_binary32 (-.f32 1 ux))) (*.f32 ux (-.f32 1 ux)))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux)) (Rewrite<= cancel-sign-sub_binary32 (-.f32 (-.f32 1 (-.f32 1 ux)) (*.f32 (neg.f32 ux) (-.f32 1 ux))))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux)) (Rewrite<= associate--r+_binary32 (-.f32 1 (+.f32 (-.f32 1 ux) (*.f32 (neg.f32 ux) (-.f32 1 ux)))))): 131 points increase in error, 90 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux)) (-.f32 1 (+.f32 (Rewrite<= *-lft-identity_binary32 (*.f32 1 (-.f32 1 ux))) (*.f32 (neg.f32 ux) (-.f32 1 ux))))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux)) (-.f32 1 (Rewrite<= distribute-rgt-in_binary32 (*.f32 (-.f32 1 ux) (+.f32 1 (neg.f32 ux)))))): 11 points increase in error, 10 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux)) (-.f32 1 (*.f32 (-.f32 1 ux) (Rewrite<= sub-neg_binary32 (-.f32 1 ux))))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux)) (-.f32 1 (Rewrite<= unpow2_binary32 (pow.f32 (-.f32 1 ux) 2)))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux)) (Rewrite=> sub-neg_binary32 (+.f32 1 (neg.f32 (pow.f32 (-.f32 1 ux) 2))))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux)) (Rewrite=> +-commutative_binary32 (+.f32 (neg.f32 (pow.f32 (-.f32 1 ux) 2)) 1))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux)) (+.f32 (Rewrite=> neg-sub0_binary32 (-.f32 0 (pow.f32 (-.f32 1 ux) 2))) 1)): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux)) (Rewrite=> associate-+l-_binary32 (-.f32 0 (-.f32 (pow.f32 (-.f32 1 ux) 2) 1)))): 0 points increase in error, 0 points decrease in error
(fma.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux)) (Rewrite=> sub0-neg_binary32 (neg.f32 (-.f32 (pow.f32 (-.f32 1 ux) 2) 1)))): 0 points increase in error, 0 points decrease in error
(Rewrite<= fma-neg_binary32 (-.f32 (*.f32 ux (-.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) (*.f32 (pow.f32 maxCos 2) ux))) (-.f32 (pow.f32 (-.f32 1 ux) 2) 1))): 1 points increase in error, 0 points decrease in error
(-.f32 (Rewrite<= distribute-rgt-out--_binary32 (-.f32 (*.f32 (*.f32 (*.f32 -2 (-.f32 1 ux)) maxCos) ux) (*.f32 (*.f32 (pow.f32 maxCos 2) ux) ux))) (-.f32 (pow.f32 (-.f32 1 ux) 2) 1)): 0 points increase in error, 0 points decrease in error
(-.f32 (-.f32 (Rewrite<= associate-*r*_binary32 (*.f32 (*.f32 -2 (-.f32 1 ux)) (*.f32 maxCos ux))) (*.f32 (*.f32 (pow.f32 maxCos 2) ux) ux)) (-.f32 (pow.f32 (-.f32 1 ux) 2) 1)): 2 points increase in error, 6 points decrease in error
(-.f32 (-.f32 (Rewrite<= associate-*r*_binary32 (*.f32 -2 (*.f32 (-.f32 1 ux) (*.f32 maxCos ux)))) (*.f32 (*.f32 (pow.f32 maxCos 2) ux) ux)) (-.f32 (pow.f32 (-.f32 1 ux) 2) 1)): 0 points increase in error, 0 points decrease in error
(-.f32 (-.f32 (*.f32 -2 (*.f32 (-.f32 1 ux) (*.f32 maxCos ux))) (Rewrite<= associate-*r*_binary32 (*.f32 (pow.f32 maxCos 2) (*.f32 ux ux)))) (-.f32 (pow.f32 (-.f32 1 ux) 2) 1)): 0 points increase in error, 0 points decrease in error
(-.f32 (-.f32 (*.f32 -2 (*.f32 (-.f32 1 ux) (*.f32 maxCos ux))) (*.f32 (pow.f32 maxCos 2) (Rewrite<= unpow2_binary32 (pow.f32 ux 2)))) (-.f32 (pow.f32 (-.f32 1 ux) 2) 1)): 0 points increase in error, 0 points decrease in error
(-.f32 (Rewrite<= unsub-neg_binary32 (+.f32 (*.f32 -2 (*.f32 (-.f32 1 ux) (*.f32 maxCos ux))) (neg.f32 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2))))) (-.f32 (pow.f32 (-.f32 1 ux) 2) 1)): 0 points increase in error, 0 points decrease in error
(-.f32 (+.f32 (*.f32 -2 (*.f32 (-.f32 1 ux) (*.f32 maxCos ux))) (Rewrite<= mul-1-neg_binary32 (*.f32 -1 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2))))) (-.f32 (pow.f32 (-.f32 1 ux) 2) 1)): 0 points increase in error, 0 points decrease in error
(Rewrite<= associate-+l-_binary32 (+.f32 (-.f32 (+.f32 (*.f32 -2 (*.f32 (-.f32 1 ux) (*.f32 maxCos ux))) (*.f32 -1 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)))) (pow.f32 (-.f32 1 ux) 2)) 1)): 10 points increase in error, 66 points decrease in error
(Rewrite<= +-commutative_binary32 (+.f32 1 (-.f32 (+.f32 (*.f32 -2 (*.f32 (-.f32 1 ux) (*.f32 maxCos ux))) (*.f32 -1 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2)))) (pow.f32 (-.f32 1 ux) 2)))): 0 points increase in error, 0 points decrease in error
(Rewrite<= associate--l+_binary32 (-.f32 (+.f32 1 (+.f32 (*.f32 -2 (*.f32 (-.f32 1 ux) (*.f32 maxCos ux))) (*.f32 -1 (*.f32 (pow.f32 maxCos 2) (pow.f32 ux 2))))) (pow.f32 (-.f32 1 ux) 2))): 2 points increase in error, 0 points decrease in error