Details

Time bar (total: 11.4s)

sample272.0ms

Algorithm
halfpoints

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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 44.0b

localize52.0ms

Local error

Found 4 expressions with local error:

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

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

series199.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05741243
120081013
250021009

prune454.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize58.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
29×*-un-lft-identity associate-*l*
23×times-frac
21×add-cube-cbrt
13×add-exp-log add-cbrt-cube
pow1
associate-*r*
add-log-exp
prod-exp cbrt-unprod distribute-lft-out unswap-sqr
expm1-log1p-u fma-def log1p-expm1-u
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative div-inv
+-commutative flip3-+ sum-log flip-+
Counts
3 → 88
Calls
3 calls:
5.0ms
(+ (exp x) (exp (- x)))
10.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
7.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) 2.0) (sin y))

series173.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0469880
11748768
25001764

prune522.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

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

rewrite41.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:
8.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
13.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
4.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))
8.0ms
(/ 1 (sqrt 2.0))

series485.0ms

Counts
4 → 10
Calls
4 calls:
155.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
216.0ms
(* (/ 1 (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 2.0))

simplify83.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06332261
132131931
250011821

prune840.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
70×add-exp-log
68×times-frac
63×add-sqr-sqrt
61×sqrt-prod
60×add-cbrt-cube
47×add-cube-cbrt *-un-lft-identity
35×associate-*l*
25×prod-exp cbrt-unprod
24×cbrt-undiv div-exp
16×associate-*r*
15×associate-/r*
pow1
unswap-sqr
div-inv
expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp
frac-2neg pow-prod-down associate-*l/ clear-num *-commutative
frac-times associate-*r/
Counts
4 → 188
Calls
4 calls:
8.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
20.0ms
(* (/ (* (cbrt 1) (cbrt 1)) (sqrt (sqrt 2.0))) (/ (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)) (sqrt (sqrt 2.0))))
4.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))
8.0ms
(/ (* (cbrt 1) (cbrt 1)) (sqrt (sqrt 2.0)))

series481.0ms

Counts
4 → 10
Calls
4 calls:
156.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
213.0ms
(* (/ (* (cbrt 1) (cbrt 1)) (sqrt (sqrt 2.0))) (/ (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)) (sqrt (sqrt 2.0))))
111.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))
0.0ms
(/ (* (cbrt 1) (cbrt 1)) (sqrt (sqrt 2.0)))

simplify115.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
08263242
143612693
250012471

prune942.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

regimes252.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02917
12917

end0.0ms

sample6.0s

Algorithm
halfpoints