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.
Complete scaled-grid enumeration with expected polynomial prefix cost
Statement
The iterator Efficient exact-denominator Rz grid iterator enumerates exactly once every satisfying , , in increasing least denominator exponent. Let . Its startup costs ideal exact-real arithmetic/comparison operations. In a layer having solutions, its explicit proposal domain has size for an absolute constant , without filtering already emitted lower-denominator points. Empty layers cost . For , the expected work through its first distinct outputs is ; the th moment of that prefix work is for every fixed positive integer . Complete-layer work is in expectation. These are arithmetic bounds with random-bit generation charged, and do not assert bit-time bounds for unspecified real inputs or worst-case polynomial delay.
Facts & Assumptions
Given: The arithmetic/comparison and real-input contract of the algorithm, independent unbiased random bits, and exact algebraic coefficient arithmetic.
One-dimensional intervals have the proposal and counting bounds of One-dimensional quadratic grid enumeration and counting.
The paired-ellipse construction makes both outer ellipses at least upright, with all map entries polynomially bounded in (Effective simultaneous grid uprighting of paired ellipses).
Simultaneous disk bounds give at most coefficient tuples at exponent (Finite coefficient bounds for the scaled cyclotomic grid).
Bullet negates and sends to (The nontrivial real-conjugation automorphism of the eighth cyclotomic field).
Proof
The ring has exactly four residue classes modulo , represented by . Indeed and imply , , and . Conversely the coefficient map annihilates every multiple of : multiplying by gives even sums in both coordinates. Thus those four residues are distinct and exhaustive. Consequently for the three chosen affine subproblems describe precisely the elements of least exponent . For , the algorithm scans all coefficient tuples in ; [F3] bounds every nonzero grid candidate in this layer by that box, and zero fails the cap because . The two further cosets and its translate by partition : expand a power-basis element's real and imaginary parts and separate the parity of . Thus all affine subproblems are disjoint. The lattice bijection [F2] and the exact filters preserve every solution, while the emitted set suppresses revisits. The exhaustive background scan makes every finite layer terminate for every sequence of random bits.
The cap is sandwiched between and its concentric -dilate. In coordinates , cap points have and , so . Conversely the -ellipse lies in , , hence and for . The normalized outer ellipse eigenvalues are and , within for ; the disk matrix is the identity. Therefore [F2] applies with . For a final normalized ellipse matrix with , its centered bounding box has half-widths . At its box scaled by , the quadratic form is at most , since . Each transformed cap therefore contains its outer ellipse's bounding box scaled concentrically by , and the same weaker bound holds for the transformed disk. Affine shifts, negative scalar dilations, and coset translations preserve these inclusions.
At the direct coefficient scan has at most proposals, hence for the number of layer solutions. For , consider one of the at most six subproblems. If , the two inner axis rectangles from step 1.2 supply independent coordinate grid problems with length products and . Both exceed , so [F1] gives at least and solutions, with a fixed . Their Cartesian product lies inside both true constraints, giving . The two outer one-dimensional proposal lengths are and , so their product is . If one coordinate product is below , its entire proposal list and filtered coordinate list have bounded length by [F1]. Each remaining exact slice gives proposals by the same result, including singleton slices. Summing over the constantly many coordinate solutions gives proposals. Combining the at most six disjoint subproblems proves . In particular an empty layer has only constantly many proposals; no exponentially large lower-denominator list is generated.
The bound [F2] on and the affine scalings bounds all outer centers and widths above by . A nonzero outer width is bounded below by , by the ellipse eigenvalue bounds and . Thus the integer parts in outer one-dimensional preprocessing cost comparisons each. There are only constantly many exact slice intervals in the small-coordinate branch. A positive slice can have arbitrarily small width, so the algorithm pads it before the [F1] normalization: replace a slice width smaller than by that value, keeping its center and filtering the original slice. Its product is at most one and it creates constantly many proposals. Otherwise , so both positive widths used for normalization are at least , since is bounded by the outer width. The same padding handles singleton slices, and an empty slice is skipped. In either branch the [F1] unit-rescaling exponents are , all floor operands have magnitude , and the earlier bound is retained. Root and line-intersection calculations use boundedly many source arithmetic operations; sign decisions are charged exact comparisons. Finally and [F3] give , so each random proposal attempt uses random bits and is accepted with probability at least . A balanced comparison tree on exact coefficient tuples handles the emitted set in comparisons per visit. Thus each proposal visit and all layer preprocessing cost in expectation, with polynomial moments.
Every actual solution occupies exactly one proposal index. For , after distinct solutions have been drawn, an independent random attempt produces a new solution with probability at least . Ignoring the background scan can only delay obtaining solutions. The expected number of random draws to obtain them is at most , since for . This is . Moreover each waiting time is dominated by a geometric variable with success probability , whose th moment is : sum its geometric tail, or bound the sum by the integral of . The inequality gives the stated draw-moment bound. Each random draw adds only one background visit. Independently, after at most such pairs the deterministic scan ends the layer, bounding complete-layer work by . Combining these estimates with step 3.1 proves all complexity claims. They control prefixes as well as complete output sizes, so they do not hide a whole-layer precomputation before the first candidate.
Depends on
Used by
- Cyclotomic scaled grid and norm-equation solver Algorithm
- T-count guarantees for Clifford+T Rz synthesis Theorem
- The Rz approximation procedure is correct when it returns Theorem
Cited to discharge well-definedness by Efficient exact-denominator Rz grid iterator.
Dependency tree · two levels
12 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, Theorem 5.18 and Propositions 5.21–5.22 (standard reference, not scraped)