Details

Time bar (total: 13.0s)

analyze811.0ms

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%36%19.4%13
45.5%34.5%20%14

sample198.0ms

Algorithm
intervals
Results
85.0ms102×body1280valid
59.0ms27×body2560valid
19.0ms46×body640valid
5.0ms10×body640invalid
5.0ms26×body320valid
3.0ms49×body80valid
3.0msbody1280invalid
1.0ms14×body80invalid
1.0msbody160invalid
1.0msbody160valid
1.0msbody320invalid
0.0msbody80nan

simplify57.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
0496122
1496122

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 46.8b

Counts
2 → 1

localize15.0ms

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)))
0.6b
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
5.8b
(pow.f64 (+.f64 1 (/.f64 i n)) n)
8.7b
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
584×times-frac_binary64_2495
485×add-sqr-sqrt_binary64_2485
366×*-un-lft-identity_binary64_2500
224×add-cube-cbrt_binary64_2471
174×associate-*r*_binary64_2559
168×difference-of-squares_binary64_2529
88×unpow-prod-down_binary64_2435
85×sqr-pow_binary64_2532
84×difference-of-sqr-1_binary64_2530
29×div-inv_binary64_2501
28×distribute-lft-out--_binary64_2545
19×add-exp-log_binary64_2464
18×add-cbrt-cube_binary64_2472
13×associate-/l*_binary64_2564 associate-/r*_binary64_2563
pow1_binary64_2446
div-exp_binary64_2453 add-log-exp_binary64_2465 cbrt-undiv_binary64_2470
associate-*l*_binary64_2560 pow-unpow_binary64_2433 prod-exp_binary64_2451 unswap-sqr_binary64_2528 cbrt-unprod_binary64_2469
associate-/l/_binary64_2566 associate-/r/_binary64_2565 flip--_binary64_2526 flip3--_binary64_2499
div-sub_binary64_2494 diff-log_binary64_2416 pow-exp_binary64_2424 frac-2neg_binary64_2493 sub-neg_binary64_2504 pow-to-exp_binary64_2425 pow-prod-down_binary64_2427 pow-pow_binary64_2428 *-commutative_binary64_2568 clear-num_binary64_2503 distribute-lft-out_binary64_2544 associate-*r/_binary64_2561
Counts
4 → 448
Calls
4 calls:
50.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
10.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
7.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)
18.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))

series910.0ms

Counts
4 → 12
Calls
4 calls:
305.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
169.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
147.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)
289.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))

simplify186.0ms

Algorithm
egg-herbie
Counts
460 → 460
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
0514414782

prune993.0ms

Filtered
269 candidates to 460 candidates (-71.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New4528460
Fresh000
Picked101
Done000
Total4538461

Merged error: 19.4b

Counts
461 → 8

localize17.0ms

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac_binary64_2495
97×add-sqr-sqrt_binary64_2485
85×add-cube-cbrt_binary64_2471 *-un-lft-identity_binary64_2500
50×associate-*r*_binary64_2559
25×add-exp-log_binary64_2464 add-cbrt-cube_binary64_2472
13×pow1_binary64_2446 associate-/r*_binary64_2563
div-inv_binary64_2501
associate-*l*_binary64_2560 prod-exp_binary64_2451 cbrt-unprod_binary64_2469
div-exp_binary64_2453 cbrt-undiv_binary64_2470
pow-prod-down_binary64_2427 unswap-sqr_binary64_2528
add-log-exp_binary64_2465
associate-/l*_binary64_2564 *-commutative_binary64_2568 associate-*r/_binary64_2561
associate-/l/_binary64_2566 flip3-+_binary64_2498 associate-/r/_binary64_2565 flip-+_binary64_2525
distribute-rgt-in_binary64_2543 frac-2neg_binary64_2493 distribute-lft-in_binary64_2542 clear-num_binary64_2503
Counts
4 → 179
Calls
4 calls:
7.0ms
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
19.0ms
(*.f64 100 (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n)))
3.0ms
(*.f64 1/6 i)
8.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n))

series146.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
46.0ms
(*.f64 100 (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n)))
10.0ms
(*.f64 1/6 i)
45.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n))

simplify82.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
050245503

prune756.0ms

Filtered
151 candidates to 191 candidates (-26.5%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New17714191
Fresh077
Picked101
Done000
Total17821199

Merged error: 9.9b

Counts
199 → 21

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (*.f64 i n) 50)
0.3b
(*.f64 (*.f64 i i) 50/3)
2.4b
(*.f64 n (+.f64 100 (*.f64 (*.f64 i i) 50/3)))
3.7b
(+.f64 (*.f64 (*.f64 i n) 50) (*.f64 n (+.f64 100 (*.f64 (*.f64 i i) 50/3))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1_binary64_2446 add-exp-log_binary64_2464 add-cbrt-cube_binary64_2472
11×add-sqr-sqrt_binary64_2485
associate-*r*_binary64_2559
add-cube-cbrt_binary64_2471 *-un-lft-identity_binary64_2500
pow-prod-down_binary64_2427 prod-exp_binary64_2451 cbrt-unprod_binary64_2469
add-log-exp_binary64_2465
associate-*l*_binary64_2560
*-commutative_binary64_2568
flip3-+_binary64_2498 distribute-rgt-in_binary64_2543 associate-+r+_binary64_2551 distribute-lft-in_binary64_2542 unswap-sqr_binary64_2528 flip-+_binary64_2525 associate-*r/_binary64_2561
+-commutative_binary64_2567 sum-log_binary64_2415
Counts
4 → 72
Calls
4 calls:
5.0ms
(*.f64 (*.f64 i n) 50)
5.0ms
(*.f64 (*.f64 i i) 50/3)
5.0ms
(*.f64 n (+.f64 100 (*.f64 (*.f64 i i) 50/3)))
6.0ms
(+.f64 (*.f64 (*.f64 i n) 50) (*.f64 n (+.f64 100 (*.f64 (*.f64 i i) 50/3))))

series114.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(*.f64 (*.f64 i n) 50)
20.0ms
(*.f64 (*.f64 i i) 50/3)
49.0ms
(*.f64 n (+.f64 100 (*.f64 (*.f64 i i) 50/3)))
30.0ms
(+.f64 (*.f64 (*.f64 i n) 50) (*.f64 n (+.f64 100 (*.f64 (*.f64 i i) 50/3))))

simplify67.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
051121133

prune360.0ms

Filtered
53 candidates to 84 candidates (-58.5%)
Pruning

22 alts after pruning (21 fresh and 1 done)

PrunedKeptTotal
New80484
Fresh31720
Picked011
Done000
Total8322105

Merged error: 9.9b

Counts
105 → 22

localize25.0ms

Local error

Found 4 expressions with local error:

3.8b
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i)
10.5b
(cbrt.f64 (*.f64 n (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i)))
10.5b
(cbrt.f64 (*.f64 n (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i)))
10.5b
(cbrt.f64 (*.f64 n (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
12×add-cube-cbrt_binary64_2471 add-sqr-sqrt_binary64_2485 *-un-lft-identity_binary64_2500
times-frac_binary64_2495
add-exp-log_binary64_2464 add-cbrt-cube_binary64_2472
pow1_binary64_2446 add-log-exp_binary64_2465
pow1/3_binary64_2438 cbrt-prod_binary64_2467 associate-/l*_binary64_2564 associate-/r*_binary64_2563 cbrt-div_binary64_2468 associate-*r/_binary64_2561
associate-/l/_binary64_2566
flip3-+_binary64_2498 div-exp_binary64_2453 frac-2neg_binary64_2493 div-inv_binary64_2501 cbrt-undiv_binary64_2470 clear-num_binary64_2503 flip-+_binary64_2525
Counts
4 → 59
Calls
4 calls:
6.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i)
5.0ms
(cbrt.f64 (*.f64 n (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i)))
5.0ms
(cbrt.f64 (*.f64 n (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i)))
5.0ms
(cbrt.f64 (*.f64 n (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i)))

series491.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i)
155.0ms
(cbrt.f64 (*.f64 n (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i)))
153.0ms
(cbrt.f64 (*.f64 n (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i)))
160.0ms
(cbrt.f64 (*.f64 n (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i)))

simplify92.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
051312203

prune337.0ms

Filtered
61 candidates to 71 candidates (-16.4%)
Pruning

23 alts after pruning (22 fresh and 1 done)

PrunedKeptTotal
New67471
Fresh21820
Picked101
Done011
Total702393

Merged error: 9.9b

Counts
93 → 23

regimes653.0ms

Accuracy

65.6% (6.2b remaining)

Error of 16.8b against oracle of 10.7b and baseline of 28.6b

bsearch351.0ms

Steps
ItersRangePoint
10
8724534181933599/4398046511104
4980367391359067/4
2003.3137174584608
9
-8879371147982719/22835963083295358096932575511191922182123945984
-772589255412701/6129982163463555433433388108601236734474956488734408704
-3.827469972222611e-31

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04575
14575

end0.0ms

sample6.1s

Algorithm
intervals
Results
2.4s2856×body1280valid
2.0s954×body2560valid
601.0ms1530×body640valid
174.0ms700×body320valid
119.0ms244×body640invalid
108.0ms1621×body80valid
94.0ms118×body1280invalid
58.0ms184×body320invalid
49.0ms329×body160valid
39.0ms426×body80invalid
38.0ms10×body5120valid
34.0ms18×body2560invalid
19.0ms103×body160invalid
13.0ms303×body80nan

Profiling

Loading profile data...