Details

Time bar (total: 1.6s)

sample40.0ms

Algorithm
intervals
Results
18.0ms81×body1280valid
6.0ms51×body640valid
4.0ms180×body80valid
2.0ms28×body320valid
0.0msbody160valid

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.6b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

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

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

simplify76.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0222329
1625311
22717309
35001309

prune67.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: 0b

Counts
59 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
0.2b
(* 1/6 (pow x 2))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*r*
add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube unswap-sqr
associate-*l* prod-exp sum-log
pow1 unpow2 sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-+ pow-exp *-commutative cbrt-unprod flip-+
Counts
2 → 40
Calls
2 calls:
7.0ms
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
5.0ms
(* 1/6 (pow x 2))

series8.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0201222
1825201
25001198

prune57.0ms

Filtered
46 candidates to 29 candidates (37.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New46046
Fresh011
Picked011
Done000
Total46248

Merged error: 0b

Counts
48 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.0ms

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

series8.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0215317
1591300
22297299
35001297

prune51.0ms

Filtered
56 candidates to 45 candidates (19.6%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New56056
Fresh000
Picked011
Done011
Total56258

Merged error: 0b

Counts
58 → 2

regimes29.0ms

Accuracy

98.8% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 21.0b

bsearch15.0ms

Steps
ItersRangePoint
10
-9.833889077906356
-6.097158829196934e-11
-0.00019059320894971286

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0249
1249

end0.0ms

sample1.1s

Algorithm
intervals
Results
443.0ms2279×body1280valid
203.0ms1635×body640valid
122.0ms5408×body80valid
71.0ms869×body320valid
23.0ms445×body160valid

Profiling

Loading profile data...