Details

Time bar (total: 9.7s)

analyze1.2s

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
25%62.4%12.6%5
25%56.2%18.8%6
28.1%50%22%7
28.1%46.8%25.1%8
29.7%41.4%29%9
29.7%39.4%30.9%10
31.1%35.8%33.1%11
31.1%34.4%34.5%12
31.5%32.9%35.6%13
31.5%32.1%36.4%14

sample239.0ms

Algorithm
intervals
Results
70.0ms130×body1280valid
55.0ms48×body1280nan
22.0ms31×body640nan
22.0ms47×body640valid
19.0ms105×body80overflowed
7.0ms22×body320valid
6.0ms10×body160nan
5.0ms13×body320nan
4.0ms49×body80valid
4.0msbody640invalid
3.0msbody320invalid
2.0msbody1280invalid
2.0msbody160valid
1.0msbody80invalid
1.0ms19×body80nan
0.0msbody160invalid

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
0497713
1497713

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.6b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow.f64 (+.f64 x 1.0) (/.f64 1.0 n))
0.0b
(pow.f64 x (/.f64 1.0 n))
0.6b
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt_binary64
28×*-un-lft-identity_binary64
26×pow-unpow_binary64
19×add-cube-cbrt_binary64
18×times-frac_binary64
17×unpow-prod-down_binary64
difference-of-squares_binary64
sqr-pow_binary64
add-log-exp_binary64 pow1_binary64 add-exp-log_binary64
add-cbrt-cube_binary64 distribute-lft-out--_binary64
pow-to-exp_binary64 distribute-lft-out_binary64 pow-pow_binary64 div-inv_binary64 pow-exp_binary64
sub-neg_binary64 flip3--_binary64 diff-log_binary64 flip--_binary64
Counts
3 → 78
Calls
3 calls:
6.0ms
(pow.f64 (+.f64 x 1.0) (/.f64 1.0 n))
4.0ms
(pow.f64 x (/.f64 1.0 n))
11.0ms
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))

series79.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(pow.f64 (+.f64 x 1.0) (/.f64 1.0 n))
12.0ms
(pow.f64 x (/.f64 1.0 n))
48.0ms
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))

simplify47.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
051411177

prune105.0ms

Filtered
69 candidates to 87 candidates (-26.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New83487
Fresh000
Picked101
Done000
Total84488

Merged error: 19.5b

Counts
88 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt.f64 n)
0.5b
(cbrt.f64 n)
0.5b
(cbrt.f64 n)
0.8b
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 (pow.f64 x (/.f64 1 (*.f64 (cbrt.f64 n) (cbrt.f64 n)))) (/.f64 1.0 (cbrt.f64 n))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt_binary64
17×unpow-prod-down_binary64
15×difference-of-squares_binary64
11×sqr-pow_binary64
*-un-lft-identity_binary64 cbrt-prod_binary64
add-cube-cbrt_binary64
add-log-exp_binary64
pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
pow1/3_binary64
sub-neg_binary64 flip3--_binary64 diff-log_binary64 distribute-lft-out--_binary64 flip--_binary64
Counts
4 → 60
Calls
4 calls:
2.0ms
(cbrt.f64 n)
2.0ms
(cbrt.f64 n)
2.0ms
(cbrt.f64 n)
22.0ms
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 (pow.f64 x (/.f64 1 (*.f64 (cbrt.f64 n) (cbrt.f64 n)))) (/.f64 1.0 (cbrt.f64 n))))

series148.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(cbrt.f64 n)
17.0ms
(cbrt.f64 n)
17.0ms
(cbrt.f64 n)
95.0ms
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 (pow.f64 x (/.f64 1 (*.f64 (cbrt.f64 n) (cbrt.f64 n)))) (/.f64 1.0 (cbrt.f64 n))))

simplify63.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049161232
149161232

prune102.0ms

Filtered
65 candidates to 72 candidates (-10.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New71172
Fresh123
Picked011
Done000
Total72476

Merged error: 19.5b

Counts
76 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(*.f64 x (*.f64 x n))
0.7b
(/.f64 0.5 (*.f64 x (*.f64 x n)))
0.8b
(/.f64 (log.f64 x) (*.f64 n n))
4.3b
(*.f64 (/.f64 1.0 x) (+.f64 (/.f64 1 n) (/.f64 (log.f64 x) (*.f64 n n))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
28×add-exp-log_binary64 add-cbrt-cube_binary64
22×add-sqr-sqrt_binary64
20×*-un-lft-identity_binary64
17×add-cube-cbrt_binary64 times-frac_binary64
16×associate-*l*_binary64
13×pow1_binary64
cbrt-unprod_binary64 prod-exp_binary64
associate-/l*_binary64
associate-*r*_binary64 cbrt-undiv_binary64 div-exp_binary64
pow-prod-down_binary64 add-log-exp_binary64 div-inv_binary64
associate-*r/_binary64 frac-times_binary64
flip3-+_binary64 associate-/r*_binary64 distribute-lft-out_binary64 frac-add_binary64 log-pow_binary64 unswap-sqr_binary64 clear-num_binary64 frac-2neg_binary64 flip-+_binary64 *-commutative_binary64
distribute-lft-in_binary64 distribute-rgt-in_binary64 associate-*l/_binary64
Counts
4 → 106
Calls
4 calls:
5.0ms
(*.f64 x (*.f64 x n))
6.0ms
(/.f64 0.5 (*.f64 x (*.f64 x n)))
5.0ms
(/.f64 (log.f64 x) (*.f64 n n))
17.0ms
(*.f64 (/.f64 1.0 x) (+.f64 (/.f64 1 n) (/.f64 (log.f64 x) (*.f64 n n))))

series43.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(*.f64 x (*.f64 x n))
4.0ms
(/.f64 0.5 (*.f64 x (*.f64 x n)))
10.0ms
(/.f64 (log.f64 x) (*.f64 n n))
24.0ms
(*.f64 (/.f64 1.0 x) (+.f64 (/.f64 1 n) (/.f64 (log.f64 x) (*.f64 n n))))

simplify44.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049651212
149651212

prune114.0ms

Filtered
78 candidates to 118 candidates (-51.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1126118
Fresh022
Picked101
Done011
Total1139122

Merged error: 19.3b

Counts
122 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(*.f64 x (*.f64 x n))
0.2b
(/.f64 (/.f64 1.0 x) n)
0.3b
(/.f64 (log.f64 x) n)
0.7b
(/.f64 0.5 (*.f64 x (*.f64 x n)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac_binary64
58×*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
25×add-exp-log_binary64 add-cbrt-cube_binary64
20×associate-/l*_binary64
13×pow1_binary64
associate-/r*_binary64 cbrt-undiv_binary64 div-inv_binary64 div-exp_binary64
cbrt-unprod_binary64 prod-exp_binary64
add-log-exp_binary64 log-pow_binary64
pow-prod-down_binary64 associate-*l*_binary64 clear-num_binary64 frac-2neg_binary64
associate-/l/_binary64 associate-*r*_binary64 *-commutative_binary64
Counts
4 → 142
Calls
4 calls:
5.0ms
(*.f64 x (*.f64 x n))
6.0ms
(/.f64 (/.f64 1.0 x) n)
4.0ms
(/.f64 (log.f64 x) n)
6.0ms
(/.f64 0.5 (*.f64 x (*.f64 x n)))

series21.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(*.f64 x (*.f64 x n))
4.0ms
(/.f64 (/.f64 1.0 x) n)
8.0ms
(/.f64 (log.f64 x) n)
5.0ms
(/.f64 0.5 (*.f64 x (*.f64 x n)))

simplify64.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049471367
149471367

prune133.0ms

Filtered
110 candidates to 154 candidates (-40.0%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1513154
Fresh257
Picked011
Done011
Total15310163

Merged error: 19.3b

Counts
163 → 10

regimes235.0ms

Accuracy

84.2% (1.7b remaining)

Error of 23.2b against oracle of 21.5b and baseline of 32.5b

bsearch144.0ms

Steps
ItersRangePoint
11
2.433706907414182e-16
9641786123.138424
35146050.636312656
9
-470993163.7600871
-33.446121995133495
-116924.1052241744

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07376
17376

end0.0ms

sample6.7s

Algorithm
intervals
Results
2.1s3809×body1280valid
1.2s1068×body1280nan
711.0ms1558×body640valid
687.0ms936×body640nan
482.0ms2687×body80overflowed
232.0ms739×body320valid
186.0ms429×body320nan
169.0ms240×body640invalid
150.0ms1551×body80valid
117.0ms90×body1280invalid
85.0ms201×body320invalid
69.0ms343×body160valid
60.0ms235×body160nan
33.0ms535×body80nan
30.0ms234×body80invalid
17.0ms67×body160invalid

Profiling

Loading profile data...