Details

Time bar (total: 2.9s)

sample40.0ms

Algorithm
intervals
Results
18.0ms78×body1280valid
7.0ms58×body640valid
4.0ms174×body80valid
2.0ms21×body320valid
1.0ms11×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1133
2153
3153

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.3b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- (exp x) 1.0) x)
3.1b
(- (exp x) 1.0)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
15×times-frac
12×add-cube-cbrt
associate-/l* distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube add-log-exp
associate-/r*
pow1 flip3-- flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
2 → 52
Calls
2 calls:
6.0ms
(/ (- (exp x) 1.0) x)
4.0ms
(- (exp x) 1.0)

series7.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(/ (- (exp x) 1.0) x)
3.0ms
(- (exp x) 1.0)

simplify78.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0222329
1625311
22717309
35001309

prune72.0ms

Filtered
43 candidates to 58 candidates (-34.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New56258
Fresh000
Picked101
Done000
Total57259

Merged error: 0.1b

Counts
59 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x 1/6) 1/2)
0.1b
(* (pow x 2) (+ (* x 1/6) 1/2))
0.3b
(* x 1/6)
3.7b
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
13×add-exp-log
11×associate-*l*
10×add-cbrt-cube
times-frac
pow1 associate-*r* add-log-exp
unswap-sqr
unpow-prod-down prod-exp
flip3-+ associate-/r* flip-+ associate-/l*
associate-*r/ *-commutative cbrt-unprod associate-/l/ unpow2 sqr-pow
cbrt-undiv +-commutative distribute-rgt-in pow-to-exp frac-2neg distribute-lft-in div-exp pow-prod-down pow-exp clear-num sum-log div-inv
Counts
4 → 89
Calls
4 calls:
4.0ms
(+ (* x 1/6) 1/2)
8.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
3.0ms
(* x 1/6)
12.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

series17.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(+ (* x 1/6) 1/2)
6.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
2.0ms
(* x 1/6)
5.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

simplify66.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0384620
12008562
25002562

prune134.0ms

Filtered
70 candidates to 101 candidates (-44.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1001101
Fresh011
Picked011
Done000
Total1003103

Merged error: 0.1b

Counts
103 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

3.7b
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)
9.9b
(cbrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))
9.9b
(cbrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))
9.9b
(cbrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
39×cbrt-prod
36×times-frac
33×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
pow1 div-inv add-log-exp
cbrt-div pow1/3 associate-/r* associate-/l*
associate-/l/
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+
Counts
4 → 95
Calls
4 calls:
10.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)
6.0ms
(cbrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))
6.0ms
(cbrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))
7.0ms
(cbrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))

series44.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)
11.0ms
(cbrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))
11.0ms
(cbrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))
12.0ms
(cbrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))

simplify152.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
02531435
19391364
244731324
350011324

prune423.0ms

Filtered
91 candidates to 107 candidates (-17.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1061107
Fresh011
Picked101
Done011
Total1073110

Merged error: 0.1b

Counts
110 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

3.7b
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)
3.7b
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)
9.9b
(cbrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))
9.9b
(cbrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
34×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
26×cbrt-prod
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 div-inv associate-/l/ add-log-exp
cbrt-undiv cbrt-div frac-2neg flip3-+ pow1/3 div-exp clear-num flip-+
Counts
4 → 102
Calls
4 calls:
10.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)
11.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)
7.0ms
(cbrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))
7.0ms
(cbrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))

series34.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)
5.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)
13.0ms
(cbrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))
11.0ms
(cbrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))

simplify151.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
02531392
19391310
244731276
350011276

prune397.0ms

Filtered
94 candidates to 114 candidates (-21.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1131114
Fresh011
Picked101
Done011
Total1143117

Merged error: 0.1b

Counts
117 → 3

regimes34.0ms

Accuracy

98.8% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 21.4b

bsearch14.0ms

Steps
ItersRangePoint
9
-0.00034267683325015424
-2.708263725627834e-09
-0.0001378262469616206

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02615
12615

end0.0ms

sample1.1s

Algorithm
intervals
Results
436.0ms2229×body1280valid
215.0ms1682×body640valid
126.0ms5468×body80valid
72.0ms851×body320valid
25.0ms412×body160valid

Profiling

Loading profile data...