Initial program 4.3
\[x + \left(y \cdot z\right) \cdot \left(\tanh \left(\frac{t}{y}\right) - \tanh \left(\frac{x}{y}\right)\right)\]
- Using strategy
rm Applied add-cube-cbrt4.4
\[\leadsto x + \left(y \cdot z\right) \cdot \left(\tanh \left(\frac{t}{y}\right) - \color{blue}{\left(\sqrt[3]{\tanh \left(\frac{x}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{x}{y}\right)}\right) \cdot \sqrt[3]{\tanh \left(\frac{x}{y}\right)}}\right)\]
Applied add-cube-cbrt4.5
\[\leadsto x + \left(y \cdot z\right) \cdot \left(\color{blue}{\left(\sqrt[3]{\tanh \left(\frac{t}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{t}{y}\right)}\right) \cdot \sqrt[3]{\tanh \left(\frac{t}{y}\right)}} - \left(\sqrt[3]{\tanh \left(\frac{x}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{x}{y}\right)}\right) \cdot \sqrt[3]{\tanh \left(\frac{x}{y}\right)}\right)\]
Applied prod-diff4.5
\[\leadsto x + \left(y \cdot z\right) \cdot \color{blue}{\left(\mathsf{fma}\left(\sqrt[3]{\tanh \left(\frac{t}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, -\sqrt[3]{\tanh \left(\frac{x}{y}\right)} \cdot \left(\sqrt[3]{\tanh \left(\frac{x}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{x}{y}\right)}\right)\right) + \mathsf{fma}\left(-\sqrt[3]{\tanh \left(\frac{x}{y}\right)}, \sqrt[3]{\tanh \left(\frac{x}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{x}{y}\right)}, \sqrt[3]{\tanh \left(\frac{x}{y}\right)} \cdot \left(\sqrt[3]{\tanh \left(\frac{x}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{x}{y}\right)}\right)\right)\right)}\]
Applied distribute-lft-in4.5
\[\leadsto x + \color{blue}{\left(\left(y \cdot z\right) \cdot \mathsf{fma}\left(\sqrt[3]{\tanh \left(\frac{t}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, -\sqrt[3]{\tanh \left(\frac{x}{y}\right)} \cdot \left(\sqrt[3]{\tanh \left(\frac{x}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{x}{y}\right)}\right)\right) + \left(y \cdot z\right) \cdot \mathsf{fma}\left(-\sqrt[3]{\tanh \left(\frac{x}{y}\right)}, \sqrt[3]{\tanh \left(\frac{x}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{x}{y}\right)}, \sqrt[3]{\tanh \left(\frac{x}{y}\right)} \cdot \left(\sqrt[3]{\tanh \left(\frac{x}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{x}{y}\right)}\right)\right)\right)}\]
Simplified4.4
\[\leadsto x + \left(\color{blue}{\left(\mathsf{fma}\left(\sqrt[3]{\tanh \left(\frac{t}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, -\tanh \left(\frac{x}{y}\right)\right) \cdot y\right) \cdot z} + \left(y \cdot z\right) \cdot \mathsf{fma}\left(-\sqrt[3]{\tanh \left(\frac{x}{y}\right)}, \sqrt[3]{\tanh \left(\frac{x}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{x}{y}\right)}, \sqrt[3]{\tanh \left(\frac{x}{y}\right)} \cdot \left(\sqrt[3]{\tanh \left(\frac{x}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{x}{y}\right)}\right)\right)\right)\]
Simplified4.4
\[\leadsto x + \left(\left(\mathsf{fma}\left(\sqrt[3]{\tanh \left(\frac{t}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, -\tanh \left(\frac{x}{y}\right)\right) \cdot y\right) \cdot z + \color{blue}{\left(\tanh \left(\frac{x}{y}\right) \cdot 0\right) \cdot \left(y \cdot z\right)}\right)\]
- Using strategy
rm Applied add-exp-log34.4
\[\leadsto x + \left(\left(\mathsf{fma}\left(\sqrt[3]{\tanh \left(\frac{t}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, -\tanh \left(\frac{x}{y}\right)\right) \cdot y\right) \cdot z + \left(\tanh \left(\frac{x}{y}\right) \cdot 0\right) \cdot \left(y \cdot \color{blue}{e^{\log z}}\right)\right)\]
Applied add-exp-log49.4
\[\leadsto x + \left(\left(\mathsf{fma}\left(\sqrt[3]{\tanh \left(\frac{t}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, -\tanh \left(\frac{x}{y}\right)\right) \cdot y\right) \cdot z + \left(\tanh \left(\frac{x}{y}\right) \cdot 0\right) \cdot \left(\color{blue}{e^{\log y}} \cdot e^{\log z}\right)\right)\]
Applied prod-exp49.4
\[\leadsto x + \left(\left(\mathsf{fma}\left(\sqrt[3]{\tanh \left(\frac{t}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, -\tanh \left(\frac{x}{y}\right)\right) \cdot y\right) \cdot z + \left(\tanh \left(\frac{x}{y}\right) \cdot 0\right) \cdot \color{blue}{e^{\log y + \log z}}\right)\]
Applied add-exp-log49.4
\[\leadsto x + \left(\left(\mathsf{fma}\left(\sqrt[3]{\tanh \left(\frac{t}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, -\tanh \left(\frac{x}{y}\right)\right) \cdot y\right) \cdot z + \left(\tanh \left(\frac{x}{y}\right) \cdot \color{blue}{e^{\log 0}}\right) \cdot e^{\log y + \log z}\right)\]
Applied add-exp-log55.8
\[\leadsto x + \left(\left(\mathsf{fma}\left(\sqrt[3]{\tanh \left(\frac{t}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, -\tanh \left(\frac{x}{y}\right)\right) \cdot y\right) \cdot z + \left(\color{blue}{e^{\log \left(\tanh \left(\frac{x}{y}\right)\right)}} \cdot e^{\log 0}\right) \cdot e^{\log y + \log z}\right)\]
Applied prod-exp55.8
\[\leadsto x + \left(\left(\mathsf{fma}\left(\sqrt[3]{\tanh \left(\frac{t}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, -\tanh \left(\frac{x}{y}\right)\right) \cdot y\right) \cdot z + \color{blue}{e^{\log \left(\tanh \left(\frac{x}{y}\right)\right) + \log 0}} \cdot e^{\log y + \log z}\right)\]
Applied prod-exp55.4
\[\leadsto x + \left(\left(\mathsf{fma}\left(\sqrt[3]{\tanh \left(\frac{t}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, -\tanh \left(\frac{x}{y}\right)\right) \cdot y\right) \cdot z + \color{blue}{e^{\left(\log \left(\tanh \left(\frac{x}{y}\right)\right) + \log 0\right) + \left(\log y + \log z\right)}}\right)\]
Simplified1.6
\[\leadsto x + \left(\left(\mathsf{fma}\left(\sqrt[3]{\tanh \left(\frac{t}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, -\tanh \left(\frac{x}{y}\right)\right) \cdot y\right) \cdot z + e^{\color{blue}{\log 0}}\right)\]
Final simplification1.6
\[\leadsto x + \left(\left(\mathsf{fma}\left(\sqrt[3]{\tanh \left(\frac{t}{y}\right)} \cdot \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, \sqrt[3]{\tanh \left(\frac{t}{y}\right)}, -\tanh \left(\frac{x}{y}\right)\right) \cdot y\right) \cdot z + e^{\log 0}\right)\]