Initial program 59.7
\[\frac{\pi}{2} - 2 \cdot \sin^{-1} \left(\sqrt{\frac{1 - x}{2}}\right)
\]
Applied egg-rr58.8
\[\leadsto \frac{\pi}{2} - 2 \cdot \color{blue}{\left(\pi \cdot 0.5 - \cos^{-1} \left(\sqrt{0.5 - x \cdot 0.5}\right)\right)}
\]
Taylor expanded in x around 0 58.8
\[\leadsto \color{blue}{0.5 \cdot \pi - 2 \cdot \left(0.5 \cdot \pi - \cos^{-1} \left(\sqrt{0.5 - 0.5 \cdot x}\right)\right)}
\]
Simplified58.8
\[\leadsto \color{blue}{\pi \cdot -0.5 - -2 \cdot \cos^{-1} \left(\sqrt{0.5 + x \cdot -0.5}\right)}
\]
Proof
[Start]58.8 | \[ 0.5 \cdot \pi - 2 \cdot \left(0.5 \cdot \pi - \cos^{-1} \left(\sqrt{0.5 - 0.5 \cdot x}\right)\right)
\] |
|---|
*-commutative [<=]58.8 | \[ \color{blue}{\pi \cdot 0.5} - 2 \cdot \left(0.5 \cdot \pi - \cos^{-1} \left(\sqrt{0.5 - 0.5 \cdot x}\right)\right)
\] |
|---|
cancel-sign-sub-inv [=>]58.8 | \[ \pi \cdot 0.5 - 2 \cdot \left(0.5 \cdot \pi - \cos^{-1} \left(\sqrt{\color{blue}{0.5 + \left(-0.5\right) \cdot x}}\right)\right)
\] |
|---|
metadata-eval [=>]58.8 | \[ \pi \cdot 0.5 - 2 \cdot \left(0.5 \cdot \pi - \cos^{-1} \left(\sqrt{0.5 + \color{blue}{-0.5} \cdot x}\right)\right)
\] |
|---|
cancel-sign-sub-inv [=>]58.8 | \[ \color{blue}{\pi \cdot 0.5 + \left(-2\right) \cdot \left(0.5 \cdot \pi - \cos^{-1} \left(\sqrt{0.5 + -0.5 \cdot x}\right)\right)}
\] |
|---|
metadata-eval [=>]58.8 | \[ \pi \cdot 0.5 + \color{blue}{-2} \cdot \left(0.5 \cdot \pi - \cos^{-1} \left(\sqrt{0.5 + -0.5 \cdot x}\right)\right)
\] |
|---|
*-commutative [<=]58.8 | \[ \pi \cdot 0.5 + -2 \cdot \left(\color{blue}{\pi \cdot 0.5} - \cos^{-1} \left(\sqrt{0.5 + -0.5 \cdot x}\right)\right)
\] |
|---|
metadata-eval [<=]58.8 | \[ \pi \cdot 0.5 + -2 \cdot \left(\pi \cdot 0.5 - \cos^{-1} \left(\sqrt{0.5 + \color{blue}{\left(-0.5\right)} \cdot x}\right)\right)
\] |
|---|
cancel-sign-sub-inv [<=]58.8 | \[ \pi \cdot 0.5 + -2 \cdot \left(\pi \cdot 0.5 - \cos^{-1} \left(\sqrt{\color{blue}{0.5 - 0.5 \cdot x}}\right)\right)
\] |
|---|
cancel-sign-sub-inv [=>]58.8 | \[ \pi \cdot 0.5 + -2 \cdot \left(\pi \cdot 0.5 - \cos^{-1} \left(\sqrt{\color{blue}{0.5 + \left(-0.5\right) \cdot x}}\right)\right)
\] |
|---|
metadata-eval [=>]58.8 | \[ \pi \cdot 0.5 + -2 \cdot \left(\pi \cdot 0.5 - \cos^{-1} \left(\sqrt{0.5 + \color{blue}{-0.5} \cdot x}\right)\right)
\] |
|---|
*-commutative [<=]58.8 | \[ \pi \cdot 0.5 + -2 \cdot \left(\pi \cdot 0.5 - \cos^{-1} \left(\sqrt{0.5 + \color{blue}{x \cdot -0.5}}\right)\right)
\] |
|---|
Applied egg-rr58.8
\[\leadsto \color{blue}{\frac{\left(0.25 \cdot {\pi}^{2}\right) \cdot \left(0.25 \cdot {\pi}^{2}\right) - \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} \cdot 4\right) \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} \cdot 4\right)}{\mathsf{fma}\left(\pi, -0.5, -2 \cdot \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)\right) \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} \cdot 4 + 0.25 \cdot {\pi}^{2}\right)}}
\]
Simplified58.8
\[\leadsto \color{blue}{\frac{\mathsf{fma}\left(0.0625, {\pi}^{4}, {\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{4} \cdot -16\right)}{\mathsf{fma}\left(-0.5, \pi, -2 \cdot \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)\right) \cdot \mathsf{fma}\left(0.25, {\pi}^{2}, {\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} \cdot 4\right)}}
\]
Proof
[Start]58.8 | \[ \frac{\left(0.25 \cdot {\pi}^{2}\right) \cdot \left(0.25 \cdot {\pi}^{2}\right) - \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} \cdot 4\right) \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} \cdot 4\right)}{\mathsf{fma}\left(\pi, -0.5, -2 \cdot \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)\right) \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} \cdot 4 + 0.25 \cdot {\pi}^{2}\right)}
\] |
|---|
Applied egg-rr58.8
\[\leadsto \frac{\color{blue}{\frac{{\left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{4} \cdot -16\right)}^{3} + {\left(0.0625 \cdot {\pi}^{4}\right)}^{3}}{\left(\left(0.0625 \cdot {\pi}^{4}\right) \cdot \left(0.0625 \cdot {\pi}^{4}\right) + 256 \cdot {\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{8}\right) - \left(0.0625 \cdot {\pi}^{4}\right) \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{4} \cdot -16\right)}}}{\mathsf{fma}\left(-0.5, \pi, -2 \cdot \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)\right) \cdot \mathsf{fma}\left(0.25, {\pi}^{2}, {\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} \cdot 4\right)}
\]
Simplified58.8
\[\leadsto \frac{\color{blue}{\frac{{\left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{4}\right)}^{3} \cdot -4096 + 0.000244140625 \cdot {\left({\pi}^{4}\right)}^{3}}{\left(0.00390625 \cdot {\pi}^{8} + 256 \cdot {\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{8}\right) - \left(0.0625 \cdot {\pi}^{4}\right) \cdot \left(-16 \cdot {\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{4}\right)}}}{\mathsf{fma}\left(-0.5, \pi, -2 \cdot \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)\right) \cdot \mathsf{fma}\left(0.25, {\pi}^{2}, {\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} \cdot 4\right)}
\]
Proof
[Start]58.8 | \[ \frac{\frac{{\left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{4} \cdot -16\right)}^{3} + {\left(0.0625 \cdot {\pi}^{4}\right)}^{3}}{\left(\left(0.0625 \cdot {\pi}^{4}\right) \cdot \left(0.0625 \cdot {\pi}^{4}\right) + 256 \cdot {\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{8}\right) - \left(0.0625 \cdot {\pi}^{4}\right) \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{4} \cdot -16\right)}}{\mathsf{fma}\left(-0.5, \pi, -2 \cdot \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)\right) \cdot \mathsf{fma}\left(0.25, {\pi}^{2}, {\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} \cdot 4\right)}
\] |
|---|
*-lft-identity [<=]58.8 | \[ \frac{\frac{\color{blue}{1 \cdot \left({\left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{4} \cdot -16\right)}^{3} + {\left(0.0625 \cdot {\pi}^{4}\right)}^{3}\right)}}{\left(\left(0.0625 \cdot {\pi}^{4}\right) \cdot \left(0.0625 \cdot {\pi}^{4}\right) + 256 \cdot {\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{8}\right) - \left(0.0625 \cdot {\pi}^{4}\right) \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{4} \cdot -16\right)}}{\mathsf{fma}\left(-0.5, \pi, -2 \cdot \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)\right) \cdot \mathsf{fma}\left(0.25, {\pi}^{2}, {\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} \cdot 4\right)}
\] |
|---|
Final simplification58.8
\[\leadsto \frac{\frac{{\left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{4}\right)}^{3} \cdot -4096 + 0.000244140625 \cdot {\left({\pi}^{4}\right)}^{3}}{\left(0.00390625 \cdot {\pi}^{8} + 256 \cdot {\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{8}\right) + \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{4} \cdot -16\right) \cdot \left({\pi}^{4} \cdot -0.0625\right)}}{\mathsf{fma}\left(-0.5, \pi, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right) \cdot -2\right) \cdot \mathsf{fma}\left(0.25, {\pi}^{2}, 4 \cdot {\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2}\right)}
\]