Details

Time bar (total: 13.0s)

analyze781.0ms (6%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
3.1%96.8%0.1%6
15.6%81.2%3.2%7
23.4%72.6%4%8
32.4%56.2%11.4%9
36.3%51.7%12%10
40.7%42.9%16.4%11
42.6%40.3%17.1%12
44.5%35.7%19.8%13
45.5%34.4%20.1%14
Compiler

Compiled 16 to 12 computations (25% saved)

sample151.0ms (1.2%)

Algorithm
intervals
Results
67.0ms54×body2048valid
41.0ms77×body1024valid
12.0ms48×body512valid
6.0msbody4096valid
4.0ms51×body128valid
3.0ms23×body256valid
3.0msbody512invalid
2.0msbody1024invalid
2.0ms20×body128invalid
1.0msbody2048invalid
1.0msbody256invalid
0.0msbody128nan
Compiler

Compiled 31 to 25 computations (19.4% saved)

simplify164.0ms (1.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
0503622

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 47.6b

Counts
2 → 1
Compiler

Compiled 30 to 22 computations (26.7% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
1.2b
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
2.7b
(pow.f64 (+.f64 1 (/.f64 i n)) n)
8.9b
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))

rewrite171.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
584×times-frac_binary64_1789
486×add-sqr-sqrt_binary64_1805
367×*-un-lft-identity_binary64_1783
225×add-cube-cbrt_binary64_1818
174×associate-*r*_binary64_1723
168×difference-of-squares_binary64_1752
88×unpow-prod-down_binary64_1862
85×sqr-pow_binary64_1755
84×difference-of-sqr-1_binary64_1753
29×div-inv_binary64_1780
28×distribute-lft-out--_binary64_1735
19×add-exp-log_binary64_1821
18×add-cbrt-cube_binary64_1819
13×associate-/l*_binary64_1728 associate-/r*_binary64_1727
pow1_binary64_1844
cbrt-undiv_binary64_1817 div-exp_binary64_1834 add-log-exp_binary64_1822
cbrt-unprod_binary64_1816 prod-exp_binary64_1832 pow-unpow_binary64_1860 cancel-sign-sub-inv_binary64_1749 associate-*l*_binary64_1724 unswap-sqr_binary64_1751
flip3--_binary64_1787 associate-/l/_binary64_1730 associate-/r/_binary64_1729 flip--_binary64_1758
div-sub_binary64_1788 associate-*r/_binary64_1725 distribute-lft-out_binary64_1734 diff-log_binary64_1875 *-commutative_binary64_1714 frac-2neg_binary64_1794 pow-pow_binary64_1855 clear-num_binary64_1782 pow-prod-down_binary64_1854 pow-to-exp_binary64_1852 sub-neg_binary64_1776 pow-exp_binary64_1851
Counts
4 → 451
Calls

4 calls:

62.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
21.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))
11.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
8.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)

series950.0ms (7.3%)

Counts
4 → 12
Calls

4 calls:

322.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
303.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))
172.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
153.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)

simplify184.0ms (1.4%)

Algorithm
egg-herbie
Counts
463 → 463
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
0495414743
1495414743

prune794.0ms (6.1%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New4558463
Fresh000
Picked101
Done000
Total4568464

Merged error: 19.9b

Counts
464 → 8
Compiler

Compiled 14014 to 7357 computations (47.5% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
0.1b
(*.f64 100 (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n)))
0.3b
(*.f64 1/6 i)
13.7b
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n))

rewrite57.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
144×times-frac_binary64_1789
97×add-sqr-sqrt_binary64_1805
85×add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
50×associate-*r*_binary64_1723
25×add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
13×associate-/r*_binary64_1727 pow1_binary64_1844
div-inv_binary64_1780
cbrt-unprod_binary64_1816 prod-exp_binary64_1832 associate-*l*_binary64_1724
cbrt-undiv_binary64_1817 div-exp_binary64_1834
pow-prod-down_binary64_1854 unswap-sqr_binary64_1751
add-log-exp_binary64_1822
associate-*r/_binary64_1725 associate-/l*_binary64_1728 *-commutative_binary64_1714
associate-/l/_binary64_1730 associate-/r/_binary64_1729 flip-+_binary64_1757 flip3-+_binary64_1786
distribute-lft-in_binary64_1732 frac-2neg_binary64_1794 distribute-rgt-in_binary64_1733 clear-num_binary64_1782
Counts
4 → 179
Calls

4 calls:

18.0ms
(*.f64 100 (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n)))
9.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n))
8.0ms
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
4.0ms
(*.f64 1/6 i)

series151.0ms (1.2%)

Counts
4 → 12
Calls

4 calls:

51.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n))
50.0ms
(*.f64 100 (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n)))
40.0ms
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
11.0ms
(*.f64 1/6 i)

simplify95.0ms (0.7%)

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049715462
149715462

prune301.0ms (2.3%)

Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New17615191
Fresh077
Picked101
Done000
Total17722199

Merged error: 10.3b

Counts
199 → 22
Compiler

Compiled 6036 to 3348 computations (44.5% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 100 (+.f64 n (*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6))))))
0.1b
(*.f64 i (+.f64 1/2 (*.f64 i 1/6)))
0.3b
(*.f64 i 1/6)
1.7b
(*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6))))

rewrite28.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt_binary64_1805
15×add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 pow1_binary64_1844
12×associate-*l*_binary64_1724
11×add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
10×associate-*r*_binary64_1723
associate-*r/_binary64_1725
distribute-lft-in_binary64_1732 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 distribute-rgt-in_binary64_1733 pow-prod-down_binary64_1854
*-commutative_binary64_1714 add-log-exp_binary64_1822
flip-+_binary64_1757 flip3-+_binary64_1786 unswap-sqr_binary64_1751
Counts
4 → 86
Calls

4 calls:

7.0ms
(*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6))))
6.0ms
(*.f64 100 (+.f64 n (*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6))))))
6.0ms
(*.f64 i (+.f64 1/2 (*.f64 i 1/6)))
4.0ms
(*.f64 i 1/6)

series135.0ms (1%)

Counts
4 → 12
Calls

4 calls:

49.0ms
(*.f64 100 (+.f64 n (*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6))))))
41.0ms
(*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6))))
34.0ms
(*.f64 i (+.f64 1/2 (*.f64 i 1/6)))
11.0ms
(*.f64 i 1/6)

simplify55.0ms (0.4%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
049931381
149931381

prune126.0ms (1%)

Pruning

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New92698
Fresh41721
Picked101
Done000
Total9723120

Merged error: 10.3b

Counts
120 → 23
Compiler

Compiled 2377 to 1710 computations (28.1% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.6b
(cbrt.f64 i)
0.6b
(cbrt.f64 i)
0.6b
(cbrt.f64 i)
1.7b
(*.f64 n (*.f64 i (+.f64 1/2 (*.f64 (*.f64 (cbrt.f64 i) (cbrt.f64 i)) (*.f64 1/6 (cbrt.f64 i))))))

rewrite16.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 cbrt-prod_binary64_1814 pow1_binary64_1844
add-sqr-sqrt_binary64_1805 add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
associate-*r/_binary64_1725 distribute-lft-in_binary64_1732 distribute-rgt-in_binary64_1733 add-log-exp_binary64_1822
cbrt-unprod_binary64_1816 prod-exp_binary64_1832 associate-*l*_binary64_1724 pow1/3_binary64_1865 pow-prod-down_binary64_1854
flip-+_binary64_1757 *-commutative_binary64_1714 flip3-+_binary64_1786 associate-*r*_binary64_1723
Counts
4 → 57
Calls

4 calls:

8.0ms
(*.f64 n (*.f64 i (+.f64 1/2 (*.f64 (*.f64 (cbrt.f64 i) (cbrt.f64 i)) (*.f64 1/6 (cbrt.f64 i))))))
1.0ms
(cbrt.f64 i)
1.0ms
(cbrt.f64 i)
1.0ms
(cbrt.f64 i)

series319.0ms (2.4%)

Counts
4 → 12
Calls

4 calls:

87.0ms
(cbrt.f64 i)
83.0ms
(cbrt.f64 i)
77.0ms
(cbrt.f64 i)
72.0ms
(*.f64 n (*.f64 i (+.f64 1/2 (*.f64 (*.f64 (cbrt.f64 i) (cbrt.f64 i)) (*.f64 1/6 (cbrt.f64 i))))))

simplify44.0ms (0.3%)

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
04953652
14953652

prune68.0ms (0.5%)

Pruning

23 alts after pruning (22 fresh and 1 done)

PrunedKeptTotal
New69069
Fresh02222
Picked011
Done000
Total692392

Merged error: 10.3b

Counts
92 → 23
Compiler

Compiled 1496 to 862 computations (42.4% saved)

regimes1.2s (9.2%)

Compiler

Compiled 13672 to 9392 computations (31.3% saved)

bsearch214.0ms (1.6%)

Steps
ItersRangePoint
8
2.583888434164659e-14
3.162209622168923e-11
8.787233895042543e-13
8
6.143035921151748e-177
2.460506998119988e-172
1.5181636956965362e-175
6
-15399.725079770662
-3572.7575854044167
-3606.923004814872
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
066103
166103

end0.0ms (0%)

sample7.0s (53.6%)

Algorithm
intervals
Results
2.1s1763×body2048valid
1.4s2556×body1024valid
309.0ms1255×body512valid
128.0ms1831×body128valid
97.0ms160×body1024invalid
84.0ms567×body256valid
75.0ms208×body512invalid
61.0ms28×body4096valid
46.0ms493×body128invalid
32.0ms150×body256invalid
17.0ms17×body2048invalid
14.0ms307×body128nan
Compiler

Compiled 3469 to 2378 computations (31.4% saved)

Profiling

Loading profile data...