Details

Time bar (total: 15.0s)

analyze1.2s (8.3%)

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)

sample250.0ms (1.7%)

Algorithm
intervals
Results
119.0ms59×body2048valid
69.0ms83×body1024valid
12.0ms26×body512valid
10.0ms24×body256valid
7.0msbody1024invalid
6.0ms63×body128valid
5.0msbody512invalid
3.0msbody4096valid
2.0ms13×body128invalid
1.0msbody256invalid
1.0msbody128nan
Compiler

Compiled 31 to 25 computations (19.4% saved)

simplify240.0ms (1.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (116.0ms)

IterNodesCost
0503622

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 30 to 22 computations (26.7% saved)

localize8.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.3b
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
5.7b
(pow.f64 (+.f64 1 (/.f64 i n)) n)
9.7b
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))

rewrite254.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
584×times-frac_binary64_1448
486×add-sqr-sqrt_binary64_1464
367×*-un-lft-identity_binary64_1442
225×add-cube-cbrt_binary64_1477
174×associate-*r*_binary64_1382
168×difference-of-squares_binary64_1411
88×unpow-prod-down_binary64_1521
85×sqr-pow_binary64_1414
84×difference-of-sqr-1_binary64_1412
29×div-inv_binary64_1439
28×distribute-lft-out--_binary64_1394
19×add-exp-log_binary64_1480
18×add-cbrt-cube_binary64_1478
13×associate-/r*_binary64_1386 associate-/l*_binary64_1387
pow1_binary64_1503
cbrt-undiv_binary64_1476 add-log-exp_binary64_1481 div-exp_binary64_1493
cancel-sign-sub-inv_binary64_1408 cbrt-unprod_binary64_1475 associate-*l*_binary64_1383 pow-unpow_binary64_1519 prod-exp_binary64_1491 unswap-sqr_binary64_1410
associate-/l/_binary64_1389 associate-/r/_binary64_1388 flip3--_binary64_1446 flip--_binary64_1417
associate-*r/_binary64_1384 pow-exp_binary64_1510 sub-neg_binary64_1435 clear-num_binary64_1441 pow-prod-down_binary64_1513 *-commutative_binary64_1373 distribute-lft-out_binary64_1393 frac-2neg_binary64_1453 diff-log_binary64_1534 div-sub_binary64_1447 pow-to-exp_binary64_1511 pow-pow_binary64_1514
Counts
4 → 451
Calls

4 calls:

68.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
28.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))
21.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
21.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)

series1.4s (9.3%)

Counts
4 → 12
Calls

4 calls:

483.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
441.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))
244.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
224.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)

simplify273.0ms (1.8%)

Algorithm
egg-herbie
Counts
463 → 463
Iterations

Useful iterations: 0 (92.0ms)

IterNodesCost
0495414743
1495414743

prune1.2s (7.8%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New45211463
Fresh000
Picked101
Done000
Total45311464
Error
18.2b
Counts
464 → 11
Compiler

Compiled 14099 to 7414 computations (47.4% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite59.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
144×times-frac_binary64_1448
97×add-sqr-sqrt_binary64_1464
85×add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
50×associate-*r*_binary64_1382
25×add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480
13×associate-/r*_binary64_1386 pow1_binary64_1503
div-inv_binary64_1439
cbrt-unprod_binary64_1475 associate-*l*_binary64_1383 prod-exp_binary64_1491
cbrt-undiv_binary64_1476 div-exp_binary64_1493
pow-prod-down_binary64_1513 unswap-sqr_binary64_1410
add-log-exp_binary64_1481
associate-*r/_binary64_1384 associate-/l*_binary64_1387 *-commutative_binary64_1373
associate-/l/_binary64_1389 associate-/r/_binary64_1388 flip3-+_binary64_1445 flip-+_binary64_1416
clear-num_binary64_1441 frac-2neg_binary64_1453 distribute-lft-in_binary64_1391 distribute-rgt-in_binary64_1392
Counts
4 → 179
Calls

4 calls:

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

series150.0ms (1%)

Counts
4 → 12
Calls

4 calls:

49.0ms
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
45.0ms
(*.f64 100 (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n)))
45.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n))
10.0ms
(*.f64 1/6 i)

simplify101.0ms (0.7%)

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049715462
149715462

prune292.0ms (1.9%)

Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New1838191
Fresh01010
Picked101
Done000
Total18418202
Error
8.2b
Counts
202 → 18
Compiler

Compiled 5947 to 3272 computations (45% saved)

localize8.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)
2.1b
(*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6))))

rewrite31.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt_binary64_1464
15×add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480 pow1_binary64_1503
12×associate-*l*_binary64_1383
11×add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
10×associate-*r*_binary64_1382
associate-*r/_binary64_1384
cbrt-unprod_binary64_1475 pow-prod-down_binary64_1513 distribute-lft-in_binary64_1391 distribute-rgt-in_binary64_1392 prod-exp_binary64_1491
*-commutative_binary64_1373 add-log-exp_binary64_1481
flip3-+_binary64_1445 flip-+_binary64_1416 unswap-sqr_binary64_1410
Counts
4 → 86
Calls

4 calls:

8.0ms
(*.f64 i (+.f64 1/2 (*.f64 i 1/6)))
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))))))
4.0ms
(*.f64 i 1/6)

series138.0ms (0.9%)

Counts
4 → 12
Calls

4 calls:

49.0ms
(*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6))))
44.0ms
(*.f64 100 (+.f64 n (*.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)

simplify58.0ms (0.4%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
049931381
149931381

prune112.0ms (0.7%)

Pruning

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New96298
Fresh21517
Picked011
Done000
Total9818116
Error
8.2b
Counts
116 → 18
Compiler

Compiled 2190 to 1570 computations (28.3% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

2.1b
(*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6))))
10.9b
(cbrt.f64 (*.f64 100 (+.f64 n (*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6)))))))
10.9b
(cbrt.f64 (*.f64 100 (+.f64 n (*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6)))))))
10.9b
(cbrt.f64 (*.f64 100 (+.f64 n (*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6)))))))

rewrite27.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×associate-*r/_binary64_1384
add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480 pow1_binary64_1503
cbrt-div_binary64_1474
add-sqr-sqrt_binary64_1464 add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
add-log-exp_binary64_1481 distribute-lft-in_binary64_1391 flip3-+_binary64_1445 distribute-rgt-in_binary64_1392 flip-+_binary64_1416
cbrt-unprod_binary64_1475 cbrt-prod_binary64_1473 associate-*l*_binary64_1383 pow-prod-down_binary64_1513 pow1/3_binary64_1524 prod-exp_binary64_1491
associate-*r*_binary64_1382 *-commutative_binary64_1373
Counts
4 → 57
Calls

4 calls:

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

series466.0ms (3.1%)

Counts
4 → 12
Calls

4 calls:

144.0ms
(cbrt.f64 (*.f64 100 (+.f64 n (*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6)))))))
140.0ms
(cbrt.f64 (*.f64 100 (+.f64 n (*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6)))))))
139.0ms
(cbrt.f64 (*.f64 100 (+.f64 n (*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6)))))))
42.0ms
(*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6))))

simplify57.0ms (0.4%)

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
050651795

prune162.0ms (1.1%)

Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New66369
Fresh31316
Picked101
Done011
Total701787
Error
8.2b
Counts
87 → 17
Compiler

Compiled 3645 to 2678 computations (26.5% saved)

regimes1.3s (8.4%)

Accuracy

Total 6.2b remaining (43.1%)

Threshold costs 0b (0%)

Compiler

Compiled 14001 to 9615 computations (31.3% saved)

bsearch149.0ms (1%)

Steps
ItersRangePoint
9
1.1839100579809183e-15
7.583982537435853e-08
7.432995259070106e-08
10
-165315705439.7733
-5.3424819284647654e-05
-0.009077757186457397
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05496
15496

end0.0ms (0%)

sample7.1s (47.2%)

Algorithm
intervals
Results
2.2s1765×body2048valid
1.4s2679×body1024valid
297.0ms1180×body512valid
123.0ms1805×body128valid
111.0ms174×body1024invalid
85.0ms40×body4096valid
76.0ms207×body512invalid
75.0ms531×body256valid
46.0ms489×body128invalid
34.0ms148×body256invalid
13.0ms299×body128nan
11.0ms12×body2048invalid
Compiler

Compiled 3558 to 2436 computations (31.5% saved)

Profiling

Loading profile data...