Details

Time bar (total: 21.9s)

analyze1.7s (7.9%)

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%0
0%99.9%0.1%1
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%5
3.1%96.8%0.1%6
3.1%96.8%0.1%6
15.6%81.2%3.2%7
15.6%81.2%3.2%7
23.4%72.6%4%8
23.4%72.6%4%8
32.4%56.2%11.4%9
32.4%56.2%11.4%9
36.3%51.7%12%10
36.3%51.7%12%10
40.7%42.9%16.4%11
40.7%42.9%16.4%11
42.6%40.3%17.1%12
42.6%40.3%17.1%12
44.5%35.7%19.8%13
44.5%35.7%19.8%13
45.5%34.4%20.1%14
45.5%34.4%20.1%14
Compiler

Compiled 32 to 24 computations (25% saved)

sample1.4s (6.2%)

Algorithm
intervals
Results
150.0ms122×body2048valid
94.0ms165×body1024valid
18.0ms67×body512valid
9.0ms16×body1024invalid
9.0ms163×body128nan
8.0ms22×body512invalid
7.0ms115×body128valid
6.0msbody4096valid
6.0ms54×body128invalid
6.0ms41×body256valid
3.0ms12×body256invalid
1.0msbody2048invalid
Compiler

Compiled 6031 to 5275 computations (12.5% saved)

simplify77.0ms (0.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
0503622

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
46.0b
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)))
2.0b
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
4.6b
(pow.f64 (+.f64 1 (/.f64 i n)) n)
9.5b
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))

rewrite1.6s (7.2%)

Algorithm
rewrite-expression-head
Error
45.8b
Rules
584×times-frac_binary64_3494
486×add-sqr-sqrt_binary64_3510
367×*-un-lft-identity_binary64_3488
225×add-cube-cbrt_binary64_3523
174×associate-*r*_binary64_3428
168×difference-of-squares_binary64_3457
88×unpow-prod-down_binary64_3567
85×sqr-pow_binary64_3460
84×difference-of-sqr-1_binary64_3458
29×div-inv_binary64_3485
28×distribute-lft-out--_binary64_3440
19×add-exp-log_binary64_3526
18×add-cbrt-cube_binary64_3524
13×associate-/l*_binary64_3433 associate-/r*_binary64_3432
pow1_binary64_3549
div-exp_binary64_3539 add-log-exp_binary64_3527 cbrt-undiv_binary64_3522
pow-unpow_binary64_3565 cancel-sign-sub-inv_binary64_3454 prod-exp_binary64_3537 cbrt-unprod_binary64_3521 unswap-sqr_binary64_3456 associate-*l*_binary64_3429
flip3--_binary64_3492 associate-/l/_binary64_3435 flip--_binary64_3463 associate-/r/_binary64_3434
frac-2neg_binary64_3499 div-sub_binary64_3493 clear-num_binary64_3487 distribute-lft-out_binary64_3439 pow-pow_binary64_3560 pow-to-exp_binary64_3557 pow-exp_binary64_3556 diff-log_binary64_3580 sub-neg_binary64_3481 pow-prod-down_binary64_3559 associate-*r/_binary64_3430 *-commutative_binary64_3419
Counts
4 → 451
Calls

4 calls:

58.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
19.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)
Compiler

Compiled 14661 to 7953 computations (45.8% saved)

series1.4s (6.6%)

Error
2.6b
Counts
4 → 47
Calls

4 calls:

476.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
426.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))
263.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
197.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)
Compiler

Compiled 4129 to 3059 computations (25.9% saved)

simplify190.0ms (0.9%)

Algorithm
egg-herbie
Counts
498 → 498
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
0494116033
1494116033

prune994.0ms (4.5%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New48810498
Fresh000
Picked101
Done000
Total48910499
Error
0.5b
Counts
499 → 10
Compiler

Compiled 15144 to 7995 computations (47.2% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 1/6 (*.f64 i i))
1.9b
(*.f64 n (+.f64 (*.f64 1/2 i) (*.f64 1/6 (*.f64 i i))))
2.0b
(+.f64 (+.f64 (*.f64 n (+.f64 (*.f64 1/2 i) (*.f64 1/6 (*.f64 i i)))) (+.f64 n (*.f64 1/3 (/.f64 (*.f64 i i) n)))) (*.f64 -1/2 (+.f64 i (*.f64 i i))))
7.3b
(/.f64 (*.f64 i i) n)

rewrite289.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
0.4b
Rules
22×associate-*r/_binary64_3430
20×frac-add_binary64_3496
18×flip3-+_binary64_3491 flip-+_binary64_3462
16×add-exp-log_binary64_3526 add-cbrt-cube_binary64_3524
13×add-log-exp_binary64_3527
12×add-sqr-sqrt_binary64_3510
11×pow1_binary64_3549
add-cube-cbrt_binary64_3523 *-un-lft-identity_binary64_3488
sum-log_binary64_3579 associate-*l*_binary64_3429
prod-exp_binary64_3537 cbrt-unprod_binary64_3521
pow-prod-down_binary64_3559 associate-*r*_binary64_3428
times-frac_binary64_3494 associate-/r*_binary64_3432
div-exp_binary64_3539 cbrt-undiv_binary64_3522 distribute-rgt-in_binary64_3438 associate-+r+_binary64_3420 distribute-lft-in_binary64_3437 unswap-sqr_binary64_3456 *-commutative_binary64_3419
frac-2neg_binary64_3499 clear-num_binary64_3487 div-inv_binary64_3485 associate-/l*_binary64_3433 associate-+l+_binary64_3421 +-commutative_binary64_3418
Counts
4 → 90
Calls

4 calls:

14.0ms
(+.f64 (+.f64 (*.f64 n (+.f64 (*.f64 1/2 i) (*.f64 1/6 (*.f64 i i)))) (+.f64 n (*.f64 1/3 (/.f64 (*.f64 i i) n)))) (*.f64 -1/2 (+.f64 i (*.f64 i i))))
9.0ms
(*.f64 n (+.f64 (*.f64 1/2 i) (*.f64 1/6 (*.f64 i i))))
6.0ms
(*.f64 1/6 (*.f64 i i))
5.0ms
(/.f64 (*.f64 i i) n)
Compiler

Compiled 5383 to 2602 computations (51.7% saved)

series975.0ms (4.4%)

Error
0.5b
Counts
4 → 36
Calls

4 calls:

589.0ms
(+.f64 (+.f64 (*.f64 n (+.f64 (*.f64 1/2 i) (*.f64 1/6 (*.f64 i i)))) (+.f64 n (*.f64 1/3 (/.f64 (*.f64 i i) n)))) (*.f64 -1/2 (+.f64 i (*.f64 i i))))
190.0ms
(*.f64 n (+.f64 (*.f64 1/2 i) (*.f64 1/6 (*.f64 i i))))
112.0ms
(/.f64 (*.f64 i i) n)
36.0ms
(*.f64 1/6 (*.f64 i i))
Compiler

Compiled 2657 to 1882 computations (29.2% saved)

simplify88.0ms (0.4%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
054364694

prune292.0ms (1.3%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1242126
Fresh099
Picked101
Done000
Total12511136
Error
0.4b
Counts
136 → 11
Compiler

Compiled 5779 to 3134 computations (45.8% saved)

localize23.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 1/3 (*.f64 i (/.f64 i n)))
0.2b
(*.f64 1/6 (*.f64 i i))
1.9b
(*.f64 n (+.f64 (*.f64 1/2 i) (*.f64 1/6 (*.f64 i i))))
2.0b
(+.f64 (+.f64 (*.f64 n (+.f64 (*.f64 1/2 i) (*.f64 1/6 (*.f64 i i)))) (+.f64 n (*.f64 1/3 (*.f64 i (/.f64 i n))))) (*.f64 -1/2 (+.f64 i (*.f64 i i))))

rewrite287.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
0.4b
Rules
24×associate-*r/_binary64_3430
20×add-exp-log_binary64_3526 add-cbrt-cube_binary64_3524 frac-add_binary64_3496
18×flip3-+_binary64_3491 flip-+_binary64_3462
16×pow1_binary64_3549
13×add-log-exp_binary64_3527
11×add-sqr-sqrt_binary64_3510
prod-exp_binary64_3537 cbrt-unprod_binary64_3521 associate-*l*_binary64_3429
add-cube-cbrt_binary64_3523 *-un-lft-identity_binary64_3488
pow-prod-down_binary64_3559
sum-log_binary64_3579
associate-*r*_binary64_3428
*-commutative_binary64_3419
distribute-rgt-in_binary64_3438 associate-+r+_binary64_3420 distribute-lft-in_binary64_3437 unswap-sqr_binary64_3456
associate-+l+_binary64_3421 +-commutative_binary64_3418 div-exp_binary64_3539 cbrt-undiv_binary64_3522
Counts
4 → 90
Calls

4 calls:

14.0ms
(+.f64 (+.f64 (*.f64 n (+.f64 (*.f64 1/2 i) (*.f64 1/6 (*.f64 i i)))) (+.f64 n (*.f64 1/3 (*.f64 i (/.f64 i n))))) (*.f64 -1/2 (+.f64 i (*.f64 i i))))
7.0ms
(*.f64 1/3 (*.f64 i (/.f64 i n)))
7.0ms
(*.f64 n (+.f64 (*.f64 1/2 i) (*.f64 1/6 (*.f64 i i))))
6.0ms
(*.f64 1/6 (*.f64 i i))
Compiler

Compiled 5408 to 2633 computations (51.3% saved)

series1.0s (4.7%)

Error
0.4b
Counts
4 → 36
Calls

4 calls:

602.0ms
(+.f64 (+.f64 (*.f64 n (+.f64 (*.f64 1/2 i) (*.f64 1/6 (*.f64 i i)))) (+.f64 n (*.f64 1/3 (*.f64 i (/.f64 i n))))) (*.f64 -1/2 (+.f64 i (*.f64 i i))))
198.0ms
(*.f64 n (+.f64 (*.f64 1/2 i) (*.f64 1/6 (*.f64 i i))))
137.0ms
(*.f64 1/3 (*.f64 i (/.f64 i n)))
44.0ms
(*.f64 1/6 (*.f64 i i))
Compiler

Compiled 2657 to 1904 computations (28.3% saved)

simplify84.0ms (0.4%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
050264764

prune287.0ms (1.3%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1260126
Fresh01010
Picked011
Done000
Total12611137
Error
0.4b
Counts
137 → 11
Compiler

Compiled 5755 to 3154 computations (45.2% saved)

localize33.0ms (0.2%)

Local error

Found 4 expressions with local error:

7.5b
(*.f64 n (*.f64 i i))
7.7b
(+.f64 (*.f64 (*.f64 n (*.f64 i i)) 50/3) (+.f64 (*.f64 (/.f64 (pow.f64 i 3) n) 275/6) (*.f64 n (+.f64 100 (*.f64 25/6 (pow.f64 i 3))))))
8.5b
(+.f64 (*.f64 25 (+.f64 (pow.f64 i 3) (/.f64 (pow.f64 i 3) (*.f64 n n)))) (*.f64 50 (+.f64 i (*.f64 i i))))
12.5b
(/.f64 (pow.f64 i 3) (*.f64 n n))

rewrite428.0ms (2%)

Algorithm
rewrite-expression-head
Error
0.4b
Rules
22×add-exp-log_binary64_3526
14×add-cbrt-cube_binary64_3524
12×add-sqr-sqrt_binary64_3510 times-frac_binary64_3494 associate-/l*_binary64_3433
11×add-log-exp_binary64_3527 add-cube-cbrt_binary64_3523 *-un-lft-identity_binary64_3488
pow1_binary64_3549
associate-*r/_binary64_3430
prod-exp_binary64_3537 div-exp_binary64_3539 unpow-prod-down_binary64_3567 cube-prod_binary64_3516 flip3-+_binary64_3491 flip-+_binary64_3462
cbrt-unprod_binary64_3521 sum-log_binary64_3579 frac-add_binary64_3496
associate-+r+_binary64_3420 pow-prod-down_binary64_3559 associate-*l*_binary64_3429
pow-to-exp_binary64_3557 pow-exp_binary64_3556 cbrt-undiv_binary64_3522 unpow3_binary64_3554 cube-mult_binary64_3518 sqr-pow_binary64_3460 distribute-rgt-in_binary64_3438 associate-+l+_binary64_3421 distribute-lft-in_binary64_3437 +-commutative_binary64_3418
frac-2neg_binary64_3499 clear-num_binary64_3487 div-inv_binary64_3485 associate-/r*_binary64_3432 unswap-sqr_binary64_3456 associate-*r*_binary64_3428 *-commutative_binary64_3419
Counts
4 → 94
Calls

4 calls:

21.0ms
(+.f64 (*.f64 25 (+.f64 (pow.f64 i 3) (/.f64 (pow.f64 i 3) (*.f64 n n)))) (*.f64 50 (+.f64 i (*.f64 i i))))
19.0ms
(+.f64 (*.f64 (*.f64 n (*.f64 i i)) 50/3) (+.f64 (*.f64 (/.f64 (pow.f64 i 3) n) 275/6) (*.f64 n (+.f64 100 (*.f64 25/6 (pow.f64 i 3))))))
7.0ms
(/.f64 (pow.f64 i 3) (*.f64 n n))
6.0ms
(*.f64 n (*.f64 i i))
Compiler

Compiled 6959 to 3919 computations (43.7% saved)

series1.1s (4.8%)

Error
0.4b
Counts
4 → 33
Calls

4 calls:

493.0ms
(+.f64 (*.f64 25 (+.f64 (pow.f64 i 3) (/.f64 (pow.f64 i 3) (*.f64 n n)))) (*.f64 50 (+.f64 i (*.f64 i i))))
205.0ms
(+.f64 (*.f64 (*.f64 n (*.f64 i i)) 50/3) (+.f64 (*.f64 (/.f64 (pow.f64 i 3) n) 275/6) (*.f64 n (+.f64 100 (*.f64 25/6 (pow.f64 i 3))))))
166.0ms
(/.f64 (pow.f64 i 3) (*.f64 n n))
108.0ms
(*.f64 n (*.f64 i i))
Compiler

Compiled 5234 to 3591 computations (31.4% saved)

simplify60.0ms (0.3%)

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
050782792

prune430.0ms (2%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1252127
Fresh099
Picked011
Done011
Total12513138
Error
0.4b
Counts
138 → 13
Compiler

Compiled 8336 to 4750 computations (43% saved)

regimes1.6s (7.1%)

Accuracy

Total 11.8b remaining (95.8%)

Threshold costs 0b (0%)

Compiler

Compiled 14383 to 9998 computations (30.5% saved)

bsearch198.0ms (0.9%)

Steps
ItersRangePoint
11
2.1403337328539446e-10
2.5697688537369464e+20
0.006229383881859722
9
-0.009038278333221874
-1.4784146240838328e-09
-0.00014452224618902238
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
083107
183107

end0.0ms (0%)

sample7.4s (33.7%)

Algorithm
intervals
Results
2.1s1768×body2048valid
1.4s2604×body1024valid
280.0ms1183×body512valid
117.0ms192×body1024invalid
116.0ms1870×body128valid
95.0ms2320×body128nan
90.0ms243×body512invalid
76.0ms546×body256valid
68.0ms826×body128invalid
63.0ms29×body4096valid
27.0ms133×body256invalid
14.0ms15×body2048invalid
Compiler

Compiled 3634 to 2522 computations (30.6% saved)

Profiling

Loading profile data...