Details

Time bar (total: 4.6s)

sample76.0ms

Algorithm
intervals
Results
52.0ms178×body1280valid
6.0ms38×body640valid
6.0ms245×body80valid
2.0ms27×body320valid
0.0msbody160valid

simplify215.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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.7b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
3.8b
(+ (- (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)))

series73.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0208282
1700269
23389260
35001260

prune74.0ms

Filtered
41 candidates to 29 candidates (29.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New39241
Fresh000
Picked101
Done000
Total40242

Merged error: 0.0b

Counts
42 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
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))

rewrite67.0ms

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

series275.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
57.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
50.0ms
(* 1/360 (pow x 6))
37.0ms
(* 1/12 (pow x 4))

simplify50.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0323520
11401495
25001482

prune162.0ms

Filtered
98 candidates to 56 candidates (42.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New97198
Fresh011
Picked011
Done000
Total973100

Merged error: 0.0b

Counts
100 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

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

series218.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* (exp x) (- (exp x) 2.0))
94.0ms
(* (+ (exp x) 2.0) (+ (* (exp x) (- (exp x) 2.0)) 1))
23.0ms
(* (+ (exp x) 2.0) (exp x))
60.0ms
(+ (* (exp x) (- (exp x) 2.0)) 1)

simplify72.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0487989
12732895
25002894

prune172.0ms

Filtered
119 candidates to 73 candidates (38.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1181119
Fresh011
Picked101
Done011
Total1193122

Merged error: 0.0b

Counts
122 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ (exp x) 2.0) (exp x))
0.0b
(* (- (exp x) 2.0) (- (exp x) 2.0))
0.0b
(pow (exp x) 2)
3.0b
(- (* (pow (exp x) 2) (* (- (exp x) 2.0) (- (exp x) 2.0))) 1)

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
139×add-sqr-sqrt
74×unswap-sqr
54×*-un-lft-identity
46×difference-of-squares
21×difference-of-sqr-1
19×swap-sqr
18×unpow-prod-down
16×unpow2 sqr-pow
14×pow1 *-commutative
13×add-cube-cbrt
10×add-exp-log distribute-rgt-in distribute-lft-in associate-*l*
associate-*r* associate--l+ add-cbrt-cube distribute-lft-out--
sub-neg flip3-- flip--
add-log-exp
frac-times pow-pow associate-*l/
pow-unpow exp-prod prod-exp
associate-*r/ pow-prod-down pow-exp cbrt-unprod
pow2 pow-to-exp flip3-+ pow-plus diff-log pow-sqr pow-prod-up flip-+ distribute-lft-out
Counts
4 → 174
Calls
4 calls:
7.0ms
(* (+ (exp x) 2.0) (exp x))
11.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
3.0ms
(pow (exp x) 2)
41.0ms
(- (* (pow (exp x) 2) (* (- (exp x) 2.0) (- (exp x) 2.0))) 1)

series221.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (+ (exp x) 2.0) (exp x))
35.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
18.0ms
(pow (exp x) 2)
144.0ms
(- (* (pow (exp x) 2) (* (- (exp x) 2.0) (- (exp x) 2.0))) 1)

simplify87.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05841747
124171462
250011451

prune242.0ms

Filtered
186 candidates to 80 candidates (57.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1851186
Fresh011
Picked011
Done011
Total1854189

Merged error: 0.0b

Counts
189 → 4

regimes24.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.6s5570×body1280valid
202.0ms1274×body640valid
181.0ms7959×body80valid
62.0ms643×body320valid
21.0ms353×body160valid