Initial program 0.2
\[\left({\left(a \cdot a + b \cdot b\right)}^{2} + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 - a\right) + \left(b \cdot b\right) \cdot \left(3 + a\right)\right)\right) - 1\]
- Using strategy
rm Applied add-sqr-sqrt0.2
\[\leadsto \color{blue}{\sqrt{{\left(a \cdot a + b \cdot b\right)}^{2} + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 - a\right) + \left(b \cdot b\right) \cdot \left(3 + a\right)\right)} \cdot \sqrt{{\left(a \cdot a + b \cdot b\right)}^{2} + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 - a\right) + \left(b \cdot b\right) \cdot \left(3 + a\right)\right)}} - 1\]
Simplified0.2
\[\leadsto \color{blue}{\sqrt{{\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot \left(b \cdot \left(3 + a\right)\right) + a \cdot \left(a \cdot \left(1 - a\right)\right)\right)}} \cdot \sqrt{{\left(a \cdot a + b \cdot b\right)}^{2} + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 - a\right) + \left(b \cdot b\right) \cdot \left(3 + a\right)\right)} - 1\]
Simplified0.2
\[\leadsto \sqrt{{\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot \left(b \cdot \left(3 + a\right)\right) + a \cdot \left(a \cdot \left(1 - a\right)\right)\right)} \cdot \color{blue}{\sqrt{{\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot \left(b \cdot \left(3 + a\right)\right) + a \cdot \left(a \cdot \left(1 - a\right)\right)\right)}} - 1\]
- Using strategy
rm Applied add-sqr-sqrt0.2
\[\leadsto \sqrt{{\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot \left(b \cdot \left(3 + a\right)\right) + a \cdot \left(a \cdot \left(1 - a\right)\right)\right)} \cdot \sqrt{\color{blue}{\sqrt{{\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot \left(b \cdot \left(3 + a\right)\right) + a \cdot \left(a \cdot \left(1 - a\right)\right)\right)} \cdot \sqrt{{\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot \left(b \cdot \left(3 + a\right)\right) + a \cdot \left(a \cdot \left(1 - a\right)\right)\right)}}} - 1\]
Applied sqrt-prod0.2
\[\leadsto \sqrt{{\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot \left(b \cdot \left(3 + a\right)\right) + a \cdot \left(a \cdot \left(1 - a\right)\right)\right)} \cdot \color{blue}{\left(\sqrt{\sqrt{{\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot \left(b \cdot \left(3 + a\right)\right) + a \cdot \left(a \cdot \left(1 - a\right)\right)\right)}} \cdot \sqrt{\sqrt{{\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot \left(b \cdot \left(3 + a\right)\right) + a \cdot \left(a \cdot \left(1 - a\right)\right)\right)}}\right)} - 1\]
Applied associate-*r*0.1
\[\leadsto \color{blue}{\left(\sqrt{{\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot \left(b \cdot \left(3 + a\right)\right) + a \cdot \left(a \cdot \left(1 - a\right)\right)\right)} \cdot \sqrt{\sqrt{{\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot \left(b \cdot \left(3 + a\right)\right) + a \cdot \left(a \cdot \left(1 - a\right)\right)\right)}}\right) \cdot \sqrt{\sqrt{{\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot \left(b \cdot \left(3 + a\right)\right) + a \cdot \left(a \cdot \left(1 - a\right)\right)\right)}}} - 1\]
Simplified0.1
\[\leadsto \color{blue}{{\left(\sqrt{\sqrt{{\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot \left(b \cdot \left(a + 3\right)\right) + a \cdot \left(a \cdot \left(1 - a\right)\right)\right)}}\right)}^{3}} \cdot \sqrt{\sqrt{{\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot \left(b \cdot \left(3 + a\right)\right) + a \cdot \left(a \cdot \left(1 - a\right)\right)\right)}} - 1\]
Final simplification0.1
\[\leadsto \sqrt{\sqrt{{\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot \left(b \cdot \left(a + 3\right)\right) + a \cdot \left(a \cdot \left(1 - a\right)\right)\right)}} \cdot {\left(\sqrt{\sqrt{{\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot \left(b \cdot \left(a + 3\right)\right) + a \cdot \left(a \cdot \left(1 - a\right)\right)\right)}}\right)}^{3} - 1\]