Details

Time bar (total: 8.2s)

sample270.0ms

Algorithm
halfpoints

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31317
42237
54667
611237
722447
850027

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 44.7b

Counts
2 → 1

localize36.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
57.9b
(- (exp x) (exp (- x)))

rewrite8.0ms

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

series119.0ms

Counts
2 → 6
Calls
2 calls:
80.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
39.0ms
(- (exp x) (exp (- x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
012399
137996
2160393
3500289

prune62.0ms

Filtered
17 candidates to 14 candidates (82.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New13417
Fresh000
Picked101
Done000
Total14418

Merged error: 0.1b

Counts
18 → 4

localize24.0ms

Local error

Found 3 expressions with local error:

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

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
associate-*l/
fma-udef
frac-2neg associate-*l* clear-num *-commutative div-inv
Counts
3 → 7
Calls
3 calls:
1.0ms
(fma 1/60 (pow x 5) (* 2 x))
1.0ms
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))
3.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) 2.0) (sin y))

series261.0ms

Counts
3 → 9
Calls
3 calls:
117.0ms
(fma 1/60 (pow x 5) (* 2 x))
56.0ms
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))
87.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) 2.0) (sin y))

simplify102.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
08164
126962
295460
3376660
4500160

prune48.0ms

Filtered
16 candidates to 9 candidates (56.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New15116
Fresh033
Picked011
Done000
Total15520

Merged error: 0.1b

Counts
20 → 5

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
frac-2neg clear-num associate-/r/ div-inv
fma-udef
associate-/r*
Counts
4 → 12
Calls
4 calls:
1.0ms
(fma 1/60 (pow x 5) (* 2 x))
1.0ms
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))
2.0ms
(/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))))
3.0ms
(/ (sin y) (/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))))

series434.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(fma 1/60 (pow x 5) (* 2 x))
57.0ms
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))
87.0ms
(/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))))
167.0ms
(/ (sin y) (/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))))

simplify44.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0150132
1448129
21477122
35001121

prune69.0ms

Filtered
24 candidates to 15 candidates (62.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New23124
Fresh033
Picked011
Done011
Total23629

Merged error: 0.1b

Counts
29 → 6

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))
0.0b
(/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))))
0.2b
(/ (/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))) (sin y))
0.9b
(/ 1 (/ (/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))) (sin y)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
clear-num
associate-/r/ associate-/l/
frac-2neg div-inv
remove-double-div associate-/l*
associate-/r* fma-udef inv-pow
Counts
4 → 25
Calls
4 calls:
1.0ms
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))
2.0ms
(/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))))
3.0ms
(/ (/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))) (sin y))
4.0ms
(/ 1 (/ (/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))) (sin y)))

series321.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))
90.0ms
(/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))))
93.0ms
(/ (/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))) (sin y))
86.0ms
(/ 1 (/ (/ 2.0 (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x)))) (sin y)))

simplify63.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0199217
1643207
22600197
35001195

prune99.0ms

Filtered
37 candidates to 25 candidates (67.6%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New35237
Fresh033
Picked011
Done022
Total35843

Merged error: 0.0b

Counts
43 → 8

regimes78.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
0188
1188

end0.0ms

sample5.9s

Algorithm
halfpoints