Details

Time bar (total: 5.0s)

sample82.0ms

Algorithm
intervals
Results
56.0ms182×body1280valid
8.0ms46×body640valid
6.0ms237×body80valid
2.0ms20×body320valid
0.0msbody160valid

simplify140.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: 27.6b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

series69.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0209282
1694269
23196260
35001260

prune80.0ms

Filtered
41 candidates to 29 candidates (70.7%)
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
(+ (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.1b
(* 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))

series265.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
130.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
49.0ms
(* 1/360 (pow x 6))
35.0ms
(* 1/12 (pow x 4))

simplify56.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0329464
11456438
25001422

prune154.0ms

Filtered
87 candidates to 55 candidates (63.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New87087
Fresh011
Picked011
Done000
Total87289

Merged error: 0.0b

Counts
89 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* (+ (exp x) 2.0) (+ 1 (* (exp x) (- (exp x) 2.0)))) (* (+ (exp x) 2.0) (exp x)))
0.0b
(* (exp x) (- (exp x) 2.0))
0.0b
(* (+ (exp x) 2.0) (exp x))
1.5b
(+ 1 (* (exp x) (- (exp x) 2.0)))

rewrite36.0ms

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

series212.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ (* (+ (exp x) 2.0) (+ 1 (* (exp x) (- (exp x) 2.0)))) (* (+ (exp x) 2.0) (exp x)))
38.0ms
(* (exp x) (- (exp x) 2.0))
21.0ms
(* (+ (exp x) 2.0) (exp x))
58.0ms
(+ 1 (* (exp x) (- (exp x) 2.0)))

simplify99.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
05211006
13366764
25002753

prune171.0ms

Filtered
105 candidates to 73 candidates (69.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1041105
Fresh000
Picked011
Done011
Total1043107

Merged error: 0.0b

Counts
107 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

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

series596.0ms

Counts
4 → 12
Calls
4 calls:
356.0ms
(* (+ (exp x) 2.0) (- (* 1 1) (* (* (exp x) (- (exp x) 2.0)) (* (exp x) (- (exp x) 2.0)))))
80.0ms
(* (* (+ (exp x) 2.0) (exp x)) (- 1 (* (exp x) (- (exp x) 2.0))))
21.0ms
(* (+ (exp x) 2.0) (exp x))
137.0ms
(- (* 1 1) (* (* (exp x) (- (exp x) 2.0)) (* (exp x) (- (exp x) 2.0))))

simplify95.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
05761627
134621410
250021401

prune231.0ms

Filtered
116 candidates to 82 candidates (70.7%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1151116
Fresh000
Picked101
Done112
Total1172119

Merged error: 0.0b

Counts
119 → 2

regimes12.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.5s

Algorithm
intervals
Results
1.8s5635×body1280valid
220.0ms1272×body640valid
217.0ms8071×body80valid
68.0ms633×body320valid
20.0ms292×body160valid

Profiling

Loading profile data...