Initial program 0.2
\[1 + v \cdot \log \left(u + \left(1 - u\right) \cdot e^{\frac{-2}{v}}\right)
\]
Applied add-sqr-sqrt_binary320.2
\[\leadsto 1 + v \cdot \log \color{blue}{\left(\sqrt{u + \left(1 - u\right) \cdot e^{\frac{-2}{v}}} \cdot \sqrt{u + \left(1 - u\right) \cdot e^{\frac{-2}{v}}}\right)}
\]
Applied log-prod_binary320.2
\[\leadsto 1 + v \cdot \color{blue}{\left(\log \left(\sqrt{u + \left(1 - u\right) \cdot e^{\frac{-2}{v}}}\right) + \log \left(\sqrt{u + \left(1 - u\right) \cdot e^{\frac{-2}{v}}}\right)\right)}
\]
Simplified0.2
\[\leadsto 1 + v \cdot \left(\color{blue}{\log \left(\sqrt{\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)}\right)} + \log \left(\sqrt{u + \left(1 - u\right) \cdot e^{\frac{-2}{v}}}\right)\right)
\]
Simplified0.2
\[\leadsto 1 + v \cdot \left(\log \left(\sqrt{\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)}\right) + \color{blue}{\log \left(\sqrt{\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)}\right)}\right)
\]
Applied pow1_binary320.2
\[\leadsto 1 + v \cdot \left(\log \left(\sqrt{\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)}\right) + \log \left(\sqrt{\color{blue}{{\left(\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)\right)}^{1}}}\right)\right)
\]
Applied sqrt-pow1_binary320.2
\[\leadsto 1 + v \cdot \left(\log \left(\sqrt{\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)}\right) + \log \color{blue}{\left({\left(\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)\right)}^{\left(\frac{1}{2}\right)}\right)}\right)
\]
Applied log-pow_binary320.2
\[\leadsto 1 + v \cdot \left(\log \left(\sqrt{\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)}\right) + \color{blue}{\frac{1}{2} \cdot \log \left(\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)\right)}\right)
\]
Applied pow1_binary320.2
\[\leadsto 1 + v \cdot \left(\log \left(\sqrt{\color{blue}{{\left(\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)\right)}^{1}}}\right) + \frac{1}{2} \cdot \log \left(\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)\right)\right)
\]
Applied sqrt-pow1_binary320.2
\[\leadsto 1 + v \cdot \left(\log \color{blue}{\left({\left(\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)\right)}^{\left(\frac{1}{2}\right)}\right)} + \frac{1}{2} \cdot \log \left(\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)\right)\right)
\]
Applied log-pow_binary320.2
\[\leadsto 1 + v \cdot \left(\color{blue}{\frac{1}{2} \cdot \log \left(\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)\right)} + \frac{1}{2} \cdot \log \left(\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)\right)\right)
\]
Applied distribute-rgt-out_binary320.2
\[\leadsto 1 + v \cdot \color{blue}{\left(\log \left(\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)\right) \cdot \left(\frac{1}{2} + \frac{1}{2}\right)\right)}
\]
Applied associate-*r*_binary320.2
\[\leadsto 1 + \color{blue}{\left(v \cdot \log \left(\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)\right)\right) \cdot \left(\frac{1}{2} + \frac{1}{2}\right)}
\]
Final simplification0.2
\[\leadsto 1 + v \cdot \log \left(\mathsf{fma}\left(e^{\frac{-2}{v}}, 1 - u, u\right)\right)
\]