Details

Time bar (total: 9.0s)

analyze806.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

sample187.0ms

Algorithm
intervals
Results
78.0ms97×body1280valid
60.0ms29×body2560valid
17.0ms42×body640valid
6.0ms27×body320valid
4.0msbody1280invalid
3.0ms44×body80valid
3.0msbody640invalid
2.0ms17×body160valid
1.0ms10×body80invalid
1.0msbody160invalid
1.0msbody320invalid
0.0ms11×body80nan

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
0492115
1492115

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 48.1b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
1.7b
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
5.1b
(pow.f64 (+.f64 1 (/.f64 i n)) n)
8.7b
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
584×times-frac_binary64
485×add-sqr-sqrt_binary64
366×*-un-lft-identity_binary64
224×add-cube-cbrt_binary64
174×associate-*r*_binary64
168×difference-of-squares_binary64
88×unpow-prod-down_binary64
85×sqr-pow_binary64
84×difference-of-sqr-1_binary64
29×div-inv_binary64
28×distribute-lft-out--_binary64
19×add-exp-log_binary64
18×add-cbrt-cube_binary64
13×associate-/r*_binary64 associate-/l*_binary64
pow1_binary64
add-log-exp_binary64 cbrt-undiv_binary64 div-exp_binary64
pow-unpow_binary64 cbrt-unprod_binary64 associate-*l*_binary64 unswap-sqr_binary64 prod-exp_binary64
associate-/l/_binary64 flip3--_binary64 associate-/r/_binary64 flip--_binary64
pow-to-exp_binary64 pow-prod-down_binary64 sub-neg_binary64 diff-log_binary64 distribute-lft-out_binary64 associate-*r/_binary64 pow-pow_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 pow-exp_binary64 *-commutative_binary64
Counts
4 → 448
Calls
4 calls:
51.0ms
(*.f64 100 (/.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)
19.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))

series212.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
40.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
29.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)
71.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))

simplify106.0ms

Algorithm
egg-herbie
Counts
460 → 460
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
050739654

prune364.0ms

Filtered
264 candidates to 460 candidates (-74.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New45010460
Fresh000
Picked101
Done000
Total45110461

Merged error: 18.3b

Counts
461 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(*.f64 100 (/.f64 (+.f64 (*.f64 (pow.f64 i 3) 1/6) (+.f64 i (*.f64 (*.f64 i i) 1/2))) (/.f64 i n)))
0.1b
(*.f64 (pow.f64 i 3) 1/6)
5.5b
(+.f64 (*.f64 (pow.f64 i 3) 1/6) (+.f64 i (*.f64 (*.f64 i i) 1/2)))
14.7b
(/.f64 (+.f64 (*.f64 (pow.f64 i 3) 1/6) (+.f64 i (*.f64 (*.f64 i i) 1/2))) (/.f64 i n))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac_binary64
102×add-sqr-sqrt_binary64
86×*-un-lft-identity_binary64 add-cube-cbrt_binary64
47×associate-*r*_binary64
23×add-exp-log_binary64
20×add-cbrt-cube_binary64
15×associate-*l*_binary64
13×associate-/r*_binary64
add-log-exp_binary64 div-inv_binary64
unswap-sqr_binary64
pow1_binary64 cbrt-undiv_binary64 prod-exp_binary64 div-exp_binary64
cbrt-unprod_binary64 unpow-prod-down_binary64 cube-prod_binary64
associate-/l*_binary64 sum-log_binary64
flip3-+_binary64 associate-/l/_binary64 sqr-pow_binary64 associate-/r/_binary64 flip-+_binary64 *-commutative_binary64
pow-to-exp_binary64 pow-prod-down_binary64 associate-*r/_binary64 clear-num_binary64 frac-2neg_binary64 +-commutative_binary64 associate-+r+_binary64 pow-exp_binary64 unpow3_binary64 cube-mult_binary64
Counts
4 → 182
Calls
4 calls:
22.0ms
(*.f64 100 (/.f64 (+.f64 (*.f64 (pow.f64 i 3) 1/6) (+.f64 i (*.f64 (*.f64 i i) 1/2))) (/.f64 i n)))
6.0ms
(*.f64 (pow.f64 i 3) 1/6)
8.0ms
(+.f64 (*.f64 (pow.f64 i 3) 1/6) (+.f64 i (*.f64 (*.f64 i i) 1/2)))
13.0ms
(/.f64 (+.f64 (*.f64 (pow.f64 i 3) 1/6) (+.f64 i (*.f64 (*.f64 i i) 1/2))) (/.f64 i n))

series35.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(*.f64 100 (/.f64 (+.f64 (*.f64 (pow.f64 i 3) 1/6) (+.f64 i (*.f64 (*.f64 i i) 1/2))) (/.f64 i n)))
4.0ms
(*.f64 (pow.f64 i 3) 1/6)
4.0ms
(+.f64 (*.f64 (pow.f64 i 3) 1/6) (+.f64 i (*.f64 (*.f64 i i) 1/2)))
13.0ms
(/.f64 (+.f64 (*.f64 (pow.f64 i 3) 1/6) (+.f64 i (*.f64 (*.f64 i i) 1/2))) (/.f64 i n))

simplify53.0ms

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
054544116

prune226.0ms

Filtered
150 candidates to 194 candidates (-29.3%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New18311194
Fresh099
Picked101
Done000
Total18420204

Merged error: 9.4b

Counts
204 → 20

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (*.f64 i n) 50)
0.2b
(*.f64 (*.f64 i i) 50/3)
1.9b
(*.f64 n (+.f64 100 (*.f64 (*.f64 i i) 50/3)))
5.5b
(+.f64 (*.f64 (*.f64 i n) 50) (*.f64 n (+.f64 100 (*.f64 (*.f64 i i) 50/3))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
11×add-sqr-sqrt_binary64
associate-*r*_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 prod-exp_binary64
add-log-exp_binary64
associate-*l*_binary64
*-commutative_binary64
flip3-+_binary64 associate-*r/_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 unswap-sqr_binary64 flip-+_binary64 associate-+r+_binary64
+-commutative_binary64 sum-log_binary64
Counts
4 → 72
Calls
4 calls:
7.0ms
(*.f64 (*.f64 i n) 50)
6.0ms
(*.f64 (*.f64 i i) 50/3)
6.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))))

series30.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(*.f64 (*.f64 i n) 50)
3.0ms
(*.f64 (*.f64 i i) 50/3)
14.0ms
(*.f64 n (+.f64 100 (*.f64 (*.f64 i i) 50/3)))
9.0ms
(+.f64 (*.f64 (*.f64 i n) 50) (*.f64 n (+.f64 100 (*.f64 (*.f64 i i) 50/3))))

simplify52.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
04909767
14909767

prune79.0ms

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

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New82284
Fresh11819
Picked101
Done000
Total8420104

Merged error: 9.4b

Counts
104 → 20

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+.f64 (*.f64 (*.f64 i n) 50) (*.f64 n 100))
0.2b
(*.f64 (*.f64 i n) 50)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64
pow-prod-down_binary64 *-un-lft-identity_binary64 cbrt-unprod_binary64 associate-*r*_binary64 add-cube-cbrt_binary64 prod-exp_binary64 add-sqr-sqrt_binary64
flip3-+_binary64 associate-*l*_binary64 +-commutative_binary64 flip-+_binary64 sum-log_binary64 *-commutative_binary64
Counts
2 → 29
Calls
2 calls:
6.0ms
(+.f64 (*.f64 (*.f64 i n) 50) (*.f64 n 100))
5.0ms
(*.f64 (*.f64 i n) 50)

series11.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(+.f64 (*.f64 (*.f64 i n) 50) (*.f64 n 100))
4.0ms
(*.f64 (*.f64 i n) 50)

simplify65.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
04946263
14946263

prune16.0ms

Filtered
22 candidates to 35 candidates (-59.1%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New32335
Fresh11819
Picked101
Done000
Total342155

Merged error: 9.4b

Counts
55 → 21

regimes304.0ms

Accuracy

69% (6.2b remaining)

Error of 14.8b against oracle of 8.6b and baseline of 28.5b

bsearch131.0ms

Steps
ItersRangePoint
10
2.4971365019668773e-21
2.781761828298423e-06
2.7352102327349535e-06
6
-6.868834704971418e-07
-4.369106654126546e-08
-6.720774155076935e-07

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04160
14160

end0.0ms

sample6.0s

Algorithm
intervals
Results
2.4s2832×body1280valid
2.1s978×body2560valid
629.0ms1542×body640valid
164.0ms704×body320valid
109.0ms225×body640invalid
104.0ms1586×body80valid
86.0ms106×body1280invalid
54.0ms177×body320invalid
51.0ms351×body160valid
36.0ms424×body80invalid
29.0ms13×body2560invalid
27.0msbody5120valid
14.0ms72×body160invalid
12.0ms281×body80nan

Profiling

Loading profile data...