Details

Time bar (total: 13.9s)

analyze924.0ms (6.6%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0497744
1497744
022
122
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)

sample156.0ms (1.1%)

Algorithm
intervals
Results
77.0ms60×body2048valid
40.0ms77×body1024valid
11.0ms47×body512valid
4.0msbody1024invalid
4.0ms51×body128valid
3.0msbody512invalid
3.0ms21×body256valid
2.0ms18×body128invalid
1.0msbody256invalid
0.0msbody128nan
Compiler

Compiled 31 to 25 computations (19.4% saved)

simplify96.0ms (0.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (90.0ms)

IterNodesCost
0503622

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
46.4b
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.8b
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
5.8b
(pow.f64 (+.f64 1 (/.f64 i n)) n)
12.1b
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))

rewrite169.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
584×times-frac_binary64_2471
486×add-sqr-sqrt_binary64_2487
367×*-un-lft-identity_binary64_2465
225×add-cube-cbrt_binary64_2500
174×associate-*r*_binary64_2405
168×difference-of-squares_binary64_2434
88×unpow-prod-down_binary64_2544
85×sqr-pow_binary64_2437
84×difference-of-sqr-1_binary64_2435
29×div-inv_binary64_2462
28×distribute-lft-out--_binary64_2417
19×add-exp-log_binary64_2503
18×add-cbrt-cube_binary64_2501
13×associate-/r*_binary64_2409 associate-/l*_binary64_2410
pow1_binary64_2526
add-log-exp_binary64_2504 cbrt-undiv_binary64_2499 div-exp_binary64_2516
unswap-sqr_binary64_2433 cancel-sign-sub-inv_binary64_2431 prod-exp_binary64_2514 pow-unpow_binary64_2542 associate-*l*_binary64_2406 cbrt-unprod_binary64_2498
flip--_binary64_2440 associate-/l/_binary64_2412 associate-/r/_binary64_2411 flip3--_binary64_2469
*-commutative_binary64_2396 associate-*r/_binary64_2407 clear-num_binary64_2464 div-sub_binary64_2470 pow-exp_binary64_2533 sub-neg_binary64_2458 pow-to-exp_binary64_2534 diff-log_binary64_2557 pow-pow_binary64_2537 frac-2neg_binary64_2476 pow-prod-down_binary64_2536 distribute-lft-out_binary64_2416
Counts
4 → 451
Calls

4 calls:

60.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)
7.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)

series986.0ms (7.1%)

Counts
4 → 12
Calls

4 calls:

335.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
310.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))
188.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
153.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)

simplify196.0ms (1.4%)

Algorithm
egg-herbie
Counts
463 → 463
Iterations

Useful iterations: 0 (81.0ms)

IterNodesCost
0495414743
1495414743

prune863.0ms (6.2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New4558463
Fresh000
Picked101
Done000
Total4568464
Error
20.9b
Counts
464 → 8
Compiler

Compiled 14021 to 7360 computations (47.5% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite58.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
144×times-frac_binary64_2471
97×add-sqr-sqrt_binary64_2487
85×*-un-lft-identity_binary64_2465 add-cube-cbrt_binary64_2500
50×associate-*r*_binary64_2405
25×add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
13×associate-/r*_binary64_2409 pow1_binary64_2526
div-inv_binary64_2462
prod-exp_binary64_2514 associate-*l*_binary64_2406 cbrt-unprod_binary64_2498
cbrt-undiv_binary64_2499 div-exp_binary64_2516
unswap-sqr_binary64_2433 pow-prod-down_binary64_2536
add-log-exp_binary64_2504
*-commutative_binary64_2396 associate-*r/_binary64_2407 associate-/l*_binary64_2410
flip3-+_binary64_2468 associate-/l/_binary64_2412 flip-+_binary64_2439 associate-/r/_binary64_2411
distribute-lft-in_binary64_2414 clear-num_binary64_2464 distribute-rgt-in_binary64_2415 frac-2neg_binary64_2476
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)

series159.0ms (1.1%)

Counts
4 → 12
Calls

4 calls:

54.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n))
52.0ms
(*.f64 100 (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n)))
42.0ms
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
11.0ms
(*.f64 1/6 i)

simplify110.0ms (0.8%)

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
049715462
149715462

prune312.0ms (2.2%)

Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New18011191
Fresh077
Picked101
Done000
Total18118199
Error
8.5b
Counts
199 → 18
Compiler

Compiled 5974 to 3291 computations (44.9% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 50 (*.f64 50/3 i))
0.1b
(*.f64 i (+.f64 50 (*.f64 50/3 i)))
0.5b
(*.f64 50/3 i)
1.7b
(*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 50/3 i)))))

rewrite24.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt_binary64_2487
10×*-un-lft-identity_binary64_2465 add-cube-cbrt_binary64_2500 add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501 pow1_binary64_2526
associate-*r*_binary64_2405 associate-*l*_binary64_2406
add-log-exp_binary64_2504
associate-*r/_binary64_2407
flip3-+_binary64_2468 *-commutative_binary64_2396 flip-+_binary64_2439 unswap-sqr_binary64_2433 prod-exp_binary64_2514 pow-prod-down_binary64_2536 cbrt-unprod_binary64_2498
distribute-lft-in_binary64_2414 distribute-rgt-in_binary64_2415
+-commutative_binary64_2395 sum-log_binary64_2556
Counts
4 → 73
Calls

4 calls:

6.0ms
(*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 50/3 i)))))
6.0ms
(*.f64 i (+.f64 50 (*.f64 50/3 i)))
4.0ms
(*.f64 50/3 i)
3.0ms
(+.f64 50 (*.f64 50/3 i))

series117.0ms (0.8%)

Counts
4 → 12
Calls

4 calls:

43.0ms
(*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 50/3 i)))))
39.0ms
(*.f64 i (+.f64 50 (*.f64 50/3 i)))
23.0ms
(+.f64 50 (*.f64 50/3 i))
12.0ms
(*.f64 50/3 i)

simplify72.0ms (0.5%)

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049381060
149381060

prune105.0ms (0.8%)

Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New82385
Fresh21517
Picked011
Done000
Total8419103
Error
8.5b
Counts
103 → 19
Compiler

Compiled 1830 to 1361 computations (25.6% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

1.7b
(*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 i 50/3)))))
12.4b
(cbrt.f64 (*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 i 50/3))))))
12.4b
(cbrt.f64 (*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 i 50/3))))))
12.4b
(cbrt.f64 (*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 i 50/3))))))

rewrite26.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
associate-*r/_binary64_2407 add-sqr-sqrt_binary64_2487
*-un-lft-identity_binary64_2465 add-cube-cbrt_binary64_2500 cbrt-div_binary64_2497 add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501 pow1_binary64_2526
flip3-+_binary64_2468 add-log-exp_binary64_2504 flip-+_binary64_2439
pow1/3_binary64_2547 associate-*r*_binary64_2405 cbrt-prod_binary64_2496 associate-*l*_binary64_2406
distribute-lft-in_binary64_2414 *-commutative_binary64_2396 unswap-sqr_binary64_2433 distribute-rgt-in_binary64_2415 prod-exp_binary64_2514 pow-prod-down_binary64_2536 cbrt-unprod_binary64_2498
Counts
4 → 55
Calls

4 calls:

6.0ms
(*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 i 50/3)))))
4.0ms
(cbrt.f64 (*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 i 50/3))))))
4.0ms
(cbrt.f64 (*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 i 50/3))))))
4.0ms
(cbrt.f64 (*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 i 50/3))))))

series430.0ms (3.1%)

Counts
4 → 12
Calls

4 calls:

132.0ms
(cbrt.f64 (*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 i 50/3))))))
130.0ms
(cbrt.f64 (*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 i 50/3))))))
129.0ms
(cbrt.f64 (*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 i 50/3))))))
39.0ms
(*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 i 50/3)))))

simplify114.0ms (0.8%)

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 0 (89.0ms)

IterNodesCost
048651667
148651667

prune152.0ms (1.1%)

Pruning

22 alts after pruning (21 fresh and 1 done)

PrunedKeptTotal
New61667
Fresh21517
Picked101
Done011
Total642286
Error
8.5b
Counts
86 → 22
Compiler

Compiled 3147 to 2387 computations (24.1% saved)

regimes1.5s (10.4%)

Accuracy

Total 6.6b remaining (43.5%)

Threshold costs 0b (0%)

Compiler

Compiled 14430 to 10091 computations (30.1% saved)

bsearch123.0ms (0.9%)

Steps
ItersRangePoint
7
0.20449193727261442
6.812707797302908
0.44104711938434427
9
-1.5423901741043836e-20
-6.1399468800122396e-27
-1.5142820983801714e-20
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04987
14987

end0.0ms (0%)

sample7.3s (52%)

Algorithm
intervals
Results
2.1s1781×body2048valid
1.4s2610×body1024valid
298.0ms1194×body512valid
130.0ms1809×body128valid
92.0ms152×body1024invalid
86.0ms237×body512invalid
83.0ms575×body256valid
71.0ms31×body4096valid
50.0ms495×body128invalid
31.0ms140×body256invalid
23.0ms23×body2048invalid
13.0ms288×body128nan
Compiler

Compiled 3663 to 2553 computations (30.3% saved)

Profiling

Loading profile data...