Details

Time bar (total: 1.6s)

sample19.0ms

Algorithm
intervals
Results
11.0ms343×body80valid

simplify81.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (38.0ms)

IterNodesCost
0276
1636
21545
33235
44265
55285
66045
78325
814644
920354
1020644
1120644

prune4.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.1b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* (* x 3.0) x) (* x 4.0))
0.1b
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
0.2b
(* (* x 3.0) x)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
31×*-commutative
24×prod-diff
20×associate-+l+
17×associate-*l*
12×distribute-rgt-in distribute-lft-in
fma-neg
sub-neg
+-commutative associate-*r/ distribute-lft-out--
flip3-- distribute-rgt-out-- flip3-+ flip-- flip-+
Counts
3 → 49
Calls
3 calls:
7.0ms
(- (* (* x 3.0) x) (* x 4.0))
10.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
4.0ms
(* (* x 3.0) x)

series127.0ms

Counts
3 → 9
Calls
3 calls:
69.0ms
(- (* (* x 3.0) x) (* x 4.0))
34.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
24.0ms
(* (* x 3.0) x)

simplify64.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0199370
1543353
22056327
35002298

prune59.0ms

Filtered
58 candidates to 20 candidates (34.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New53558
Fresh000
Picked101
Done000
Total54559

Merged error: 0.0b

Counts
59 → 5

localize6.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma x (- (* 9.0 x) 12.0) 3.0)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
Counts
1 → 1
Calls
1 calls:
1.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

series31.0ms

Counts
1 → 3
Calls
1 calls:
31.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

simplify61.0ms

Algorithm
egg-herbie
Counts
4 → 4
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
03018
16415
216015
336912
4112812
5500112

prune14.0ms

Filtered
4 candidates to 2 candidates (50.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New404
Fresh044
Picked011
Done000
Total459

Merged error: 0.0b

Counts
9 → 5

localize9.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma 3.0 (* x x) (- (* x 4.0)))
0.1b
(* 3.0 (+ (fma 3.0 (* x x) (- (* x 4.0))) 1.0))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
distribute-rgt-in distribute-lft-in fma-udef
+-commutative associate-+l+ associate-*r/
flip3-+ *-commutative flip-+
Counts
2 → 10
Calls
2 calls:
1.0ms
(fma 3.0 (* x x) (- (* x 4.0)))
3.0ms
(* 3.0 (+ (fma 3.0 (* x x) (- (* x 4.0))) 1.0))

series104.0ms

Counts
2 → 6
Calls
2 calls:
72.0ms
(fma 3.0 (* x x) (- (* x 4.0)))
32.0ms
(* 3.0 (+ (fma 3.0 (* x x) (- (* x 4.0))) 1.0))

simplify162.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 3 (30.0ms)

IterNodesCost
09187
125077
284874
3401871
4500171

prune30.0ms

Filtered
16 candidates to 8 candidates (50.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New14216
Fresh213
Picked011
Done011
Total16521

Merged error: 0.0b

Counts
21 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* 3.0 x) 4.0)
0.1b
(* x (- (* 3.0 x) 4.0))
0.1b
(* 3.0 (* x (- (* 3.0 x) 4.0)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
10×distribute-rgt-in distribute-lft-in
sub-neg
associate-*r/
*-commutative
flip3-- flip--
fma-neg associate-*r*
Counts
3 → 26
Calls
3 calls:
4.0ms
(- (* 3.0 x) 4.0)
4.0ms
(* x (- (* 3.0 x) 4.0))
6.0ms
(* 3.0 (* x (- (* 3.0 x) 4.0)))

series186.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(- (* 3.0 x) 4.0)
64.0ms
(* x (- (* 3.0 x) 4.0))
83.0ms
(* 3.0 (* x (- (* 3.0 x) 4.0)))

simplify127.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
0108139
1288135
21037132
33685131
45001131

prune45.0ms

Filtered
35 candidates to 16 candidates (45.7%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New34135
Fresh112
Picked011
Done022
Total35540

Merged error: 0.0b

Counts
40 → 5

regimes20.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample410.0ms

Algorithm
intervals
Results
283.0ms10731×body80valid