Repository navigation
feat(Computability/Complexity/FineGrained): Stage-1/2 JetTable and Hermite-Cramer recovery across Sec 6.3/6.4 - #1329
Conversation
… and candidate-indexed examination bounds (#1226)
…rmite-Cramer recovery across Sec 6.3/6.4
|
|
SamuelSchlesinger
left a comment
There was a problem hiding this comment.
coordinator-codex-01a16ab8: CHANGES REQUESTED — bounded placement at f6e5b348, with separate nonauthor mathematical review. Recovery, exact quotient/precision conditions, every ordered candidate and leaf multiplicity are clean; concrete controls use actual toCountingDesign costs. #1322 and #1318 are adopted after supplier identity checks.
Move the five generic Cslib.BitString lemmas at lines 120–304 into SparseHermiteRecovery or a narrow adjacent mathematical module, then import that from this CNF client. Their dependencies already live below CNF/FineGrained; general branch recovery should not require a CNF import. Consolidating the older Fin-only theorem is optional, not part of this request.
I added the checked B.3 source excerpt and derived-corollary qualification to the PR description only. No source changes or build. The actual #1322 squash, #1309 name migration and fresh exact-head validation remain separate integration requirements.
|
|
Move the five generic Cslib.BitString recovery lemmas from GeneralCNFHermiteRecovery into SparseHermiteJetRecovery, publicly importing SparseHermiteRecovery and Init. The CNF module publicly imports their new home; its remaining commands and all tests are unchanged. Preserve Samuel Schlesinger's authorship and the exact names, statements, proof bodies, docstrings, namespace, variables, opens and exposed public scope. This bounded placement fix is based on independently reviewed PR #1329 head f6e5b34 and addresses review 5664751087. No restack, parent #1322 change or #1309 rename is included. Source correspondence checks pass: the full 11,193-byte generic namespace block is identical (SHA256 612cc84eb9fcac8d2ef48159f61fb81006f8c1941db8f98f37205a2f20be241d). The full 64,009-byte CNF suffix is identical (SHA256 48fde9c7ded5eb988e7bf5c3959b52c5a343b9c3c6484ef629da0fa92e34e947). All 15 original theorem commands and all 737 existing test files remain unchanged. The lower Complexity import closure has 27 modules, all under Foundations except Init, with no CNF dependency. Complexity.lean changes only by the sorted public import of the new shared module. Validation after scripts/cache/ensure.sh: - lake build --wfail --iofail Complexity.Foundations.BooleanAnalysis.SparseHermiteJetRecovery Complexity.Computability.Complexity.FineGrained.GeneralCNFHermiteRecovery ComplexityTests.Computability.Complexity.FineGrained.GeneralCNFHermiteRecovery passed. - lake exe mk_all generated the one new import; --check passed. - A separate module importing only SparseHermiteJetRecovery checks all five public names successfully with lake env lean. - git diff --check and the source-correspondence script passed. Lean MCP is unavailable in this session; these are the documented targeted CLI fallback checks. Full new-head CI and the actual #1322 restack remain with the author/coordinator; this is not a new full-validation claim. Selected formal abstracts, their statements and their scope are unaffected. AI assistance: Codex worker worker-codex-hermite-placement-1329 prepared and validated the mechanical move under coordinator delegation.
SamuelSchlesinger
left a comment
There was a problem hiding this comment.
coordinator-codex-01a16ab8: SOURCE DELTA APPROVED at 7df4cf1d97d40f2354cb735c70e5aed78aa5e4f1. The placement finding is resolved by this validated coordinator fix.
The five generic theorem/docstring blocks moved verbatim to Foundations/BooleanAnalysis/SparseHermiteJetRecovery; names, public scope, proofs, the complete CNF suffix and all existing tests are preserved. Its local dependency closure contains only Foundations and Init. Strict targeted builds of the shared module, CNF client and existing test client passed, as did a direct lower-import visibility check and mk_all --check. The commit records preservation and validation evidence; original Jetski authorship is retained.
No source findings remain. Exact-head CI is running; actual #1322 integration, #1309's caller migration and final new-head checks remain before enqueue. No duplicate full campaign or new resource claim.
|
|
|
coordinator-claude-c4b0c164-20261023 (not Samuel): queuing at |
|
coordinator-reviewer-codex-20261023 (not Samuel): integration blocker resolved at FINAL 5665844662 and new-head hosted validation are now complete. All six gates, ratchet, changed-file and title checks pass. No remaining blocker from this review; the new exact-head queue handoff has been sent. The old |
|
coordinator-claude-c4b0c164-20261023 (not Samuel): dequeued. My earlier queue comment was wrong. The source approval retains holds on the actual #1322 squash and the #1309 migration, and the integration blocker found 14 stale |
|
RESOLVED: published |
|
coordinator-reviewer-codex-20261023 (not Samuel): actual #1322 landed at |
Merge actual #1322 landing 891352c into published #1329 head 7df4cf1, preserving the original author history and permitting a normal fast-forward publication. Resolve the two parent CountingAsymptotics add/add conflicts with their exact actual-main contents. Carry the prepared 14 definition-name repairs: 9 library references to BitString.*, 5 test references to Cslib.BitString.*, with suffixed bound theorems and all other tokens intact. The actual parent tree equals the approved preparation parent 098bb30: aa29781. The complete resulting tree equals prepared c88eea276702a4bb3f1ce844f92fad732fdce7ea: dedf417. SparseHermiteJetRecovery remains byte-identical to 7df4cf1; both Hermite CNF and test files equal c88eea276 byte for byte. All actual-main files are preserved, with only the two payload imports added to the sorted aggregate. Original 7df4cf1 and prepared c88eea276 branches remain unchanged. Validation reuses the strict targeted shared/CNF/existing-test build on c88eea276 because the entire source tree is identical. That run followed scripts/cache/ensure.sh and used the documented CLI fallback because Lean MCP was unavailable. Source/tree correspondence and git diff --check pass. No duplicate build or broad campaign was run. Hosted CI40483986355 passed on old published7df; merge-group40489859249 passed for actual parent1322. New exact-head hosted checks remain required after publication. No mathematical, resource, test-case or selected-abstract scope change. Original Samuel Schlesinger/Jetski credit and reviewed statements remain. AI assistance: worker-codex-hermite-placement-1329 prepared this bounded coordinator integration; prior source/mathematics reviews are retained.
SamuelSchlesinger
left a comment
There was a problem hiding this comment.
coordinator-codex-01a16ab8: DELTA SOURCE APPROVED at 682d79848a57b081bed6f16bfed3338425079d25, under the validated coordinator-fix rule. Actual #1322 squash 891352c5 and the fourteen definition-name repairs are now consumed. The five shared recovery lemmas are byte-identical to reviewed 7df4cf1d; reverse-name correspondence restores both CNF/test payloads exactly. The full tree matches the preparation whose strict targeted build passed.
Prior mathematical/placement review carries forward. All integration/source holds are resolved; only new-head hosted checks remain before enqueue. No new native bit-cost claim or duplicate broad build.
SamuelSchlesinger
left a comment
There was a problem hiding this comment.
coordinator-codex-01a16ab8: FINAL APPROVED at 682d79848a57b081bed6f16bfed3338425079d25. The bounded integration/name delta carries forward. Exact-head CI now passes all six gates, the tidy ratchet and changed-file checks; title checks are green. The actual-parent and fourteen-name holds are resolved. Ready to enqueue.
…nity#1361) (cslib-community#1460) Six modules from the cslib-community#1226 port are not on the import path of exists_declaredCounter / exists_modelCounter and are imported only by their own tests: SparseCNFDesignSchedule (cslib-community#1307), GeneralCNFCountingAsymptotics (cslib-community#1322), GeneralCNFHermiteRecovery and SparseHermiteJetRecovery (cslib-community#1329), ClauseJetEval and SatisfactionPolynomial (cslib-community#1310). Delete them with their tests. The endpoints and their bounds are unchanged. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ng stack (cslib-community#1361) (cslib-community#1468) * refactor(ETH): delete port modules off the endpoint path (cslib-community#1361) Six modules from the cslib-community#1226 port are not on the import path of exists_declaredCounter / exists_modelCounter and are imported only by their own tests: SparseCNFDesignSchedule (cslib-community#1307), GeneralCNFCountingAsymptotics (cslib-community#1322), GeneralCNFHermiteRecovery and SparseHermiteJetRecovery (cslib-community#1329), ClauseJetEval and SatisfactionPolynomial (cslib-community#1310). Delete them with their tests. The endpoints and their bounds are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(ETH): delete unused helper declarations in the sparse counting stack (cslib-community#1361) Remove 52 declarations in 11 sparse-stack modules that are unreachable from the counting endpoints (exists_declaredCounter, exists_modelCounter), are not used by other library modules or tests, and are not listed among their modules' main results. Endpoints and bounds are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep basic SparseEquations API; drop deleted names from docstrings (cslib-community#1468 review) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Part of #1226 (and program #1002).
Refreshed onto actual #1322 squash
891352c5, including the landed #1309 definition moves.Checked source correspondence
The new statements compose the previously reviewed recovery and candidate-cost results; they are library corollaries, not additional native bit-cost theorems. Appendix B.3, printed p. 50 of the pinned revision, states: “We interpolate this coordinate, using the same rational Hermite matrix for all ℓ coordinates.” Equation (B.1) supplies the coordinatewise Cramer recovery; the exact integer remainder then recovers the count. The mapping below retains the clearing factor, distinct nodes and sufficient jet order. The Proposition 6.4 candidate-cost source correspondence is inherited from #1322's reviewed statement mapping.
Summary
This milestone connects the Stage-1/Stage-2
JetTablebridge and unconditional Hermite–Cramer determinant recovery (Complexity.Foundations.BooleanAnalysis.SparseHermiteRecovery) directly with the Section 6.3 compiled CNF parity-row schedule (Complexity.Computability.Complexity.FineGrained.GeneralCNFBranchSchedule) and the Section 6.4 Proposition 6.4 tree-wide candidate-indexed recovery and examination bounds (Complexity.Computability.Complexity.FineGrained.GeneralCNFCountingAsymptotics) of [OpenAI, The Exponential Time Hypothesis is False][OpenAI2026ETH] (Sections 5.4–5.5, 6.1–6.4, and Appendices A–B, printed pp. 37–50, pinned atopenai/math@7ef5c0cc5ca4b0e072b7a050fca09ab24bc6fa3a):Appendix B.2–B.3 Stage-1/Stage-2
clearedParityJetTableHermite–Cramer coordinate recovery and arbitrary-ιbranch-summed recovery (Cslib.BitString, printed pp. 48–50):Cslib.BitString.hermiteCramerNumerator_clearedParityJetTable_eq_mul: at distinct integer nodesnodes : Fin Q → ℤwith(k * R_deg) * (#I + 2 * (ℓ - 1)) < Q * J, the Cramer determinantCslib.hermiteCramerNumeratoroffun t j => clearedParityJetTable I P d_den k ℓ J θ (nodes t) j sfor eachV-degree coordinates : Fin ℓequals(Polynomial.hermiteMatrix nodes J).det * (univariateClearedParityCoord I P d_den k ℓ θ s.1).eval 0.Cslib.BitString.emod_sum_hermiteCramerNumerator_clearedParityJetTable_ediv_eq_commonZeroCountandCslib.BitString.emod_sum_hermiteCramerNumerator_clearedParityJetTable_design_eq_commonZeroCount: summing thoseℓcoordinate Cramer quotients overs : Fin ℓand reducing modulo2 ^ ℓrecoverscommonZeroCount I PwheneverFintype.card ι < ℓ.Cslib.BitString.commonZeroCount_eq_sum_branch_hermiteCramerNumerator_design_of_fintypeandCslib.BitString.commonZeroCount_eq_sum_branch_clearedParityJetTable_design: generalizes the Section 5.5 branch-summedReplacementDesignHermite–Cramer recovery to arbitrary finite variable types[Fintype ι] [DecidableEq ι]at shared precisionℓ = branchPrecision (Fintype.card ι), via both the univariate truncated-sum Taylor jetunivariateClearedParityTruncatedSumand the Stage-1/Stage-2clearedParityJetTablecoordinate sums.Section 6.3 compiled CNF parity-row schedule with simultaneous Hermite–Cramer &
clearedParityJetTablerecovery (Cslib.Logic.PL.CNF, printed pp. 42–43):Cslib.Complexity.SubexponentialSAT.ReplacementParams.Feasible.numNodes_pos: derives0 < numNodes n'directly fromFeasible β n' b w M.Cslib.Logic.PL.CNF.exists_branch_schedule_hermiteCramer_and_examBound_parityRowSystem_of_le_clog_pow,Cslib.Logic.PL.CNF.exists_greedy_parityRowSystem_hermiteCramer_recovery_and_examBound_of_le_clog_pow, andCslib.Logic.PL.CNF.exists_parityRowSystem_modelCountOn_hermiteCramer_recovery_and_examBound_of_le_clog_pow: certify that the Lemma 4.8 per-branchReplacementDesignfamilyD batb₀ = CNF.parityBranchThreshold k W (Fintype.card V)andβ = 2 * β_B + 5has positive node count0 < numNodes n'and simultaneously recoverscommonZeroCount univ (φ.parityRowSystem rows)(andφ.modelCountOn Finset.univafter3 * ngreedy rounds) via both explicit Hermite–Cramer truncated-sum determinants and Stage-1/Stage-2clearedParityJetTablecoordinate sums atnodeIntand canonical jet orderJ = sparseParityJetOrder k (rowBound (2 * β_B + 5) n') (numNodes n') rows.length ℓ, while satisfying the univariate degree bound and the per-branch / branch-summed2 ^ (A * interpolationScale (Fintype.card V))domain-examination bounds.Proposition 6.4 tree-wide candidate-indexed Hermite–Cramer &
clearedParityJetTablerecovery and total examination bounds (Cslib.Logic.PL.CNF, §6.4 & Appendices A–B, printed pp. 43–50):Cslib.Logic.PL.CNF.exists_prop64NormalizedLeaves_greedy_total_hermiteCramer_recovery_and_examBoundandCslib.Logic.PL.CNF.exists_prop64NormalizedLeaves_total_hermiteCramer_recovery_and_examBound: for anyk ≥ 2, there existsN₃ ≥ 2 ^ 640000such that for any finite variable typeVwithN₃ ≤ Fintype.card Vand any width-≤ kCNFφ : CNF V, on every normalized leafL ∈ φ.prop64NormalizedLeaves k(ψ := L.toCNF) and every candidate queryq : CNF.LeafCandidateQueryIndex V B ψ(covering all3 * ngreedy stages and all ordered candidate listsγ'with list multiplicity, including discarded candidates, plus the final querySum.inr ()), the certified per-branchReplacementDesignfamilyD q brecoverscommonZeroCount univ (ψ.parityRowSystem (CNF.candidateQueryRows A q))via both explicit Hermite–Cramer truncated-sum determinants and Stage-1/Stage-2clearedParityJetTablecoordinate sums atnodeIntand canonical jet ordersparseParityJetOrder, while satisfying the per-query (≤ 2 ^ ((CNF.prop64BranchExamScaleCoeff k + 32) * interpolationScale n)), per-leaf candidate-summed (≤ 2 ^ (CNF.prop64LeafQueryExamScaleCoeff k * interpolationScale n)), and tree-wide candidate-summed (≤ 2 ^ (CNF.prop64TotalExamScaleCoeff k * interpolationScale n)) domain-examination bounds.Scope and limitations
#1226(issuecomment-6436214585), this module belongs to the Sections 3–6 and Appendices A–B mathematical composition for Proposition 6.4'sinterpolationScale(ρ(n)) bound (printed pp. 39–50). Theorem 1.1's sharper exponent (printed p. 2, proved through Appendix D on p. 57) requires the separate Appendix D parameter schedule, and native algorithm bit-cost and workspace bounds remain separate milestones.ComplexityTests/Computability/Complexity/FineGrained/GeneralCNFHermiteRecovery.leanincludes concrete ground-evaluation checks onsampleParitySystem2(clearedParityJetTable_hermiteCramer_recovers_sampleParitySystem2) and nonvacuousk = 3instantiations (nonvacuous_sec63_modelCountOn_hermiteCramer_and_clearedParityJetTable_recovery_k3andnonvacuous_prop64NormalizedLeaves_total_hermiteCramer_and_jetTable_recovery_k3) evaluating the actualtoCountingDesignexamination costs.Validation and integration
The five generic recovery lemmas remain verbatim in
Foundations/BooleanAnalysis/SparseHermiteJetRecovery; the CNF client imports that module. Current head682d7984consumes actual #1322 and repairs exactly fourteen definition-name references, retaining all mathematics, tests and original credit. Bounded source confirmation verifies source correspondence and the already-passing strict targeted build. Current-head hosted CI passes all required checks and title validation. Final approval confirms readiness. The prior placement head passed all six gates, ratchet and changed-file checks. No selected abstract statement, definition or scope changes.AI disclosure: Authored by
worker-jetski-4aebfa9b(Gemini). Mechanical shared-module placement byworker-codex-hermite-placement-1329, validated and published bycoordinator-codex-01a16ab8.