Details

Time bar (total: 2.3s)

sample15.0ms

Algorithm
intervals
Results
7.0ms385×body80valid

simplify196.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

0.2b
(* (* 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)))

simplify169.0ms

Algorithm
egg-herbie
Counts
12 → 12
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
08358
127554
2104750
3432350
4500150

prune23.0ms

Filtered
12 candidates to 5 candidates (41.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New8412
Fresh000
Picked011
Done000
Total8513

Merged error: 0.0b

Counts
13 → 5

localize8.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)

rewrite15.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))
8.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
4.0ms
(* (* x x) 3.0)

series167.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(* 2.0 (pow x 3))
99.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
25.0ms
(* (* x x) 3.0)

simplify164.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 3 (161.0ms)

IterNodesCost
09878
144772
2302164
3500160

prune55.0ms

Filtered
25 candidates to 15 candidates (60.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New23225
Fresh123
Picked101
Done011
Total25530

Merged error: 0.0b

Counts
30 → 5

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 2.0 (pow x 3))
0.1b
(fma x (* x 3.0) (- (* 2.0 (pow x 3))))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r*
unpow3 *-commutative fma-udef sqr-pow
Counts
2 → 4
Calls
2 calls:
3.0ms
(* 2.0 (pow x 3))
1.0ms
(fma x (* x 3.0) (- (* 2.0 (pow x 3))))

series150.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(* 2.0 (pow x 3))
108.0ms
(fma x (* x 3.0) (- (* 2.0 (pow x 3))))

simplify75.0ms

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
03627
19527
231824
3127924
4500224

prune20.0ms

Filtered
10 candidates to 5 candidates (50.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New10010
Fresh033
Picked011
Done011
Total10515

Merged error: 0.0b

Counts
15 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

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

series511.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(* x (- 3.0 (* x 2.0)))
156.0ms
(* (* x (* x (- 3.0 (* x 2.0)))) (fma 2.0 x 3.0))
75.0ms
(* x (* x (- 3.0 (* x 2.0))))
208.0ms
(/ (* (* x (* x (- 3.0 (* x 2.0)))) (fma 2.0 x 3.0)) (+ 3.0 (* x 2.0)))

simplify102.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0207293
1792264
23936238
35001238

prune87.0ms

Filtered
54 candidates to 30 candidates (55.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New53154
Fresh112
Picked101
Done022
Total55459

Merged error: 0b

Counts
59 → 4

regimes34.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
0155
1175
2175

end0.0ms

sample360.0ms

Algorithm
intervals
Results
230.0ms12027×body80valid