Details

Time bar (total: 3.8s)

sample75.0ms

Algorithm
intervals
Results
33.0ms105×body1280valid
16.0ms85×body640valid
9.0ms303×body80valid
4.0ms31×body320valid
2.0ms25×body160valid

simplify235.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

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

Counts
2 → 1

localize9.0ms

Local error

Found 1 expressions with local error:

5.9b
(- (exp x) (exp (- x)))

rewrite6.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:
6.0ms
(- (exp x) (exp (- x)))

series35.0ms

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

simplify112.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
0158354
1416228
22421226
35002203

prune65.0ms

Filtered
31 candidates to 18 candidates (58.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New27431
Fresh000
Picked101
Done000
Total28432

Merged error: 0b

Counts
32 → 4

localize10.0ms

Local error

Found 1 expressions with local error:

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
1 → 10
Calls
1 calls:
1.0ms
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))

series56.0ms

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

simplify30.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04989
115078
286278
3500178

prune37.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New13013
Fresh033
Picked011
Done000
Total13417

Merged error: 0b

Counts
17 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.0b
(/ (fma (- 1) (pow (exp x) -2) (exp (+ x x))) (+ (exp x) (exp (- x))))
0.0b
(pow (exp x) -2)
5.7b
(fma (- 1) (pow (exp x) -2) (exp (+ x x)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
17×add-sqr-sqrt add-cube-cbrt
12×times-frac
add-exp-log add-cbrt-cube add-log-exp
pow1 distribute-lft-out
expm1-log1p-u pow-pow associate-/r* log1p-expm1-u
unpow-prod-down pow-unpow exp-prod fma-def associate-/l*
flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative pow-to-exp frac-2neg div-exp pow-exp clear-num sum-log fma-udef div-inv sqr-pow
Counts
4 → 84
Calls
4 calls:
5.0ms
(+ (exp x) (exp (- x)))
7.0ms
(/ (fma (- 1) (pow (exp x) -2) (exp (+ x x))) (+ (exp x) (exp (- x))))
3.0ms
(pow (exp x) -2)
1.0ms
(fma (- 1) (pow (exp x) -2) (exp (+ x x)))

series220.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (exp x) (exp (- x)))
107.0ms
(/ (fma (- 1) (pow (exp x) -2) (exp (+ x x))) (+ (exp x) (exp (- x))))
17.0ms
(pow (exp x) -2)
70.0ms
(fma (- 1) (pow (exp x) -2) (exp (+ x x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0328934
11277846
25002813

prune235.0ms

Filtered
96 candidates to 74 candidates (77.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New96096
Fresh022
Picked011
Done011
Total964100

Merged error: 0b

Counts
100 → 4

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite6.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:
2.0ms
(sqrt (exp x))
2.0ms
(sqrt (exp x))
1.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))
82.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (- (exp (- x))))

simplify90.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (86.0ms)

IterNodesCost
0103240
1220214
2658213
32560211
45002209

prune116.0ms

Filtered
55 candidates to 43 candidates (78.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New55055
Fresh011
Picked011
Done022
Total55459

Merged error: 0b

Counts
59 → 4

regimes37.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0146
1146

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.1s3396×body1280valid
483.0ms2440×body640valid
238.0ms8043×body80valid
149.0ms1220×body320valid
54.0ms666×body160valid

Profiling

Loading profile data...