Details

Time bar (total: 1.6s)

sample29.0ms

Algorithm
intervals
Results
14.0ms325×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2426
3496
4556
5616
6636
7636

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

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ (+ x 4.0) y) (* (/ x y) z))
0.0b
(/ (+ x 4.0) y)
2.3b
(* (/ x y) z)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*l/
15×frac-sub
12×frac-2neg
10×clear-num
associate-/l/
div-inv
flip3-+ flip-+
prod-diff
associate-*l* *-commutative sub-div
sub-neg flip3-- fma-neg flip--
Counts
3 → 35
Calls
3 calls:
8.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
3.0ms
(/ (+ x 4.0) y)
3.0ms
(* (/ x y) z)

series91.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
26.0ms
(/ (+ x 4.0) y)
24.0ms
(* (/ x y) z)

simplify54.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0404331
11883290
25001276

prune101.0ms

Filtered
44 candidates to 32 candidates (72.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New40444
Fresh000
Picked101
Done000
Total41445

Merged error: 0.0b

Counts
45 → 4

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (fma 4.0 (/ 1 y) (/ x y)) (* (/ x y) z))
0.0b
(fma 4.0 (/ 1 y) (/ x y))
2.3b
(* (/ x y) z)

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
associate-*l/
fma-udef
sub-neg flip3-- frac-2neg associate-*l* associate--l+ clear-num *-commutative flip-- div-inv
Counts
3 → 11
Calls
3 calls:
2.0ms
(- (fma 4.0 (/ 1 y) (/ x y)) (* (/ x y) z))
1.0ms
(fma 4.0 (/ 1 y) (/ x y))
3.0ms
(* (/ x y) z)

series96.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(- (fma 4.0 (/ 1 y) (/ x y)) (* (/ x y) z))
27.0ms
(fma 4.0 (/ 1 y) (/ x y))
20.0ms
(* (/ x y) z)

simplify54.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
08893
139890
2197088
3500281

prune41.0ms

Filtered
20 candidates to 11 candidates (55.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New20020
Fresh033
Picked011
Done000
Total20424

Merged error: 0.0b

Counts
24 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (/ z (/ y x)))
2.5b
(/ z (/ y x))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
20×frac-sub
14×div-inv
13×frac-2neg clear-num
10×associate-/l/
associate-/r* associate-/r/
flip3-+ flip-+
prod-diff
sub-neg flip3-- fma-neg flip--
Counts
3 → 41
Calls
3 calls:
3.0ms
(/ (+ x 4.0) y)
8.0ms
(- (/ (+ x 4.0) y) (/ z (/ y x)))
3.0ms
(/ z (/ y x))

series88.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(/ (+ x 4.0) y)
45.0ms
(- (/ (+ x 4.0) y) (/ z (/ y x)))
18.0ms
(/ z (/ y x))

simplify70.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0499425
12631373
25003356

prune122.0ms

Filtered
50 candidates to 39 candidates (78.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New49150
Fresh112
Picked011
Done011
Total50454

Merged error: 0.0b

Counts
54 → 4

localize12.0ms

Local error

Found 1 expressions with local error:

2.9b
(/ (fma z x (- (+ x 4.0))) (- y))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
neg-mul-1 frac-2neg clear-num associate-/r* div-inv
Counts
1 → 4
Calls
1 calls:
2.0ms
(/ (fma z x (- (+ x 4.0))) (- y))

series45.0ms

Counts
1 → 3
Calls
1 calls:
45.0ms
(/ (fma z x (- (+ x 4.0))) (- y))

simplify88.0ms

Algorithm
egg-herbie
Counts
7 → 7
Iterations

Useful iterations: 7 (86.0ms)

IterNodesCost
04336
18533
221033
339332
482432
5179026
6338025
7500124

prune14.0ms

Filtered
7 candidates to 5 candidates (71.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New707
Fresh011
Picked011
Done022
Total7411

Merged error: 0.0b

Counts
11 → 4

regimes60.0ms

Accuracy

0% (1.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample530.0ms

Algorithm
intervals
Results
310.0ms10127×body80valid