Details

Time bar (total: 5.0s)

sample89.0ms

Algorithm
intervals
Results
57.0ms176×body1280valid
10.0ms277×body80valid
8.0ms42×body640valid
2.0ms18×body320valid
1.0ms12×body160valid

simplify142.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1265
2415
3555
4655
5965
61405
72855
816425
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: 29.5b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
5.2b
(+ (- (exp x) 2.0) (exp (neg x)))

rewrite12.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)
7.0ms
(+ (- (exp x) 2.0) (exp (neg x)))

series71.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0209282
1694269
23196260
35001260

prune87.0ms

Filtered
41 candidates to 29 candidates (70.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New38341
Fresh000
Picked101
Done000
Total39342

Merged error: 0.0b

Counts
42 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

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

series268.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
132.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
51.0ms
(* 1/360 (pow x 6))
34.0ms
(* 1/12 (pow x 4))

simplify50.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0327476
11399443
25001425

prune157.0ms

Filtered
87 candidates to 55 candidates (63.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New87087
Fresh022
Picked011
Done000
Total87390

Merged error: 0.0b

Counts
90 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

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

series209.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* (exp x) (- (exp x) 2.0))
88.0ms
(* (+ (exp x) 2.0) (+ 1 (* (exp x) (- (exp x) 2.0))))
21.0ms
(* (+ (exp x) 2.0) (exp x))
59.0ms
(+ 1 (* (exp x) (- (exp x) 2.0)))

simplify68.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0452830
12562758
25001758

prune167.0ms

Filtered
103 candidates to 72 candidates (69.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1012103
Fresh101
Picked101
Done011
Total1033106

Merged error: 0.0b

Counts
106 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- (exp x) 2.0) (- (exp x) 2.0))
0.0b
(* (+ (exp x) 2.0) (/ (- 1 (* (pow (exp x) 2) (* (- (exp x) 2.0) (- (exp x) 2.0)))) (- 1 (* (exp x) (- (exp x) 2.0)))))
0.1b
(pow (exp x) 2)
5.1b
(- 1 (* (pow (exp x) 2) (* (- (exp x) 2.0) (- (exp x) 2.0))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
34×add-sqr-sqrt
20×associate-*r*
19×add-cube-cbrt
14×pow1
11×add-exp-log add-cbrt-cube
10×distribute-rgt-in distribute-lft-in times-frac
associate-*l*
flip3-- flip-- associate--r+
sub-neg swap-sqr
frac-times distribute-lft-out-- add-log-exp
pow-pow associate-*l/ difference-of-squares
unpow-prod-down pow-unpow exp-prod associate-*r/ prod-exp cbrt-unprod unswap-sqr
flip3-+ pow-prod-down associate-/r/ *-commutative flip-+
cbrt-undiv pow2 pow-to-exp pow-plus diff-log div-exp pow-exp pow-sqr pow-prod-up div-inv distribute-lft-out unpow2 sqr-pow
Counts
4 → 125
Calls
4 calls:
10.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
12.0ms
(* (+ (exp x) 2.0) (/ (- 1 (* (pow (exp x) 2) (* (- (exp x) 2.0) (- (exp x) 2.0)))) (- 1 (* (exp x) (- (exp x) 2.0)))))
7.0ms
(pow (exp x) 2)
4.0ms
(- 1 (* (pow (exp x) 2) (* (- (exp x) 2.0) (- (exp x) 2.0))))

series453.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
267.0ms
(* (+ (exp x) 2.0) (/ (- 1 (* (pow (exp x) 2) (* (- (exp x) 2.0) (- (exp x) 2.0)))) (- 1 (* (exp x) (- (exp x) 2.0)))))
18.0ms
(pow (exp x) 2)
135.0ms
(- 1 (* (pow (exp x) 2) (* (- (exp x) 2.0) (- (exp x) 2.0))))

simplify110.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
06321619
136941378
250021363

prune286.0ms

Filtered
137 candidates to 90 candidates (65.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1361137
Fresh011
Picked011
Done011
Total1364140

Merged error: 0.0b

Counts
140 → 4

regimes20.0ms

Accuracy

0% (0.6b 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
0177
1177

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.8s5634×body1280valid
234.0ms1275×body640valid
230.0ms8046×body80valid
70.0ms617×body320valid
22.0ms299×body160valid

Profiling

Loading profile data...