Initial program 42.4
\[\frac{a \cdot c + b \cdot d}{c \cdot c + d \cdot d}\]
Simplified42.4
\[\leadsto \color{blue}{\frac{(a \cdot c + \left(b \cdot d\right))_*}{(d \cdot d + \left(c \cdot c\right))_*}}\]
- Using strategy
rm Applied add-sqr-sqrt42.4
\[\leadsto \frac{(a \cdot c + \left(b \cdot d\right))_*}{\color{blue}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*} \cdot \sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}\]
Applied associate-/r*42.4
\[\leadsto \color{blue}{\frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}\]
- Using strategy
rm Applied fma-udef42.4
\[\leadsto \frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{\sqrt{\color{blue}{d \cdot d + c \cdot c}}}\]
Applied hypot-def42.4
\[\leadsto \frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{\color{blue}{\sqrt{d^2 + c^2}^*}}\]
- Using strategy
rm Applied *-un-lft-identity42.4
\[\leadsto \frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{\color{blue}{1 \cdot \sqrt{d^2 + c^2}^*}}\]
Applied *-un-lft-identity42.4
\[\leadsto \frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{\color{blue}{1 \cdot (d \cdot d + \left(c \cdot c\right))_*}}}}{1 \cdot \sqrt{d^2 + c^2}^*}\]
Applied sqrt-prod42.4
\[\leadsto \frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\color{blue}{\sqrt{1} \cdot \sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}}{1 \cdot \sqrt{d^2 + c^2}^*}\]
Applied *-un-lft-identity42.4
\[\leadsto \frac{\frac{\color{blue}{1 \cdot (a \cdot c + \left(b \cdot d\right))_*}}{\sqrt{1} \cdot \sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{1 \cdot \sqrt{d^2 + c^2}^*}\]
Applied times-frac42.4
\[\leadsto \frac{\color{blue}{\frac{1}{\sqrt{1}} \cdot \frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}}{1 \cdot \sqrt{d^2 + c^2}^*}\]
Applied times-frac42.4
\[\leadsto \color{blue}{\frac{\frac{1}{\sqrt{1}}}{1} \cdot \frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{\sqrt{d^2 + c^2}^*}}\]
Simplified42.4
\[\leadsto \color{blue}{1} \cdot \frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{\sqrt{d^2 + c^2}^*}\]
Simplified30.6
\[\leadsto 1 \cdot \color{blue}{\frac{\frac{(b \cdot d + \left(a \cdot c\right))_*}{\sqrt{d^2 + c^2}^*}}{\sqrt{d^2 + c^2}^*}}\]
Taylor expanded around -inf 10.5
\[\leadsto 1 \cdot \frac{\color{blue}{-1 \cdot b}}{\sqrt{d^2 + c^2}^*}\]
Simplified10.5
\[\leadsto 1 \cdot \frac{\color{blue}{-b}}{\sqrt{d^2 + c^2}^*}\]
Initial program 22.3
\[\frac{a \cdot c + b \cdot d}{c \cdot c + d \cdot d}\]
Simplified22.3
\[\leadsto \color{blue}{\frac{(a \cdot c + \left(b \cdot d\right))_*}{(d \cdot d + \left(c \cdot c\right))_*}}\]
- Using strategy
rm Applied add-sqr-sqrt22.3
\[\leadsto \frac{(a \cdot c + \left(b \cdot d\right))_*}{\color{blue}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*} \cdot \sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}\]
Applied associate-/r*22.2
\[\leadsto \color{blue}{\frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}\]
- Using strategy
rm Applied fma-udef22.2
\[\leadsto \frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{\sqrt{\color{blue}{d \cdot d + c \cdot c}}}\]
Applied hypot-def22.2
\[\leadsto \frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{\color{blue}{\sqrt{d^2 + c^2}^*}}\]
- Using strategy
rm Applied *-un-lft-identity22.2
\[\leadsto \frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{\color{blue}{1 \cdot \sqrt{d^2 + c^2}^*}}\]
Applied *-un-lft-identity22.2
\[\leadsto \frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{\color{blue}{1 \cdot (d \cdot d + \left(c \cdot c\right))_*}}}}{1 \cdot \sqrt{d^2 + c^2}^*}\]
Applied sqrt-prod22.2
\[\leadsto \frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\color{blue}{\sqrt{1} \cdot \sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}}{1 \cdot \sqrt{d^2 + c^2}^*}\]
Applied *-un-lft-identity22.2
\[\leadsto \frac{\frac{\color{blue}{1 \cdot (a \cdot c + \left(b \cdot d\right))_*}}{\sqrt{1} \cdot \sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{1 \cdot \sqrt{d^2 + c^2}^*}\]
Applied times-frac22.2
\[\leadsto \frac{\color{blue}{\frac{1}{\sqrt{1}} \cdot \frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}}{1 \cdot \sqrt{d^2 + c^2}^*}\]
Applied times-frac22.2
\[\leadsto \color{blue}{\frac{\frac{1}{\sqrt{1}}}{1} \cdot \frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{\sqrt{d^2 + c^2}^*}}\]
Simplified22.2
\[\leadsto \color{blue}{1} \cdot \frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{\sqrt{d^2 + c^2}^*}\]
Simplified13.0
\[\leadsto 1 \cdot \color{blue}{\frac{\frac{(b \cdot d + \left(a \cdot c\right))_*}{\sqrt{d^2 + c^2}^*}}{\sqrt{d^2 + c^2}^*}}\]
- Using strategy
rm Applied div-inv13.0
\[\leadsto 1 \cdot \frac{\color{blue}{(b \cdot d + \left(a \cdot c\right))_* \cdot \frac{1}{\sqrt{d^2 + c^2}^*}}}{\sqrt{d^2 + c^2}^*}\]
Initial program 41.2
\[\frac{a \cdot c + b \cdot d}{c \cdot c + d \cdot d}\]
Simplified41.2
\[\leadsto \color{blue}{\frac{(a \cdot c + \left(b \cdot d\right))_*}{(d \cdot d + \left(c \cdot c\right))_*}}\]
- Using strategy
rm Applied add-sqr-sqrt41.2
\[\leadsto \frac{(a \cdot c + \left(b \cdot d\right))_*}{\color{blue}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*} \cdot \sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}\]
Applied associate-/r*41.2
\[\leadsto \color{blue}{\frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}\]
- Using strategy
rm Applied fma-udef41.2
\[\leadsto \frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{\sqrt{\color{blue}{d \cdot d + c \cdot c}}}\]
Applied hypot-def41.2
\[\leadsto \frac{\frac{(a \cdot c + \left(b \cdot d\right))_*}{\sqrt{(d \cdot d + \left(c \cdot c\right))_*}}}{\color{blue}{\sqrt{d^2 + c^2}^*}}\]
Taylor expanded around 0 9.4
\[\leadsto \frac{\color{blue}{b}}{\sqrt{d^2 + c^2}^*}\]