Details

Time bar (total: 2.5s)

sample15.0ms

Algorithm
intervals
Results
7.0ms373×body80valid

simplify205.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0134
1354
2894
31574
41704
51864
62444
74424
813894
947674
1050014

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

0.1b
(* (* x x) (- 3.0 (* x 2.0)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
distribute-rgt-in sub-neg distribute-lft-in associate-*r/ associate-*l* *-commutative
flip3-- flip--
Counts
1 → 9
Calls
1 calls:
5.0ms
(* (* x x) (- 3.0 (* x 2.0)))

series76.0ms

Counts
1 → 3
Calls
1 calls:
76.0ms
(* (* x x) (- 3.0 (* x 2.0)))

simplify176.0ms

Algorithm
egg-herbie
Counts
12 → 12
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
08358
127554
2104750
3432350
4500150

prune18.0ms

Filtered
12 candidates to 5 candidates (41.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New9312
Fresh000
Picked101
Done000
Total10313

Merged error: 0.0b

Counts
13 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 2.0 (pow x 3))
0.0b
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
0.2b
(* (* x x) 3.0)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
fma-def associate-*l*
associate-*r*
+-commutative neg-sub0 associate-+r- flip3-+ unpow3 unsub-neg flip-+ sqr-pow
Counts
3 → 16
Calls
3 calls:
3.0ms
(* 2.0 (pow x 3))
9.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
4.0ms
(* (* x x) 3.0)

series170.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(* 2.0 (pow x 3))
101.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
30.0ms
(* (* x x) 3.0)

simplify171.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 3 (166.0ms)

IterNodesCost
09878
144772
2302164
3500160

prune46.0ms

Filtered
25 candidates to 15 candidates (60.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New25025
Fresh022
Picked011
Done000
Total25328

Merged error: 0.0b

Counts
28 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (- 3.0 (* x 2.0)))
0.2b
(* x (* x (- 3.0 (* x 2.0))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×distribute-rgt-in distribute-lft-in
sub-neg associate-*r/
*-commutative
flip3-- associate-*r* flip--
Counts
2 → 20
Calls
2 calls:
3.0ms
(* x (- 3.0 (* x 2.0)))
7.0ms
(* x (* x (- 3.0 (* x 2.0))))

series147.0ms

Counts
2 → 6
Calls
2 calls:
73.0ms
(* x (- 3.0 (* x 2.0)))
74.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify179.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
092119
1266108
21036103
34359103
45001103

prune32.0ms

Filtered
26 candidates to 9 candidates (34.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New24226
Fresh011
Picked101
Done011
Total25429

Merged error: 0.0b

Counts
29 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (fma 2.0 x 3.0))
0.2b
(* x (/ (* (* x (fma 2.0 x 3.0)) (- 3.0 (* x 2.0))) (+ 3.0 (* x 2.0))))
0.2b
(* (* x (fma 2.0 x 3.0)) (- 3.0 (* x 2.0)))
0.3b
(/ (* (* x (fma 2.0 x 3.0)) (- 3.0 (* x 2.0))) (+ 3.0 (* x 2.0)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
15×associate-*r/
*-commutative associate-/l*
associate-*l*
associate-/r/ associate-/l/
distribute-rgt-in flip3-- distribute-lft-in associate-*r* clear-num flip--
sub-neg frac-2neg flip3-+ flip-+ fma-udef div-inv
un-div-inv
Counts
4 → 37
Calls
4 calls:
2.0ms
(* x (fma 2.0 x 3.0))
8.0ms
(* x (/ (* (* x (fma 2.0 x 3.0)) (- 3.0 (* x 2.0))) (+ 3.0 (* x 2.0))))
5.0ms
(* (* x (fma 2.0 x 3.0)) (- 3.0 (* x 2.0)))
8.0ms
(/ (* (* x (fma 2.0 x 3.0)) (- 3.0 (* x 2.0))) (+ 3.0 (* x 2.0)))

series668.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(* x (fma 2.0 x 3.0))
217.0ms
(* x (/ (* (* x (fma 2.0 x 3.0)) (- 3.0 (* x 2.0))) (+ 3.0 (* x 2.0))))
157.0ms
(* (* x (fma 2.0 x 3.0)) (- 3.0 (* x 2.0)))
229.0ms
(/ (* (* x (fma 2.0 x 3.0)) (- 3.0 (* x 2.0))) (+ 3.0 (* x 2.0)))

simplify39.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0196254
1917240
25002207

prune103.0ms

Filtered
49 candidates to 33 candidates (67.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New47249
Fresh112
Picked101
Done011
Total49453

Merged error: 0b

Counts
53 → 4

regimes19.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0176
1196
2196

end0.0ms

sample359.0ms

Algorithm
intervals
Results
235.0ms12052×body80valid