Details

Time bar (total: 30.0s)

sample231.0ms

Algorithm
intervals
Results
80.0ms143×body1280valid
26.0ms26×body1280nan
24.0ms56×body640valid
22.0ms149×body80overflowed
17.0ms24×body640nan
11.0ms215×body80nan
11.0ms18×body320nan
9.0ms89×body80valid
7.0ms23×body320valid
3.0ms17×body160valid
1.0msbody160nan

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.3b

Counts
2 → 1

localize8.0ms

Local error

Found 1 expressions with local error:

2.4b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
10×unpow-prod-down
difference-of-squares
*-un-lft-identity
sqr-pow
distribute-lft-out-- add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out
Counts
1 → 24
Calls
1 calls:
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series274.0ms

Counts
1 → 3
Calls
1 calls:
274.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify75.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0222326
1594313
22745307
35003307

prune89.0ms

Filtered
27 candidates to 23 candidates (85.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New23427
Fresh000
Picked101
Done000
Total24428

Merged error: 22.6b

Counts
28 → 4

localize11.0ms

Local error

Found 2 expressions with local error:

2.4b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.4b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
20×unpow-prod-down
18×*-un-lft-identity difference-of-squares
16×log-pow
15×exp-prod
12×sqr-pow
distribute-lft-out--
log-prod
add-cube-cbrt add-log-exp
pow1
add-exp-log sub-neg exp-sum add-cbrt-cube distribute-lft-out
log-div flip3-- exp-diff diff-log rem-log-exp flip--
Counts
2 → 54
Calls
2 calls:
10.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
11.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

series556.0ms

Counts
2 → 6
Calls
2 calls:
280.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
275.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))

simplify89.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0290609
1797574
23273562
35001562

prune164.0ms

Filtered
60 candidates to 48 candidates (80.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New58260
Fresh033
Picked101
Done000
Total59564

Merged error: 22.6b

Counts
64 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.0b
(sqrt (+ x 1.0))
0.0b
(* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
2.4b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
60×add-sqr-sqrt
50×unpow-prod-down
39×*-un-lft-identity
36×sqrt-prod
32×difference-of-squares
23×associate-*r*
16×sqr-pow
distribute-lft-out
pow1 add-cube-cbrt distribute-lft-out--
associate-*l*
add-exp-log add-cbrt-cube add-log-exp
flip3-+ flip-+
frac-times flip3-- sqrt-div flip--
sub-neg
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 associate-*r/ associate-*l/
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 118
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
3.0ms
(sqrt (+ x 1.0))
36.0ms
(* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
14.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series2.3s

Counts
4 → 12
Calls
4 calls:
36.0ms
(sqrt (+ x 1.0))
30.0ms
(sqrt (+ x 1.0))
1.5s
(* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
717.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify69.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04911966
120331807
250031795

prune382.0ms

Filtered
130 candidates to 88 candidates (67.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1282130
Fresh044
Picked101
Done000
Total1296135

Merged error: 22.6b

Counts
135 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))))
2.4b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
2.4b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
2.4b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
76×add-sqr-sqrt
66×unpow-prod-down
48×difference-of-squares
36×sqrt-prod
31×*-un-lft-identity
24×sqr-pow
12×distribute-lft-out--
10×add-log-exp
cbrt-div
flip3-- flip--
pow1 add-exp-log frac-times add-cube-cbrt add-cbrt-cube
sub-neg flip3-+ diff-log flip-+ distribute-lft-out
associate-*r/ associate-*l/
cbrt-prod pow1/3
Counts
4 → 113
Calls
4 calls:
27.0ms
(cbrt (* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))))
14.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
18.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
14.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series17.4s

Counts
4 → 12
Calls
4 calls:
15.2s
(cbrt (* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))))
747.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
737.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
735.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify56.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03992394
112602280
250012265

prune479.0ms

Filtered
125 candidates to 89 candidates (71.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1241125
Fresh055
Picked101
Done000
Total1256131

Merged error: 22.6b

Counts
131 → 6

regimes249.0ms

Accuracy

85.5% (1.6b remaining)

Error of 24.1b against oracle of 22.4b and baseline of 33.8b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05551
15551

end0.0ms

sample7.3s

Algorithm
intervals
Results
2.2s4032×body1280valid
1.2s1034×body1280nan
850.0ms1805×body640valid
636.0ms890×body640nan
624.0ms4066×body80overflowed
313.0ms6225×body80nan
311.0ms3004×body80valid
281.0ms890×body320valid
196.0ms467×body320nan
89.0ms448×body160valid
51.0ms231×body160nan

Profiling

Loading profile data...