Details

Time bar (total: 1.6s)

sample17.0ms

Algorithm
intervals
Results
8.0ms312×body80valid

simplify122.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0153
1253
2363
3403
4463
5583
6933
71303
81633
92713
105033
1116143
1250013

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.0b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (* y (+ z x)))
0.0b
(* y (+ z x))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
+-commutative
distribute-rgt-in associate-+r+ distribute-lft-in
flip3-+ associate-*r/ flip-+
*-commutative
Counts
2 → 14
Calls
2 calls:
3.0ms
(+ x (* y (+ z x)))
3.0ms
(* y (+ z x))

series49.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(+ x (* y (+ z x)))
24.0ms
(* y (+ z x))

simplify40.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09265
128562
2134662
3500162

prune31.0ms

Filtered
20 candidates to 12 candidates (60.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New18220
Fresh000
Picked011
Done000
Total18321

Merged error: 0.0b

Counts
21 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (+ (* y x) (* y z)))
0.0b
(+ (* y x) (* y z))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
+-commutative
associate-+r+ flip3-+ *-commutative flip-+
distribute-rgt-out distribute-lft-out
Counts
2 → 10
Calls
2 calls:
4.0ms
(+ x (+ (* y x) (* y z)))
4.0ms
(+ (* y x) (* y z))

series54.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(+ x (+ (* y x) (* y z)))
29.0ms
(+ (* y x) (* y z))

simplify180.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
012174
141566
2138164
3472064
4500164

prune29.0ms

Filtered
16 candidates to 10 candidates (62.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New14216
Fresh101
Picked011
Done011
Total15419

Merged error: 0.0b

Counts
19 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (- x z))
0.0b
(* y (+ z x))
0.2b
(* (* y (+ z x)) (* y (- x z)))
25.8b
(/ (* (* y (+ z x)) (* y (- x z))) (* y (- x z)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
34×associate-*r/
21×*-commutative
12×distribute-rgt-in distribute-lft-in times-frac
frac-times flip3-- associate-*r* associate-*l* flip-- associate-/l/
flip3-+ flip-+
sub-neg associate-/l*
associate-*l/
+-commutative associate-/r* associate-/r/
frac-2neg clear-num div-inv
Counts
4 → 68
Calls
4 calls:
3.0ms
(* y (- x z))
3.0ms
(* y (+ z x))
7.0ms
(* (* y (+ z x)) (* y (- x z)))
11.0ms
(/ (* (* y (+ z x)) (* y (- x z))) (* y (- x z)))

series167.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* y (- x z))
24.0ms
(* y (+ z x))
82.0ms
(* (* y (+ z x)) (* y (- x z)))
25.0ms
(/ (* (* y (+ z x)) (* y (- x z))) (* y (- x z)))

simplify69.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0378442
12289400
25001394

prune155.0ms

Filtered
80 candidates to 55 candidates (68.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New77380
Fresh101
Picked101
Done112
Total80484

Merged error: 0b

Counts
84 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (/ (+ z x) (/ 1 y)))
0.3b
(/ (+ z x) (/ 1 y))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
frac-2neg flip3-+ clear-num flip-+ div-inv associate-/l/
+-commutative associate-/r*
Counts
2 → 12
Calls
2 calls:
3.0ms
(+ x (/ (+ z x) (/ 1 y)))
4.0ms
(/ (+ z x) (/ 1 y))

series50.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(+ x (/ (+ z x) (/ 1 y)))
24.0ms
(/ (+ z x) (/ 1 y))

simplify45.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
010767
134761
2136159
3500258

prune29.0ms

Filtered
18 candidates to 12 candidates (66.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New18018
Fresh022
Picked011
Done011
Total18422

Merged error: 0b

Counts
22 → 4

regimes66.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
093
193

end0.0ms

sample412.0ms

Algorithm
intervals
Results
194.0ms10127×body80valid