Details

Time bar (total: 11.2s)

sample266.0ms

Algorithm
halfpoints

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31217
42067
54107
610177
720747
850017

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 44.7b

Counts
2 → 1

localize49.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
0.0b
(+ (exp x) (exp (- x)))
0.1b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
57.9b
(- (exp x) (exp (- x)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
39×*-un-lft-identity
35×associate-*l*
29×times-frac
23×add-cube-cbrt
14×add-exp-log add-cbrt-cube
pow1 add-log-exp
associate-*r*
prod-exp cbrt-unprod distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative div-inv
+-commutative sub-neg flip3-- flip3-+ diff-log sum-log flip-- flip-+
Counts
4 → 99
Calls
4 calls:
9.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
4.0ms
(+ (exp x) (exp (- x)))
10.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
5.0ms
(- (exp x) (exp (- x)))

series198.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
22.0ms
(+ (exp x) (exp (- x)))
79.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
37.0ms
(- (exp x) (exp (- x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0508967
11773853
25001852

prune383.0ms

Filtered
111 candidates to 84 candidates (75.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1083111
Fresh000
Picked011
Done000
Total1084112

Merged error: 0.1b

Counts
112 → 4

localize59.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.1b
(* 1/60 (pow x 5))
0.1b
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
0.1b
(* 1/3 (pow x 3))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
22×associate-*r*
21×*-un-lft-identity
19×add-exp-log add-cube-cbrt associate-*l*
13×add-cbrt-cube
10×times-frac
unswap-sqr
unpow-prod-down prod-exp
pow1 add-log-exp
cube-prod cbrt-unprod sqr-pow
*-commutative
pow-to-exp pow-exp
cbrt-undiv +-commutative cube-mult flip3-+ unpow3 div-exp pow-prod-down associate-*l/ sum-log flip-+ div-inv distribute-lft-out
Counts
4 → 100
Calls
4 calls:
5.0ms
(+ (exp x) (exp (- x)))
8.0ms
(* 1/60 (pow x 5))
12.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
6.0ms
(* 1/3 (pow x 3))

series199.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp x) (exp (- x)))
52.0ms
(* 1/60 (pow x 5))
89.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
36.0ms
(* 1/3 (pow x 3))

simplify60.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0493764
12065669
25001669

prune503.0ms

Filtered
112 candidates to 78 candidates (69.6%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1057112
Fresh022
Picked011
Done011
Total10511116

Merged error: 0.0b

Counts
116 → 11

localize63.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
0.4b
(* (/ 1 (sqrt 2.0)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
0.5b
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
1.0b
(/ 1 (sqrt 2.0))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
74×times-frac
69×add-sqr-sqrt
61×add-cube-cbrt *-un-lft-identity
54×add-exp-log
44×associate-*l*
43×sqrt-prod
34×add-cbrt-cube
22×prod-exp
14×div-exp
13×pow1
12×associate-/r* cbrt-unprod
cbrt-undiv
associate-/l*
rec-exp 1-exp associate-*r* pow-prod-down associate-*l/ div-inv add-log-exp
pow-flip unswap-sqr
frac-2neg clear-num *-commutative associate-/l/
frac-times sqrt-pow1 flip3-+ pow1/2 associate-*r/ flip-+ inv-pow
Counts
4 → 182
Calls
4 calls:
13.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
21.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
11.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
4.0ms
(/ 1 (sqrt 2.0))

series504.0ms

Counts
4 → 10
Calls
4 calls:
162.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
223.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
119.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
0.0ms
(/ 1 (sqrt 2.0))

simplify97.0ms

Algorithm
egg-herbie
Counts
192 → 192
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06842589
136672213
250022104

prune792.0ms

Filtered
192 candidates to 112 candidates (58.3%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1893192
Fresh538
Picked011
Done022
Total1949203

Merged error: 0b

Counts
203 → 9

localize70.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 1/3 (pow x 3))
0.2b
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
0.4b
(* (pow 2.0 (- 1/2)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
0.5b
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
40×add-exp-log
39×add-cube-cbrt *-un-lft-identity
38×times-frac
32×associate-*l*
22×sqrt-prod add-cbrt-cube
20×prod-exp
16×associate-*r*
cbrt-unprod
unpow-prod-down unswap-sqr
pow1 associate-*l/ associate-/r*
div-exp
pow-to-exp cube-prod pow-exp add-log-exp
cbrt-undiv *-commutative associate-/l* sqr-pow
neg-sub0 frac-times pow-neg div-inv associate-/l/ pow-sub
cube-mult frac-2neg flip3-+ unpow3 associate-*r/ pow-prod-down clear-num flip-+
Counts
4 → 147
Calls
4 calls:
9.0ms
(* 1/3 (pow x 3))
14.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
15.0ms
(* (pow 2.0 (- 1/2)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
12.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))

series552.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* 1/3 (pow x 3))
161.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
234.0ms
(* (pow 2.0 (- 1/2)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
122.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))

simplify98.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
06832107
133511871
250011867

prune856.0ms

Filtered
159 candidates to 102 candidates (64.2%)
Pruning

9 alts after pruning (5 fresh and 4 done)

PrunedKeptTotal
New1581159
Fresh145
Picked011
Done033
Total1599168

Merged error: 0b

Counts
168 → 9

regimes179.0ms

Accuracy

0% (0.8b remaining)

Error of 0.8b against oracle of 0.0b and baseline of 0.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03519
13519

end0.0ms

sample6.0s

Algorithm
halfpoints