Details

Time bar (total: 5.8s)

sample93.0ms

Algorithm
intervals
Results
63.0ms181×body1280valid
8.0ms270×body80valid
7.0ms36×body640valid
3.0ms27×body320valid
0.0msbody160valid

simplify218.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: 28.7b

Counts
2 → 1

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

series71.0ms

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

simplify94.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0211282
1715269
23477260
35001260

prune87.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 3 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))
0.1b
(* 1/12 (pow x 4))

rewrite20.0ms

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

series141.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
49.0ms
(* 1/360 (pow x 6))
39.0ms
(* 1/12 (pow x 4))

simplify46.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0283367
11255340
25001327

prune149.0ms

Filtered
73 candidates to 45 candidates (61.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New72173
Fresh033
Picked011
Done000
Total72577

Merged error: 0.0b

Counts
77 → 5

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (exp x) (+ (* 2.0 (+ 2.0 (exp x))) (exp (+ x x))))
0.0b
(/ (+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3)))))) (* (exp x) (+ (* 2.0 (+ 2.0 (exp x))) (exp (+ x x)))))
0.0b
(pow (exp x) 3)
3.7b
(+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity add-cbrt-cube
add-exp-log add-log-exp
pow1
pow-pow flip3-+ associate-*r/ flip-+
unpow-prod-down pow-unpow exp-prod times-frac cube-prod associate-*r* associate-*l* sum-log associate-/l*
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/
+-commutative distribute-rgt-in cube-mult pow-to-exp associate-+r+ frac-2neg distribute-lft-in unpow3 pow-prod-down pow-exp clear-num associate-/r* *-commutative div-inv rem-cube-cbrt unswap-sqr sqr-pow
Counts
4 → 86
Calls
4 calls:
13.0ms
(* (exp x) (+ (* 2.0 (+ 2.0 (exp x))) (exp (+ x x))))
23.0ms
(/ (+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3)))))) (* (exp x) (+ (* 2.0 (+ 2.0 (exp x))) (exp (+ x x)))))
4.0ms
(pow (exp x) 3)
9.0ms
(+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))))

series414.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(* (exp x) (+ (* 2.0 (+ 2.0 (exp x))) (exp (+ x x))))
249.0ms
(/ (+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3)))))) (* (exp x) (+ (* 2.0 (+ 2.0 (exp x))) (exp (+ x x)))))
24.0ms
(pow (exp x) 3)
89.0ms
(+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))))

simplify114.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (102.0ms)

IterNodesCost
05221373
131421189
250021182

prune289.0ms

Filtered
98 candidates to 69 candidates (70.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New96298
Fresh123
Picked101
Done011
Total985103

Merged error: 0.0b

Counts
103 → 5

localize29.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (exp (+ x x)) (exp (+ x x)))
0.0b
(pow (exp x) 3)
0.0b
(* (/ (+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3)))))) (* (exp x) (- (* (* 2.0 (+ 2.0 (exp x))) (* 2.0 (+ 2.0 (exp x)))) (* (exp (+ x x)) (exp (+ x x)))))) (- (* 2.0 (+ 2.0 (exp x))) (exp (+ x x))))
3.7b
(+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
119×exp-prod
91×*-un-lft-identity
75×add-sqr-sqrt
45×add-cube-cbrt
30×distribute-lft-out
24×distribute-rgt-out pow-prod-down
19×pow-sqr pow-prod-up
16×add-cbrt-cube
14×pow1 distribute-lft1-in distribute-rgt1-in
13×associate-*l*
12×add-exp-log
10×count-2
add-log-exp
exp-sum
associate-*r*
distribute-rgt-in distribute-lft-in
prod-exp cbrt-unprod unswap-sqr
pow-pow associate-*r/ swap-sqr associate--l+
unpow-prod-down pow-unpow flip3-- times-frac cube-prod sum-log flip--
cbrt-undiv frac-times sub-neg div-exp associate-/r/ *-commutative
+-commutative pow2 cube-mult pow-to-exp associate-+r+ flip3-+ pow-plus unpow3 associate-*l/ pow-exp flip-+ div-inv rem-cube-cbrt sqr-pow
Counts
4 → 169
Calls
4 calls:
21.0ms
(* (exp (+ x x)) (exp (+ x x)))
4.0ms
(pow (exp x) 3)
37.0ms
(* (/ (+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3)))))) (* (exp x) (- (* (* 2.0 (+ 2.0 (exp x))) (* 2.0 (+ 2.0 (exp x)))) (* (exp (+ x x)) (exp (+ x x)))))) (- (* 2.0 (+ 2.0 (exp x))) (exp (+ x x))))
10.0ms
(+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))))

series521.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (exp (+ x x)) (exp (+ x x)))
24.0ms
(pow (exp x) 3)
381.0ms
(* (/ (+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3)))))) (* (exp x) (- (* (* 2.0 (+ 2.0 (exp x))) (* 2.0 (+ 2.0 (exp x)))) (* (exp (+ x x)) (exp (+ x x)))))) (- (* 2.0 (+ 2.0 (exp x))) (exp (+ x x))))
95.0ms
(+ (* 2.0 2.0) (+ (exp (+ x x)) (* (exp x) (+ 2.0 (- (pow (exp x) 3) (pow 2.0 3))))))

simplify169.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
08072700
147962313
250022313

prune433.0ms

Filtered
181 candidates to 96 candidates (53.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1810181
Fresh033
Picked011
Done011
Total1815186

Merged error: 0.0b

Counts
186 → 5

regimes29.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.7s

Algorithm
intervals
Results
1.9s5615×body1280valid
253.0ms8058×body80valid
243.0ms1264×body640valid
76.0ms625×body320valid
25.0ms319×body160valid