Details

Time bar (total: 4.7s)

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

rewrite38.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:
30.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 (27.0ms)

IterNodesCost
0286487
11053428
24913426
35001426

prune162.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite34.0ms

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

series81.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0302482
11327423
25002421

prune159.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
64×*-un-lft-identity
60×cbrt-prod
58×add-sqr-sqrt
56×times-frac
55×associate-*l*
42×add-cube-cbrt
21×unpow-prod-down cube-prod
11×distribute-lft-out
10×add-exp-log
add-cbrt-cube
pow1
add-log-exp unswap-sqr sqr-pow
cube-mult unpow3
cube-div expm1-log1p-u log1p-expm1-u
pow-unpow fma-def flip3-+ associate-*r* flip-+
cbrt-div prod-exp cbrt-unprod
cbrt-undiv +-commutative pow-to-exp pow-pow pow1/3 div-exp pow-prod-down associate-*l/ pow-exp sum-log *-commutative rem-cbrt-cube div-inv rem-cube-cbrt
Counts
4 → 153
Calls
4 calls:
4.0ms
(+ (exp (* -1 x)) (exp x))
47.0ms
(* (/ (cbrt (pow (+ (exp (* -1 x)) (exp x)) 3)) 2.0) (cos y))
7.0ms
(cbrt (pow (+ (exp (* -1 x)) (exp x)) 3))
7.0ms
(pow (+ (exp (* -1 x)) (exp x)) 3)

series150.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (exp (* -1 x)) (exp x))
59.0ms
(* (/ (cbrt (pow (+ (exp (* -1 x)) (exp x)) 3)) 2.0) (cos y))
21.0ms
(cbrt (pow (+ (exp (* -1 x)) (exp x)) 3))
49.0ms
(pow (+ (exp (* -1 x)) (exp x)) 3)

simplify59.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04871448
118241334
250011318

prune428.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize35.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp -1) (* 2 x))
0.0b
(pow (exp x) 3)
0.1b
(pow (exp (* -1 x)) 3)
18.1b
(- (exp x) (exp (* -1 x)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
20×add-cube-cbrt
11×pow-pow
unpow-prod-down prod-diff
pow1 pow-unpow exp-prod add-log-exp
cube-prod add-cbrt-cube
add-exp-log expm1-log1p-u log1p-expm1-u
pow-to-exp fma-neg pow-exp sqr-pow
cube-mult unpow3 rem-cube-cbrt
cube-div exp-neg sub-neg flip3-- exp-to-pow mul-1-neg diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 104
Calls
4 calls:
2.0ms
(pow (exp -1) (* 2 x))
2.0ms
(pow (exp x) 3)
2.0ms
(pow (exp (* -1 x)) 3)
6.0ms
(- (exp x) (exp (* -1 x)))

series110.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(pow (exp -1) (* 2 x))
29.0ms
(pow (exp x) 3)
25.0ms
(pow (exp (* -1 x)) 3)
32.0ms
(- (exp x) (exp (* -1 x)))

simplify62.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0362541
11752441
25001393

prune398.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes39.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
0127
1127

end0.0ms

sample2.3s

Algorithm
halfpoints