Details

Time bar (total: 2.9s)

sample36.0ms

Algorithm
intervals
Results
16.0ms82×body1280valid
6.0ms44×body640valid
4.0ms181×body80valid
2.0ms29×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

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: 40.2b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- (exp x) 1.0) x)
3.9b
(- (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)

series60.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(/ (- (exp x) 1.0) x)
15.0ms
(- (exp x) 1.0)

simplify76.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0222329
1625311
22717309
35001309

prune101.0ms

Filtered
58 candidates to 43 candidates (74.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New54458
Fresh000
Picked101
Done000
Total55459

Merged error: 0.0b

Counts
59 → 4

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

series45.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0201222
1825201
25001198

prune68.0ms

Filtered
46 candidates to 29 candidates (63.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New46046
Fresh033
Picked011
Done000
Total46450

Merged error: 0.0b

Counts
50 → 4

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite218.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:
5.0ms
(/ (exp x) x)
211.0ms
(- (/ (exp x) x) (/ 1.0 x))

series80.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(/ (exp x) x)
47.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

prune87.0ms

Filtered
56 candidates to 44 candidates (78.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New55156
Fresh022
Picked101
Done011
Total56460

Merged error: 0.0b

Counts
60 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (sqrt (exp x)) (sqrt 1.0))
0.0b
(/ x (- (sqrt (exp x)) (sqrt 1.0)))
0.0b
(/ (+ (sqrt (exp x)) (sqrt 1.0)) (/ x (- (sqrt (exp x)) (sqrt 1.0))))
3.9b
(- (sqrt (exp x)) (sqrt 1.0))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
362×*-un-lft-identity
354×times-frac
314×add-sqr-sqrt
208×sqrt-prod
130×add-cube-cbrt
92×difference-of-squares
70×distribute-lft-out
46×distribute-lft-out--
42×associate-/r*
15×associate-/r/
11×add-exp-log add-cbrt-cube
flip3-- flip-- div-inv associate-/l* add-log-exp
pow1 cbrt-undiv div-exp
frac-2neg flip3-+ clear-num flip-+ associate-/l/
+-commutative sub-neg diff-log sum-log
Counts
4 → 304
Calls
4 calls:
6.0ms
(+ (sqrt (exp x)) (sqrt 1.0))
12.0ms
(/ x (- (sqrt (exp x)) (sqrt 1.0)))
20.0ms
(/ (+ (sqrt (exp x)) (sqrt 1.0)) (/ x (- (sqrt (exp x)) (sqrt 1.0))))
7.0ms
(- (sqrt (exp x)) (sqrt 1.0))

series354.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (sqrt (exp x)) (sqrt 1.0))
127.0ms
(/ x (- (sqrt (exp x)) (sqrt 1.0)))
155.0ms
(/ (+ (sqrt (exp x)) (sqrt 1.0)) (/ x (- (sqrt (exp x)) (sqrt 1.0))))
39.0ms
(- (sqrt (exp x)) (sqrt 1.0))

simplify112.0ms

Algorithm
egg-herbie
Counts
316 → 316
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06975216
134994713
250014672

prune367.0ms

Filtered
316 candidates to 140 candidates (44.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3151316
Fresh022
Picked101
Done011
Total3164320

Merged error: 0.0b

Counts
320 → 4

regimes45.0ms

Accuracy

98.9% (0.2b remaining)

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

bsearch37.0ms

Steps
ItersRangePoint
10
-0.0032567836712153585
-2.1972848558482514e-21
-0.00017726507138791014

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03022
13022

end0.0ms

sample998.0ms

Algorithm
intervals
Results
426.0ms2243×body1280valid
208.0ms1666×body640valid
129.0ms5432×body80valid
69.0ms843×body320valid
23.0ms441×body160valid

Profiling

Loading profile data...