Details

Time bar (total: 12.6s)

sample262.0ms

Algorithm
halfpoints

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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 44.1b

localize51.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.6b
(- (exp x) (exp (- x)))

rewrite69.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:
28.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
5.0ms
(+ (exp x) (exp (- x)))
26.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
6.0ms
(- (exp x) (exp (- x)))

series198.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
22.0ms
(+ (exp x) (exp (- x)))
80.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
35.0ms
(- (exp x) (exp (- x)))

simplify46.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0508967
11773853
25001852

prune399.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize63.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

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

series236.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
51.0ms
(* 1/60 (pow x 5))
35.0ms
(* 1/3 (pow x 3))
94.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))

simplify59.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0465830
11991734
25002734

prune527.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 0.0b

localize64.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.3b
(* (/ 1 (sqrt 2.0)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
0.4b
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
1.0b
(/ 1 (sqrt 2.0))

rewrite130.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:
42.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
46.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
31.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
3.0ms
(/ 1 (sqrt 2.0))

series507.0ms

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

simplify95.0ms

Algorithm
egg-herbie
Counts
192 → 192
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06842589
136672213
250022104

prune797.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

localize65.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.3b
(* (cbrt (/ (/ 1 2.0) (sqrt 2.0))) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
0.4b
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
1.0b
(/ (/ 1 2.0) (sqrt 2.0))

rewrite167.0ms

Algorithm
rewrite-expression-head
Rules
311×times-frac
188×add-sqr-sqrt
180×add-cube-cbrt *-un-lft-identity
107×associate-*l*
103×sqrt-prod
82×cbrt-prod
29×add-exp-log
22×add-cbrt-cube
17×div-inv
16×associate-/l*
15×pow1
12×associate-/r*
div-exp
prod-exp cbrt-unprod
cbrt-undiv
associate-*r* pow-prod-down associate-*l/ add-log-exp pow-div
associate-/l/ unswap-sqr
cbrt-div pow-flip frac-2neg sqrt-pow1 pow1/2 clear-num *-commutative inv-pow
frac-times rec-exp flip3-+ 1-exp associate-*r/ flip-+
Counts
4 → 306
Calls
4 calls:
40.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
75.0ms
(* (cbrt (/ (/ 1 2.0) (sqrt 2.0))) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
28.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
8.0ms
(/ (/ 1 2.0) (sqrt 2.0))

series838.0ms

Counts
4 → 10
Calls
4 calls:
153.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
556.0ms
(* (cbrt (/ (/ 1 2.0) (sqrt 2.0))) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
129.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
0.0ms
(/ (/ 1 2.0) (sqrt 2.0))

simplify122.0ms

Algorithm
egg-herbie
Counts
316 → 316
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
011254318
148693959
250013959

prune1.7s

Pruning

8 alts after pruning (4 fresh and 4 done)

Merged error: 0.0b

regimes168.0ms

Accuracy

0% (0.7b 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