Details

Time bar (total: 7.3s)

sample96.0ms

Algorithm
halfpoints

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

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.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:
6.0ms
(+ (exp x) (exp (- x)))
26.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
26.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
8.0ms
(- (exp x) (exp (- x)))

series204.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05741243
120081013
250021009

prune434.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (exp x))
0.0b
(* (cbrt (exp x)) (cbrt (exp x)))
0.0b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
18.0b
(- (exp x) (exp (- x)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
38×*-un-lft-identity
30×add-cube-cbrt
25×associate-*l*
19×cbrt-prod
16×times-frac
13×pow1
11×add-exp-log
associate-*r* prod-diff add-cbrt-cube
pow1/3
swap-sqr add-log-exp unswap-sqr
expm1-log1p-u log1p-expm1-u distribute-lft-out-- difference-of-squares
fma-neg pow-prod-down prod-exp cbrt-unprod
pow-sqr *-commutative pow-prod-up
cbrt-undiv pow2 sub-neg flip3-- pow-plus diff-log div-exp associate-*l/ flip-- div-inv
Counts
4 → 123
Calls
4 calls:
1.0ms
(cbrt (exp x))
7.0ms
(* (cbrt (exp x)) (cbrt (exp x)))
26.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
11.0ms
(- (exp x) (exp (- x)))

series289.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(cbrt (exp x))
96.0ms
(* (cbrt (exp x)) (cbrt (exp x)))
78.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
36.0ms
(- (exp x) (exp (- x)))

simplify59.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04561093
11486877
25001845

prune465.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
60×add-sqr-sqrt *-un-lft-identity
57×associate-*l*
41×times-frac
40×add-cube-cbrt
34×sqrt-prod
16×add-exp-log add-cbrt-cube
13×pow1
prod-diff
associate-*r*
prod-exp cbrt-unprod distribute-lft-out add-log-exp
sqrt-div pow-prod-down associate-*l/ unswap-sqr
expm1-log1p-u log1p-expm1-u distribute-lft-out-- difference-of-squares
fma-neg *-commutative div-inv
cbrt-undiv frac-times sub-neg flip3-- diff-log associate-*r/ div-exp flip--
Counts
4 → 146
Calls
4 calls:
28.0ms
(* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y))
56.0ms
(* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y)))
26.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
7.0ms
(- (exp x) (exp (- x)))

series354.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y))
122.0ms
(* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y)))
78.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
39.0ms
(- (exp x) (exp (- x)))

simplify66.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06431806
122821508
250031507

prune746.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
143×sqrt-prod
113×*-un-lft-identity
100×times-frac
92×add-sqr-sqrt
79×add-cube-cbrt
68×associate-*l*
16×add-exp-log add-cbrt-cube
13×distribute-lft-out
11×pow1
prod-diff
associate-/l*
sqrt-div associate-/r* add-log-exp
prod-exp cbrt-unprod
expm1-log1p-u associate-*r* pow-prod-down associate-*l/ log1p-expm1-u distribute-lft-out-- difference-of-squares
fma-neg div-inv
cbrt-undiv div-exp *-commutative associate-/l/ unswap-sqr
frac-times sub-neg sqrt-undiv flip3-- frac-2neg flip3-+ diff-log associate-*r/ clear-num flip-- flip-+
Counts
4 → 209
Calls
4 calls:
18.0ms
(/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0))
67.0ms
(* (sqrt (/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0))) (* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y)))
29.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
7.0ms
(- (exp x) (exp (- x)))

series537.0ms

Counts
4 → 12
Calls
4 calls:
118.0ms
(/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0))
304.0ms
(* (sqrt (/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0))) (* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y)))
80.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
35.0ms
(- (exp x) (exp (- x)))

simplify94.0ms

Algorithm
egg-herbie
Counts
221 → 221
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
08333098
128422822
250012798

prune882.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes50.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
02835
12835

end0.0ms

sample2.4s

Algorithm
halfpoints