How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Efficient exact-denominator Rz grid iterator
Definition
Inputs are and the unit vector , in the ideal exact-real arithmetic/comparison model. Put and The outer ellipse has center , semiaxes in direction and perpendicular to . Compute simultaneously uprighting by Effective simultaneous grid uprighting of paired ellipses, including its balancing operations, with . Retain this map for every layer. All subsequent coordinates are exact. Square roots in line/ellipse intersections are positive real exponentiation, or equivalently their comparisons can use sign tests and squared inequalities. Integer parts are obtained by bounded binary search, with their comparison cost charged.
Process denominator layers in order. At , enumerate the coefficient tuples in lexicographic order, form , and retain exactly those satisfying and . At , run three disjoint subproblems, indexed by : write and impose the corresponding affine constraints on . In each subproblem apply to and to , and replace the constraints by their affine images. Their outer ellipses are translated/scaled copies of . For each of the two lattice cosets , , translate both constraint sets appropriately, remembering that . The unknowns then lie in .
Construct a finite proposal domain for each resulting subproblem as follows. Let be the coordinate intervals of its first outer ellipse's bounding box, and those of its second; set , and the fixed constant , .
- If both , use the Cartesian product of the two one-dimensional proposal lists from One-dimensional quadratic grid enumeration and counting. Filter each proposal by the original exact cap and disk inequalities after inverse transformations.
- Otherwise take a coordinate with product less than , enumerate and filter its one-dimensional list completely, and retain its finitely many actual coordinate solutions. For each, compute the two exact remaining-coordinate slice intervals of the transformed cap and disk. Each is the intersection of a quadratic interval and a linear half-line; compute it by the quadratic formula and sign tests, declaring it empty when appropriate. Use the one-dimensional proposal list on these slice intervals, including its singleton rule, and test both original constraints. Before normalizing a positive first slice width with second width , if , enlarge that first interval concentrically to width and retain the original slice inequalities as filters; its new length product is at most one. For singleton second intervals first use the singleton enlargement of the one-dimensional lemma. This padding prevents arbitrarily small slice widths from causing an unbounded unit-rescaling exponent.
Each component is a Cartesian index range or one of finitely many one-dimensional ranges. Keep their lengths and prefix sums, so a domain index specifies one proposal without materializing a long list. Map a retained point back to . Maintain a set of already emitted exact coefficient tuples for the current layer.
To stream the layer, interleave a random proposal attempt with the next index of an exhaustive sequential scan. For domain size , a random attempt draws unbiased bits and treats them as an integer . If , visit proposal ; otherwise omit the random visit on this iteration. In either case advance the exhaustive scan by one index. Thus accepted random visits are uniform and a random attempt is accepted with probability at least , while rejection cannot block the exhaustive scan. At each visit emit its retained if not already emitted. Stop the layer once the sequential scan finishes, then discard its emitted set and advance to . For an empty proposal domain advance immediately. This is a randomized within-layer order with deterministic finite-layer completion; it promises no lexicographic tie order. The enumeration and its complexity are established in Complete scaled-grid enumeration with expected polynomial prefix cost ↗.
Depends on
Used by
Dependency tree · two levels
8 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Ross and Selinger, Optimal ancilla-free Clifford+T approximation of z-rotations, Sections 4–5 and Appendix A (standard reference, not scraped)