Details

Time bar (total: 11.5s)

sample281.0ms

Algorithm
halfpoints

simplify61.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0307
1477
2847
31317
42237
54667
611237
722447
850027

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 44.9b

localize50.0ms

Local error

Found 3 expressions with local error:

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

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
43×*-un-lft-identity
35×associate-*l*
29×add-cube-cbrt times-frac
13×add-exp-log add-cbrt-cube
prod-diff
pow1
associate-*r*
add-log-exp
prod-exp cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
expm1-log1p-u fma-neg log1p-expm1-u distribute-lft-out
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative div-inv
sub-neg flip3-- diff-log flip--
Counts
3 → 105
Calls
3 calls:
57.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
59.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
17.0ms
(- (exp x) (exp (- x)))

series184.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
83.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
36.0ms
(- (exp x) (exp (- x)))

simplify54.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05411133
11885916
25002915

prune378.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize57.0ms

Local error

Found 2 expressions with local error:

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

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt associate-*l*
25×*-un-lft-identity
23×times-frac
19×add-cube-cbrt
12×add-exp-log add-cbrt-cube
pow1 associate-*r*
prod-exp cbrt-unprod unswap-sqr
distribute-lft-out
cbrt-undiv expm1-log1p-u div-exp pow-prod-down associate-*l/ *-commutative log1p-expm1-u div-inv add-log-exp
Counts
2 → 71
Calls
2 calls:
59.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
18.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) 2.0) (sin y))

series158.0ms

Counts
2 → 6
Calls
2 calls:
65.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
92.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) 2.0) (sin y))

simplify43.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0405770
11528671
25001669

prune425.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize60.0ms

Local error

Found 4 expressions with local error:

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

rewrite104.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*
expm1-log1p-u rec-exp 1-exp associate-*r* pow-prod-down associate-*l/ log1p-expm1-u div-inv add-log-exp
pow-flip unswap-sqr
frac-2neg clear-num *-commutative
frac-times sqrt-pow1 pow1/2 associate-*r/ inv-pow
Counts
4 → 188
Calls
4 calls:
25.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
58.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
6.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))
7.0ms
(/ 1 (sqrt 2.0))

series475.0ms

Counts
4 → 10
Calls
4 calls:
158.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
205.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
112.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))
0.0ms
(/ 1 (sqrt 2.0))

simplify81.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06332260
132131931
250011821

prune859.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize70.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
0.2b
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
0.4b
(* (pow 2.0 (- 1/2)) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
0.4b
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))

rewrite144.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
51×times-frac
50×*-un-lft-identity
45×associate-*l*
44×add-cube-cbrt
40×add-exp-log
25×add-cbrt-cube
22×sqrt-prod
19×prod-exp
cbrt-unprod
pow1
associate-*r* associate-*l/
div-exp associate-/r*
unswap-sqr
cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
pow-to-exp unpow-prod-down pow-exp *-commutative div-inv distribute-lft-out associate-/l*
neg-sub0 frac-times pow-neg pow-prod-down pow-sub
frac-2neg associate-*r/ clear-num sqr-pow
Counts
4 → 157
Calls
4 calls:
58.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
24.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
50.0ms
(* (pow 2.0 (- 1/2)) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
7.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))

series549.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
151.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
223.0ms
(* (pow 2.0 (- 1/2)) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
111.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))

simplify87.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07462085
133481854
250011848

prune898.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes117.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02917
12917

end0.0ms

sample6.2s

Algorithm
halfpoints