Details

Time bar (total: 13.6s)

sample297.0ms

Algorithm
halfpoints

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31317
42237
54667
611237
722447
850027

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 43.5b

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))
58.6b
(- (exp x) (exp (- x)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
47×*-un-lft-identity
35×associate-*l*
31×add-cube-cbrt
29×times-frac
14×add-exp-log add-cbrt-cube
prod-diff
pow1 add-log-exp
associate-*r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
fma-def fma-neg
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 → 122
Calls
4 calls:
25.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
6.0ms
(+ (exp x) (exp (- x)))
29.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
7.0ms
(- (exp x) (exp (- x)))

series203.0ms

Counts
4 → 12
Calls
4 calls:
61.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))
40.0ms
(- (exp x) (exp (- x)))

simplify56.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05741243
120081013
250021009

prune456.0ms

Filtered
134 candidates to 98 candidates (73.1%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize58.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
30×*-un-lft-identity
29×associate-*l*
23×times-frac
22×add-cube-cbrt
14×add-exp-log add-cbrt-cube
pow1
associate-*r* add-log-exp
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out unswap-sqr
fma-def
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative div-inv
+-commutative flip3-+ sum-log flip-+ fma-udef
Counts
4 → 98
Calls
4 calls:
0.0ms
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))
25.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
6.0ms
(+ (exp x) (exp (- x)))
13.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) 2.0) (sin y))

series230.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0487969
11911846
25001842

prune720.0ms

Filtered
110 candidates to 86 candidates (78.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize63.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.3b
(* (/ 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))

rewrite53.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:
14.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
25.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
3.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))
3.0ms
(/ 1 (sqrt 2.0))

series509.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06332260
132131931
250011821

prune834.0ms

Filtered
198 candidates to 118 candidates (59.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize64.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (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 (sqrt 2.0))) (sqrt (sqrt 2.0)))
1.0b
(/ 1 (sqrt (sqrt 2.0)))

rewrite199.0ms

Algorithm
rewrite-expression-head
Rules
1128×sqrt-prod
1116×times-frac
592×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
283×associate-*l*
79×add-exp-log
49×add-cbrt-cube
37×associate-/l*
32×div-exp
25×prod-exp
24×associate-/r*
23×pow1 div-inv
20×sqrt-pow1
17×cbrt-undiv
15×cbrt-unprod
14×pow-flip
10×pow1/2 pow-div
rec-exp 1-exp
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg pow-prod-down associate-*l/ clear-num
inv-pow
frac-times associate-*r/ associate-*r* *-commutative associate-/l/
Counts
4 → 773
Calls
4 calls:
107.0ms
(* (/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
3.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))
19.0ms
(/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
4.0ms
(/ 1 (sqrt (sqrt 2.0)))

series334.0ms

Counts
4 → 8
Calls
4 calls:
220.0ms
(* (/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
114.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))
0.0ms
(/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
0.0ms
(/ 1 (sqrt (sqrt 2.0)))

simplify130.0ms

Algorithm
egg-herbie
Counts
781 → 781
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
0168011806
1500210141

prune2.9s

Filtered
781 candidates to 355 candidates (45.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes96.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02917
12917

end0.0ms

sample6.0s

Algorithm
halfpoints