sub-MTU XMSS formal proof of classical security in ROM - #10
Open
TomWambsgans wants to merge 285 commits into
Open
sub-MTU XMSS formal proof of classical security in ROM#10TomWambsgans wants to merge 285 commits into
TomWambsgans wants to merge 285 commits into
Conversation
The reviewer-facing surface is now XmssSecurity.lean (the theorem and its axiom guards), XmssSecurity/Statement.lean (the game and the claim), and the definition-only XmssSecurity/Statement/ directory; all 280 proof modules move under XmssSecurity/Proof/ and never need to be read, only checked by Lean. Prune the dead first-lane cluster in CappedJointExactLoss and the dead signing-traced layer in CappedExactFirstLaneSourceTrace. Pin the axiom footprint with #guard_msgs in the root module. Update the spec footnote to the machine-checked 127-bit claim. Full lake build green (3023 jobs). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The reviewer surface shrinks from 836 lines in 16 files to 714 lines in 4: Statement/Spec.lean (the oracle-free specification), Statement/Algorithms.lean (keygen, sign, verify), Statement.lean (the experiment and the claim), and the root. The statement now owns the generic game under its plain names (Scheme, Adversary, gameCore, forgeAdvantage, HasClassicalSecurityBits) and instantiates it at Concrete.scheme, so Proof/SecurityGame.lean, the parallel Xmss* vocabulary, and the root's rfl bridge all disappear; the root theorem discharges the claim in one line. Restatement lemmas move behind the trust boundary into Proof/StatementLemmas.lean, hashDomainTag moves to its one consumer, and the unused samplePublicParameter_eq is deleted. Full lake build green (3011 jobs) with the axiom guards passing. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
127 bits of classical security in the ROM