Initial program 78.1%
\[\tan^{-1} \left(N + 1\right) - \tan^{-1} N
\]
Applied egg-rr78.7%
\[\leadsto \color{blue}{\tan^{-1}_* \frac{N + \left(1 - N\right)}{\mathsf{fma}\left(N, N + 1, 1\right)}}
\]
Step-by-step derivation
[Start]78.1 | \[ \tan^{-1} \left(N + 1\right) - \tan^{-1} N
\] |
|---|
diff-atan [=>]78.7 | \[ \color{blue}{\tan^{-1}_* \frac{\left(N + 1\right) - N}{1 + \left(N + 1\right) \cdot N}}
\] |
|---|
associate--l+ [=>]78.7 | \[ \tan^{-1}_* \frac{\color{blue}{N + \left(1 - N\right)}}{1 + \left(N + 1\right) \cdot N}
\] |
|---|
+-commutative [=>]78.7 | \[ \tan^{-1}_* \frac{N + \left(1 - N\right)}{\color{blue}{\left(N + 1\right) \cdot N + 1}}
\] |
|---|
*-commutative [=>]78.7 | \[ \tan^{-1}_* \frac{N + \left(1 - N\right)}{\color{blue}{N \cdot \left(N + 1\right)} + 1}
\] |
|---|
fma-def [=>]78.7 | \[ \tan^{-1}_* \frac{N + \left(1 - N\right)}{\color{blue}{\mathsf{fma}\left(N, N + 1, 1\right)}}
\] |
|---|
Simplified99.3%
\[\leadsto \color{blue}{\tan^{-1}_* \frac{1}{\mathsf{fma}\left(N, 1 + N, 1\right)}}
\]
Step-by-step derivation
[Start]78.7 | \[ \tan^{-1}_* \frac{N + \left(1 - N\right)}{\mathsf{fma}\left(N, N + 1, 1\right)}
\] |
|---|
+-commutative [=>]78.7 | \[ \tan^{-1}_* \frac{\color{blue}{\left(1 - N\right) + N}}{\mathsf{fma}\left(N, N + 1, 1\right)}
\] |
|---|
associate-+l- [=>]99.3 | \[ \tan^{-1}_* \frac{\color{blue}{1 - \left(N - N\right)}}{\mathsf{fma}\left(N, N + 1, 1\right)}
\] |
|---|
+-inverses [=>]99.3 | \[ \tan^{-1}_* \frac{1 - \color{blue}{0}}{\mathsf{fma}\left(N, N + 1, 1\right)}
\] |
|---|
metadata-eval [=>]99.3 | \[ \tan^{-1}_* \frac{\color{blue}{1}}{\mathsf{fma}\left(N, N + 1, 1\right)}
\] |
|---|
+-commutative [=>]99.3 | \[ \tan^{-1}_* \frac{1}{\mathsf{fma}\left(N, \color{blue}{1 + N}, 1\right)}
\] |
|---|
Applied egg-rr99.3%
\[\leadsto \tan^{-1}_* \frac{1}{\color{blue}{\left(1 + \mathsf{fma}\left(N, 1 + N, 1\right)\right) - 1}}
\]
Step-by-step derivation
[Start]99.3 | \[ \tan^{-1}_* \frac{1}{\mathsf{fma}\left(N, 1 + N, 1\right)}
\] |
|---|
expm1-log1p-u [=>]97.4 | \[ \tan^{-1}_* \frac{1}{\color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\mathsf{fma}\left(N, 1 + N, 1\right)\right)\right)}}
\] |
|---|
expm1-udef [=>]97.4 | \[ \tan^{-1}_* \frac{1}{\color{blue}{e^{\mathsf{log1p}\left(\mathsf{fma}\left(N, 1 + N, 1\right)\right)} - 1}}
\] |
|---|
log1p-udef [=>]97.4 | \[ \tan^{-1}_* \frac{1}{e^{\color{blue}{\log \left(1 + \mathsf{fma}\left(N, 1 + N, 1\right)\right)}} - 1}
\] |
|---|
add-exp-log [<=]99.3 | \[ \tan^{-1}_* \frac{1}{\color{blue}{\left(1 + \mathsf{fma}\left(N, 1 + N, 1\right)\right)} - 1}
\] |
|---|
Final simplification99.3%
\[\leadsto \tan^{-1}_* \frac{1}{\left(1 + \mathsf{fma}\left(N, 1 + N, 1\right)\right) + -1}
\]