Skip to content

[Lean] Connect complete-bank endpoints to PR516 realization - #528

Merged
Mister-Meeseeks merged 2 commits into
CrocSwap:mainfrom
jamesyc:lean/complete-bank-endpoint-20261011
Oct 12, 2026
Merged

Mister-Meeseeks merged 2 commits into
CrocSwap:mainfrom
jamesyc:lean/complete-bank-endpoint-20261011

Conversation

@jamesyc

@jamesyc jamesyc commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Change and mathematical scope

One new theorem, CurrentMain.PR516CompleteBankEndpoint.full_state_endpoint, connects the full physical helper/rest endpoint from #516 to the sequential completed-bank interface in #513. It directly reuses LemmaA.family_endpoint, LemmaA.endpoint_indep, #509's event semantics and Mathlib's Equiv.funSplitAt; it does not reprove their inductions.

Author-checked conditional source context:

  • main/base: 12a4934d15006e8c10f9b2264f13f8f341be802b
  • κ = 90446448750933/125000000000000000 = 0.000723571590007464
  • This is the unchanged selected construction context, not a new exponent saving derived by this adapter.

Coverage

  • Finite: no new selected finite witness, census, matrix computation or numerical instance checker is claimed.
  • Conditional interface: for arbitrary initial helper and rest values, the completed word gives the specified helper operator and rest output independent of the initial helper. Full unit row and zero off-diagonal helper column are separate hypotheses. The reference zero in the rest definition imposes no clean-state assumption.
  • Full theorem: actual physical execution, injective owners, exact recipes, well-labelled events, full rows/columns including the work register, common-chart partial swap, all-60-replica partition/order, boundaries and physical costs remain explicit. No full multiplication/runtime theorem is proved.

Reuse and exact pins

Existing #509/#513/#516 were compared before publication; generic realization is credited upstream. The new contribution is the complete pair-valued interface adapter. No superseded PR is closed.

Validation and reproduction

Fresh isolated nine-source package replay passed: 70 complete axiom probes, each using only propext, Classical.choice and Quot.sound; 19.3728 compiler seconds, 0.00412 FIFO seconds, 3,301,359,616 bytes peak VM. Eight object hashes match the research check; the notice-modified Realize object is separately recorded. Twenty changed files, all under research/lean-complete-bank-endpoint; no root or scientific CI changes.

Offline command (with existing exact source worktrees and built pinned runtime):

python3 research/lean-complete-bank-endpoint/check.py --lean /path/to/lean-4.21.0-linux/bin/lean --mathlib-root /path/to/mathlib4 --pr509-root /path/to/PR509/research/e8-lemma-g-lean --pr516-root /path/to/PR516/research/e8-lemma-a-lean --pr513-root /path/to/PR513/research/lean-sequential-bank-bindings --build-dir /path/to/new-empty-reproduction-directory

Exact hashes, full receipts, resources and replay boundaries are packaged. Local kernel results are separate from fork/upstream CI, which has not been reported as passed. The inherited joint-certificate root-file provenance issue is outside this chunk.

Prepared by James Chang with OpenAI dot and GPT Astra assistance; upstream assistance disclosures are preserved.

jamesyc and others added 2 commits October 11, 2026 18:17
One new checked endpoint adapter; eight exact attributed dependencies from PR509, PR516 and PR513. Fresh nine-source replay: 70 standard-only probes. Author-checked conditional kappa 90446448750933/125000000000000000 = 0.000723571590007464 at base 12a4934. Actual source execution, full row/column and selected-instance suppliers remain explicit. No full multiplication theorem claimed.
The joint-dual check froze these three files by hash, but nothing in its
computation reads them. Any edit to them, even a README typo, therefore broke
`verify_joint_dual.py` until the manifest, `joint-dual-kappa.json` and
`joint-dual-validation.json` were regenerated.

Remove the three names from the pin script and from the closure check, re-pin,
and regenerate the two derived certificates. The conditional kappa and every
mathematical field are unchanged; the diff to the certificates is hashes only.
Update the current reproduction guide's "Shared source bindings" section.
Earlier round notes that describe the old binding are left as historical.

(cherry picked from commit f8c4314)

(cherry picked from commit 1fa0915)
@Mister-Meeseeks

Copy link
Copy Markdown
Contributor

Integrated on main in 9449300, with original commit history and individual credit retained.

Your nine exact Lean modules compiled under Lean 4.21.0, and all 70 complete axiom reports passed. All 2,213 external sources and objects match the pinned closure. The maintainer used the native macOS executable, not the author’s Linux runtime/memory reproduction. The full-state adapter and its precise execution, row/column, ownership and operator hypotheses are documented; no current finite instance or complete multiplication theorem is inferred automatically.

Maintainer review and exact scope · Contributor record. The multiplication claim remains conditional on the inherited all-size/realization/analytic interfaces; these checks do not establish a complete unconditional theorem.

Thank you for contributing this work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants