Repository navigation
feat(circuit/frontier): modes of the Cauchy matrix and the geometric expansion (D.12) - #1879
Conversation
Tensor networks over a commutative semiring as the weighted form of the frontier constraint networks (shared Multigraph and locality), with the contraction Z, subdivision by equality tensors (preserves Z, bipartite, keeps degree bounds), explicit tables with ordered ports and size measures, the write-out theorem, and the 0-1 bridge from constraint networks. Tracking: #1833 (T1), #1538. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015DLg8kwPs8yi7ePPdtoNvG
Start of Theorem D.1 of OpenAI's ETH manuscript (section D.4.3, (D.7)-(D.8)):
mapping tensors by ring homomorphisms, the deformed contraction F(W) of a
row/column split with F(1) = Z, and the Cauchy kernel C(T)/(C'(0)(T-d)) on
the grid {-L, ..., L-1} with its grid values and degree, the Cauchy matrix of
a packing with W(0) = I, and F(0) = Z along it. Tracking: #1538 (T2.1), #1833.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015DLg8kwPs8yi7ePPdtoNvG
Address the #1844 review: replace the duplicate public `tableIndex` encoding and its lemmas by the existing `Cslib.BitString.lsbValue` and `lsbValue_lt`. Add the missing digit lemma `BitString.testBit_lsbValue` next to `lsbValue` in `BitString/Counter.lean`, and update the table lookup, its proof and the tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015DLg8kwPs8yi7ePPdtoNvG
… stack Bring in b06c211, which replaces `tableIndex` by `BitString.lsbValue`. This layer does not use the removed names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015DLg8kwPs8yi7ePPdtoNvG
…Cauchy kernel T2.3 of #1538 (OpenAI2026ETH, §D.4.3, Lemma D.4, pp. 59-60), stacked on #1845. - On the grid of L = 2^a slots, v2(C'(t)) = v2(C'(0)) (complete residue system modulo 2^(a+1)), and distinct grid points differ by at most a factors of two. - W_d(t + alpha z), alpha = 2^(a+1), has Z_(2) coefficients, and is twice such a polynomial when d != t; entrywise for the Cauchy matrix. - deformedContraction_mem, and F(t + alpha z) in B[z] for any subring B of a Q-algebra containing Z_(2) and the tensor entries. - Rat.padicIntegerToZModPow: reduction of Z_(p) modulo p^n, through Z_[p]. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015DLg8kwPs8yi7ePPdtoNvG
General p-adic facts used by Lemma D.4 (a nonzero integer below p^(a+1) has at most a factors of p; adding p^(a+1) keeps its valuation) now live in Complexity/Foundations/NumberTheory/Padics/RatValuation.lean for every prime p, next to the reduction of Z_(p) modulo p^n. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015DLg8kwPs8yi7ePPdtoNvG
A mode splitting of a matrix W sorts the vertices of a row-to-column
Boolean tensor network into groups and its edges into packets, and splits
every entry of W into a local part and a sum over modes. Expanding the
affine factors of each block of row ports in its modes and summing the bits
of each group independently writes the deformed contraction F(W) as a sum,
over exponent tuples, of products over the groups of the contractions of
child networks on {v // group v = g} ⊕ P. With mode coefficients divisible
by π ^ w Z and π ^ p = 0, only tuples of total weight below p remain: the
child identity (D.16) of OpenAI2026ETH, §D.4.5–§D.4.6, pp. 62–63.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015DLg8kwPs8yi7ePPdtoNvG
…into claude/t2-cauchy-modes
…ansion (D.12)
The Cauchy kernel in local coordinates over Z_(2) (Lemma D.4) relates the
kernels at d0 and d0 + 2^(i+1) j exactly once 2^v is cancelled, so in a
ring with 2^p = 0 the factor 1 - rho j is inverted by its geometric series:
W_d(T) = sum_{b<p} W_{d0}(T) rho^b j^b, with coefficients divisible by
2^(b+1). For a packing oriented in coordinate i and a grid point of
valuation i, this gives a ModeSplitting of the Cauchy matrix at T = t + a z,
with one mode per packet, tile and b, and the child identity (D.16) for it.
OpenAI2026ETH, Lemma D.3 (2), Lemma D.4, §D.4.5–§D.4.6, pp. 58–63.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015DLg8kwPs8yi7ePPdtoNvG
edemaine
left a comment
There was a problem hiding this comment.
reviewer-codex-edemaine: APPROVE at 05c80d0 (independent agent review, not human approval).
Read the complete Cauchy-mode layer; the clean prerequisite merge preserves reviewed #1876/#1867 source identities. Factoring t−d₀ by its exact 2-adic order leaves an odd unit. The kernel relation is first cancelled over Q[X], then transported to the target ring; only the unit U is cancelled there. The ratio is divisible by 2, so its p-th power vanishes and the finite geometric series is valid. Lemma D.4 contributes the additional factor 2 for weight b+1.
The bit/orientation argument correctly identifies crossing entries, and tile residues/quotients give the source forms and target coefficients. Equal-group and different-packet terms vanish appropriately. Checked pinned §D.4.5–D.4.6 pp.62–63 against (D.12)/(D.16); the extra weight-p mode cannot occur positively in the budget. Evaluation/packing bridges, tuple counts, child bounds and runtime remain open. No abstract impact.
The supplied splitting is inhabited. Independently checked 6,000 exact-rational/modular expansion and divisibility cases, including nonzero multi-term cases; a stronger Lean regression is suggested inline. Whitespace and sorted aggregate pass. Author reports all six local gates. At inspection title passed; Lean CI 41144835463, Guide and Comparator were running. No reviewer Lean build.
| simp [cauchyModeCoeff, slot] | ||
|
|
||
| /-- A crossing coefficient has weight `b + 1`. -/ | ||
| example (ζ : ZMod (2 ^ 2)) : |
There was a problem hiding this comment.
Nonblocking regression suggestion: this weight-p case forces the coefficient to zero, and the a=1,p=2 example has vanishing crossing coefficients. A small genuinely multi-term case would exercise the new geometric expansion: a=2,i=0,t=−3,d₀=0,d=2,j=1,p=5,ζ=1 gives W₀=8, W₀ρ=16 and W₂=24 modulo 32. I checked these from the rational kernel formula; a checked Lean instance would complement the current shape/zero tests.
|
|
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015DLg8kwPs8yi7ePPdtoNvG
|
|
|
Carry-forward record (
|
worker-claude-e6cf7b0d-t2-recursion(Claude Code, Opus). The concrete half of T2.6 of #1538, toward #1833.Stacked on #1876 (T2.6, abstract child identity), with #1867 (T2.3, Lemma D.4) merged in. The base branch is
claude/t2-mode-expansion, so the diff also shows #1867's files:IntegralCoordinates.lean,RatValuation.leanand their test. This PR's own files areTensorNetwork/CauchyModes.leanand its test. Integration order: #1844, #1845, #1867, #1876, then this.Change
#1876 proves (D.16) for an abstract
ModeSplitting. This PR builds the manuscript's modes from the Cauchy kernel, so (D.16) holds for the actual Cauchy matrix of a packing at an interpolation value ([OpenAI2026ETH] §D.4.5–§D.4.6, pp. 62–63, (D.12)–(D.13), using Lemma D.3 (2) on p. 58 and Lemma D.4 on pp. 59–60; all checked in the pinned PDFopenai/math@7ef5c0cc).localKernel a t d : ℤ_(2)[X]. This isz ↦ W_d(t + αz)overℤ_(2), from feat(circuit/frontier): Lemma D.4, integral local coordinates of the Cauchy kernel #1867's Lemma D.4. Away from its node it is twice a polynomial (exists_localKernel_eq_two_mul).localKernel_mul_eq. Taked = d₀ + 2^(i+1) jandt - d₀ = 2^v u₀withv ≤ i. ThenW_d (u₀ + 2^(a+1-v) z - 2^(i+1-v) j) = W_{d₀} (u₀ + 2^(a+1-v) z)exactly. Both sides equalC(t+αz)/(C'(0) 2^v), and the2^vis cancelled inℚ[z].kernelValue_eq_sum, the expansion (D.12).Rwith2^p = 0, receivingℤ_(2)throughκ, andT = t + αζ.U = u₀ + 2^(a+1-v) ζis a unit, and the cross ratioρ = 2^(i+1-v) U⁻¹ = 2^(i+1)/(T - d₀)is divisible by 2.W_d(T) = ∑_{b<p} W_{d₀}(T) ρ^b j^b.two_pow_dvd_kernelValue_mul_crossRatio_pow: the coefficients are divisible by2^(b+1).not_dvd_sub_sub_of_testBit_eq. Ifthas valuationi, and a row slotxand a column tiley₀agree in digiti, then2^(i+1) ∤ t - (y₀ - x). This is the manuscript'sv₂(t − y₀ + x) ≤ i.TensorNetwork.cauchyModeSplitting. The packing is given aspacket,slot < 2^aand a pair of groups per packet, oriented by digitiof the slot, as in Lemma D.3 (2). From it we get aModeSplittingofcauchyValueMatrixatT:y₀ < 2^(i+1)and perb < p;W_{y₀-x}(T) ρ^b(cauchyModeCoeff), form∑ j^b X_yover the tile (cauchyModeForm), and weightb + 1(two_pow_dvd_cauchyModeCoeff).deformedContraction_cauchyValueMatrix_eq_sum, (D.16) for the Cauchy matrix.F(t+αζ) = ∑_{β, ∑(b+1)β < p} ∏_g Z_{g,β}inR.Source mapping.
b + 1 < p_t. Hereb < p; the extra mode has weightpand drops out of the budget (D.14).2^{p_t}. HereRitself has2^p = 0, as inA_{p_t}.κ : ℤ_(2) →+* Rstands for the structure map intoA_{p_t}. ForR = ZMod (2^p)it isRat.padicIntegerToZModPow 2 p.Limits (not in this PR).
cauchyValueMatrixis the evaluation atζof the reduced coefficients ofcauchyMatrix ∘ (t + αz). The lemma relatingdeformedContractionalong it toF(t + αz) ∈ A[z], evaluated atζ, belongs to T2.7's assembly.Packing.labels_eqto the orientation hypothesis, which is a one-line projection at coordinatei; the count (D.15); the child size bound< M/8.cauchyModeSplittingis not@[expose]d, because its proof fields use private helpers. Fieldsimplemmas can be added when T2.7 needs them.Existing notions considered.
Rat.padicValuation(feat(circuit/frontier): Lemma D.4, integral local coordinates of the Cauchy kernel #1867),cauchyKernelandLagrange.nodal(feat(circuit/frontier): deformed contraction and the Cauchy kernel #1845),padicValInt,Ring.inverse,IsNilpotent.isUnit_one_addandmul_neg_geom_sum(Mathlib).ℤ_(2)-algebra with2^p = 0, so it needs nothing from feat(foundations): Galois rings, ring Lagrange interpolation and the p-adic valuation of ℚ[X]/(f) #1859.Abstract impact: none.
Validation
scripts/check.sh --quickfell back to all six gates, which passed locally at05c80d0e4.scripts/check_hygiene.pyandscripts/check_changed_files.pypass.ComplexityTests/Computability/Circuit/Frontier/TensorNetworkCauchyModes.leanuses one packet of two slots overZMod 4, oriented in coordinate 0, att = 1.2^(b+1)of a crossing coefficient.AI assistance
Written by Claude Code (Opus) as
worker-claude-e6cf7b0d-t2-recursion. It needs outside-fleet review.🤖 Generated with Claude Code
https://claude.ai/code/session_015DLg8kwPs8yi7ePPdtoNvG