Details

Time bar (total: 14.8s)

sample214.0ms

Algorithm
intervals
Results
70.0ms133×body1280valid
24.0ms25×body1280nan
24.0ms53×body640valid
19.0ms128×body80overflowed
17.0ms25×body640nan
14.0ms100×body80valid
9.0ms191×body80nan
7.0ms23×body320valid
6.0ms15×body320nan
3.0ms17×body160valid
1.0msbody160nan

simplify34.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: 31.6b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow (+ x 1.0) (/ 1.0 n))
0.1b
(pow x (/ 1.0 n))
2.2b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite21.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:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series479.0ms

Counts
3 → 9
Calls
3 calls:
146.0ms
(pow (+ x 1.0) (/ 1.0 n))
54.0ms
(pow x (/ 1.0 n))
278.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify47.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0476639
11600623
25001609

prune224.0ms

Filtered
88 candidates to 70 candidates (79.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New80888
Fresh000
Picked101
Done000
Total81889

Merged error: 21.3b

Counts
89 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
57×unpow-prod-down
34×add-cube-cbrt *-un-lft-identity
28×sqrt-prod
26×pow-unpow
18×add-exp-log times-frac
16×unswap-sqr
15×sqr-pow
12×swap-sqr
10×associate-*r* associate-*l*
prod-exp
pow1 pow-to-exp pow-exp
pow-pow add-cbrt-cube add-log-exp
difference-of-squares
sqrt-pow1 pow1/2 sqrt-pow2 div-inv
pow2 sub-neg flip3-- diff-log pow-prod-down pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod
Counts
4 → 151
Calls
4 calls:
9.0ms
(* (pow (sqrt x) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
4.0ms
(pow (sqrt x) (/ 1.0 n))
4.0ms
(pow (sqrt x) (/ 1.0 n))
6.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))

series1.2s

Counts
4 → 12
Calls
4 calls:
270.0ms
(* (pow (sqrt x) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
207.0ms
(pow (sqrt x) (/ 1.0 n))
212.0ms
(pow (sqrt x) (/ 1.0 n))
505.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))

simplify66.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04981347
120541268
250011254

prune336.0ms

Filtered
163 candidates to 100 candidates (61.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1621163
Fresh077
Picked011
Done000
Total1629171

Merged error: 21.3b

Counts
171 → 9

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (* (log (sqrt x)) (/ 1.0 n)))
0.1b
(pow (sqrt x) (/ 1.0 n))
0.4b
(* (log (sqrt x)) (/ 1.0 n))
3.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n)))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
19×times-frac
13×pow-unpow associate-*r*
10×pow1 add-exp-log
add-cbrt-cube
add-log-exp
unpow-prod-down associate-*l*
pow-pow sqrt-prod log-pow
sqrt-pow1 pow1/2 prod-exp cbrt-unprod div-inv unswap-sqr
cbrt-undiv pow-to-exp sub-neg exp-prod flip3-- exp-to-pow diff-log associate-*r/ div-exp pow-prod-down pow-exp *-commutative sqrt-pow2 flip-- rem-exp-log sqr-pow
Counts
4 → 90
Calls
4 calls:
2.0ms
(exp (* (log (sqrt x)) (/ 1.0 n)))
4.0ms
(pow (sqrt x) (/ 1.0 n))
8.0ms
(* (log (sqrt x)) (/ 1.0 n))
6.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n)))))

series1.3s

Counts
4 → 12
Calls
4 calls:
210.0ms
(exp (* (log (sqrt x)) (/ 1.0 n)))
215.0ms
(pow (sqrt x) (/ 1.0 n))
159.0ms
(* (log (sqrt x)) (/ 1.0 n))
733.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n)))))

simplify60.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0592835
12383729
25002725

prune294.0ms

Filtered
102 candidates to 74 candidates (72.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1011102
Fresh077
Picked101
Done011
Total1029111

Merged error: 21.3b

Counts
111 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (log (sqrt x)) (/ 1.0 n))
3.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n)))))
3.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n)))))
3.9b
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n)))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×associate-*r*
12×add-cube-cbrt *-un-lft-identity
10×times-frac add-log-exp
add-exp-log add-cbrt-cube
pow1
associate-*l*
sub-neg flip3-- diff-log log-pow flip--
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv sqrt-pow1 pow1/2 associate-*r/ div-exp pow-prod-down *-commutative div-inv
Counts
4 → 71
Calls
4 calls:
8.0ms
(* (log (sqrt x)) (/ 1.0 n))
6.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n)))))
6.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n)))))
7.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n)))))

series2.4s

Counts
4 → 12
Calls
4 calls:
155.0ms
(* (log (sqrt x)) (/ 1.0 n))
735.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n)))))
760.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n)))))
747.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n)))))

simplify50.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04691236
117731098
250011055

prune528.0ms

Filtered
83 candidates to 67 candidates (80.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New83083
Fresh077
Picked011
Done011
Total83992

Merged error: 21.3b

Counts
92 → 9

regimes235.0ms

Accuracy

81.9% (2.0b remaining)

Error of 24.2b against oracle of 22.2b and baseline of 33.0b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04369
14369

end0.0ms

sample7.1s

Algorithm
intervals
Results
2.1s3883×body1280valid
1.2s1050×body1280nan
843.0ms1831×body640valid
666.0ms930×body640nan
623.0ms3981×body80overflowed
313.0ms6166×body80nan
300.0ms3038×body80valid
285.0ms886×body320valid
204.0ms456×body320nan
91.0ms475×body160valid
47.0ms214×body160nan

Profiling

Loading profile data...