Details

Time bar (total: 5.1s)

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

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 3 expressions with local error:

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

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
43×*-un-lft-identity
35×associate-*l*
29×add-cube-cbrt times-frac
13×add-exp-log add-cbrt-cube
prod-diff
pow1
associate-*r*
add-log-exp
prod-exp cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
expm1-log1p-u fma-neg log1p-expm1-u distribute-lft-out
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative div-inv
sub-neg flip3-- diff-log flip--
Counts
3 → 105
Calls
3 calls:
26.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
30.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
7.0ms
(- (exp x) (exp (- x)))

series179.0ms

Counts
3 → 9
Calls
3 calls:
63.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
81.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
35.0ms
(- (exp x) (exp (- x)))

simplify55.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05411133
11885916
25002915

prune357.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
0.3b
(pow (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)) 3)
0.5b
(cbrt (pow (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)) 3))
16.0b
(- (exp x) (exp (- x)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
31×*-un-lft-identity
23×add-cube-cbrt
19×associate-*l*
16×times-frac
15×add-exp-log add-cbrt-cube
pow1 prod-diff
cbrt-prod
add-log-exp
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out-- difference-of-squares
pow-unpow fma-neg associate-*r* associate-*l/ pow-exp rem-cube-cbrt
cbrt-undiv cube-div cube-mult unpow-prod-down pow-pow unpow3 cube-prod div-exp pow-prod-down unswap-sqr sqr-pow
pow-to-exp sub-neg cbrt-div flip3-- pow1/3 diff-log *-commutative flip-- rem-cbrt-cube div-inv
Counts
4 → 115
Calls
4 calls:
29.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
9.0ms
(pow (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)) 3)
1.0ms
(cbrt (pow (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)) 3))
7.0ms
(- (exp x) (exp (- x)))

series262.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
84.0ms
(pow (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)) 3)
62.0ms
(cbrt (pow (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)) 3))
35.0ms
(- (exp x) (exp (- x)))

simplify58.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05371254
119361046
250021044

prune444.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
0.4b
(log1p (expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))))
0.6b
(expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)))
16.0b
(- (exp x) (exp (- x)))

rewrite37.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:
26.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)))
7.0ms
(- (exp x) (exp (- x)))

series310.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
95.0ms
(log1p (expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))))
96.0ms
(expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)))
39.0ms
(- (exp x) (exp (- x)))

simplify45.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04561041
11422831
25001827

prune367.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.6b
(log (+ 1 (expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)))))
0.6b
(expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)))
0.6b
(+ 1 (expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))))
16.0b
(- (exp x) (exp (- x)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
15×add-sqr-sqrt
13×add-cube-cbrt
prod-diff
add-log-exp
pow1 add-exp-log log1p-expm1-u
expm1-log1p-u log-prod add-cbrt-cube
fma-def fma-neg
log-div flip3-+ flip-+ distribute-lft-out expm1-udef
+-commutative associate-+r- sub-neg expm1-log1p flip3-- log1p-def diff-log rem-log-exp sum-log log-pow flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 75
Calls
4 calls:
2.0ms
(log (+ 1 (expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)))))
0.0ms
(expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)))
2.0ms
(+ 1 (expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))))
7.0ms
(- (exp x) (exp (- x)))

series324.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(log (+ 1 (expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)))))
97.0ms
(expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)))
92.0ms
(+ 1 (expm1 (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))))
40.0ms
(- (exp x) (exp (- x)))

simplify41.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0343994
11186805
25001797

prune323.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes78.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
01916
11916

end0.0ms

sample1.8s

Algorithm
halfpoints