Details

Time bar (total: 4.1s)

sample80.0ms

Algorithm
intervals
Results
56.0ms199×body1280valid
5.0ms259×body80valid
4.0ms25×body640valid
2.0ms20×body320valid
0.0msbody160valid

simplify229.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0145
1265
2415
3555
4675
51045
61615
73445
814545
950015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
3.8b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
20×add-sqr-sqrt
18×prod-diff
16×add-cube-cbrt
11×associate-+l+
add-log-exp
fma-def
frac-add
flip3-- fma-neg flip-- distribute-lft-out--
pow1 add-exp-log neg-sub0 exp-neg expm1-log1p-u sub-neg exp-diff diff-log sum-log add-cbrt-cube log1p-expm1-u distribute-lft-out difference-of-squares
+-commutative associate-+l- flip3-+ flip-+
Counts
2 → 65
Calls
2 calls:
11.0ms
(- (exp x) 2.0)
55.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series67.0ms

Counts
2 → 6
Calls
2 calls:
11.0ms
(- (exp x) 2.0)
56.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify35.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0282506
11008381
25001367

prune158.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 1 expressions with local error:

0.1b
(* 1/12 (pow x 4))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
associate-*r*
add-exp-log
add-cube-cbrt unpow-prod-down *-un-lft-identity
associate-*l* prod-exp add-cbrt-cube unswap-sqr
sqr-pow
pow1 expm1-log1p-u pow-to-exp pow-exp *-commutative cbrt-unprod log1p-expm1-u add-log-exp
Counts
1 → 27
Calls
1 calls:
12.0ms
(* 1/12 (pow x 4))

series39.0ms

Counts
1 → 3
Calls
1 calls:
39.0ms
(* 1/12 (pow x 4))

simplify74.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0102103
140698
2184195
3500195

prune69.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ (exp x) 2.0) (exp x))
0.0b
(+ (exp x) 2.0)
0.0b
(+ (exp x) 2.0)
3.0b
(fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
10×add-sqr-sqrt
add-cube-cbrt add-log-exp
pow1 fma-def add-cbrt-cube
add-exp-log
expm1-log1p-u associate-*l* log1p-expm1-u
flip3-+ associate-*r* flip-+ distribute-lft-out
+-commutative associate-*l/ sum-log
pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
4 → 67
Calls
4 calls:
34.0ms
(* (+ (exp x) 2.0) (exp x))
9.0ms
(+ (exp x) 2.0)
11.0ms
(+ (exp x) 2.0)
0.0ms
(fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0))

series125.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (+ (exp x) 2.0) (exp x))
7.0ms
(+ (exp x) 2.0)
7.0ms
(+ (exp x) 2.0)
87.0ms
(fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0))

simplify93.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0214411
1742362
23681362
35001359

prune226.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) 2.0)
0.0b
(* (+ (exp x) 2.0) (exp x))
0.0b
(- (exp (* 2 x)) 3.0)
2.7b
(fma (exp x) (- (exp (* 2 x)) 3.0) 2.0)

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
18×add-sqr-sqrt
14×add-cube-cbrt
prod-diff
add-log-exp
pow1 add-cbrt-cube
add-exp-log
expm1-log1p-u associate-*l* log1p-expm1-u
fma-def fma-neg associate-*r*
flip3-+ associate-*l/ flip-+ distribute-lft-out
+-commutative sub-neg flip3-- diff-log pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod fma-udef distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 78
Calls
4 calls:
9.0ms
(+ (exp x) 2.0)
36.0ms
(* (+ (exp x) 2.0) (exp x))
14.0ms
(- (exp (* 2 x)) 3.0)
0.0ms
(fma (exp x) (- (exp (* 2 x)) 3.0) 2.0)

series95.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (exp x) 2.0)
21.0ms
(* (+ (exp x) 2.0) (exp x))
13.0ms
(- (exp (* 2 x)) 3.0)
53.0ms
(fma (exp x) (- (exp (* 2 x)) 3.0) 2.0)

simplify41.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0328558
11139440
25002435

prune218.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes15.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.6s5719×body1280valid
173.0ms7842×body80valid
171.0ms1169×body640valid
55.0ms607×body320valid
19.0ms340×body160valid