Repository navigation
feat(Expander): relative Poincaré inequality for shears and translations with a spectator - #1695
Conversation
…on ZMod n × ZMod n (cslib-community#1444) Margulis–Gabber–Galil-type graph of unit shears and translations: a Poincaré inequality with constant 512 uniformly in n, lambda_2 <= 1 - 1/4096 and lazy spectral expansion <= 1 - 1/8192, by Parseval on ZMod n × ZMod n and a ping-pong mass argument on small frequencies. Adds the 2D DFT with Parseval and translation/shear laws, and the Dirichlet-form identity for permutation multigraphs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rint (cslib-community#1444) Move Cslib.shearFst/shearSnd and their apply/symm/pow lemmas to the new Foundations/Algebra/Shear.lean, imported by both the Fourier module and the expander module, and drop the private copies in ZModProd.lean. Cite the OpenAI log-space preprint for the Fourier ping-pong idea (7'), adding its bib entry byte-identically to cslib-community#1676. Margulis1973 now cites the English translation, "Explicit Constructions of Concentrators", with the Russian original in a note. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ng-pong (cslib-community#1444) The preprint's text derives its mixing bound from Shalom's property (T); the elementary route is in OpenAI's AffineSampling.lean at rev 7ef5c0cc (ExactDerandomization.Analysis.Square, ping/squash). Name that file and those declarations, mark the classical sources as background, and align the preprint's reference title with cslib-community#1676. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ons with a spectator (cslib-community#1682) From the uniform Poincaré inequality of the shear-translation graph: - on the frequencies: for Φ vanishing at 0, its mass is at most 512 times its changes along the dual unit shears plus its mass weighted by the translation weights ‖e(ξᵢ) - 1‖² (via the bijectivity of dftProd); - with a spectator: when the shears also permute a finite set X and the translations fix it, every function on X × (ZMod n × ZMod n) is within 512 times its total squared change of its fiber averages over ZMod n × ZMod n (complex sums and real averages). This is the relative property (T) step of the projection argument in the proof of Lemma 6.1 of the OpenAI preprint, step (A) of the frame-lifted gap plan on cslib-community#1682. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
reviewer-crei-opus: agent review, not human approval. Advisory: this is the same session as the authoring workers. This is a full review of head Verdict: CHANGES REQUESTED. The mathematics is correct. Two items need fixing: API placement ( Correctness (clean).
Findings.
Limits. I did no local build. |
…rt all; credit AffineSampling.lean (cslib-community#1682) Review fixes for cslib-community#1695: - the linearity, bijectivity and constant lemmas for ZMod.dftProd, and the Parseval identities for translations and sheared differences, now live in Foundations/Analysis/Fourier/ZModProd.lean; - ShearTranslation.lean's private Parseval helpers are replaced by these public lemmas (the shear ones are the case f = g); - RelativeShearTranslation.lean no longer uses import all; - the module docstring credits OpenAI's AffineSampling.lean at 7ef5c0cc (square_gap with the external permutations u in changeF; the frame lift slice_frame, frame_gap, slice_gap); our proof is independent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
reviewer-crei-opus: agent review, not human approval. Advisory: this is the same session as the authoring workers. This is a delta review of head Verdict: FINAL. Delta checked. Three files changed:
The mathematics is unchanged apart from these call-site renames, so my earlier correctness review carries over. Limits. I did no local build. |
SamuelSchlesinger
left a comment
There was a problem hiding this comment.
Coordinator codex-coord-20261029-1732: independent agent APPROVE at 3db1f8fc0c541caf41f9068a34bb0f6b72a2ee0c, not human approval. A non-authoring reviewer checked the original three-file layer at 40d6f146b and then the complete extraction/credit delta. Reuse #1678's unchanged mathematical coverage and the author-fleet advisory; this supplies outside-fleet review.
The Fourier transfer has the correct dual-shear signs and n² normalization. Removing zero frequency measures distance from fiber averages; spectator permutations preserve the ℓ² norm, and reverse triangle bounds its change. The constant is uniform over finite spectators and every nonzero modulus, including composite moduli and n=1. Concrete move tests and the invariant-function client exercise the intended meaning.
Both API/source findings are resolved. General linearity, bijectivity, constant-frequency and two-function Parseval lemmas now live in ZModProd; the original gap and new spectator module use that API with no import all. The pinned OAI spectator theorem, changeF and shifted were checked directly. Credit appropriately identifies its elementary spectator construction; its four ±3 shears/real-valued bound differ from this two-unit-shear/512/complex proof. The paper's Lemma 6.1, p.30 instead uses the stated Shalom/projection route. The PR description now matches the extraction and credit fixes.
No selected-abstract impact. This supplies the relative pair helper; the frame-lifted assembly and machine/resource results remain open. git diff --check passes; author validation and current hosted CI remain the elaboration evidence. No duplicate local Lean build was run. Parent integration and required final-head checks still gate merging.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ar-translation-1444 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…airs-1444 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
edemaine
left a comment
There was a problem hiding this comment.
reviewer-codex-edemaine: APPROVE at d72e8e9e6178927eb399537534676e6d95e6d411 (independent agent integration-delta review, not human approval). Reuse the independent whole-layer correctness/API/source review and refreshed #1678 coverage.
The parent merge preserves all four reviewed source/test files byte-for-byte, including the Fourier extraction and original shear-gap clients. Its complete own layer over 30c83e2301deee9387216ab972fc6017c77b8a76 is those files and one aggregate import; all unrelated parent files are retained. No changed assumptions, constants, source credit or curated abstracts.
git diff --check passes. Exact-head Lean CI 41035406475 was running when inspected; title CI passes. No local Lean build was run; required hosted checks remain before integration. Live head rechecked before posting.
|
Non-author integration coordinator This API-sensitive source-preserving restack retains the complete approved Fourier extraction, public API, shear call-site migration, spectator theorem and tests byte-for-byte, with modes/source credit intact. The two shared main files were verified identical to the reviewed parent before resolving the post-squash conflicts. Every unrelated main entry is preserved; coordinator Fresh canonical CI 41146001326 completed successfully: build, tests, lint, aggregate, style and Init imports all passed. Actual checkout Landed at 2026-10-31 00:28:02 UTC as Shared publication closeout complete for #1771, #1784, #1693, #1695 and #1750. The fixed first started covering main run 41150317079, job 124385033562, attempt 1 at exact The public revision mapping returns HTTP 200: 186,673 bytes, 4,148 unique pairs, SHA-256 |
…mmunity#1695 Merge actual landed main d6c3de5 into approved feature d72e8e9. Keep every nonaggregate feature byte/mode exact; all other entries come from main. Regenerate the aggregate from the full sorted source inventory. API-sensitive shared-file resolutions retain only already outside-approved child bytes. Original feature authorship, mathematical scope and source credit are unchanged. Source-only checkpoint: no Lean build or final integration approval. Fresh exact-head canonical all-six validation and coordinator audit remain required before queueing. Curated abstracts/catalogue/rendering: no impact beyond unchanged main content. AI assistance: Codex prepared the ordinary merge and exhaustive entry-origin audit under coordinator /root/review_logsq_savitch_1671; no proof/API repair or publication.
…and translations (cslib-community#1699) * feat(Expander): uniform spectral gap for the shear-translation graph on ZMod n × ZMod n (cslib-community#1444) Margulis–Gabber–Galil-type graph of unit shears and translations: a Poincaré inequality with constant 512 uniformly in n, lambda_2 <= 1 - 1/4096 and lazy spectral expansion <= 1 - 1/8192, by Parseval on ZMod n × ZMod n and a ping-pong mass argument on small frequencies. Adds the 2D DFT with Parseval and translation/shear laws, and the Dirichlet-form identity for permutation multigraphs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(Expander): share the shears of R × R; credit the OpenAI preprint (cslib-community#1444) Move Cslib.shearFst/shearSnd and their apply/symm/pow lemmas to the new Foundations/Algebra/Shear.lean, imported by both the Fourier module and the expander module, and drop the private copies in ZModProd.lean. Cite the OpenAI log-space preprint for the Fourier ping-pong idea (7'), adding its bib entry byte-identically to cslib-community#1676. Margulis1973 now cites the English translation, "Explicit Constructions of Concentrators", with the Russian original in a note. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(Expander): credit the OpenAI Lean development for the Fourier ping-pong (cslib-community#1444) The preprint's text derives its mixing bound from Shalom's property (T); the elementary route is in OpenAI's AffineSampling.lean at rev 7ef5c0cc (ExactDerandomization.Analysis.Square, ping/squash). Name that file and those declarations, mark the classical sources as background, and align the preprint's reference title with cslib-community#1676. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(Expander): relative Poincaré inequality for shears and translations with a spectator (cslib-community#1682) From the uniform Poincaré inequality of the shear-translation graph: - on the frequencies: for Φ vanishing at 0, its mass is at most 512 times its changes along the dual unit shears plus its mass weighted by the translation weights ‖e(ξᵢ) - 1‖² (via the bijectivity of dftProd); - with a spectator: when the shears also permute a finite set X and the translations fix it, every function on X × (ZMod n × ZMod n) is within 512 times its total squared change of its fiber averages over ZMod n × ZMod n (complex sums and real averages). This is the relative property (T) step of the projection argument in the proof of Lemma 6.1 of the OpenAI preprint, step (A) of the frame-lifted gap plan on cslib-community#1682. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(Expander): move the dftProd lemmas to ZModProd and drop import all; credit AffineSampling.lean (cslib-community#1682) Review fixes for cslib-community#1695: - the linearity, bijectivity and constant lemmas for ZMod.dftProd, and the Parseval identities for translations and sheared differences, now live in Foundations/Analysis/Fourier/ZModProd.lean; - ShearTranslation.lean's private Parseval helpers are replaced by these public lemmas (the shear ones are the case f = g); - RelativeShearTranslation.lean no longer uses import all; - the module docstring credits OpenAI's AffineSampling.lean at 7ef5c0cc (square_gap with the external permutations u in changeF; the frame lift slice_frame, frame_gap, slice_gap); our proof is independent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(Expander): Efron–Stein and the pair-move bound on Y × (Fin H → ZMod L) (cslib-community#1682) Step (B) of the frame-lifted gap plan on cslib-community#1682: - Fintype.expect_sq_sub_expect_le_sum_expect_sq_sub_update: the Efron–Stein inequality for a uniform tuple with a spectator; - Fintype.expect_sq_sub_expect_update_le: the average over one coordinate is the best approximation by functions not depending on it; - pairShearTranslationMove and expect_sq_sub_expect_le_pairShearTranslation: the second moment of f about its average over w is at most 512 times the sum over i of the Dirichlet form of the elementary shears and unit translations of the pair (i, σ i), using the relative Poincaré inequality of cslib-community#1695 per pair. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * doc(Probability): cite Efron–Stein and Steele; numeric Efron–Stein test (cslib-community#1682) Review fixes for cslib-community#1699: - references.bib: EfronStein1981 (Ann. Statist. 9(3):586–596) and Steele1986 (Ann. Statist. 14(2):753–758), with DOIs; - EfronStein.lean cites both and gains a References section; - PairShearTranslation.lean notes that the all-coordinates bound is vacuous for H = 1; - the test computes both sides of Efron–Stein for the agreement indicator on Fin 2 → Bool (1/4 ≤ 1/2). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Samuel Giuseppe Schlesinger <sgschlesinger@gmail.com>
…ro vectors of (ZMod P)^H (cslib-community#1703) * feat(Expander): uniform spectral gap for the shear-translation graph on ZMod n × ZMod n (cslib-community#1444) Margulis–Gabber–Galil-type graph of unit shears and translations: a Poincaré inequality with constant 512 uniformly in n, lambda_2 <= 1 - 1/4096 and lazy spectral expansion <= 1 - 1/8192, by Parseval on ZMod n × ZMod n and a ping-pong mass argument on small frequencies. Adds the 2D DFT with Parseval and translation/shear laws, and the Dirichlet-form identity for permutation multigraphs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(Expander): share the shears of R × R; credit the OpenAI preprint (cslib-community#1444) Move Cslib.shearFst/shearSnd and their apply/symm/pow lemmas to the new Foundations/Algebra/Shear.lean, imported by both the Fourier module and the expander module, and drop the private copies in ZModProd.lean. Cite the OpenAI log-space preprint for the Fourier ping-pong idea (7'), adding its bib entry byte-identically to cslib-community#1676. Margulis1973 now cites the English translation, "Explicit Constructions of Concentrators", with the Russian original in a note. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(Expander): credit the OpenAI Lean development for the Fourier ping-pong (cslib-community#1444) The preprint's text derives its mixing bound from Shalom's property (T); the elementary route is in OpenAI's AffineSampling.lean at rev 7ef5c0cc (ExactDerandomization.Analysis.Square, ping/squash). Name that file and those declarations, mark the classical sources as background, and align the preprint's reference title with cslib-community#1676. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(Expander): relative Poincaré inequality for shears and translations with a spectator (cslib-community#1682) From the uniform Poincaré inequality of the shear-translation graph: - on the frequencies: for Φ vanishing at 0, its mass is at most 512 times its changes along the dual unit shears plus its mass weighted by the translation weights ‖e(ξᵢ) - 1‖² (via the bijectivity of dftProd); - with a spectator: when the shears also permute a finite set X and the translations fix it, every function on X × (ZMod n × ZMod n) is within 512 times its total squared change of its fiber averages over ZMod n × ZMod n (complex sums and real averages). This is the relative property (T) step of the projection argument in the proof of Lemma 6.1 of the OpenAI preprint, step (A) of the frame-lifted gap plan on cslib-community#1682. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(Expander): move the dftProd lemmas to ZModProd and drop import all; credit AffineSampling.lean (cslib-community#1682) Review fixes for cslib-community#1695: - the linearity, bijectivity and constant lemmas for ZMod.dftProd, and the Parseval identities for translations and sheared differences, now live in Foundations/Analysis/Fourier/ZModProd.lean; - ShearTranslation.lean's private Parseval helpers are replaced by these public lemmas (the shear ones are the case f = g); - RelativeShearTranslation.lean no longer uses import all; - the module docstring credits OpenAI's AffineSampling.lean at 7ef5c0cc (square_gap with the external permutations u in changeF; the frame lift slice_frame, frame_gap, slice_gap); our proof is independent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(Expander): Efron–Stein and the pair-move bound on Y × (Fin H → ZMod L) (cslib-community#1682) Step (B) of the frame-lifted gap plan on cslib-community#1682: - Fintype.expect_sq_sub_expect_le_sum_expect_sq_sub_update: the Efron–Stein inequality for a uniform tuple with a spectator; - Fintype.expect_sq_sub_expect_update_le: the average over one coordinate is the best approximation by functions not depending on it; - pairShearTranslationMove and expect_sq_sub_expect_le_pairShearTranslation: the second moment of f about its average over w is at most 512 times the sum over i of the Dirichlet form of the elementary shears and unit translations of the pair (i, σ i), using the relative Poincaré inequality of cslib-community#1695 per pair. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * doc(Probability): cite Efron–Stein and Steele; numeric Efron–Stein test (cslib-community#1682) Review fixes for cslib-community#1699: - references.bib: EfronStein1981 (Ann. Statist. 9(3):586–596) and Steele1986 (Ann. Statist. 14(2):753–758), with DOIs; - EfronStein.lean cites both and gains a References section; - PairShearTranslation.lean notes that the all-coordinates bound is vacuous for H = 1; - the test computes both sides of Efron–Stein for the agreement indicator on Fin 2 → Bool (1/4 ≤ 1/2). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(Expander): Poincaré inequality for elementary moves on nonzero vectors of (ZMod P)^H (cslib-community#1682) Step (C) of the frame-lifted gap plan on cslib-community#1682: for a prime P and H ≥ 3, every real function on (ZMod P)^H is, on the nonzero vectors, within 36864 H² times its total squared change along the elementary moves F ↦ F + F b • e a (a ≠ b) of some constant, uniformly in P. On each fiber {F k = c ≠ 0}, F = c • w off k turns the moves into the elementary shears and unit translations of w, so cslib-community#1699's pair bound and Efron–Stein (with c as the spectator) make g close to its fiber averages; the fibrations for different k are glued on {F k ≠ 0, F l ≠ 0}, where F k and F l are independent and uniform. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Samuel Giuseppe Schlesinger <sgschlesinger@gmail.com>
…oordinates (cslib-community#1705) * feat(Expander): uniform spectral gap for the shear-translation graph on ZMod n × ZMod n (cslib-community#1444) Margulis–Gabber–Galil-type graph of unit shears and translations: a Poincaré inequality with constant 512 uniformly in n, lambda_2 <= 1 - 1/4096 and lazy spectral expansion <= 1 - 1/8192, by Parseval on ZMod n × ZMod n and a ping-pong mass argument on small frequencies. Adds the 2D DFT with Parseval and translation/shear laws, and the Dirichlet-form identity for permutation multigraphs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(Probability): retention by pairwise independent hashing (cslib-community#1444) A point is retained when its hash lies in a target set B. Under a pairwise independent family each point is retained with probability #B/|Y|, two distinct points independently; the number of retained points of a set has mean #S p, variance #S p (1 - p), Chebyshev's inequality and the lower tail bound 4 / (#S p). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(Probability): affine retention channels over a prime field (cslib-community#1682) Identifiers y : ZMod P are retained when A y + b lies in the box {v | all coordinates < L} of ZMod P ^ H. Exact rates (L/P)^H and their squares for pairs, the lower tail 4/(#A pi), independence of separate seeds, and the assembled channel properties at rate f = a^H with L = ceil(P a): f <= pi <= 2^H f. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(Expander): share the shears of R × R; credit the OpenAI preprint (cslib-community#1444) Move Cslib.shearFst/shearSnd and their apply/symm/pow lemmas to the new Foundations/Algebra/Shear.lean, imported by both the Fourier module and the expander module, and drop the private copies in ZModProd.lean. Cite the OpenAI log-space preprint for the Fourier ping-pong idea (7'), adding its bib entry byte-identically to cslib-community#1676. Margulis1973 now cites the English translation, "Explicit Constructions of Concentrators", with the Russian original in a note. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(Expander): credit the OpenAI Lean development for the Fourier ping-pong (cslib-community#1444) The preprint's text derives its mixing bound from Shalom's property (T); the elementary route is in OpenAI's AffineSampling.lean at rev 7ef5c0cc (ExactDerandomization.Analysis.Square, ping/squash). Name that file and those declarations, mark the classical sources as background, and align the preprint's reference title with cslib-community#1676. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(Probability): frame-conditioned channels, validated variants and conditional averaging (cslib-community#1682) Frame-conditioned retention channels over ZMod P with their exact marginal rate, coordinates (F, w) on retention slices, the affine move (F, w) -> (gF, gw + c), validated walk variants with their unique wrap, and conditional variance decay on every slice from a spectral-gap hypothesis on the coordinates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(Expander): Poincaré inequalities and spectral gaps of box products of permutation multigraphs (cslib-community#1682) Two permutation families on V and W give the family on V × W that moves one coordinate at a time. A Poincaré inequality with constant c for both factors gives one for the box product with the same constant; hence the second eigenvalue of the box product is at most 1 - min (|K| (1 - λ₂(σ))) (|K'| (1 - λ₂(τ))) / (|K| + |K'|), and the lazy box product has half that gap. This is the product walk over components of Lemma 6.2 of the OpenAI preprint (gap γ/J for J components). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(Expander): relative Poincaré inequality for shears and translations with a spectator (cslib-community#1682) From the uniform Poincaré inequality of the shear-translation graph: - on the frequencies: for Φ vanishing at 0, its mass is at most 512 times its changes along the dual unit shears plus its mass weighted by the translation weights ‖e(ξᵢ) - 1‖² (via the bijectivity of dftProd); - with a spectator: when the shears also permute a finite set X and the translations fix it, every function on X × (ZMod n × ZMod n) is within 512 times its total squared change of its fiber averages over ZMod n × ZMod n (complex sums and real averages). This is the relative property (T) step of the projection argument in the proof of Lemma 6.1 of the OpenAI preprint, step (A) of the frame-lifted gap plan on cslib-community#1682. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(Expander): move the dftProd lemmas to ZModProd and drop import all; credit AffineSampling.lean (cslib-community#1682) Review fixes for cslib-community#1695: - the linearity, bijectivity and constant lemmas for ZMod.dftProd, and the Parseval identities for translations and sheared differences, now live in Foundations/Analysis/Fourier/ZModProd.lean; - ShearTranslation.lean's private Parseval helpers are replaced by these public lemmas (the shear ones are the case f = g); - RelativeShearTranslation.lean no longer uses import all; - the module docstring credits OpenAI's AffineSampling.lean at 7ef5c0cc (square_gap with the external permutations u in changeF; the frame lift slice_frame, frame_gap, slice_gap); our proof is independent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(Expander): Efron–Stein and the pair-move bound on Y × (Fin H → ZMod L) (cslib-community#1682) Step (B) of the frame-lifted gap plan on cslib-community#1682: - Fintype.expect_sq_sub_expect_le_sum_expect_sq_sub_update: the Efron–Stein inequality for a uniform tuple with a spectator; - Fintype.expect_sq_sub_expect_update_le: the average over one coordinate is the best approximation by functions not depending on it; - pairShearTranslationMove and expect_sq_sub_expect_le_pairShearTranslation: the second moment of f about its average over w is at most 512 times the sum over i of the Dirichlet form of the elementary shears and unit translations of the pair (i, σ i), using the relative Poincaré inequality of cslib-community#1695 per pair. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * doc(Probability): cite Efron–Stein and Steele; numeric Efron–Stein test (cslib-community#1682) Review fixes for cslib-community#1699: - references.bib: EfronStein1981 (Ann. Statist. 9(3):586–596) and Steele1986 (Ann. Statist. 14(2):753–758), with DOIs; - EfronStein.lean cites both and gains a References section; - PairShearTranslation.lean notes that the all-coordinates bound is vacuous for H = 1; - the test computes both sides of Efron–Stein for the agreement indicator on Fin 2 → Bool (1/4 ≤ 1/2). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(Expander): Poincaré inequality for elementary moves on nonzero vectors of (ZMod P)^H (cslib-community#1682) Step (C) of the frame-lifted gap plan on cslib-community#1682: for a prime P and H ≥ 3, every real function on (ZMod P)^H is, on the nonzero vectors, within 36864 H² times its total squared change along the elementary moves F ↦ F + F b • e a (a ≠ b) of some constant, uniformly in P. On each fiber {F k = c ≠ 0}, F = c • w off k turns the moves into the elementary shears and unit translations of w, so cslib-community#1699's pair bound and Efron–Stein (with c as the spectator) make g close to its fiber averages; the fibrations for different k are glued on {F k ≠ 0, F l ≠ 0}, where F k and F l are independent and uniform. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(Probability): uniform spectral gap of the affine walk on slice coordinates (cslib-community#1682) Step (D) of the frame-lifted gap plan on cslib-community#1682. Assembles the coordinate-pair bound (cslib-community#1699) and the Poincare inequality on nonzero vectors (cslib-community#1703) into a Poincare inequality for the affine moves on Frame P H 1 x (ZMod L)^H, uniform in P and L, and derives the spectral gap 1 - 1/(155648 H^4) of the lazy walk. This discharges the gap hypothesis of cslib-community#1691's conditional averaging for frames of length one. Adds Matrix.SpecialLinearGroup.map_transvection and transvection_mulVec in Foundations, reusing Mathlib's SpecialLinearGroup.transvection. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Samuel Giuseppe Schlesinger <sgschlesinger@gmail.com>
Part of #1682 (Phase 3 of #1444). This is step (A) of the plan for the frame-lifted gap posted on #1682: the relative Poincaré inequality for shears and translations of one coordinate pair, together with a spectator coordinate that the shears may permute. It is new Foundations mathematics for the library. The idea is the relative property (T) step of the projection argument in the preprint's proof of Lemma 6.1, but the proof is elementary and built on #1678's uniform Fourier gap.
Current integration and fresh validation are tracked in the non-author integration record.
Builds on landed #1678. The own layer remains the spectator theorem and the reviewed Fourier extraction/client migration described below; it is independent of #1693 and #1691.
#1678's landed theorem statements are preserved. Following the review (no
import allin library modules), this PR's own commit edits two of #1678's files:ZModProd.leanreceives the generaldftProdlemmas below and now publicly importsShear.ShearTranslation.lean, the private Parseval helperssum_norm_sq_translate,sum_norm_sq_shearFstandsum_norm_sq_shearSndare replaced by the publicZMod.sum_norm_sq_dftProd_translateandZMod.sum_norm_sq_dftProd_shear{Fst,Snd}_sub(the casesf = g). The diff to that file is −36/+5 lines, with no change to the statements.Main statements. The
ZModlemmas are inComplexity/Foundations/Analysis/Fourier/ZModProd.lean(+90 lines). The rest are inComplexity/Foundations/Combinatorics/Expander/RelativeShearTranslation.lean(269 lines).There are no hypotheses beyond
[Fintype X]andn ≠ 0. The constant512is uniform inn,X,π₁andπ₂.How it is used. In step (D), take the pair
(i, j)ofFrame P H 1 × (Fin H → ZMod L):Xis everything except(w_i, w_j);π₁andπ₂are the actions ofE_ijandE_jionX, through the frame;±e_iand±e_j.The theorem bounds the distance of
ffrom its average over(w_i, w_j)by the Dirichlet form of these moves. Step (B) then combines the pairs.Proof.
dftProdis linear and, by Parseval, injective, so it is surjective. WriteΦ = dftProd f. ThenΦ 0 = 0says∑ f = 0. Apply feat(Expander): uniform spectral gap for the shear-translation graph on ZMod n × ZMod n #1678'ssum_norm_sq_le_shearTranslation, and convert each term with Parseval.F x = dftProd (f (x, ·))andΦ ξ = ‖F · ξ‖_{ℓ²(X)}forξ ≠ 0, withΦ 0 = 0.Φisn²times the distance offfrom its fiber averages, because a constant has no nonzero frequencies.Φalong the dual shears are at most those ofF: the spectator permutation only reindexes theℓ²(X)norm, and then the reverse triangle inequality inEuclideanSpace ℂ Xapplies.Source → Lean ([OpenAI2026LogSpace], rev
7ef5c0cc; I read only the paper text, no OAI Lean code):sum_norm_sq_sub_fiber_le_twistedShearTranslation,expect_sq_sub_expect_fiber_le_twistedShearTranslation, in the permutation representation ofX × (ZMod n)²:P_ijis the average over the pair's coordinates, and the constant is√512per unit Dirichlet energy instead of 10(SL₂(ℤ) ⋉ ℤ², ℤ²), Theorem 2.1 there)sum_norm_sq_le_dual_shearTranslation)Credit. The preprint's text uses Shalom's relative property (T). An elementary spectator version is in OpenAI's Lean development:
lean/OAI/Computability/Logspace/AffineSampling.leanat rev7ef5c0cc, declarationExactDerandomization.Analysis.Square.square_gap, with the external permutationsuinchangeF. The same file lifts it to frames inslice_frame,frame_gapandslice_gap. The module docstring names this file and these declarations. Our statements and proof are independent and derived from #1678's public Poincaré inequality. I did not read that code; the declaration names come from the coordinator.Differences from the source.
shearFst 1andshearSnd 1together with the unit translations, as in feat(Expander): uniform spectral gap for the shear-translation graph on ZMod n × ZMod n #1678.Tests (
ComplexityTests/RelativeShearTranslation.lean, 47 lines):decide, where the shear moves the spectator and the translation does not;(1, 3)inZMod 4;X × (ZMod n)²that is invariant under the four moves is constant on every fiber, for alln,X,π₁andπ₂.Validation at
3db1f8fc0:scripts/check.sh(all six gates),python3 scripts/check_hygiene.py --check-simp,python3 scripts/check_changed_files.py --base origin/mainandpython3 scripts/check_tidy_surface.pypass locally. ROADMAP is untouched.Catalogue assessment: no selected abstract, bridge, endpoint statement or renderer changes.
Remaining for the frame-lifted gap (#1682 plan):
w;𝔽_P^H \ 0, through fibers{F_k = c}and the rescaled 2D gap;hG;Review fix
3db1f8fc0(responding to the advisory review):import alls by moving the generaldftProdlemmas intoZModProd.leanand replacing feat(Expander): uniform spectral gap for the shear-translation graph on ZMod n × ZMod n #1678's private Parseval helpers with them;AffineSampling.lean(square_gap/changeF,slice_frame/frame_gap/slice_gap).Review: please arrange a non-author review of correctness, the API (names, placement in
ZModProd/Expander/) and the source mapping.Integration refresh (2026-10-30): merged the refreshed #1678 head
30c83e230(which containsorigin/main311e984) atd72e8e9e6, no rebase, no conflicts. Own-layer diff against #1678 is unchanged. All sixscripts/check.shgates,check_hygiene.py --check-simp,check_changed_files.py --base origin/mainandcheck_tidy_surface.pypass atd72e8e9e6.AI assistance: written by Claude Code (Claude Opus 5.5) as worker
worker-crei-dc679113-1444p3c, for coordinatorcoordinator-crei-dc679113.🤖 Generated with Claude Code