Details

Time bar (total: 4.9s)

sample76.0ms

Algorithm
intervals
Results
51.0ms181×body1280valid
7.0ms42×body640valid
6.0ms289×body80valid
2.0ms18×body320valid
0.0msbody160valid

simplify220.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1265
2415
3555
4675
51005
61445
72965
813215
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.5b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
3.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)))

series73.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0211282
1715269
23477260
35001260

prune91.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

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))

rewrite24.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))

series284.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
136.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
49.0ms
(* 1/360 (pow x 6))
41.0ms
(* 1/12 (pow x 4))

simplify49.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0327476
11399444
25001426

prune160.0ms

Filtered
87 candidates to 55 candidates (63.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New87087
Fresh033
Picked011
Done000
Total87491

Merged error: 0.0b

Counts
91 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (exp x) 2.0)
0.0b
(* (sqrt (+ (- (exp x) 2.0) (exp (- x)))) (sqrt (+ (- (exp x) 2.0) (exp (- x)))))
3.0b
(+ (- (exp x) 2.0) (exp (- x)))
3.0b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
84×sqrt-div
68×*-un-lft-identity
64×frac-add
38×sqrt-prod
36×frac-times
33×flip3-- flip--
32×neg-sub0 exp-neg exp-diff
26×add-sqr-sqrt
20×distribute-lft-out
19×pow1
16×flip3-+ swap-sqr flip-+ add-log-exp
12×add-cube-cbrt
11×distribute-lft-out--
sqrt-pow1 pow1/2 associate-*r* associate-*l*
add-exp-log associate-*r/ associate-*l/ add-cbrt-cube
pow-prod-up
associate-+l+ sum-log unswap-sqr
sub-neg diff-log pow-prod-down pow-sqr
+-commutative associate-+l-
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod difference-of-squares
Counts
4 → 165
Calls
4 calls:
4.0ms
(- (exp x) 2.0)
26.0ms
(* (sqrt (+ (- (exp x) 2.0) (exp (- x)))) (sqrt (+ (- (exp x) 2.0) (exp (- x)))))
8.0ms
(+ (- (exp x) 2.0) (exp (- x)))
8.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series190.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(- (exp x) 2.0)
62.0ms
(* (sqrt (+ (- (exp x) 2.0) (exp (- x)))) (sqrt (+ (- (exp x) 2.0) (exp (- x)))))
61.0ms
(+ (- (exp x) 2.0) (exp (- x)))
55.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify61.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03582647
112672554
250012512

prune248.0ms

Filtered
177 candidates to 77 candidates (43.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1752177
Fresh112
Picked011
Done011
Total1765181

Merged error: 0.0b

Counts
181 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (cbrt (sqrt (+ (- (exp x) 2.0) (exp (- x))))) 4)
3.0b
(+ (- (exp x) 2.0) (exp (- x)))
3.0b
(+ (- (exp x) 2.0) (exp (- x)))
3.0b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
19×add-log-exp
12×frac-add
11×unpow-prod-down
cbrt-prod add-sqr-sqrt add-cube-cbrt distribute-lft-out
neg-sub0 exp-neg associate-+l+ flip3-- exp-diff sum-log flip--
pow1 add-exp-log sqrt-prod
add-cbrt-cube distribute-lft-out--
+-commutative associate-+l- sub-neg pow-unpow flip3-+ diff-log flip-+
pow-pow
pow-to-exp pow1/3 pow-exp sqr-pow
Counts
4 → 89
Calls
4 calls:
11.0ms
(pow (cbrt (sqrt (+ (- (exp x) 2.0) (exp (- x))))) 4)
8.0ms
(+ (- (exp x) 2.0) (exp (- x)))
8.0ms
(+ (- (exp x) 2.0) (exp (- x)))
8.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series383.0ms

Counts
4 → 12
Calls
4 calls:
201.0ms
(pow (cbrt (sqrt (+ (- (exp x) 2.0) (exp (- x))))) 4)
62.0ms
(+ (- (exp x) 2.0) (exp (- x)))
60.0ms
(+ (- (exp x) 2.0) (exp (- x)))
60.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify153.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03251000
11060940
24840903
35002903

prune291.0ms

Filtered
101 candidates to 68 candidates (67.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1001101
Fresh022
Picked101
Done022
Total1015106

Merged error: 0.0b

Counts
106 → 5

regimes68.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.3s

Algorithm
intervals
Results
1.6s5573×body1280valid
204.0ms1280×body640valid
178.0ms7925×body80valid
59.0ms648×body320valid
19.0ms322×body160valid