Details

Time bar (total: 3.7s)

sample975.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 24.328959%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
12.0ms69×body1280valid
6.0ms52×body640valid
2.0ms101×body80valid
2.0ms26×body320valid
0.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
184
284

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.7b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (exp x) (- (exp x) 1.0))
3.0b
(- (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-/r* distribute-lft-out-- difference-of-squares
add-cbrt-cube add-log-exp
add-exp-log associate-/l*
pow1 flip3-- associate-/r/ flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 51
Calls
2 calls:
6.0ms
(/ (exp x) (- (exp x) 1.0))
4.0ms
(- (exp x) 1.0)

series8.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0180378
1542357
22174354
35003354

prune84.0ms

Filtered
41 candidates to 57 candidates (-39.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New54357
Fresh000
Picked101
Done000
Total55358

Merged error: 0.0b

Counts
58 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
12×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/ associate-/r/ *-commutative cbrt-unprod 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:
9.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
4.0ms
(+ (* x 1/6) 1/2)
7.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
4.0ms
(* x 1/6)

series17.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0422672
11952620
25001618

prune135.0ms

Filtered
71 candidates to 101 candidates (-42.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1010101
Fresh022
Picked011
Done000
Total1013104

Merged error: 0.0b

Counts
104 → 3

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (sqrt (exp x)) (/ (sqrt (exp x)) (- (exp x) 1.0)))
0.0b
(/ (sqrt (exp x)) (- (exp x) 1.0))
3.0b
(- (exp x) 1.0)

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
85×add-sqr-sqrt
69×*-un-lft-identity
64×times-frac
41×add-cube-cbrt sqrt-prod
36×associate-*r*
14×distribute-lft-out-- difference-of-squares
10×add-exp-log add-cbrt-cube
associate-*l* associate-/l* unswap-sqr
pow1 associate-/r* add-log-exp
associate-/r/
flip3-- flip--
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv
sub-neg frac-2neg diff-log associate-*r/ pow-prod-down clear-num *-commutative
Counts
3 → 131
Calls
3 calls:
17.0ms
(* (sqrt (exp x)) (/ (sqrt (exp x)) (- (exp x) 1.0)))
8.0ms
(/ (sqrt (exp x)) (- (exp x) 1.0))
4.0ms
(- (exp x) 1.0)

series21.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(* (sqrt (exp x)) (/ (sqrt (exp x)) (- (exp x) 1.0)))
12.0ms
(/ (sqrt (exp x)) (- (exp x) 1.0))
2.0ms
(- (exp x) 1.0)

simplify51.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03581290
115491167
250011121

prune117.0ms

Filtered
84 candidates to 140 candidates (-66.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1391140
Fresh101
Picked011
Done011
Total1403143

Merged error: 0b

Counts
143 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 7/5760 (pow x 3)) (/ 1 x))
0.1b
(* 7/5760 (pow x 3))
0.3b
(* 1/24 x)
14.8b
(* (sqrt (exp x)) (- (+ (* 7/5760 (pow x 3)) (/ 1 x)) (* 1/24 x)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
18×associate-*r*
13×add-exp-log add-cube-cbrt *-un-lft-identity
12×associate-*l*
10×add-cbrt-cube
pow1
unswap-sqr
add-log-exp
prod-exp
unpow-prod-down cube-prod sqrt-prod
distribute-rgt-in distribute-lft-in *-commutative cbrt-unprod
sub-neg associate-*r/ pow-prod-down associate--l+ sqr-pow
+-commutative cube-mult pow-to-exp flip3-- flip3-+ unpow3 pow-exp sum-log flip-- flip-+
Counts
4 → 90
Calls
4 calls:
6.0ms
(+ (* 7/5760 (pow x 3)) (/ 1 x))
6.0ms
(* 7/5760 (pow x 3))
3.0ms
(* 1/24 x)
13.0ms
(* (sqrt (exp x)) (- (+ (* 7/5760 (pow x 3)) (/ 1 x)) (* 1/24 x)))

series24.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (* 7/5760 (pow x 3)) (/ 1 x))
4.0ms
(* 7/5760 (pow x 3))
2.0ms
(* 1/24 x)
7.0ms
(* (sqrt (exp x)) (- (+ (* 7/5760 (pow x 3)) (/ 1 x)) (* 1/24 x)))

simplify54.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0367641
11664585
25001584

prune121.0ms

Filtered
63 candidates to 102 candidates (-61.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1020102
Fresh000
Picked011
Done022
Total1023105

Merged error: 0b

Counts
105 → 3

regimes60.0ms

Accuracy

0% (0.6b remaining)

Error of 1.1b against oracle of 0.5b and baseline of 1.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample1.8s

Algorithm
intervals
sampling

Space saved by range analysis: 24.328959%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
395.0ms2237×body1280valid
190.0ms1710×body640valid
66.0ms2818×body80valid
65.0ms842×body320valid
20.0ms393×body160valid
0.0msbody1280invalid

Profiling

Loading profile data...