Details

Time bar (total: 1.5s)

sample15.0ms

Algorithm
intervals
Results
8.0ms343×body80valid

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (12.0ms)

IterNodesCost
0266
1556
21226
32056
42535
53075
63635
74985
89115
911875
1011885
1111885

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)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
distribute-rgt-in associate-+l+ distribute-lft-in
sub-neg associate-*l*
+-commutative associate-*r/ distribute-lft-out--
flip3-- distribute-rgt-out-- flip3-+ flip-- flip-+
Counts
3 → 21
Calls
3 calls:
6.0ms
(- (* (* x 3.0) x) (* x 4.0))
12.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
3.0ms
(* (* x 3.0) x)

series127.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0136148
1407142
21645131
35001129

prune40.0ms

Filtered
30 candidates to 14 candidates (46.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New26430
Fresh000
Picked101
Done000
Total27431

Merged error: 0.0b

Counts
31 → 4

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- *-commutative flip--
Counts
1 → 7
Calls
1 calls:
4.0ms
(* x (- (* x 9.0) 12.0))

series61.0ms

Counts
1 → 3
Calls
1 calls:
61.0ms
(* x (- (* x 9.0) 12.0))

simplify75.0ms

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
05539
113636
247936
3169536
4500136

prune15.0ms

Filtered
10 candidates to 4 candidates (40.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New8210
Fresh123
Picked011
Done000
Total9514

Merged error: 0b

Counts
14 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
distribute-rgt-in associate-+l+ distribute-lft-in
sub-neg associate-*r* *-commutative
+-commutative associate-*r/ unpow2
flip3-- distribute-rgt-out-- flip3-+ flip-- flip-+ sqr-pow
Counts
3 → 19
Calls
3 calls:
5.0ms
(- (* 3.0 (pow x 2)) (* x 4.0))
10.0ms
(* 3.0 (+ (- (* 3.0 (pow x 2)) (* x 4.0)) 1.0))
3.0ms
(* 3.0 (pow x 2))

series127.0ms

Counts
3 → 9
Calls
3 calls:
72.0ms
(- (* 3.0 (pow x 2)) (* x 4.0))
31.0ms
(* 3.0 (+ (- (* 3.0 (pow x 2)) (* x 4.0)) 1.0))
24.0ms
(* 3.0 (pow x 2))

simplify67.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 3 (64.0ms)

IterNodesCost
0137146
1419143
21602133
35001127

prune41.0ms

Filtered
28 candidates to 13 candidates (46.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New27128
Fresh123
Picked011
Done011
Total28533

Merged error: 0b

Counts
33 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
sub-neg
distribute-rgt-in flip3-- distribute-lft-in associate-*r/ associate-*l* *-commutative flip--
Counts
2 → 13
Calls
2 calls:
3.0ms
(- (* 3.0 x) 4.0)
6.0ms
(* (* 3.0 x) (- (* 3.0 x) 4.0))

series123.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(- (* 3.0 x) 4.0)
83.0ms
(* (* 3.0 x) (- (* 3.0 x) 4.0))

simplify129.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 4 (126.0ms)

IterNodesCost
08181
123481
288477
3313676
4500372

prune22.0ms

Filtered
19 candidates to 10 candidates (52.6%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New19019
Fresh022
Picked011
Done022
Total19524

Merged error: 0b

Counts
24 → 5

regimes19.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
0114
1114

end0.0ms

sample371.0ms

Algorithm
intervals
Results
257.0ms10731×body80valid