Details

Time bar (total: 5.6s)

analyze175.0ms (3.1%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068119
168119
011
111
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 14 to 11 computations (21.4% saved)

sample24.0ms (0.4%)

Algorithm
intervals
Results
8.0ms63×body1024valid
5.0ms138×body128valid
3.0ms32×body512valid
1.0msbody2048valid
1.0ms15×body256valid
Compiler

Compiled 27 to 22 computations (18.5% saved)

simplify78.0ms (1.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
068119
168119

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
29.0b
Counts
2 → 1
Compiler

Compiled 26 to 20 computations (23.1% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (+.f64 x 1) (-.f64 x 1))
0.0b
(/.f64 x (+.f64 x 1))
2.0b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

rewrite70.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
148×*-un-lft-identity_binary64_1783
88×times-frac_binary64_1789
85×add-sqr-sqrt_binary64_1805
37×add-cube-cbrt_binary64_1818
34×cancel-sign-sub-inv_binary64_1749
27×distribute-lft-out_binary64_1734
22×difference-of-squares_binary64_1752 distribute-lft-out--_binary64_1735
11×associate-/r*_binary64_1727
difference-of-sqr-1_binary64_1753
add-cbrt-cube_binary64_1819 associate-/l*_binary64_1728 add-exp-log_binary64_1821
associate-/r/_binary64_1729
add-log-exp_binary64_1822
flip3--_binary64_1787 div-inv_binary64_1780 flip--_binary64_1758 pow1_binary64_1844
associate-/l/_binary64_1730 flip-+_binary64_1757 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 div-exp_binary64_1834 flip3-+_binary64_1786 clear-num_binary64_1782
diff-log_binary64_1875 frac-sub_binary64_1792 sub-neg_binary64_1776
Counts
3 → 147
Calls

3 calls:

43.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
9.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
5.0ms
(/.f64 x (+.f64 x 1))

series62.0ms (1.1%)

Counts
3 → 9
Calls

3 calls:

36.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
13.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
12.0ms
(/.f64 x (+.f64 x 1))

simplify83.0ms (1.5%)

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
056582774

prune201.0ms (3.6%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1506156
Fresh000
Picked101
Done000
Total1516157
Error
0.1b
Counts
157 → 6
Compiler

Compiled 3164 to 2236 computations (29.3% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(exp.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
0.0b
(/.f64 x (+.f64 x 1))
1.9b
(log.f64 (exp.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
2.0b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

rewrite167.0ms (3%)

Algorithm
rewrite-expression-head
Rules
276×*-un-lft-identity_binary64_1783
156×times-frac_binary64_1789
136×add-sqr-sqrt_binary64_1805
102×cancel-sign-sub-inv_binary64_1749
70×exp-sum_binary64_1829
52×add-cube-cbrt_binary64_1818
51×distribute-lft-out--_binary64_1735
49×distribute-lft-out_binary64_1734
38×log-prod_binary64_1869
36×difference-of-squares_binary64_1752
32×exp-prod_binary64_1835
17×log-pow_binary64_1872
12×difference-of-sqr-1_binary64_1753
add-log-exp_binary64_1822
associate-/r/_binary64_1729
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
pow1_binary64_1844
flip3--_binary64_1787 div-inv_binary64_1780 associate-/r*_binary64_1727 flip--_binary64_1758
associate-/l*_binary64_1728 sub-neg_binary64_1776
exp-diff_binary64_1831 rem-exp-log_binary64_1823 diff-log_binary64_1875
flip-+_binary64_1757 frac-sub_binary64_1792 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 div-exp_binary64_1834 flip3-+_binary64_1786 clear-num_binary64_1782 rem-log-exp_binary64_1824 log-div_binary64_1870
Counts
4 → 217
Calls

4 calls:

48.0ms
(log.f64 (exp.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
43.0ms
(exp.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
42.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
5.0ms
(/.f64 x (+.f64 x 1))

series133.0ms (2.4%)

Counts
4 → 12
Calls

4 calls:

49.0ms
(log.f64 (exp.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
36.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
35.0ms
(exp.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
13.0ms
(/.f64 x (+.f64 x 1))

simplify378.0ms (6.8%)

Algorithm
egg-herbie
Counts
229 → 229
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
050684560

prune275.0ms (4.9%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2272229
Fresh145
Picked101
Done000
Total2296235
Error
0.1b
Counts
235 → 6
Compiler

Compiled 4781 to 3463 computations (27.6% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (exp.f64 (/.f64 x (+.f64 x 1))) (exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))
0.0b
(/.f64 x (+.f64 x 1))
0.0b
(exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))
1.9b
(log.f64 (/.f64 (exp.f64 (/.f64 x (+.f64 x 1))) (exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))

rewrite90.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
166×*-un-lft-identity_binary64_1783
90×times-frac_binary64_1789
70×exp-prod_binary64_1835
56×add-sqr-sqrt_binary64_1805
40×add-cube-cbrt_binary64_1818
27×distribute-lft-out_binary64_1734
18×pow-div_binary64_1858
13×log-prod_binary64_1869
12×distribute-lft-out--_binary64_1735
10×log-pow_binary64_1872
add-cbrt-cube_binary64_1819 difference-of-squares_binary64_1752
add-exp-log_binary64_1821 associate-/r*_binary64_1727
associate-/l*_binary64_1728
add-log-exp_binary64_1822 pow1_binary64_1844
associate-/r/_binary64_1729 difference-of-sqr-1_binary64_1753 div-inv_binary64_1780
div-exp_binary64_1834
cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 clear-num_binary64_1782 rem-log-exp_binary64_1824
flip3--_binary64_1787 rem-exp-log_binary64_1823 flip-+_binary64_1757 flip3-+_binary64_1786 flip--_binary64_1758 log-div_binary64_1870
Counts
4 → 144
Calls

4 calls:

31.0ms
(log.f64 (/.f64 (exp.f64 (/.f64 x (+.f64 x 1))) (exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))
28.0ms
(/.f64 (exp.f64 (/.f64 x (+.f64 x 1))) (exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))
10.0ms
(exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))
5.0ms
(/.f64 x (+.f64 x 1))

series118.0ms (2.1%)

Counts
4 → 12
Calls

4 calls:

57.0ms
(log.f64 (/.f64 (exp.f64 (/.f64 x (+.f64 x 1))) (exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))))
29.0ms
(/.f64 (exp.f64 (/.f64 x (+.f64 x 1))) (exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1))))
19.0ms
(exp.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)))
12.0ms
(/.f64 x (+.f64 x 1))

simplify84.0ms (1.5%)

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049493091
149493091

prune206.0ms (3.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1560156
Fresh055
Picked011
Done000
Total1566162
Error
0.1b
Counts
162 → 6
Compiler

Compiled 3753 to 2821 computations (24.8% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
0.0b
(*.f64 (/.f64 x (+.f64 x 1)) (/.f64 x (+.f64 x 1)))
0.0b
(*.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
1.9b
(-.f64 (*.f64 (/.f64 x (+.f64 x 1)) (/.f64 x (+.f64 x 1))) (*.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))

rewrite165.0ms (3%)

Algorithm
rewrite-expression-head
Rules
434×*-un-lft-identity_binary64_1783
272×times-frac_binary64_1789
228×add-sqr-sqrt_binary64_1805
100×add-cube-cbrt_binary64_1818
96×swap-sqr_binary64_1750
93×distribute-lft-out_binary64_1734
53×difference-of-squares_binary64_1752
52×associate-*l*_binary64_1724 associate-*r*_binary64_1723
36×distribute-lft-out--_binary64_1735
32×difference-of-sqr-1_binary64_1753
28×add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
18×pow1_binary64_1844
16×associate-/r/_binary64_1729
frac-sub_binary64_1792
associate-*r/_binary64_1725 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 div-inv_binary64_1780 associate-*l/_binary64_1726 cbrt-undiv_binary64_1817 div-exp_binary64_1834 frac-times_binary64_1793 unswap-sqr_binary64_1751 add-log-exp_binary64_1822
flip3--_binary64_1787 flip-+_binary64_1757 flip3-+_binary64_1786 flip--_binary64_1758
pow-plus_binary64_1846 pow-prod-up_binary64_1853 pow-sqr_binary64_1756 *-commutative_binary64_1714 pow-prod-down_binary64_1854 pow2_binary64_1864
+-commutative_binary64_1713 frac-add_binary64_1791 cancel-sign-sub-inv_binary64_1749 diff-log_binary64_1875 sum-log_binary64_1874 sub-neg_binary64_1776
Counts
4 → 299
Calls

4 calls:

42.0ms
(*.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
37.0ms
(+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
19.0ms
(*.f64 (/.f64 x (+.f64 x 1)) (/.f64 x (+.f64 x 1)))
14.0ms
(-.f64 (*.f64 (/.f64 x (+.f64 x 1)) (/.f64 x (+.f64 x 1))) (*.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))

series119.0ms (2.1%)

Counts
4 → 12
Calls

4 calls:

52.0ms
(-.f64 (*.f64 (/.f64 x (+.f64 x 1)) (/.f64 x (+.f64 x 1))) (*.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
28.0ms
(+.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
22.0ms
(*.f64 (/.f64 x (+.f64 x 1)) (/.f64 x (+.f64 x 1)))
16.0ms
(*.f64 (/.f64 (+.f64 x 1) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

simplify131.0ms (2.3%)

Algorithm
egg-herbie
Counts
311 → 311
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
050177255

prune1.1s (19.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New3074311
Fresh314
Picked101
Done011
Total3116317
Error
0.1b
Counts
317 → 6
Compiler

Compiled 14425 to 10322 computations (28.4% saved)

regimes220.0ms (4%)

Accuracy

Total 0.2b remaining (86.4%)

Threshold costs 0.2b (86.4%)

Compiler

Compiled 2473 to 1877 computations (24.1% saved)

bsearch2.0ms (0%)

Compiler

Compiled 13 to 10 computations (23.1% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
08469
18469

end0.0ms (0%)

sample1.7s (30.1%)

Algorithm
intervals
Results
280.0ms2059×body1024valid
160.0ms4223×body128valid
107.0ms1004×body512valid
40.0ms520×body256valid
33.0ms194×body2048valid
Compiler

Compiled 1195 to 907 computations (24.1% saved)

Profiling

Loading profile data...