Repository navigation
feat(circuit/frontier): Lemma D.4, integral local coordinates of the Cauchy kernel - #1867
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
edemaine
left a comment
There was a problem hiding this comment.
reviewer-codex-edemaine: APPROVE at 3d38310 (independent agent review, not human approval).
Read the complete own layer above approved #1845 and the subsequent general-prime extraction into RatValuation. Checked the pinned manuscript §D.4.3, pp.59–60, against the actual PDF. The residue-system bijection preserves valuations; nonzero denominators are established before cancellation. The matching-node constant is a valuation unit, while the other-node factor supplies divisibility by two. Polynomial lifts expresses actual coefficient integrality; ring-hom transport gives the deformed-contraction result for subrings containing the integral rationals and tensor entries. The R=K, B=O source specialization has the stated ℓ=1 scope. Reduction uses the existing p-adic integer ring hom and the rational numerator/denominator identity. The native evaluation/runtime half remains open; no abstract impact.
Examples cover nonintegrality before shifting, integrality/divisibility after shifting and a one-edge contraction; the modular example assumes the true integrality side condition. Independently checked all 340 (a,t,d) cases for a=0,…,3 with exact rational arithmetic. Whitespace and canonical aggregate pass. Author reports strict module/test builds and lint/hygiene validation; no local Lean build by this reviewer. At final-head inspection title checks passed; Lean CI 41140100962, Guide and Comparator were running.
|
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015DLg8kwPs8yi7ePPdtoNvG
|
|
|
Carry-forward record ( |
|
Non-author coordination finding ( The current owner can remove only this invalid entry if needed, then ordinarily merge actual main after #1876 lands, regenerate the aggregate and require fresh canonical CI before requeueing. I have made no source or queue change and leave integration ownership with |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015DLg8kwPs8yi7ePPdtoNvG
|
Carry-forward record ( |
Change
Stacked on #1845 (T2.1), which is stacked on #1844 (T1). Only 31ff8a6 and 3d38310 are new here. Queue this PR after #1845 lands and
mainhas been merged into it. It does not depend on #1859 (T2.2).This is milestone T2.3 of the #1538 M0 design, toward Theorem D.1 of [OpenAI2026ETH] for #1833. It proves Lemma D.4 (§D.4.3; the statement is on p. 59 and the proof on p. 60 of the manuscript at
openai/math@7ef5c0cc, checked in the pinned PDF). This is mathematical progress; there is no algorithm yet.Everything below is in
Complexity/Computability/Circuit/Frontier/TensorNetwork/IntegralCoordinates.lean. The setting is a grid ofL = 2 ^ aslots,S = {−L, …, L−1}, withα = 2^{a+1}.ℤ_(2)is Mathlib's valuation ring(Rat.padicValuation 2).integer, and "coefficients inℤ_(2)" means membership inPolynomial.liftsof its inclusion.p, are inComplexity/Foundations/NumberTheory/Padics/RatValuation.lean.Rat.padicValuation_pow_le_of_abs_lt: a nonzero integerxwith|x| < p^{a+1}has at mostafactors ofp.Rat.padicValuation_add_pow_of_abs_lt: addingp^{a+1}to such anxkeeps its valuation.padicValuation_prod_sub_eq_prod_Ioo: fort ∈ S, the differencest − q(q ≠ t) have the valuations of1, …, 2L−1. The bijection isq ↦ (t − q) mod 2L. This is the manuscript's "the counts of nonzero differences at every valuation are independent oft".padicValuation_prod_sub_eq:v₂(C'(t)) = v₂(C'(0)).cauchyKernel_comp_mem_lifts: fort, d ∈ S,W_d(t + αz)has coefficients inℤ_(2). The manuscript'sW_{xy}is feat(circuit/frontier): deformed contraction and the Cauchy kernel #1845'scauchyKernel L (y − x).exists_cauchyKernel_comp_eq_two_mul: ford ≠ tit is2 PwithPagain2-integral.q ≠ tis(t − q)(1 + α/(t − q) z), and the factorq = tisαz. The constantC'(t)/C'(0)has valuation one, andα/(t − d)is divisible by 2.F.cauchyMatrix_comp_mem_lifts: every entry of the Cauchy matrix of a packing has the same integrality.TensorNetwork.deformedContraction_mem: a deformed contraction lies in any subring containing the tensor and matrix entries.TensorNetwork.deformedContraction_cauchyMatrix_comp_mem_liftsRing: letRbe aℚ-algebra,B ⊆ Ra subring containingℤ_(2), and let the tensor entries lie inB. ThenF(t + αz) ∈ B[z]. WithR = KandB = Othis is the manuscript'sF(t + αz) ∈ A[z]for ℓ = 1. For example,Bcan be feat(foundations): Galois rings, ring Lagrange interpolation and the p-adic valuation of ℚ[X]/(f) #1859's valuation ring(AdjoinRoot.padicValuation 2 hf hirr).integer.2^p(Complexity/Foundations/NumberTheory/Padics/RatValuation.lean).Rat.padicIntegerToPadicIntincludesℤ_(p)inℤ_[p].Rat.padicIntegerToZModPow p nreducesℤ_(p)modulop ^ n, through Mathlib'sPadicInt.toZModPow.padicIntegerToZModPow_mul_den: it sendsa/btoa · b⁻¹. This is the manuscript's "invert its odd part modulo2^p".Limits.
W_xy(t + αζ) mod 2^pis computable in polynomially many bit operations. It is a runtime claim, for T2.8.d ∈ S, which is the cased = y − xthat (D.7) uses.Existing notions considered.
Rat.padicValuation,Valuation.integer,Polynomial.lifts/liftsRing,PadicInt.toZModPow,Padic.norm_rat_le_one,padicValInt_dvd_iff.cauchyGrid,cauchyKernel,cauchyMatrix,deformedContraction,deformedContraction_map.liftsexpresses it.ℤ_(p) → ZMod (p ^ n)on the rational subring, henceRat.padicIntegerToZModPow.Abstract impact: none.
Validation
lake build --wfail --iofailpasses on the new modules and onComplexityTests/Computability/Circuit/Frontier/TensorNetworkIntegralCoordinates.lean. So dolake build Complexity,lake lint,lake exe lint-style,lake exe mk_all(aggregate updated),scripts/check_hygiene.pyandscripts/check_changed_files.py. Hosted CI runs the six gates.L = 2, soS = {−2, −1, 0, 1},C'(0) = −2andα = 4:W_1is−1/2, soW_1itself is not 2-integral, whileW_1(1 + 4z)is;W_0(1 + 4z)is divisible by 2;1/3 ↦ 3inZMod 8;ℚwith integer tensors hasF(−1 + 2z) ∈ ℤ_(2)[z]for one slot.AI assistance
Written by
worker-claude-e6cf7b0d-t2-galois(Claude Code, Claude Opus 5.5) undercoordinator-claude-e6cf7b0d. It needs outside-fleet review.🤖 Generated with Claude Code
https://claude.ai/code/session_015DLg8kwPs8yi7ePPdtoNvG