Details

Time bar (total: 8.9s)

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

prune9.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: 44.7b

Counts
2 → 1

localize50.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.9b
(- (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)))

series199.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0197194
1710188
23706184
35002184

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

localize59.0ms

Local error

Found 4 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
associate-*l/
associate-*r* *-commutative
flip3-+ flip-+ associate-/l/ sqr-pow
+-commutative frac-2neg unpow3 associate-*l* clear-num div-inv
Counts
4 → 15
Calls
4 calls:
3.0ms
(+ (exp x) (exp (- 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))

series204.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (exp x) (exp (- x)))
47.0ms
(* 1/60 (pow x 5))
90.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
39.0ms
(* 1/3 (pow x 3))

simplify164.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0188131
1698124
24200122
35002122

prune126.0ms

Filtered
27 candidates to 19 candidates (70.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New25227
Fresh022
Picked011
Done000
Total25530

Merged error: 0.1b

Counts
30 → 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:
7.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)))))

series358.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (18.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.0b

Counts
36 → 7

localize63.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.9b
(/ 1 (/ (/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))) (sin y)))

rewrite26.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))
10.0ms
(/ 1 (/ (/ 2.0 (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))) (sin y)))

series275.0ms

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

simplify142.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 3 (137.0ms)

IterNodesCost
0229258
1807249
24123233
35001232

prune164.0ms

Filtered
42 candidates to 28 candidates (66.7%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New40242
Fresh044
Picked011
Done022
Total40949

Merged error: 0.0b

Counts
49 → 9

regimes125.0ms

Accuracy

0% (0.7b remaining)

Error of 0.8b against oracle of 0.1b 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