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 \color{blue}{\frac{\cos th \cdot \left(a1 \cdot a1\right)}{\sqrt{2}}} + \frac{\cos th}{\sqrt{2}} \cdot \left(a2 \cdot a2\right)\]
- Using strategy
rm Applied add-sqr-sqrt0.5
\[\leadsto \frac{\cos th \cdot \left(a1 \cdot a1\right)}{\sqrt{2}} + \frac{\cos th}{\color{blue}{\sqrt{\sqrt{2}} \cdot \sqrt{\sqrt{2}}}} \cdot \left(a2 \cdot a2\right)\]
Applied associate-/r*0.5
\[\leadsto \frac{\cos th \cdot \left(a1 \cdot a1\right)}{\sqrt{2}} + \color{blue}{\frac{\frac{\cos th}{\sqrt{\sqrt{2}}}}{\sqrt{\sqrt{2}}}} \cdot \left(a2 \cdot a2\right)\]
- Using strategy
rm Applied *-un-lft-identity0.5
\[\leadsto \frac{\cos th \cdot \left(a1 \cdot a1\right)}{\sqrt{2}} + \frac{\frac{\cos th}{\sqrt{\sqrt{2}}}}{\color{blue}{1 \cdot \sqrt{\sqrt{2}}}} \cdot \left(a2 \cdot a2\right)\]
Applied div-inv0.5
\[\leadsto \frac{\cos th \cdot \left(a1 \cdot a1\right)}{\sqrt{2}} + \frac{\color{blue}{\cos th \cdot \frac{1}{\sqrt{\sqrt{2}}}}}{1 \cdot \sqrt{\sqrt{2}}} \cdot \left(a2 \cdot a2\right)\]
Applied times-frac0.5
\[\leadsto \frac{\cos th \cdot \left(a1 \cdot a1\right)}{\sqrt{2}} + \color{blue}{\left(\frac{\cos th}{1} \cdot \frac{\frac{1}{\sqrt{\sqrt{2}}}}{\sqrt{\sqrt{2}}}\right)} \cdot \left(a2 \cdot a2\right)\]
Applied associate-*l*0.5
\[\leadsto \frac{\cos th \cdot \left(a1 \cdot a1\right)}{\sqrt{2}} + \color{blue}{\frac{\cos th}{1} \cdot \left(\frac{\frac{1}{\sqrt{\sqrt{2}}}}{\sqrt{\sqrt{2}}} \cdot \left(a2 \cdot a2\right)\right)}\]
Simplified0.5
\[\leadsto \frac{\cos th \cdot \left(a1 \cdot a1\right)}{\sqrt{2}} + \color{blue}{\cos th} \cdot \left(\frac{\frac{1}{\sqrt{\sqrt{2}}}}{\sqrt{\sqrt{2}}} \cdot \left(a2 \cdot a2\right)\right)\]
- Using strategy
rm Applied *-un-lft-identity0.5
\[\leadsto \frac{\cos th \cdot \left(a1 \cdot a1\right)}{\color{blue}{1 \cdot \sqrt{2}}} + \cos th \cdot \left(\frac{\frac{1}{\sqrt{\sqrt{2}}}}{\sqrt{\sqrt{2}}} \cdot \left(a2 \cdot a2\right)\right)\]
Applied times-frac0.5
\[\leadsto \color{blue}{\frac{\cos th}{1} \cdot \frac{a1 \cdot a1}{\sqrt{2}}} + \cos th \cdot \left(\frac{\frac{1}{\sqrt{\sqrt{2}}}}{\sqrt{\sqrt{2}}} \cdot \left(a2 \cdot a2\right)\right)\]
Simplified0.5
\[\leadsto \color{blue}{\cos th} \cdot \frac{a1 \cdot a1}{\sqrt{2}} + \cos th \cdot \left(\frac{\frac{1}{\sqrt{\sqrt{2}}}}{\sqrt{\sqrt{2}}} \cdot \left(a2 \cdot a2\right)\right)\]
Final simplification0.5
\[\leadsto \cos th \cdot \left(\frac{\frac{1}{\sqrt{\sqrt{2}}}}{\sqrt{\sqrt{2}}} \cdot \left(a2 \cdot a2\right)\right) + \frac{a1 \cdot a1}{\sqrt{2}} \cdot \cos th\]