Details

Time bar (total: 5.9s)

sample105.0ms

Algorithm
halfpoints

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

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite74.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:
26.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
9.0ms
(+ (exp x) (exp (- x)))
27.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
7.0ms
(- (exp x) (exp (- x)))

series200.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05741243
120081013
250021009

prune437.0ms

Filtered
134 candidates to 98 candidates (73.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

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)))
0.0b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
17.8b
(- (exp x) (exp (- x)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
37×*-un-lft-identity
32×associate-*l*
29×add-cube-cbrt
26×times-frac
14×add-exp-log add-cbrt-cube
prod-diff
pow1
associate-*r* add-log-exp
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out-- difference-of-squares unswap-sqr
fma-neg
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative div-inv
sub-neg flip3-- diff-log flip-- fma-udef
Counts
4 → 112
Calls
4 calls:
8.0ms
(* (/ (fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x))) 2.0) (cos y))
0.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x)))
27.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
7.0ms
(- (exp x) (exp (- x)))

series261.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(* (/ (fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x))) 2.0) (cos y))
64.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x)))
81.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
36.0ms
(- (exp x) (exp (- x)))

simplify58.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05521329
119541037
250011028

prune459.0ms

Filtered
124 candidates to 94 candidates (75.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
29×*-un-lft-identity
21×add-cube-cbrt
19×associate-*l*
16×times-frac
add-exp-log prod-diff add-cbrt-cube
pow1 add-log-exp
expm1-log1p-u log1p-expm1-u distribute-lft-out-- difference-of-squares
fma-neg associate-*r*
prod-exp cbrt-unprod fma-udef unswap-sqr
cbrt-undiv sub-neg flip3-- diff-log div-exp pow-prod-down associate-*l/ *-commutative flip-- div-inv
Counts
4 → 88
Calls
4 calls:
0.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x)))
0.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x)))
27.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
8.0ms
(- (exp x) (exp (- x)))

series245.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x)))
65.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x)))
79.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
35.0ms
(- (exp x) (exp (- x)))

simplify46.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0384964
11277753
25002751

prune415.0ms

Filtered
100 candidates to 73 candidates (73.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
0.2b
(log1p (expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))))
0.6b
(expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)))
17.8b
(- (exp x) (exp (- x)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
29×*-un-lft-identity
21×add-cube-cbrt
19×associate-*l*
16×times-frac
add-exp-log prod-diff add-cbrt-cube
pow1 add-log-exp
log1p-expm1-u
expm1-log1p-u distribute-lft-out-- difference-of-squares
fma-neg associate-*r*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv sub-neg log1p-udef expm1-log1p flip3-- diff-log log1p-expm1 div-exp pow-prod-down associate-*l/ *-commutative flip-- div-inv expm1-udef
Counts
4 → 90
Calls
4 calls:
27.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
0.0ms
(log1p (expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))))
0.0ms
(expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)))
8.0ms
(- (exp x) (exp (- x)))

series344.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
103.0ms
(log1p (expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))))
122.0ms
(expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)))
40.0ms
(- (exp x) (exp (- x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04561041
11422831
25001827

prune365.0ms

Filtered
102 candidates to 74 candidates (72.5%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes43.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
01919
11919

end0.0ms

sample2.4s

Algorithm
halfpoints