Details

Time bar (total: 4.3s)

sample98.0ms

Algorithm
intervals
Results
45.0ms107×body1280valid
19.0ms77×body640valid
14.0ms240×body80valid
5.0ms30×body320valid
4.0ms33×body160valid

simplify220.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1235
2315
3365
4415
5655
61085
72675
813425
950015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 57.5b

localize6.0ms

Local error

Found 1 expressions with local error:

7.6b
(- (exp x) (exp (- x)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity
prod-diff
add-cube-cbrt
fma-neg add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
Counts
1 → 28
Calls
1 calls:
7.0ms
(- (exp x) (exp (- x)))

series35.0ms

Counts
1 → 3
Calls
1 calls:
35.0ms
(- (exp x) (exp (- x)))

simplify115.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
0158354
1416228
22421226
35002203

prune61.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 1/60 (pow x 5) (* 2 x))
0.0b
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma 1/60 (pow x 5) (* 2 x))
0.0ms
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))

series174.0ms

Counts
2 → 6
Calls
2 calls:
117.0ms
(fma 1/60 (pow x 5) (* 2 x))
56.0ms
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))

simplify34.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
060148
1184130
21006130
35001130

prune73.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (exp x))
0.0b
(sqrt (exp x))
7.7b
(fma (sqrt (exp x)) (sqrt (exp x)) (- (exp (- x))))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
sqrt-pow1
add-cube-cbrt *-un-lft-identity
exp-prod sqrt-prod
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square pow1/2
fma-udef
Counts
3 → 46
Calls
3 calls:
1.0ms
(sqrt (exp x))
1.0ms
(sqrt (exp x))
0.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (- (exp (- x))))

series104.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(sqrt (exp x))
11.0ms
(sqrt (exp x))
81.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (- (exp (- x))))

simplify86.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (83.0ms)

IterNodesCost
0103240
1220214
2658213
32560211
45002209

prune125.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 1 expressions with local error:

7.6b
(+ (exp x) (- (exp (- x))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-log-exp
fma-def
add-sqr-sqrt add-cube-cbrt sum-log distribute-lft-out
pow1 add-exp-log +-commutative neg-sub0 expm1-log1p-u associate-+r- distribute-rgt-neg-in flip3-+ unsub-neg neg-log add-cbrt-cube flip-+ log1p-expm1-u
Counts
1 → 22
Calls
1 calls:
9.0ms
(+ (exp x) (- (exp (- x))))

series38.0ms

Counts
1 → 3
Calls
1 calls:
38.0ms
(+ (exp x) (- (exp (- x))))

simplify58.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0131141
1476120
22055113
35001113

prune43.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes14.0ms

Accuracy

45.5% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.7b

bsearch33.0ms

Steps
ItersRangePoint
8
0.00035723662727133143
3.9715340067303715
0.015493582076572357

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02412
12412

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.3s3388×body1280valid
641.0ms2466×body640valid
456.0ms7855×body80valid
217.0ms1246×body320valid
78.0ms633×body160valid