Details

Time bar (total: 2.9s)

sample38.0ms

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

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1133
2153
3153

prune2.0ms

Filtered
1 candidates to 0 candidates (100.0%)
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)

rewrite14.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:
9.0ms
(/ (- (exp x) 1.0) x)
4.0ms
(- (exp x) 1.0)

series7.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(/ (- (exp x) 1.0) x)
2.0ms
(- (exp x) 1.0)

simplify75.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0222329
1625311
22717309
35001309

prune75.0ms

Filtered
58 candidates to 43 candidates (25.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New56258
Fresh000
Picked101
Done000
Total57259

Merged error: 0.1b

Counts
59 → 2

localize8.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)

rewrite26.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:
3.0ms
(+ (* x 1/6) 1/2)
7.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
3.0ms
(* x 1/6)
10.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

series20.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (* x 1/6) 1/2)
9.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)

simplify65.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0384620
12008562
25002562

prune140.0ms

Filtered
101 candidates to 70 candidates (30.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1001101
Fresh011
Picked011
Done000
Total1003103

Merged error: 0.1b

Counts
103 → 3

localize15.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))

rewrite35.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))
9.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))

series40.0ms

Counts
4 → 12
Calls
4 calls:
5.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))

simplify150.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
02531426
19391355
244731318
350011318

prune427.0ms

Filtered
107 candidates to 91 candidates (15.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1061107
Fresh011
Picked101
Done011
Total1073110

Merged error: 0.1b

Counts
110 → 3

localize20.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))

rewrite37.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)
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))
7.0ms
(cbrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))

series33.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)
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))

simplify148.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
02531398
19391316
244731280
350011280

prune425.0ms

Filtered
114 candidates to 94 candidates (17.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1131114
Fresh011
Picked101
Done011
Total1143117

Merged error: 0.1b

Counts
117 → 3

regimes35.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

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02615
12615

end0.0ms

sample1.1s

Algorithm
intervals
Results
440.0ms2229×body1280valid
215.0ms1682×body640valid
129.0ms5468×body80valid
75.0ms851×body320valid
23.0ms412×body160valid

Profiling

Loading profile data...