Details

Time bar (total: 2.5s)

sample46.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 24.780273%

Guaranteed chance to sample good point: 99.991886%

Results
17.0ms83×body1280valid
7.0ms51×body640valid
2.0ms83×body80valid
2.0ms23×body320valid
1.0ms16×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: 41.6b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

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

series6.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0222329
1625311
22717309
35001309

prune70.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.0b

Counts
59 → 2

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

series7.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0201222
1825201
25001198

prune56.0ms

Filtered
29 candidates to 46 candidates (-58.6%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New46046
Fresh011
Picked011
Done000
Total46248

Merged error: 0.0b

Counts
48 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0)) x)
0.0b
(/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0))
0.0b
(* (exp x) (exp x))
3.6b
(- (* (exp x) (exp x)) (* 1.0 1.0))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
146×times-frac
125×*-un-lft-identity
85×add-sqr-sqrt
83×add-cube-cbrt
26×associate-/l*
22×difference-of-squares
21×distribute-lft-out
18×exp-prod
13×add-cbrt-cube
11×pow1 add-exp-log
10×associate-/r/
associate-/r*
div-inv add-log-exp
flip3-+ flip-+
cbrt-undiv div-exp pow-prod-down pow-sqr pow-prod-up
div-sub swap-sqr associate-*r* associate-*l* associate-/l/
flip3-- frac-2neg clear-num flip--
pow2 sub-neg pow-plus diff-log prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 195
Calls
4 calls:
14.0ms
(/ (/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0)) x)
11.0ms
(/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0))
6.0ms
(* (exp x) (exp x))
6.0ms
(- (* (exp x) (exp x)) (* 1.0 1.0))

series33.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(/ (/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0)) x)
10.0ms
(/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0))
6.0ms
(* (exp x) (exp x))
4.0ms
(- (* (exp x) (exp x)) (* 1.0 1.0))

simplify110.0ms

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
07232501
136072358
250022353

prune253.0ms

Filtered
149 candidates to 207 candidates (-38.9%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New2061207
Fresh000
Picked101
Done011
Total2072209

Merged error: 0.0b

Counts
209 → 2

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) 1.0)
0.0b
(/ (/ (- (pow (exp 2) x) (* 1.0 1.0)) (+ (exp x) 1.0)) x)
0.0b
(/ (- (pow (exp 2) x) (* 1.0 1.0)) (+ (exp x) 1.0))
3.6b
(- (pow (exp 2) x) (* 1.0 1.0))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
242×times-frac
196×*-un-lft-identity
144×add-sqr-sqrt
100×add-cube-cbrt
88×difference-of-squares
44×unpow-prod-down
41×associate-/l*
37×distribute-lft-out
22×exp-lft-sqr sqr-pow
11×add-exp-log add-cbrt-cube
10×associate-/r/
add-log-exp
associate-/r*
flip3-+ flip-+ div-inv
pow1 cbrt-undiv div-exp
div-sub associate-/l/
flip3-- frac-2neg clear-num flip--
+-commutative sub-neg diff-log sum-log
Counts
4 → 239
Calls
4 calls:
4.0ms
(+ (exp x) 1.0)
14.0ms
(/ (/ (- (pow (exp 2) x) (* 1.0 1.0)) (+ (exp x) 1.0)) x)
9.0ms
(/ (- (pow (exp 2) x) (* 1.0 1.0)) (+ (exp x) 1.0))
5.0ms
(- (pow (exp 2) x) (* 1.0 1.0))

series33.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(+ (exp x) 1.0)
16.0ms
(/ (/ (- (pow (exp 2) x) (* 1.0 1.0)) (+ (exp x) 1.0)) x)
10.0ms
(/ (- (pow (exp 2) x) (* 1.0 1.0)) (+ (exp x) 1.0))
5.0ms
(- (pow (exp 2) x) (* 1.0 1.0))

simplify93.0ms

Algorithm
egg-herbie
Counts
251 → 251
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
08923309
133303163
250013161

prune492.0ms

Filtered
176 candidates to 251 candidates (-42.6%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New2501251
Fresh000
Picked101
Done011
Total2512253

Merged error: 0.0b

Counts
253 → 2

regimes29.0ms

Accuracy

99.5% (0.1b remaining)

Error of 0.3b against oracle of 0.2b and baseline of 21.1b

bsearch22.0ms

Steps
ItersRangePoint
8
-0.0007152340593748159
-1.742235367917608e-06
-0.0001613997835316302

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03115
13115

end0.0ms

sample1.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 24.780273%

Guaranteed chance to sample good point: 99.991886%

Results
457.0ms2322×body1280valid
218.0ms1661×body640valid
71.0ms2806×body80valid
67.0ms795×body320valid
23.0ms416×body160valid

Profiling

Loading profile data...