Initial program 100.0%
\[\sqrt{\left|x - y\right|}
\]
Step-by-step derivation
expm1-log1p-u94.0%
\[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\sqrt{\left|x - y\right|}\right)\right)}
\]
expm1-udef72.6%
\[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\sqrt{\left|x - y\right|}\right)} - 1}
\]
log1p-udef72.6%
\[\leadsto e^{\color{blue}{\log \left(1 + \sqrt{\left|x - y\right|}\right)}} - 1
\]
add-exp-log78.5%
\[\leadsto \color{blue}{\left(1 + \sqrt{\left|x - y\right|}\right)} - 1
\]
add-sqr-sqrt38.7%
\[\leadsto \left(1 + \sqrt{\left|\color{blue}{\sqrt{x - y} \cdot \sqrt{x - y}}\right|}\right) - 1
\]
fabs-sqr38.7%
\[\leadsto \left(1 + \sqrt{\color{blue}{\sqrt{x - y} \cdot \sqrt{x - y}}}\right) - 1
\]
add-sqr-sqrt38.7%
\[\leadsto \left(1 + \sqrt{\color{blue}{x - y}}\right) - 1
\]
Applied egg-rr38.7%
\[\leadsto \color{blue}{\left(1 + \sqrt{x - y}\right) - 1}
\]
Step-by-step derivation
+-commutative38.7%
\[\leadsto \color{blue}{\left(\sqrt{x - y} + 1\right)} - 1
\]
associate--l+48.4%
\[\leadsto \color{blue}{\sqrt{x - y} + \left(1 - 1\right)}
\]
metadata-eval48.4%
\[\leadsto \sqrt{x - y} + \color{blue}{0}
\]
+-rgt-identity48.4%
\[\leadsto \color{blue}{\sqrt{x - y}}
\]
Simplified48.4%
\[\leadsto \color{blue}{\sqrt{x - y}}
\]
Final simplification48.4%
\[\leadsto \sqrt{x - y}
\]