Initial program 59.7
\[\frac{\pi}{2} - 2 \cdot \sin^{-1} \left(\sqrt{\frac{1 - x}{2}}\right)
\]
Applied egg-rr58.7
\[\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.7
\[\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.7
\[\leadsto \color{blue}{2 \cdot \cos^{-1} \left(\sqrt{0.5 - 0.5 \cdot x}\right) + \pi \cdot -0.5}
\]
Proof
[Start]58.7 | \[ 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.7 | \[ \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.7 | \[ \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.7 | \[ \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.7 | \[ \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.7 | \[ \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.7 | \[ \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.7 | \[ \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.7 | \[ \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.7 | \[ \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.7 | \[ \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.7 | \[ \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.7
\[\leadsto \color{blue}{\frac{\left(4 \cdot {\cos^{-1} \left(\sqrt{0.5 + x \cdot -0.5}\right)}^{2}\right) \cdot \left(4 \cdot {\cos^{-1} \left(\sqrt{0.5 + x \cdot -0.5}\right)}^{2}\right) - \left(0.25 \cdot {\pi}^{2}\right) \cdot \left(0.25 \cdot {\pi}^{2}\right)}{\mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{0.5 + x \cdot -0.5}\right), -\pi \cdot -0.5\right) \cdot \left(0.25 \cdot {\pi}^{2} + 4 \cdot {\cos^{-1} \left(\sqrt{0.5 + x \cdot -0.5}\right)}^{2}\right)}}
\]
Applied egg-rr58.7
\[\leadsto \frac{\left(4 \cdot {\cos^{-1} \left(\sqrt{0.5 + x \cdot -0.5}\right)}^{2}\right) \cdot \left(4 \cdot {\cos^{-1} \left(\sqrt{0.5 + x \cdot -0.5}\right)}^{2}\right) - \left(0.25 \cdot {\pi}^{2}\right) \cdot \left(0.25 \cdot {\pi}^{2}\right)}{\color{blue}{\frac{{\left(\left(0.25 \cdot {\pi}^{2}\right) \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)}^{3} + {\left(4 \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right)}^{2} \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)\right)}^{3}}{\left(\left(0.25 \cdot {\pi}^{2}\right) \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right), 0.5 \cdot \pi\right)\right) \cdot \left(\left(0.25 \cdot {\pi}^{2}\right) \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right), 0.5 \cdot \pi\right)\right) + \left(\left(4 \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right)}^{2} \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)\right) \cdot \left(4 \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right)}^{2} \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)\right) - \left(\left(0.25 \cdot {\pi}^{2}\right) \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right), 0.5 \cdot \pi\right)\right) \cdot \left(4 \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right)}^{2} \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)\right)\right)}}}
\]
Simplified58.7
\[\leadsto \frac{\left(4 \cdot {\cos^{-1} \left(\sqrt{0.5 + x \cdot -0.5}\right)}^{2}\right) \cdot \left(4 \cdot {\cos^{-1} \left(\sqrt{0.5 + x \cdot -0.5}\right)}^{2}\right) - \left(0.25 \cdot {\pi}^{2}\right) \cdot \left(0.25 \cdot {\pi}^{2}\right)}{\color{blue}{\frac{\mathsf{fma}\left(64, {\left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)}^{3}, {\left(\left(0.25 \cdot {\pi}^{2}\right) \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)}^{3}\right)}{\mathsf{fma}\left(0.0625 \cdot {\pi}^{4}, {\left(\mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)}^{2}, \left(4 \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)\right) \cdot \left(\mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right), 0.5 \cdot \pi\right) \cdot \left(4 \cdot {\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} - 0.25 \cdot {\pi}^{2}\right)\right)\right)}}}
\]
Proof
[Start]58.7 | \[ \frac{\left(4 \cdot {\cos^{-1} \left(\sqrt{0.5 + x \cdot -0.5}\right)}^{2}\right) \cdot \left(4 \cdot {\cos^{-1} \left(\sqrt{0.5 + x \cdot -0.5}\right)}^{2}\right) - \left(0.25 \cdot {\pi}^{2}\right) \cdot \left(0.25 \cdot {\pi}^{2}\right)}{\frac{{\left(\left(0.25 \cdot {\pi}^{2}\right) \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)}^{3} + {\left(4 \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right)}^{2} \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)\right)}^{3}}{\left(\left(0.25 \cdot {\pi}^{2}\right) \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right), 0.5 \cdot \pi\right)\right) \cdot \left(\left(0.25 \cdot {\pi}^{2}\right) \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right), 0.5 \cdot \pi\right)\right) + \left(\left(4 \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right)}^{2} \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)\right) \cdot \left(4 \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right)}^{2} \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)\right) - \left(\left(0.25 \cdot {\pi}^{2}\right) \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right), 0.5 \cdot \pi\right)\right) \cdot \left(4 \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right)}^{2} \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(x, -0.5, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)\right)\right)}}
\] |
|---|
Final simplification58.7
\[\leadsto \frac{\left(4 \cdot {\cos^{-1} \left(\sqrt{0.5 - 0.5 \cdot x}\right)}^{2}\right) \cdot \left(4 \cdot {\cos^{-1} \left(\sqrt{0.5 - 0.5 \cdot x}\right)}^{2}\right) + \left(0.25 \cdot {\pi}^{2}\right) \cdot \left({\pi}^{2} \cdot -0.25\right)}{\frac{\mathsf{fma}\left(64, {\left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)}^{3}, {\left(\left(0.25 \cdot {\pi}^{2}\right) \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)}^{3}\right)}{\mathsf{fma}\left(0.0625 \cdot {\pi}^{4}, {\left(\mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)}^{2}, \left(4 \cdot \left({\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} \cdot \mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right), 0.5 \cdot \pi\right)\right)\right) \cdot \left(\mathsf{fma}\left(2, \cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right), 0.5 \cdot \pi\right) \cdot \left(4 \cdot {\cos^{-1} \left(\sqrt{\mathsf{fma}\left(-0.5, x, 0.5\right)}\right)}^{2} + {\pi}^{2} \cdot -0.25\right)\right)\right)}}
\]