Details

Time bar (total: 1.6s)

sample19.0ms

Algorithm
intervals
Results
8.0ms323×body80valid

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0224
1464
21214
32584
44344
56874
619574
750024

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: 11.9b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ (- y z) 1.0))
11.1b
(/ (* x (+ (- y z) 1.0)) z)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
distribute-rgt-in associate-+l+ distribute-lft-in associate-*r/
+-commutative sub-neg flip3-+ *-commutative flip-+ associate-/l/ associate-/l*
frac-2neg clear-num div-inv
Counts
2 → 18
Calls
2 calls:
5.0ms
(* x (+ (- y z) 1.0))
6.0ms
(/ (* x (+ (- y z) 1.0)) z)

series78.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(* x (+ (- y z) 1.0))
45.0ms
(/ (* x (+ (- y z) 1.0)) z)

simplify78.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 4 (74.0ms)

IterNodesCost
012397
131591
297788
3360385
4500184

prune44.0ms

Filtered
24 candidates to 14 candidates (58.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New21324
Fresh000
Picked101
Done000
Total22325

Merged error: 0b

Counts
25 → 3

localize8.0ms

Local error

Found 1 expressions with local error:

1.2b
(fma (/ x z) (+ 1.0 y) (- x))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
Counts
1 → 1
Calls
1 calls:
1.0ms
(fma (/ x z) (+ 1.0 y) (- x))

series48.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
4 → 4
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
03121
16321
29815
312115
416215
522915
638715
786115
8125015
9179615
10346715
11500215

prune6.0ms

Filtered
4 candidates to 1 candidates (25.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New404
Fresh022
Picked011
Done000
Total437

Merged error: 0b

Counts
7 → 3

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
3.1b
(/ x (/ z (+ (- y z) 1.0)))

rewrite9.0ms

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

series98.0ms

Counts
2 → 6
Calls
2 calls:
50.0ms
(/ z (+ (- y z) 1.0))
47.0ms
(/ x (/ z (+ (- y z) 1.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
09976
130671
2125869
3500166

prune40.0ms

Filtered
20 candidates to 15 candidates (75.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New20020
Fresh011
Picked011
Done011
Total20323

Merged error: 0b

Counts
23 → 3

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- y z)))
0.0b
(* x (- y z))
11.1b
(/ (+ (* x 1.0) (* x (- y z))) z)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in
distribute-rgt-out fma-def flip3-+ associate-*r/ flip-+ associate-/l/ distribute-lft-out associate-/l*
+-commutative flip3-- frac-2neg clear-num flip-- div-inv
Counts
3 → 25
Calls
3 calls:
5.0ms
(+ (* x 1.0) (* x (- y z)))
3.0ms
(* x (- y z))
7.0ms
(/ (+ (* x 1.0) (* x (- y z))) z)

series147.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(+ (* x 1.0) (* x (- y z)))
40.0ms
(* x (- y z))
67.0ms
(/ (+ (* x 1.0) (* x (- y z))) z)

simplify68.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (64.0ms)

IterNodesCost
0154127
1545123
22424118
35002115

prune52.0ms

Filtered
34 candidates to 18 candidates (52.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New34034
Fresh000
Picked011
Done022
Total34337

Merged error: 0b

Counts
37 → 3

regimes58.0ms

Accuracy

76.3% (0.4b remaining)

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

bsearch79.0ms

Steps
ItersRangePoint
8
9.349759581274407e-114
1.9669099596609714e-110
1.9382208656229947e-110
9
-1.394695875033139e-08
-5.490563833332279e-14
-2.0792424800845725e-11

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0259
1259

end0.0ms

sample495.0ms

Algorithm
intervals
Results
272.0ms10171×body80valid