Initial program 0.5
\[\frac{\cos th}{\sqrt{2}} \cdot \left(a1 \cdot a1\right) + \frac{\cos th}{\sqrt{2}} \cdot \left(a2 \cdot a2\right)\]
- Using strategy
rm Applied associate-*l/0.5
\[\leadsto \frac{\cos th}{\sqrt{2}} \cdot \left(a1 \cdot a1\right) + \color{blue}{\frac{\cos th \cdot \left(a2 \cdot a2\right)}{\sqrt{2}}}\]
- Using strategy
rm Applied associate-*l/0.5
\[\leadsto \color{blue}{\frac{\cos th \cdot \left(a1 \cdot a1\right)}{\sqrt{2}}} + \frac{\cos th \cdot \left(a2 \cdot a2\right)}{\sqrt{2}}\]
- Using strategy
rm Applied add-sqr-sqrt0.5
\[\leadsto \frac{\cos th \cdot \left(a1 \cdot a1\right)}{\sqrt{2}} + \frac{\cos th \cdot \left(a2 \cdot a2\right)}{\color{blue}{\sqrt{\sqrt{2}} \cdot \sqrt{\sqrt{2}}}}\]
Applied associate-/r*0.5
\[\leadsto \frac{\cos th \cdot \left(a1 \cdot a1\right)}{\sqrt{2}} + \color{blue}{\frac{\frac{\cos th \cdot \left(a2 \cdot a2\right)}{\sqrt{\sqrt{2}}}}{\sqrt{\sqrt{2}}}}\]
- Using strategy
rm Applied add-sqr-sqrt0.5
\[\leadsto \frac{\cos th \cdot \left(a1 \cdot a1\right)}{\sqrt{2}} + \frac{\frac{\cos th \cdot \left(a2 \cdot a2\right)}{\sqrt{\sqrt{\color{blue}{\sqrt{2} \cdot \sqrt{2}}}}}}{\sqrt{\sqrt{2}}}\]
Applied sqrt-prod0.5
\[\leadsto \frac{\cos th \cdot \left(a1 \cdot a1\right)}{\sqrt{2}} + \frac{\frac{\cos th \cdot \left(a2 \cdot a2\right)}{\sqrt{\color{blue}{\sqrt{\sqrt{2}} \cdot \sqrt{\sqrt{2}}}}}}{\sqrt{\sqrt{2}}}\]
Applied sqrt-prod0.5
\[\leadsto \frac{\cos th \cdot \left(a1 \cdot a1\right)}{\sqrt{2}} + \frac{\frac{\cos th \cdot \left(a2 \cdot a2\right)}{\color{blue}{\sqrt{\sqrt{\sqrt{2}}} \cdot \sqrt{\sqrt{\sqrt{2}}}}}}{\sqrt{\sqrt{2}}}\]
Applied associate-/r*0.5
\[\leadsto \frac{\cos th \cdot \left(a1 \cdot a1\right)}{\sqrt{2}} + \frac{\color{blue}{\frac{\frac{\cos th \cdot \left(a2 \cdot a2\right)}{\sqrt{\sqrt{\sqrt{2}}}}}{\sqrt{\sqrt{\sqrt{2}}}}}}{\sqrt{\sqrt{2}}}\]
Final simplification0.5
\[\leadsto \frac{\frac{\frac{\cos th \cdot \left(a2 \cdot a2\right)}{\sqrt{\sqrt{\sqrt{2}}}}}{\sqrt{\sqrt{\sqrt{2}}}}}{\sqrt{\sqrt{2}}} + \frac{\left(a1 \cdot a1\right) \cdot \cos th}{\sqrt{2}}\]