Details

Time bar (total: 4.2s)

sample109.0ms

Algorithm
halfpoints

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31217
42067
54107
610177
720747
850017

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
16×add-sqr-sqrt associate-*l*
13×times-frac
11×add-cube-cbrt
add-exp-log add-cbrt-cube
pow1 distribute-lft-out add-log-exp
associate-*r*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv +-commutative flip3-+ div-exp pow-prod-down associate-*l/ sum-log *-commutative flip-+ div-inv
Counts
2 → 47
Calls
2 calls:
25.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
5.0ms
(+ (exp x) (exp (- x)))

series83.0ms

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

simplify161.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0277461
11018404
24757402
35001402

prune139.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
20×*-un-lft-identity
19×associate-*l*
14×add-cube-cbrt
13×times-frac
12×add-exp-log
10×associate-*r*
add-cbrt-cube
prod-exp unswap-sqr
pow1 unpow-prod-down
cbrt-unprod distribute-lft-out
*-commutative add-log-exp sqr-pow
cbrt-undiv pow-to-exp div-exp pow-prod-down associate-*l/ pow-exp div-inv
Counts
2 → 60
Calls
2 calls:
53.0ms
(* (/ (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)) 2.0) (cos y))
5.0ms
(* 1/12 (pow x 4))

series103.0ms

Counts
2 → 6
Calls
2 calls:
63.0ms
(* (/ (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)) 2.0) (cos y))
40.0ms
(* 1/12 (pow x 4))

simplify38.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0301504
11243444
25001440

prune156.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

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

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
50×associate-*l*
49×*-un-lft-identity
44×times-frac
41×add-sqr-sqrt
39×add-exp-log
33×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
associate-*r* pow-prod-down associate-*l/
1-exp unswap-sqr
+-commutative flip3-+ sum-log *-commutative flip-+ div-inv
frac-times associate-*r/
Counts
4 → 123
Calls
4 calls:
5.0ms
(+ (exp x) (exp (- x)))
5.0ms
(+ (exp x) (exp (- x)))
31.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y))
53.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 1) (* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y)))

series195.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))
62.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 1) (* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y)))

simplify65.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05621692
125921266
250021219

prune326.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
0188
1188

end0.0ms

sample2.5s

Algorithm
halfpoints