Skip to content

P104: Lean-only package 2 (kernel V2 cover, structural laws, caller-borrowing and spec-break lemmas) - #7634

Open
DreamingOfClouds wants to merge 1 commit into
CrocSwap:mainfrom
DreamingOfClouds:research/p104-lean-laws-2
Open

DreamingOfClouds wants to merge 1 commit into
CrocSwap:mainfrom
DreamingOfClouds:research/p104-lean-laws-2

Conversation

@DreamingOfClouds

Copy link
Copy Markdown
Contributor

Lean-only package, part 2. No κ claim; no word, native or score changes. Follows #7632.

Kernel-checked Lean (only propext / Classical.choice / Quot.sound, except the opt-in native/ file), with every hypothesis named:

  1. V2-FLOOR, kernel-only. v2floor_joint_kernel (919.92) and v2floor_beta_kernel (877.28) via a hyperplane cover with a proved Gaussian count lemma; composed with the P104: Lean-only floors package (class-K floor, JB bridge, Lemma PG, R25 kill) #7632 bridge as v2kernel_helperD0_* (e.g. 919.92 ≤ helper D0 when every helper runs 0→9). These are relay-LP floors, conditional exactly as stated. Opt-in native/V2FloorNativeBeta (uses native_decide).
  2. Structural laws of the TokenCancel op model. Lemma TC (junk is cancelled only by reading its source; holders lie below the last-read chart), the single-insertion charge certificate, timed departures, stay removability, whole-word counting (down-set/up-set/slack-rank/port lemmas), free-endpoint collapse, spread identity, fusion rank obstruction, W0 cancellation (joint/rank form), prefix pinning, frame separation, carrier forcing, relay sandwich, content pin.
  3. Caller "borrowing" obstructions. Lemmas E, R, OS, the shear algebra, D-isolation, Lemmas I and L, Theorem O (first/last-piece), in an abstract caller model.
  4. Spec-break lemmas. TS, UR, INV, SPLIT, COV, JORDAN-U (even U), the Ureq bounds, and the order-free kills of two J=6 survivor profiles, with character data as hypotheses and scope as stated in PROVED.md.

FALSE.md lists 12 prose statements Lean refuted or tightened, each with its counterexample theorem. CHECK.txt has the compile table, axioms and the full kernel build log for the cover data.

Unregistered package (no VERIFY.json), like the other Lean packages: the build exceeds the registered replay budget. Build: cd research/p104-lean-laws-2/lean && lake exe cache get && lake build. No scripts.

Credit: the down-set counting in WFCount adapts @CubeJerry's masked-hub cut argument (research/moonshot-005-program). DreamingOfClouds with Claude Opus 5.5 (Anthropic), via Claude Code.

🤖 Generated with Claude Code

… laws, caller-borrowing obstructions, spec-break lemmas)

DreamingOfClouds with Claude Opus 5.5 (Anthropic), via Claude Code
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.

1 participant