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(1 - 3 \cdot a\right)\right)\right) - 1\]
Initial simplification0.2
\[\leadsto \left(\left(4 \cdot a\right) \cdot \left(a + a \cdot a\right) + \left(4 \cdot \left(b \cdot b\right)\right) \cdot \left(1 - a \cdot 3\right)\right) + \left(\left(b \cdot b + a \cdot a\right) \cdot \left(b \cdot b + a \cdot a\right) - 1\right)\]
- Using strategy
rm Applied add-sqr-sqrt0.2
\[\leadsto \left(\left(4 \cdot a\right) \cdot \left(a + a \cdot a\right) + \left(4 \cdot \left(b \cdot b\right)\right) \cdot \left(1 - a \cdot 3\right)\right) + \left(\left(b \cdot b + a \cdot a\right) \cdot \color{blue}{\left(\sqrt{b \cdot b + a \cdot a} \cdot \sqrt{b \cdot b + a \cdot a}\right)} - 1\right)\]
Applied associate-*r*0.1
\[\leadsto \left(\left(4 \cdot a\right) \cdot \left(a + a \cdot a\right) + \left(4 \cdot \left(b \cdot b\right)\right) \cdot \left(1 - a \cdot 3\right)\right) + \left(\color{blue}{\left(\left(b \cdot b + a \cdot a\right) \cdot \sqrt{b \cdot b + a \cdot a}\right) \cdot \sqrt{b \cdot b + a \cdot a}} - 1\right)\]
Final simplification0.1
\[\leadsto \left(\sqrt{a \cdot a + b \cdot b} \cdot \left(\sqrt{a \cdot a + b \cdot b} \cdot \left(a \cdot a + b \cdot b\right)\right) - 1\right) + \left(\left(\left(b \cdot b\right) \cdot 4\right) \cdot \left(1 - 3 \cdot a\right) + \left(a \cdot 4\right) \cdot \left(a \cdot a + a\right)\right)\]