Details

Time bar (total: 8.9s)

sample267.0ms

Algorithm
halfpoints

simplify58.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: 45.4b

Counts
2 → 1

localize49.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.1b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
57.3b
(- (exp x) (exp (- x)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*l/
associate-/l/
flip3-- frac-2neg flip3-+ associate-*l* clear-num *-commutative flip-- flip-+ div-inv
+-commutative sub-neg
Counts
4 → 21
Calls
4 calls:
5.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
3.0ms
(+ (exp x) (exp (- x)))
5.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
2.0ms
(- (exp x) (exp (- x)))

series205.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
22.0ms
(+ (exp x) (exp (- x)))
81.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
39.0ms
(- (exp x) (exp (- x)))

simplify119.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0197194
1710188
23706184
35002184

prune135.0ms

Filtered
33 candidates to 28 candidates (84.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New30333
Fresh000
Picked101
Done000
Total31334

Merged error: 0.1b

Counts
34 → 3

localize62.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
0.1b
(* 1/60 (pow x 5))
0.1b
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
0.1b
(* 1/3 (pow x 3))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
associate-*l/
associate-*r* *-commutative
+-commutative associate-+r+ flip3-+ flip-+ associate-/l/ sqr-pow
frac-2neg unpow3 associate-*l* clear-num div-inv
Counts
4 → 17
Calls
4 calls:
8.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
3.0ms
(* 1/60 (pow x 5))
9.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
3.0ms
(* 1/3 (pow x 3))

series244.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
53.0ms
(* 1/60 (pow x 5))
92.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
37.0ms
(* 1/3 (pow x 3))

simplify122.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0147166
1587161
22984160
35003160

prune125.0ms

Filtered
29 candidates to 19 candidates (65.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New27229
Fresh022
Picked011
Done000
Total27532

Merged error: 0.1b

Counts
32 → 5

localize58.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))))
0.1b
(* 1/60 (pow x 5))
0.1b
(* 1/3 (pow x 3))
0.3b
(/ (sin y) (/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
frac-2neg associate-*r* clear-num associate-/r* div-inv
flip3-+ *-commutative flip-+ sqr-pow
unpow3
Counts
4 → 19
Calls
4 calls:
8.0ms
(/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))))
3.0ms
(* 1/60 (pow x 5))
3.0ms
(* 1/3 (pow x 3))
9.0ms
(/ (sin y) (/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))))

series363.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))))
48.0ms
(* 1/60 (pow x 5))
41.0ms
(* 1/3 (pow x 3))
178.0ms
(/ (sin y) (/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))))

simplify84.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0188194
1596189
22505182
35003182

prune152.0ms

Filtered
31 candidates to 22 candidates (71.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New28331
Fresh123
Picked011
Done011
Total29736

Merged error: 0.1b

Counts
36 → 7

localize59.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 1/60 (pow x 5))
0.1b
(* 1/3 (pow x 3))
0.2b
(/ (/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))) (sin y))
0.6b
(/ 1 (/ (/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))) (sin y)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
13×associate-/r/
clear-num associate-/l/
associate-/l*
frac-2neg div-inv
associate-*r*
flip3-+ *-commutative flip-+ remove-double-div sqr-pow
unpow3 associate-/r* inv-pow
Counts
4 → 30
Calls
4 calls:
3.0ms
(* 1/60 (pow x 5))
3.0ms
(* 1/3 (pow x 3))
9.0ms
(/ (/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))) (sin y))
14.0ms
(/ 1 (/ (/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))) (sin y)))

series281.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* 1/60 (pow x 5))
37.0ms
(* 1/3 (pow x 3))
96.0ms
(/ (/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))) (sin y))
94.0ms
(/ 1 (/ (/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))) (sin y)))

simplify145.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 3 (140.0ms)

IterNodesCost
0229258
1807249
24123233
35001232

prune171.0ms

Filtered
42 candidates to 28 candidates (66.7%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New40242
Fresh224
Picked011
Done022
Total42749

Merged error: 0.0b

Counts
49 → 7

regimes95.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03519
13519

end0.0ms

sample6.0s

Algorithm
halfpoints