Details

Time bar (total: 12.4s)

analyze1.2s

Algorithm
search

sample226.0ms

Algorithm
intervals
Results
66.0ms121×body1280valid
49.0ms44×body1280nan
20.0ms28×body640nan
17.0ms42×body640valid
15.0ms86×body80overflowed
8.0ms19×body320nan
8.0msbody1280invalid
8.0ms23×body320valid
5.0ms56×body80valid
5.0msbody640invalid
3.0ms14×body160valid
2.0msbody320invalid
1.0msbody160invalid
1.0ms17×body80nan
1.0msbody160nan
1.0msbody80invalid

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.8b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.3b
(pow (+ x 1.0) (/ 1.0 n))
2.0b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
28×*-un-lft-identity
26×pow-unpow
19×add-cube-cbrt
18×times-frac
17×unpow-prod-down
difference-of-squares
sqr-pow
pow1 add-exp-log add-log-exp
add-cbrt-cube distribute-lft-out--
pow-to-exp pow-pow pow-exp div-inv distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
3 → 79
Calls
3 calls:
3.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series71.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(pow x (/ 1.0 n))
20.0ms
(pow (+ x 1.0) (/ 1.0 n))
39.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify49.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0552688
11885669
25002641

prune197.0ms

Filtered
71 candidates to 88 candidates (-23.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New82688
Fresh000
Picked101
Done000
Total83689

Merged error: 20.9b

Counts
89 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
4.9b
(- (* (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div add-log-exp
pow1 add-exp-log add-cbrt-cube
flip3-+ pow1/3 flip-+ distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
4 → 54
Calls
4 calls:
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))
10.0ms
(- (* (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))

series113.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(cbrt (+ x 1.0))
6.0ms
(cbrt (+ x 1.0))
6.0ms
(cbrt (+ x 1.0))
96.0ms
(- (* (pow (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))) (/ 1.0 n)) (pow (cbrt (+ x 1.0)) (/ 1.0 n))) (pow x (/ 1.0 n)))

simplify43.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0433788
11424727
25001672

prune224.0ms

Filtered
55 candidates to 66 candidates (-20.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New63366
Fresh055
Picked101
Done000
Total64872

Merged error: 20.7b

Counts
72 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt x) (/ 1.0 n))
0.3b
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
0.3b
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
2.0b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
44×*-un-lft-identity
42×unpow-prod-down
39×pow-unpow
31×add-cube-cbrt
27×times-frac
23×sqrt-prod
16×difference-of-squares
11×sqr-pow
10×pow1
pow-pow
add-exp-log
add-log-exp
add-cbrt-cube distribute-lft-out--
pow-to-exp sqrt-pow1 pow1/2 pow-exp sqrt-pow2 div-inv distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
4 → 133
Calls
4 calls:
4.0ms
(pow (sqrt x) (/ 1.0 n))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series186.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(pow (sqrt x) (/ 1.0 n))
30.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
31.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
103.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify52.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
05091263
117791221
250011203

prune388.0ms

Filtered
102 candidates to 145 candidates (-42.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1432145
Fresh077
Picked101
Done000
Total1449153

Merged error: 20.7b

Counts
153 → 9

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
2.0b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
2.0b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
2.0b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
85×add-sqr-sqrt
73×unpow-prod-down
48×difference-of-squares
42×*-un-lft-identity
40×sqrt-prod
25×sqr-pow
13×add-cube-cbrt pow-unpow
12×distribute-lft-out--
10×add-log-exp
times-frac
pow1
add-exp-log
add-cbrt-cube distribute-lft-out
sub-neg flip3-- pow-pow diff-log flip--
pow-to-exp sqrt-pow1 pow1/2 pow-exp sqrt-pow2 div-inv
Counts
4 → 130
Calls
4 calls:
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
13.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
13.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series341.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
102.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
104.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
106.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify57.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04402022
116011953
250011925

prune722.0ms

Filtered
98 candidates to 142 candidates (-44.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1402142
Fresh178
Picked101
Done000
Total1429151

Merged error: 20.7b

Counts
151 → 9

regimes387.0ms

Accuracy

84.5% (1.6b remaining)

Error of 23.7b against oracle of 22.1b and baseline of 32.6b

bsearch139.0ms

Steps
ItersRangePoint
6
207880946.17776674
1339344633.7650335
651939305.9106334
8
-96.06284289880654
-0.01993022418852686
-94.53466195227803

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07070
17270
27270

end0.0ms

analyze1.1s

Algorithm
search

sample6.7s

Algorithm
intervals
Results
2.1s3781×body1280valid
1.3s1163×body1280nan
677.0ms1528×body640valid
636.0ms894×body640nan
487.0ms2764×body80overflowed
235.0ms739×body320valid
186.0ms442×body320nan
181.0ms254×body640invalid
150.0ms1611×body80valid
131.0ms101×body1280invalid
75.0ms185×body320invalid
72.0ms341×body160valid
58.0ms243×body160nan
32.0ms521×body80nan
28.0ms225×body80invalid
18.0ms75×body160invalid

Profiling

Loading profile data...