Details

Time bar (total: 1.9s)

sample20.0ms

Algorithm
intervals
Results
9.0ms323×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: 1.8b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.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:
3.0ms
(/ (+ x 4.0) y)
8.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
3.0ms
(* (/ x y) z)

series94.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(/ (+ x 4.0) y)
43.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
21.0ms
(* (/ x y) z)

simplify52.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0404331
11883290
25001276

prune104.0ms

Filtered
44 candidates to 32 candidates (72.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New39544
Fresh000
Picked101
Done000
Total40545

Merged error: 0.0b

Counts
45 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ y (+ x 4.0))
0.0b
(- (/ 1 (/ y (+ x 4.0))) (* (/ x y) z))
0.1b
(/ 1 (/ y (+ x 4.0)))
4.2b
(* (/ x y) z)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
25×associate-/r/
21×associate-*l/
18×clear-num frac-sub
17×frac-2neg
15×div-inv
12×prod-diff associate-/r*
flip3-+ associate-*l* *-commutative flip-+
fma-neg
sub-neg flip3-- flip-- remove-double-div inv-pow
Counts
4 → 59
Calls
4 calls:
3.0ms
(/ y (+ x 4.0))
10.0ms
(- (/ 1 (/ y (+ x 4.0))) (* (/ x y) z))
4.0ms
(/ 1 (/ y (+ x 4.0)))
3.0ms
(* (/ x y) z)

series126.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ y (+ x 4.0))
43.0ms
(- (/ 1 (/ y (+ x 4.0))) (* (/ x y) z))
27.0ms
(/ 1 (/ y (+ x 4.0)))
21.0ms
(* (/ x y) z)

simplify98.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
0514556
12643475
25001450

prune147.0ms

Filtered
71 candidates to 45 candidates (63.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New71071
Fresh044
Picked011
Done000
Total71576

Merged error: 0.0b

Counts
76 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (/ z (/ y x)))
4.4b
(/ 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))

series90.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0499425
12631373
25003356

prune123.0ms

Filtered
50 candidates to 39 candidates (78.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New49150
Fresh123
Picked011
Done011
Total50555

Merged error: 0.0b

Counts
55 → 5

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
frac-times
flip3-+ flip-+
neg-mul-1 frac-2neg associate-*l/ clear-num
associate-/r*
+-commutative distribute-rgt-in distribute-lft-in associate-*r/ div-inv associate-/l/
associate-*r* associate-*l* distribute-rgt1-in *-commutative fma-udef
Counts
3 → 27
Calls
3 calls:
3.0ms
(/ (+ x 4.0) y)
5.0ms
(* (/ z (- y)) (+ x (- x)))
1.0ms
(fma x (/ z (- y)) (/ (+ x 4.0) y))

series79.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(/ (+ x 4.0) y)
2.0ms
(* (/ z (- y)) (+ x (- x)))
52.0ms
(fma x (/ z (- y)) (/ (+ x 4.0) y))

simplify33.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0272185
11137134
25001104

prune85.0ms

Filtered
36 candidates to 26 candidates (72.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New36036
Fresh022
Picked011
Done022
Total36541

Merged error: 0.0b

Counts
41 → 5

regimes77.0ms

Accuracy

91.6% (0.1b remaining)

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

bsearch68.0ms

Steps
ItersRangePoint
8
2.1058672778619182e+47
1.3262090562853428e+50
3.1968188028043897e+47
6
-0.2390566333155073
-0.023919459482322245
-0.12093481890030686

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03424
13524
23524

end0.0ms

sample495.0ms

Algorithm
intervals
Results
291.0ms10045×body80valid