Details

Time bar (total: 7.4s)

sample73.0ms

Algorithm
intervals
Results
50.0ms180×body1280valid
5.0ms245×body80valid
5.0ms33×body640valid
2.0ms24×body320valid
1.0ms13×body160valid

simplify218.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1265
2415
3555
4675
51045
61615
73445
814525
950025

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

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.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:
5.0ms
(- (exp x) 2.0)
9.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series72.0ms

Counts
2 → 6
Calls
2 calls:
13.0ms
(- (exp x) 2.0)
59.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify35.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0279506
1980381
25002367

prune137.0ms

Filtered
71 candidates to 51 candidates (71.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New67471
Fresh000
Picked101
Done000
Total68472

Merged error: 0.0b

Counts
72 → 4

localize9.0ms

Local error

Found 1 expressions with local error:

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

rewrite7.0ms

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

series39.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0102105
1406100
2182497
3500297

prune62.0ms

Filtered
31 candidates to 19 candidates (61.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New31031
Fresh033
Picked011
Done000
Total31435

Merged error: 0.0b

Counts
35 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) 2.0)
0.0b
(/ (fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0)) (* (+ (exp x) 2.0) (exp x)))
0.0b
(* (+ (exp x) 2.0) (exp x))
5.5b
(fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity
43×add-sqr-sqrt
39×times-frac
33×add-cube-cbrt
20×associate-*l*
15×associate-*r*
14×add-exp-log
13×associate-/r*
11×add-cbrt-cube
pow1 distribute-lft-out add-log-exp
*-commutative unswap-sqr
expm1-log1p-u associate-*l/ prod-exp log1p-expm1-u
fma-def flip3-+ div-exp flip-+ associate-/l*
cbrt-undiv associate-/r/ cbrt-unprod
+-commutative frac-2neg pow-prod-down clear-num sum-log fma-udef div-inv
Counts
4 → 125
Calls
4 calls:
4.0ms
(+ (exp x) 2.0)
12.0ms
(/ (fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0)) (* (+ (exp x) 2.0) (exp x)))
8.0ms
(* (+ (exp x) 2.0) (exp x))
1.0ms
(fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0))

series345.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (exp x) 2.0)
220.0ms
(/ (fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0)) (* (+ (exp x) 2.0) (exp x)))
23.0ms
(* (+ (exp x) 2.0) (exp x))
94.0ms
(fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0))

simplify62.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04441994
116971870
250031870

prune298.0ms

Filtered
137 candidates to 104 candidates (75.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1361137
Fresh112
Picked101
Done011
Total1383141

Merged error: 0.0b

Counts
141 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0)) (cbrt (exp x)))
0.0b
(* (/ 1 (* (+ (exp x) 2.0) (* (cbrt (exp x)) (cbrt (exp x))))) (/ (fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0)) (cbrt (exp x))))
0.0b
(* (cbrt (exp x)) (cbrt (exp x)))
5.5b
(fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0))

rewrite218.0ms

Algorithm
rewrite-expression-head
Rules
1195×add-sqr-sqrt
903×associate-/r*
612×frac-times
602×cbrt-prod
556×associate-*r*
494×*-un-lft-identity
431×add-cube-cbrt
417×unswap-sqr
307×associate-*l*
273×times-frac
199×associate-/l*
146×swap-sqr
93×add-cbrt-cube
82×add-exp-log
67×clear-num
66×frac-2neg
56×*-commutative
53×associate-*l/
52×cbrt-unprod
39×prod-exp
34×cbrt-undiv
23×div-exp
16×distribute-lft-out
13×pow1
12×associate-*r/
rec-exp pow1/3 1-exp
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down div-inv
associate-/r/ pow-sqr un-div-inv pow-prod-up
pow2 flip3-+ pow-plus flip-+ fma-udef
Counts
4 → 1052
Calls
4 calls:
4.0ms
(/ (fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0)) (cbrt (exp x)))
108.0ms
(* (/ 1 (* (+ (exp x) 2.0) (* (cbrt (exp x)) (cbrt (exp x))))) (/ (fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0)) (cbrt (exp x))))
7.0ms
(* (cbrt (exp x)) (cbrt (exp x)))
1.0ms
(fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0))

series638.0ms

Counts
4 → 12
Calls
4 calls:
222.0ms
(/ (fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0)) (cbrt (exp x)))
220.0ms
(* (/ 1 (* (+ (exp x) 2.0) (* (cbrt (exp x)) (cbrt (exp x))))) (/ (fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0)) (cbrt (exp x))))
95.0ms
(* (cbrt (exp x)) (cbrt (exp x)))
101.0ms
(fma (exp x) (fma (- 2.0) 2.0 (exp (+ x x))) (+ (exp x) 2.0))

simplify294.0ms

Algorithm
egg-herbie
Counts
1064 → 1064
Iterations

Useful iterations: 1 (78.0ms)

IterNodesCost
0407129103
1500128079

prune2.4s

Filtered
1064 candidates to 616 candidates (57.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New106401064
Fresh011
Picked011
Done011
Total106431067

Merged error: 0.0b

Counts
1067 → 3

regimes20.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.7s5650×body1280valid
191.0ms1206×body640valid
167.0ms7902×body80valid
61.0ms654×body320valid
19.0ms321×body160valid