M.5.1 Polygon certificates for planar anchor errors
The rational certificates in M.5 enclose the anchor error in a computable set. When two coordinates share a logarithm interval, its error should retain its direction: one line segment moves both coordinates together. Even a sum of many planar segments can have few edges. We first construct the entire boundary, then use the actual Nyman residues to reduce every anchor cutoff to four directions. This section consists of manual derivations, not separately checked in Lean.
M.5.1.1 From generator signs to the polygon boundary
Let be rational generators and let be a rational symmetric positive semidefinite matrix. Put
Such a sum of segments is called a zonotope. Coordinatewise convexity on the parameter box places a maximum at generator signs, but distinct parameter signs need not represent distinct geometric vertices. To walk only the boundary, discard zero generators and orient each remaining generator into the half-plane
Changing a generator’s sign preserves its segment. For two distinct directions in this half-plane, place before when ; a zero determinant means the vectors have the same direction, so merge them by addition. This produces nonzero vectors in direction order, with . Comparisons use rational determinants and require no inverse trigonometric functions.
For , define
Why does the walk miss no corner? For a nonzero normal vector , the support function is . As rotates through a suitable half-turn, the directions at which changes from negative to positive occur in order. Parallel generators have been merged, so each crossing involves just one direction. Between successive crossings, the unique support point is a with a positive prefix and negative remaining generators; at a crossing, the support face is the segment joining adjacent points, with edge vector . The other half-turn gives their central reflections. This enumerates every support face, so the convex hull is the original set. A positive semidefinite quadratic form is convex: its value at a convex combination is at most the largest vertex value. Central reflection preserves energy, giving the last formula.
If , the set is the origin and its maximum is zero; if , it is a segment and one endpoint suffices. For , distinct directions make the set two-dimensional, with exactly vertices. Sorting and merging take rational comparisons/arithmetic operations, followed by at most energy evaluations. This counts arithmetic operations, without treating rational bit lengths as constant. Positive semidefiniteness is necessary: on the segment , the maximum for occurs at the origin, while both endpoint values are negative.
M.5.1.2 The actual residues leave only four directions
Fix and use the zero-tail basis and anchor from M.5. Its step values and coordinate bounds are
Choose an integer anchor cutoff , independently of the Gram cutoff. For each , fix rationals satisfying and . The positive series in M.5 supplies these intervals. The actual anchor tail satisfies , hence
The last term encloses the anchor tail after subtracting its midpoint; each shared logarithm error propagates along its entire vector . Not every point in this set need be jointly realized by the actual logarithms and tail. All generators are nonnegative, and grouping by gives the complete direction table:
| Direction | ||
|---|---|---|
| Zero generator | ||
| Slope | ||
| Vertical axis | ||
| Horizontal axis | ||
| Vertical axis | ||
| Slope |
Specifically, put and set
These four vectors are already ordered by direction. The sum of segments with the same direction is exactly the segment generated by their vector sum, so they generate the same . Delete either oblique vector if it is zero, reindex the remaining vectors in order, then apply the boundary formula above. Both axis vectors remain nonzero, so . Thus every anchor cutoff needs at most eight geometric vertices and four energy evaluations. If both oblique vectors are nonzero, all eight vertices occur; when an oblique vector vanishes, the polygon becomes a hexagon or rectangle. One rational summation groups the directions, and the actual residues require no sorting.
M.5.1.3 A fixed polygon and a decreasing certificate
Take the actual Gram inverse from M.5, with , and fix the midpoint, intervals, and polygon above. The vertex construction defines
Set inclusion gives the coordinate-box comparison, and makes each fixed vertex value nonincreasing. Finitely many vertices and give the limit. Preprocessed vertices can be reused throughout the Gram updates; changing the anchor intervals requires reconstructing the set.
This feeds directly into the energy-splitting certificate in M.5. Retain its and put
Indeed, the polygon maximum controls the inverse energy of the anchor error, while the second term controls the omitted Gram energy. Both terms are nonnegative and nonincreasing, and the second tends to zero, so the certificate decreases to . For any computed and rational tolerance , an explicit stopping budget is
The tail term is at most . Whenever , such a strict margin appears after finitely many steps. This controls the worst energy over the certified set; it supplies no lower bound on the actual anchor error, dimension-uniform spectral gap, or original trial sequence attaining the sharp constant.
Take . The interval gives and , hence
The nonzero generators lie, in order, along the horizontal axis, slope , and vertical axis. Only the following three points need checking; their negatives give all three remaining vertices.
| Point | Coordinates | Inverse energy |
|---|---|---|
Thus . The box with the same midpoint and coordinate widths has maximum , larger by . These three rational comparisons compute the exact maximum over the entire correlated-error hexagon. The matrix comes from the actual Nyman basis; the conclusion remains a manual derivation, not separately checked in Lean.