Details

Time bar (total: 4.4s)

sample109.0ms

Algorithm
halfpoints

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31317
42237
54667
611237
722447
850027

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
17×add-sqr-sqrt
16×associate-*l*
13×times-frac
12×add-cube-cbrt
add-exp-log add-cbrt-cube
pow1 distribute-lft-out add-log-exp
fma-def associate-*r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u unswap-sqr
cbrt-undiv +-commutative flip3-+ div-exp pow-prod-down associate-*l/ sum-log *-commutative flip-+ div-inv
Counts
2 → 54
Calls
2 calls:
29.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
6.0ms
(+ (exp x) (exp (- x)))

series85.0ms

Counts
2 → 6
Calls
2 calls:
62.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
23.0ms
(+ (exp x) (exp (- x)))

simplify165.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0286487
11053428
24913426
35001426

prune155.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (/ (fma x x (fma 1/12 (pow x 4) 2)) 2.0) (cos y))
0.0b
(fma 1/12 (pow x 4) 2)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×associate-*l*
10×add-cube-cbrt *-un-lft-identity times-frac
add-exp-log add-cbrt-cube
pow1
associate-*r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative fma-udef div-inv
Counts
2 → 44
Calls
2 calls:
8.0ms
(* (/ (fma x x (fma 1/12 (pow x 4) 2)) 2.0) (cos y))
0.0ms
(fma 1/12 (pow x 4) 2)

series153.0ms

Counts
2 → 6
Calls
2 calls:
72.0ms
(* (/ (fma x x (fma 1/12 (pow x 4) 2)) 2.0) (cos y))
81.0ms
(fma 1/12 (pow x 4) 2)

simplify108.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0216359
1789312
23853309
35003308

prune140.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.0b
(+ (exp x) (exp (- x)))
0.2b
(* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y))
0.7b
(* (/ (sqrt (+ (exp x) (exp (- x)))) 1) (* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y)))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity
50×associate-*l*
44×times-frac
43×add-sqr-sqrt
39×add-exp-log
35×add-cube-cbrt
30×add-cbrt-cube
25×sqrt-prod
17×prod-exp
12×cbrt-unprod
11×pow1
10×div-exp
distribute-lft-out add-log-exp
cbrt-undiv fma-def
expm1-log1p-u associate-*r* pow-prod-down associate-*l/ log1p-expm1-u
1-exp unswap-sqr
+-commutative flip3-+ sum-log *-commutative flip-+ div-inv
frac-times associate-*r/
Counts
4 → 137
Calls
4 calls:
6.0ms
(+ (exp x) (exp (- x)))
6.0ms
(+ (exp x) (exp (- x)))
28.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y))
56.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 1) (* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y)))

series192.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp x) (exp (- x)))
22.0ms
(+ (exp x) (exp (- x)))
89.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y))
60.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 1) (* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y)))

simplify72.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05741762
126371333
250011283

prune382.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes29.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0136
1136

end0.0ms

sample2.6s

Algorithm
halfpoints