Skip to content

Formalize selected monomial coordinate and signed-word interfaces - #2378

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
AAAmirinu:research/donation-cycle-3
Oct 16, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
AAAmirinu:research/donation-cycle-3

Conversation

@AAAmirinu

Copy link
Copy Markdown
Contributor

PR2341's second handoff asks for an actual directed monomial interpreter to be connected to its full-array tensor semantics. This supplies a source-bound, kernel-checked refinement of PR2250's selected residual 0:1000.right: its literal 22-gate affine word, phase-before-affine forward staging, correct inverse order, repeated phase 2*f, and unchanged dirty spectators. Under an explicit completed primitive endpoint contract, the staged model equals the unary tensor map for arbitrary full arrays and every finite column count.

A separate Boolean word proof mirrors the actual LSB carry loop and Gaussian phase branches. It proves modular negation at every bit width and exact signed interpretation under phase-specific headroom. The most-negative counterexample explains why byte roundtrip alone cannot certify integer correctness; PR2250's existing headroom statement is credited, not reported as a new defect.

Validation:

  • Fresh Lean 4.33.0-rc1 / pinned Mathlib build passed in 34.039 seconds; 31 theorem axiom reports use only propext, Classical.choice, Quot.sound; three false theorems fail for mathematical reasons. The committed KERNEL.json records final source hashes and diagnostics.
  • Authenticated unchanged PR2250 execution: 512 addresses, 508 negation words, 10,880 phase pairs, 4,096 tensor-phase cases, and two complete 4,096-record address fixtures with all eight dirty spectator combinations. Normal and optimized Python replay each pass 19 source/semantic controls.
  • Metadata, exact inherited source pins and staged proof/receipt hashes pass. Separate AI agents implemented/reviewed the coefficient and coordinate proofs; no human or maintainer acceptance claimed.

The finite replay deliberately reports kernel_checked=false; the explicit kernel harness and dedicated workflow supply separate formal evidence. Existing dependency compiled caches are reused after exact source revision/cleanliness checks, not independently rebuilt.

Scope: this is a formally verified source-faithful model under completed Compact/digit-permutation and address-decode contracts. Python execution, the physical repair/tape algorithm, and the formal composition of word encoding with record traversal remain open. No full native word, caller/owner chronology, precision/outer admission or selected frontier change is claimed. PR2341's unchanged TensorLift/LemmaG modules and PR2250 code/notices are retained with exact pins.

Sources: PR2250 d404b48a1e7b147556b309497d55089c837dddb2, PR2341 f448ce821ba32001bf1ec13f7088450d2edcd112; main 0fdd7d82, priority revision 4. Final live overlap covers 580 open PRs and 1,106 Discussion records, complete pagination and no warnings. New height-ledger and T74 compensation work is complementary; metadata search is not a novelty guarantee.

Coordination: #2253 (comment)

Credit: Jose Manuel/jmbarrancoml (PR2250/2287), Gareth Davidson/bitplane (PR2341 and fresh-build pattern), Douglas Colkitt, DreamingOfClouds and the retained LemmaG/predecessor notices, plus Mathlib. Prepared by AAAmirinu with substantial OpenAI Codex assistance. Apache-2.0; original bytes and notices preserved.

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.

2 participants