Details

Time bar (total: 2.6s)

analyze1.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
100%0%0%1
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample36.0ms (1.4%)

Algorithm
intervals
Results
14.0ms70×body2048valid
9.0ms133×body128valid
5.0ms29×body1024valid
2.0ms16×body512valid
1.0msbody256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify168.0ms (6.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07111
17111

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.3b

Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(atan.f64 (+.f64 N 1))
2.1b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

rewrite7.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_1821 *-un-lft-identity_binary64_1799
add-log-exp_binary64_1838
add-cube-cbrt_binary64_1834 cancel-sign-sub-inv_binary64_1765
pow1_binary64_1860 add-cbrt-cube_binary64_1835 add-exp-log_binary64_1837
sub-neg_binary64_1792 diff-log_binary64_1891 flip--_binary64_1774 diff-atan_binary64_1956 difference-of-squares_binary64_1768 flip3--_binary64_1803 distribute-lft-out--_binary64_1751
Counts
2 → 24
Calls

2 calls:

4.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
1.0ms
(atan.f64 (+.f64 N 1))

series33.0ms (1.3%)

Counts
2 → 6
Calls

2 calls:

25.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
7.0ms
(atan.f64 (+.f64 N 1))

simplify69.0ms (2.7%)

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
04971391
14971391

prune26.0ms (1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New28230
Fresh000
Picked011
Done000
Total28331

Merged error: 0.5b

Counts
31 → 3
Compiler

Compiled 401 to 273 computations (31.9% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(*.f64 N (+.f64 N 1))
0.5b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

rewrite10.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_1821 *-un-lft-identity_binary64_1799
pow1_binary64_1860 add-cube-cbrt_binary64_1834 add-cbrt-cube_binary64_1835 add-exp-log_binary64_1837 associate-*r*_binary64_1739
associate-*l*_binary64_1740
add-log-exp_binary64_1838 associate-*r/_binary64_1741
distribute-rgt-in_binary64_1749 distribute-lft-in_binary64_1748 prod-exp_binary64_1848 unswap-sqr_binary64_1767 cbrt-unprod_binary64_1832 *-commutative_binary64_1730 pow-prod-down_binary64_1870 distribute-lft-out_binary64_1750 flip3-+_binary64_1802 flip-+_binary64_1773
Counts
2 → 30
Calls

2 calls:

7.0ms
(*.f64 N (+.f64 N 1))
1.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

series71.0ms (2.7%)

Counts
2 → 6
Calls

2 calls:

56.0ms
(*.f64 N (+.f64 N 1))
14.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

simplify79.0ms (3.1%)

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
04877383
14877383

prune64.0ms (2.5%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New33336
Fresh101
Picked011
Done011
Total34539

Merged error: 0.4b

Counts
39 → 5
Compiler

Compiled 910 to 745 computations (18.1% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.5b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
0.6b
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))
15.6b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
15.6b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))

rewrite19.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt_binary64_1821
24×sqrt-prod_binary64_1815
21×pow1_binary64_1860
14×add-cube-cbrt_binary64_1834 *-un-lft-identity_binary64_1799
10×pow1/2_binary64_1879 sqrt-pow1_binary64_1817
swap-sqr_binary64_1766
associate-*l*_binary64_1740 add-cbrt-cube_binary64_1835 add-exp-log_binary64_1837 associate-*r*_binary64_1739
pow-prod-up_binary64_1869
add-log-exp_binary64_1838 unswap-sqr_binary64_1767 rem-sqrt-square_binary64_1812
pow-sqr_binary64_1772 pow-prod-down_binary64_1870
pow2_binary64_1880 sqr-abs_binary64_1814 prod-exp_binary64_1848 cbrt-unprod_binary64_1832 *-commutative_binary64_1730 sqrt-unprod_binary64_1819 rem-square-sqrt_binary64_1811 pow-plus_binary64_1862
Counts
4 → 83
Calls

4 calls:

8.0ms
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))
2.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
1.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
1.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))

series129.0ms (5%)

Counts
4 → 12
Calls

4 calls:

51.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
49.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
17.0ms
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))
11.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))

simplify79.0ms (3.1%)

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
051111475

prune139.0ms (5.4%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New93295
Fresh112
Picked011
Done022
Total946100

Merged error: 0.4b

Counts
100 → 6
Compiler

Compiled 2440 to 2019 computations (17.3% saved)

localize12.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.6b
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (*.f64 (sqrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))) (sqrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))))
15.6b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
15.6b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
15.6b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))

rewrite33.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
54×sqrt-pow1_binary64_1817
45×pow1_binary64_1860
30×pow1/2_binary64_1879 pow-prod-up_binary64_1869
16×add-sqr-sqrt_binary64_1821
14×sqrt-prod_binary64_1815
add-cube-cbrt_binary64_1834 add-cbrt-cube_binary64_1835 *-un-lft-identity_binary64_1799 add-exp-log_binary64_1837
pow-prod-down_binary64_1870
pow-sqr_binary64_1772 associate-*l*_binary64_1740
add-log-exp_binary64_1838
prod-exp_binary64_1848 cbrt-unprod_binary64_1832 rem-sqrt-square_binary64_1812
unswap-sqr_binary64_1767 sqrt-unprod_binary64_1819 swap-sqr_binary64_1766
*-commutative_binary64_1730 associate-*r*_binary64_1739
Counts
4 → 85
Calls

4 calls:

18.0ms
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (*.f64 (sqrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))) (sqrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))))
2.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
1.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
1.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))

series154.0ms (6%)

Counts
4 → 12
Calls

4 calls:

45.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
44.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
42.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
22.0ms
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (*.f64 (sqrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))) (sqrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))))

simplify83.0ms (3.2%)

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
047591397
147591397

prune159.0ms (6.2%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New97097
Fresh022
Picked011
Done033
Total976103

Merged error: 0.4b

Counts
103 → 6
Compiler

Compiled 2826 to 2345 computations (17% saved)

regimes29.0ms (1.1%)

Compiler

Compiled 266 to 226 computations (15% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01113
11113

end0.0ms (0%)

sample1.1s (44.6%)

Algorithm
intervals
Results
451.0ms2134×body2048valid
185.0ms4189×body128valid
136.0ms923×body1024valid
55.0ms495×body512valid
21.0ms259×body256valid
Compiler

Compiled 152 to 131 computations (13.8% saved)

Profiling

Loading profile data...