Details

Time bar (total: 5.4s)

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

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

rewrite17.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:
10.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
5.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)))

simplify168.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0286487
11053428
24913426
35001426

prune161.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

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

series171.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(sqrt (exp x))
11.0ms
(sqrt (exp x))
82.0ms
(* (/ (fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x))) 2.0) (cos y))
60.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x)))

simplify108.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (101.0ms)

IterNodesCost
0268701
1924578
23961554
35001548

prune287.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
97×sqrt-prod
93×*-un-lft-identity
84×times-frac
63×add-sqr-sqrt add-cube-cbrt
46×associate-*l*
27×add-exp-log add-cbrt-cube
15×distribute-lft-out
10×prod-exp cbrt-unprod
pow1
add-log-exp
associate-/l*
cbrt-undiv fma-def div-exp associate-/r*
expm1-log1p-u log1p-expm1-u
flip3-+ pow-prod-down associate-*l/ flip-+
+-commutative sqrt-div sum-log div-inv associate-/l/
frac-times sqrt-undiv frac-2neg associate-*r/ associate-*r* clear-num *-commutative
Counts
4 → 180
Calls
4 calls:
9.0ms
(/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0))
24.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0)) (* (/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0)) (cos y)))
8.0ms
(+ (exp x) (exp (- x)))
5.0ms
(+ (exp x) (exp (- x)))

series319.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0))
141.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0)) (* (/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0)) (cos y)))
27.0ms
(+ (exp x) (exp (- x)))
23.0ms
(+ (exp x) (exp (- x)))

simplify68.0ms

Algorithm
egg-herbie
Counts
192 → 192
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05582748
123492235
250012103

prune497.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
98×*-un-lft-identity
64×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
17×distribute-lft-out
11×associate-/r/
10×add-exp-log add-cbrt-cube
flip3-+ flip-+ div-inv associate-/l*
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u fma-def log1p-expm1-u
frac-2neg clear-num
+-commutative sum-log
Counts
3 → 144
Calls
3 calls:
15.0ms
(/ (cos y) (/ 2.0 (+ (exp (* -1 x)) (exp x))))
6.0ms
(/ 2.0 (+ (exp (* -1 x)) (exp x)))
5.0ms
(+ (exp (* -1 x)) (exp x))

series119.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(/ (cos y) (/ 2.0 (+ (exp (* -1 x)) (exp x))))
36.0ms
(/ 2.0 (+ (exp (* -1 x)) (exp x)))
21.0ms
(+ (exp (* -1 x)) (exp x))

simplify61.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04991760
121881664
250011655

prune575.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes36.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0187
1187

end0.0ms

sample2.4s

Algorithm
halfpoints