Initial program 45.2
\[\frac{b \cdot c - a \cdot d}{c \cdot c + d \cdot d}\]
- Using strategy
rm Applied add-sqr-sqrt45.2
\[\leadsto \frac{b \cdot c - a \cdot d}{\color{blue}{\sqrt{c \cdot c + d \cdot d} \cdot \sqrt{c \cdot c + d \cdot d}}}\]
Applied *-un-lft-identity45.2
\[\leadsto \frac{\color{blue}{1 \cdot \left(b \cdot c - a \cdot d\right)}}{\sqrt{c \cdot c + d \cdot d} \cdot \sqrt{c \cdot c + d \cdot d}}\]
Applied times-frac45.2
\[\leadsto \color{blue}{\frac{1}{\sqrt{c \cdot c + d \cdot d}} \cdot \frac{b \cdot c - a \cdot d}{\sqrt{c \cdot c + d \cdot d}}}\]
Simplified45.2
\[\leadsto \color{blue}{\frac{1}{\mathsf{hypot}\left(c, d\right)}} \cdot \frac{b \cdot c - a \cdot d}{\sqrt{c \cdot c + d \cdot d}}\]
Simplified29.3
\[\leadsto \frac{1}{\mathsf{hypot}\left(c, d\right)} \cdot \color{blue}{\frac{\mathsf{fma}\left(b, c, \left(-d\right) \cdot a\right)}{\mathsf{hypot}\left(c, d\right)}}\]
- Using strategy
rm Applied *-un-lft-identity29.3
\[\leadsto \color{blue}{\left(1 \cdot \frac{1}{\mathsf{hypot}\left(c, d\right)}\right)} \cdot \frac{\mathsf{fma}\left(b, c, \left(-d\right) \cdot a\right)}{\mathsf{hypot}\left(c, d\right)}\]
Applied associate-*l*29.3
\[\leadsto \color{blue}{1 \cdot \left(\frac{1}{\mathsf{hypot}\left(c, d\right)} \cdot \frac{\mathsf{fma}\left(b, c, \left(-d\right) \cdot a\right)}{\mathsf{hypot}\left(c, d\right)}\right)}\]
Simplified29.3
\[\leadsto 1 \cdot \color{blue}{\frac{\frac{\mathsf{fma}\left(b, c, \left(-d\right) \cdot a\right)}{\mathsf{hypot}\left(c, d\right)}}{\mathsf{hypot}\left(c, d\right)}}\]
Taylor expanded around -inf 14.1
\[\leadsto 1 \cdot \frac{\color{blue}{-1 \cdot b}}{\mathsf{hypot}\left(c, d\right)}\]
Simplified14.1
\[\leadsto 1 \cdot \frac{\color{blue}{-b}}{\mathsf{hypot}\left(c, d\right)}\]
Initial program 20.8
\[\frac{b \cdot c - a \cdot d}{c \cdot c + d \cdot d}\]
- Using strategy
rm Applied add-sqr-sqrt20.8
\[\leadsto \frac{b \cdot c - a \cdot d}{\color{blue}{\sqrt{c \cdot c + d \cdot d} \cdot \sqrt{c \cdot c + d \cdot d}}}\]
Applied *-un-lft-identity20.8
\[\leadsto \frac{\color{blue}{1 \cdot \left(b \cdot c - a \cdot d\right)}}{\sqrt{c \cdot c + d \cdot d} \cdot \sqrt{c \cdot c + d \cdot d}}\]
Applied times-frac20.8
\[\leadsto \color{blue}{\frac{1}{\sqrt{c \cdot c + d \cdot d}} \cdot \frac{b \cdot c - a \cdot d}{\sqrt{c \cdot c + d \cdot d}}}\]
Simplified20.8
\[\leadsto \color{blue}{\frac{1}{\mathsf{hypot}\left(c, d\right)}} \cdot \frac{b \cdot c - a \cdot d}{\sqrt{c \cdot c + d \cdot d}}\]
Simplified13.4
\[\leadsto \frac{1}{\mathsf{hypot}\left(c, d\right)} \cdot \color{blue}{\frac{\mathsf{fma}\left(b, c, \left(-d\right) \cdot a\right)}{\mathsf{hypot}\left(c, d\right)}}\]
- Using strategy
rm Applied *-un-lft-identity13.4
\[\leadsto \color{blue}{\left(1 \cdot \frac{1}{\mathsf{hypot}\left(c, d\right)}\right)} \cdot \frac{\mathsf{fma}\left(b, c, \left(-d\right) \cdot a\right)}{\mathsf{hypot}\left(c, d\right)}\]
Applied associate-*l*13.4
\[\leadsto \color{blue}{1 \cdot \left(\frac{1}{\mathsf{hypot}\left(c, d\right)} \cdot \frac{\mathsf{fma}\left(b, c, \left(-d\right) \cdot a\right)}{\mathsf{hypot}\left(c, d\right)}\right)}\]
Simplified13.3
\[\leadsto 1 \cdot \color{blue}{\frac{\frac{\mathsf{fma}\left(b, c, \left(-d\right) \cdot a\right)}{\mathsf{hypot}\left(c, d\right)}}{\mathsf{hypot}\left(c, d\right)}}\]
- Using strategy
rm Applied clear-num13.4
\[\leadsto 1 \cdot \frac{\color{blue}{\frac{1}{\frac{\mathsf{hypot}\left(c, d\right)}{\mathsf{fma}\left(b, c, \left(-d\right) \cdot a\right)}}}}{\mathsf{hypot}\left(c, d\right)}\]
Simplified13.4
\[\leadsto 1 \cdot \frac{\frac{1}{\color{blue}{\frac{\mathsf{hypot}\left(c, d\right)}{\mathsf{fma}\left(b, c, -a \cdot d\right)}}}}{\mathsf{hypot}\left(c, d\right)}\]
- Using strategy
rm Applied *-un-lft-identity13.4
\[\leadsto 1 \cdot \frac{\frac{1}{\frac{\mathsf{hypot}\left(c, d\right)}{\mathsf{fma}\left(b, c, -a \cdot d\right)}}}{\color{blue}{1 \cdot \mathsf{hypot}\left(c, d\right)}}\]
Applied *-un-lft-identity13.4
\[\leadsto 1 \cdot \frac{\frac{1}{\frac{\mathsf{hypot}\left(c, d\right)}{\color{blue}{1 \cdot \mathsf{fma}\left(b, c, -a \cdot d\right)}}}}{1 \cdot \mathsf{hypot}\left(c, d\right)}\]
Applied *-un-lft-identity13.4
\[\leadsto 1 \cdot \frac{\frac{1}{\frac{\color{blue}{1 \cdot \mathsf{hypot}\left(c, d\right)}}{1 \cdot \mathsf{fma}\left(b, c, -a \cdot d\right)}}}{1 \cdot \mathsf{hypot}\left(c, d\right)}\]
Applied times-frac13.4
\[\leadsto 1 \cdot \frac{\frac{1}{\color{blue}{\frac{1}{1} \cdot \frac{\mathsf{hypot}\left(c, d\right)}{\mathsf{fma}\left(b, c, -a \cdot d\right)}}}}{1 \cdot \mathsf{hypot}\left(c, d\right)}\]
Applied add-cube-cbrt13.4
\[\leadsto 1 \cdot \frac{\frac{\color{blue}{\left(\sqrt[3]{1} \cdot \sqrt[3]{1}\right) \cdot \sqrt[3]{1}}}{\frac{1}{1} \cdot \frac{\mathsf{hypot}\left(c, d\right)}{\mathsf{fma}\left(b, c, -a \cdot d\right)}}}{1 \cdot \mathsf{hypot}\left(c, d\right)}\]
Applied times-frac13.4
\[\leadsto 1 \cdot \frac{\color{blue}{\frac{\sqrt[3]{1} \cdot \sqrt[3]{1}}{\frac{1}{1}} \cdot \frac{\sqrt[3]{1}}{\frac{\mathsf{hypot}\left(c, d\right)}{\mathsf{fma}\left(b, c, -a \cdot d\right)}}}}{1 \cdot \mathsf{hypot}\left(c, d\right)}\]
Applied times-frac13.4
\[\leadsto 1 \cdot \color{blue}{\left(\frac{\frac{\sqrt[3]{1} \cdot \sqrt[3]{1}}{\frac{1}{1}}}{1} \cdot \frac{\frac{\sqrt[3]{1}}{\frac{\mathsf{hypot}\left(c, d\right)}{\mathsf{fma}\left(b, c, -a \cdot d\right)}}}{\mathsf{hypot}\left(c, d\right)}\right)}\]
Simplified13.4
\[\leadsto 1 \cdot \left(\color{blue}{1} \cdot \frac{\frac{\sqrt[3]{1}}{\frac{\mathsf{hypot}\left(c, d\right)}{\mathsf{fma}\left(b, c, -a \cdot d\right)}}}{\mathsf{hypot}\left(c, d\right)}\right)\]
Simplified13.3
\[\leadsto 1 \cdot \left(1 \cdot \color{blue}{\frac{\frac{\mathsf{fma}\left(c, b, -d \cdot a\right)}{\mathsf{hypot}\left(c, d\right)}}{\mathsf{hypot}\left(c, d\right)}}\right)\]
Initial program 44.7
\[\frac{b \cdot c - a \cdot d}{c \cdot c + d \cdot d}\]
- Using strategy
rm Applied add-sqr-sqrt44.7
\[\leadsto \frac{b \cdot c - a \cdot d}{\color{blue}{\sqrt{c \cdot c + d \cdot d} \cdot \sqrt{c \cdot c + d \cdot d}}}\]
Applied *-un-lft-identity44.7
\[\leadsto \frac{\color{blue}{1 \cdot \left(b \cdot c - a \cdot d\right)}}{\sqrt{c \cdot c + d \cdot d} \cdot \sqrt{c \cdot c + d \cdot d}}\]
Applied times-frac44.7
\[\leadsto \color{blue}{\frac{1}{\sqrt{c \cdot c + d \cdot d}} \cdot \frac{b \cdot c - a \cdot d}{\sqrt{c \cdot c + d \cdot d}}}\]
Simplified44.7
\[\leadsto \color{blue}{\frac{1}{\mathsf{hypot}\left(c, d\right)}} \cdot \frac{b \cdot c - a \cdot d}{\sqrt{c \cdot c + d \cdot d}}\]
Simplified32.1
\[\leadsto \frac{1}{\mathsf{hypot}\left(c, d\right)} \cdot \color{blue}{\frac{\mathsf{fma}\left(b, c, \left(-d\right) \cdot a\right)}{\mathsf{hypot}\left(c, d\right)}}\]
- Using strategy
rm Applied *-un-lft-identity32.1
\[\leadsto \color{blue}{\left(1 \cdot \frac{1}{\mathsf{hypot}\left(c, d\right)}\right)} \cdot \frac{\mathsf{fma}\left(b, c, \left(-d\right) \cdot a\right)}{\mathsf{hypot}\left(c, d\right)}\]
Applied associate-*l*32.1
\[\leadsto \color{blue}{1 \cdot \left(\frac{1}{\mathsf{hypot}\left(c, d\right)} \cdot \frac{\mathsf{fma}\left(b, c, \left(-d\right) \cdot a\right)}{\mathsf{hypot}\left(c, d\right)}\right)}\]
Simplified32.0
\[\leadsto 1 \cdot \color{blue}{\frac{\frac{\mathsf{fma}\left(b, c, \left(-d\right) \cdot a\right)}{\mathsf{hypot}\left(c, d\right)}}{\mathsf{hypot}\left(c, d\right)}}\]
Taylor expanded around inf 12.3
\[\leadsto 1 \cdot \frac{\color{blue}{b}}{\mathsf{hypot}\left(c, d\right)}\]