Details

Time bar (total: 3.9s)

sample77.0ms

Algorithm
intervals
Results
53.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
51005
61445
72965
813195
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: 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)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
add-sqr-sqrt frac-add
flip3-- flip--
pow1 add-exp-log neg-sub0 exp-neg add-cube-cbrt sub-neg associate-+l+ exp-diff diff-log sum-log add-cbrt-cube distribute-lft-out distribute-lft-out--
+-commutative associate-+l- flip3-+ flip-+ difference-of-squares
Counts
2 → 35
Calls
2 calls:
4.0ms
(- (exp x) 2.0)
8.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series78.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0208282
1700269
23389260
35001260

prune82.0ms

Filtered
41 candidates to 29 candidates (70.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New37441
Fresh000
Picked101
Done000
Total38442

Merged error: 0.0b

Counts
42 → 4

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
0.1b
(* 1/360 (pow x 6))
0.1b
(* 1/12 (pow x 4))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity
19×add-sqr-sqrt
14×associate-*r*
13×add-exp-log
10×associate-*l*
add-cube-cbrt distribute-lft-out
unpow-prod-down add-log-exp
pow1 add-cbrt-cube
prod-exp unswap-sqr
sqr-pow
sum-log
+-commutative pow-to-exp associate-+r+ pow-prod-down pow-exp *-commutative cbrt-unprod
flip3-+ flip-+
Counts
3 → 71
Calls
3 calls:
31.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
7.0ms
(* 1/360 (pow x 6))
7.0ms
(* 1/12 (pow x 4))

series148.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
48.0ms
(* 1/360 (pow x 6))
41.0ms
(* 1/12 (pow x 4))

simplify42.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0282403
11220376
25002366

prune141.0ms

Filtered
80 candidates to 46 candidates (57.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New79180
Fresh033
Picked011
Done000
Total79584

Merged error: 0.0b

Counts
84 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) 2.0)
0.0b
(* (exp x) (- (exp x) 2.0))
0.0b
(* (+ (exp x) 2.0) (exp x))
5.2b
(+ (* (exp x) (- (exp x) 2.0)) 1)

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
14×add-sqr-sqrt
10×add-exp-log
pow1 add-cube-cbrt associate-*r* associate-*l* add-cbrt-cube add-log-exp
distribute-rgt-in sub-neg associate-+l+ distribute-lft-in prod-exp distribute-lft-out
flip3-+ flip-+
+-commutative associate-*r/ pow-prod-down associate-*l/ sum-log *-commutative cbrt-unprod unswap-sqr
flip3-- flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 78
Calls
4 calls:
4.0ms
(+ (exp x) 2.0)
9.0ms
(* (exp x) (- (exp x) 2.0))
8.0ms
(* (+ (exp x) 2.0) (exp x))
16.0ms
(+ (* (exp x) (- (exp x) 2.0)) 1)

series133.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (exp x) 2.0)
36.0ms
(* (exp x) (- (exp x) 2.0))
24.0ms
(* (+ (exp x) 2.0) (exp x))
65.0ms
(+ (* (exp x) (- (exp x) 2.0)) 1)

simplify43.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0317510
11441462
25001462

prune141.0ms

Filtered
90 candidates to 59 candidates (65.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New90090
Fresh033
Picked011
Done011
Total90595

Merged error: 0.0b

Counts
95 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
add-sqr-sqrt
diff-log distribute-lft-out--
sub-neg
pow1 add-exp-log add-cube-cbrt flip3-- add-cbrt-cube flip-- associate--r+ difference-of-squares
associate--r-
Counts
2 → 33
Calls
2 calls:
4.0ms
(- 2.0 (exp (- x)))
8.0ms
(- (exp x) (- 2.0 (exp (- x))))

series75.0ms

Counts
2 → 6
Calls
2 calls:
14.0ms
(- 2.0 (exp (- x)))
61.0ms
(- (exp x) (- 2.0 (exp (- x))))

simplify50.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0175251
1493240
21824237
35001237

prune59.0ms

Filtered
39 candidates to 27 candidates (69.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New39039
Fresh022
Picked011
Done022
Total39544

Merged error: 0.0b

Counts
44 → 5

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
0177
1177

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.7s5650×body1280valid
192.0ms1206×body640valid
180.0ms7902×body80valid
63.0ms654×body320valid
23.0ms321×body160valid