Details

Time bar (total: 2.2s)

sample13.0ms

Algorithm
intervals
Results
6.0ms373×body80valid

simplify204.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1354
2814
31274
41334
51494
62054
73964
813284
946684
1050014

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

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

series71.0ms

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

simplify180.0ms

Algorithm
egg-herbie
Counts
12 → 12
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
08158
126754
298551
3400351
4500251

prune16.0ms

Filtered
12 candidates to 5 candidates (41.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New8412
Fresh000
Picked101
Done000
Total9413

Merged error: 0.0b

Counts
13 → 4

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

rewrite14.0ms

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

series152.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(* 2.0 (pow x 3))
91.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
26.0ms
(* (* x x) 3.0)

simplify169.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
09277
141273
2269364
3500264

prune34.0ms

Filtered
21 candidates to 10 candidates (47.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New21021
Fresh033
Picked011
Done000
Total21425

Merged error: 0.0b

Counts
25 → 4

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

rewrite14.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:
5.0ms
(* x (- 3.0 (* x 2.0)))
8.0ms
(* x (* x (- 3.0 (* x 2.0))))

series141.0ms

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

simplify180.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
089119
1255108
2966105
34032105
45001105

prune27.0ms

Filtered
26 candidates to 9 candidates (34.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New25126
Fresh112
Picked011
Done011
Total26430

Merged error: 0.0b

Counts
30 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
0.1b
(* x (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))))
2.9b
(/ (* x (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))) (+ 3.0 (* x 2.0)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
24×associate-*r*
17×*-commutative
12×difference-of-squares
10×distribute-rgt-in distribute-lft-in associate-*r/
associate-/l*
sub-neg
flip3-- flip--
associate-/r/ associate-/l/
frac-2neg flip3-+ clear-num flip-+ div-inv
Counts
3 → 43
Calls
3 calls:
8.0ms
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
9.0ms
(* x (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))))
12.0ms
(/ (* x (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))) (+ 3.0 (* x 2.0)))

series348.0ms

Counts
3 → 9
Calls
3 calls:
99.0ms
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
98.0ms
(* x (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))))
151.0ms
(/ (* x (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))) (+ 3.0 (* x 2.0)))

simplify143.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0202328
1765328
24094281
35001281

prune63.0ms

Filtered
52 candidates to 25 candidates (48.1%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New51152
Fresh011
Picked011
Done022
Total51556

Merged error: 0b

Counts
56 → 5

regimes16.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
0176
1196
2196

end0.0ms

sample343.0ms

Algorithm
intervals
Results
221.0ms12052×body80valid