Details

Time bar (total: 5.7s)

sample116.0ms

Algorithm
halfpoints

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

localize18.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))
20.5b
(- (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))
5.0ms
(+ (exp x) (exp (- x)))
17.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
5.0ms
(- (exp x) (exp (- x)))

series208.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
23.0ms
(+ (exp x) (exp (- x)))
85.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
36.0ms
(- (exp x) (exp (- x)))

simplify64.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05631117
125751003
250011001

prune442.0ms

Filtered
134 candidates to 97 candidates (72.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1313134
Fresh000
Picked101
Done000
Total1323135

Merged error: 0b

Counts
135 → 3

localize25.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))
20.5b
(- (exp x) (exp (- x)))

rewrite41.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))
5.0ms
(+ (exp x) (exp (- x)))
13.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
6.0ms
(- (exp x) (exp (- x)))

series202.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))
37.0ms
(- (exp x) (exp (- x)))

simplify62.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05631117
125751003
250011001

prune469.0ms

Filtered
134 candidates to 97 candidates (72.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1331134
Fresh112
Picked011
Done000
Total1343137

Merged error: 0b

Counts
137 → 3

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
101×*-un-lft-identity
97×add-sqr-sqrt
83×associate-*l*
68×times-frac
62×add-cube-cbrt
58×cbrt-prod
52×unpow-prod-down cube-prod
37×associate-*l/
24×cube-div
15×add-exp-log associate-*r* add-cbrt-cube
14×distribute-lft-out
13×associate-/l*
12×cbrt-div
10×unswap-sqr
pow1 associate-/r*
associate-/l/ add-log-exp
*-commutative div-inv distribute-lft-out-- difference-of-squares
pow-unpow prod-exp cbrt-unprod
frac-2neg pow-exp clear-num rem-cube-cbrt
cbrt-undiv cube-mult flip3-- pow-pow flip3-+ unpow3 div-exp pow-prod-down flip-- rem-cbrt-cube flip-+ sqr-pow
pow-to-exp sub-neg pow1/3 diff-log
Counts
4 → 230
Calls
4 calls:
13.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
23.0ms
(cbrt (pow (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)) 3))
17.0ms
(pow (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)) 3)
5.0ms
(- (exp x) (exp (- x)))

series263.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
61.0ms
(cbrt (pow (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)) 3))
86.0ms
(pow (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)) 3)
36.0ms
(- (exp x) (exp (- x)))

simplify49.0ms

Algorithm
egg-herbie
Counts
242 → 242
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010482730
150012554

prune698.0ms

Filtered
242 candidates to 131 candidates (54.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2420242
Fresh011
Picked011
Done011
Total2423245

Merged error: 0b

Counts
245 → 3

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow x 2) (+ (* 1/12 (pow x 4)) 2))
0.0b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
0.1b
(* 1/12 (pow x 4))
20.5b
(- (exp x) (exp (- x)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
37×*-un-lft-identity
23×associate-*l*
19×add-cube-cbrt
16×times-frac
14×add-exp-log
13×associate-*l/
11×add-cbrt-cube add-log-exp
10×associate-*r*
pow1
prod-exp distribute-lft-out associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
unpow-prod-down
associate-/r* sum-log cbrt-unprod
+-commutative associate-+r+ flip3-- pow-prod-down *-commutative flip-- associate-/l/ sqr-pow
cbrt-undiv pow-to-exp sub-neg frac-2neg flip3-+ diff-log div-exp pow-exp clear-num flip-+ div-inv
Counts
4 → 107
Calls
4 calls:
17.0ms
(+ (pow x 2) (+ (* 1/12 (pow x 4)) 2))
17.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
7.0ms
(* 1/12 (pow x 4))
5.0ms
(- (exp x) (exp (- x)))

series197.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(+ (pow x 2) (+ (* 1/12 (pow x 4)) 2))
82.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
42.0ms
(* 1/12 (pow x 4))
36.0ms
(- (exp x) (exp (- x)))

simplify60.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0510825
12229752
25002748

prune598.0ms

Filtered
119 candidates to 80 candidates (67.2%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1190119
Fresh000
Picked011
Done022
Total1193122

Merged error: 0b

Counts
122 → 3

regimes44.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02518
12718
22918
32918

end0.0ms

sample1.9s

Algorithm
halfpoints