Details

Time bar (total: 8.5s)

sample98.0ms

Algorithm
halfpoints

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31217
42067
54107
610177
720747
850017

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.0b

Counts
2 → 1

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))
18.9b
(- (exp x) (exp (- x)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt *-un-lft-identity
35×associate-*l*
29×times-frac
27×add-cube-cbrt
25×associate-*l/
14×add-exp-log add-cbrt-cube
associate-/l*
pow1 add-log-exp
associate-*r* associate-/r*
distribute-lft-out distribute-lft-out-- difference-of-squares
prod-exp cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp pow-prod-down clear-num *-commutative flip-- flip-+ div-inv
+-commutative sub-neg diff-log sum-log
Counts
4 → 122
Calls
4 calls:
13.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
8.0ms
(+ (exp x) (exp (- x)))
13.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
6.0ms
(- (exp x) (exp (- x)))

series208.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
27.0ms
(+ (exp x) (exp (- x)))
84.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
37.0ms
(- (exp x) (exp (- x)))

simplify63.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05601117
125571003
250011001

prune361.0ms

Filtered
134 candidates to 97 candidates (72.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1304134
Fresh000
Picked101
Done000
Total1314135

Merged error: 0.0b

Counts
135 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
130×times-frac
122×*-un-lft-identity
93×add-sqr-sqrt
78×add-cube-cbrt
29×associate-/r*
20×associate-/r/
19×associate-*l*
17×distribute-lft-out
16×add-exp-log add-cbrt-cube
14×associate-/l*
13×associate-*l/
div-inv
pow1 add-log-exp
cbrt-undiv flip3-+ div-exp flip-+ distribute-lft-out-- difference-of-squares
frac-2neg clear-num
associate-*r*
flip3-- prod-exp flip-- cbrt-unprod associate-/l/ unswap-sqr
sub-neg diff-log pow-prod-down *-commutative
Counts
4 → 196
Calls
4 calls:
13.0ms
(/ (cos y) (/ 2.0 (+ (exp x) (exp (- x)))))
7.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
14.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
5.0ms
(- (exp x) (exp (- x)))

series227.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(/ (cos y) (/ 2.0 (+ (exp x) (exp (- x)))))
39.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
82.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
41.0ms
(- (exp x) (exp (- x)))

simplify94.0ms

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07512245
135182100
250022097

prune711.0ms

Filtered
208 candidates to 153 candidates (73.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2062208
Fresh213
Picked101
Done000
Total2093212

Merged error: 0b

Counts
212 → 3

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
49×add-sqr-sqrt
40×times-frac
36×unpow-prod-down
34×add-cube-cbrt
23×cbrt-prod
19×associate-*l*
13×associate-*l/
12×add-exp-log add-cbrt-cube
pow1
distribute-lft-out add-log-exp
associate-/l* distribute-lft-out-- difference-of-squares
pow-unpow associate-/r/
associate-*r* associate-/r* div-inv
cbrt-undiv flip3-- flip3-+ unpow3 div-exp pow-exp prod-exp flip-- rem-cbrt-cube cbrt-unprod flip-+ associate-/l/ rem-cube-cbrt unswap-sqr sqr-pow
pow-to-exp sub-neg pow-pow frac-2neg pow1/3 diff-log pow-prod-down clear-num *-commutative
Counts
4 → 133
Calls
4 calls:
10.0ms
(pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3)
11.0ms
(cbrt (pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3))
13.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
5.0ms
(- (exp x) (exp (- x)))

series241.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3)
38.0ms
(cbrt (pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3))
82.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
41.0ms
(- (exp x) (exp (- x)))

simplify70.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06431338
126461243
250011229

prune470.0ms

Filtered
145 candidates to 99 candidates (68.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1450145
Fresh022
Picked011
Done000
Total1453148

Merged error: 0b

Counts
148 → 3

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite348.0ms

Algorithm
rewrite-expression-head
Rules
1523×sqrt-prod
1372×*-un-lft-identity
1259×associate-/r*
1237×times-frac
1103×add-sqr-sqrt
972×frac-times
959×add-cube-cbrt
460×associate-/l*
201×distribute-lft-out
167×associate-*r*
156×sqrt-div
112×associate-/l/
78×flip3-+ clear-num flip-+
77×frac-2neg
65×associate-*l*
62×associate-/r/
54×associate-*r/
32×add-exp-log add-cbrt-cube unswap-sqr
31×associate-*l/
26×div-inv
11×cbrt-undiv div-exp
pow1 prod-exp cbrt-unprod
add-log-exp
distribute-lft-out-- difference-of-squares
flip3-- pow-prod-down un-div-inv *-commutative flip--
sub-neg sqrt-undiv diff-log
Counts
4 → 1441
Calls
4 calls:
9.0ms
(/ (sqrt 2.0) (sqrt (+ (exp x) (exp (- x)))))
169.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0)) (/ (cos y) (/ (sqrt 2.0) (sqrt (+ (exp x) (exp (- x)))))))
13.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
5.0ms
(- (exp x) (exp (- x)))

series379.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(/ (sqrt 2.0) (sqrt (+ (exp x) (exp (- x)))))
149.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) (sqrt 2.0)) (/ (cos y) (/ (sqrt 2.0) (sqrt (+ (exp x) (exp (- x)))))))
81.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
37.0ms
(- (exp x) (exp (- x)))

simplify374.0ms

Algorithm
egg-herbie
Counts
1453 → 1453
Iterations

Useful iterations: 1 (99.0ms)

IterNodesCost
0466437031
1500135662

prune2.6s

Filtered
1453 candidates to 521 candidates (35.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New145211453
Fresh101
Picked011
Done011
Total145331456

Merged error: 0b

Counts
1456 → 3

regimes48.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02518
12718
22718

end0.0ms

sample1.9s

Algorithm
halfpoints