Skip to content

Model checkpoint-aware native switch tails#1906

Merged
Th0rgal merged 4 commits into
mainfrom
fix-1890-checkpoint-native-switch
May 19, 2026
Merged

Model checkpoint-aware native switch tails#1906
Th0rgal merged 4 commits into
mainfrom
fix-1890-checkpoint-native-switch

Conversation

@Th0rgal

@Th0rgal Th0rgal commented May 19, 2026

Copy link
Copy Markdown
Member

Summary

  • Pins EVMYulLean to 7785a9bba344db917e42b7f1033ee8346197bb40 from Expose checkpoint state projections EVMYulLean#1.
  • Adds nativeSwitchMatchedFlag_of_revived_body_final, a narrow generated-switch proof hook from _revived body preservation plus final.reviveJump = Ok ... to the raw matched flag expected by the generated switch tail.
  • Keeps EndToEnd cleanup out of this PR; the removal of the old continuation is stacked separately.

Closes #1890.

Verification

  • Tiny Lean probe via lake env lean --stdin proving checkpoint raw lookup agrees with revived lookup after final.reviveJump = Ok ....
  • lake build Compiler.Proofs.YulGeneration.Backends.EvmYulLeanNativeHarness
  • lake build Compiler.Proofs.EndToEnd

Note

Medium Risk
Moderate risk: introduces a new proof lemma that relies on reviveJump/checkpoint state projections and updates the pinned evmyul dependency, which could affect downstream proof compilation.

Overview
Adds nativeSwitchMatchedFlag_of_revived_body_final, a new proof bridge that converts _revived block preservation (via reviveJump) plus a final.reviveJump = Ok … assumption into the raw final-state lookup needed by generated native switch tails.

Updates the evmyul dependency pin to 7785a9b… and registers the new lemma in PrintAxioms for axiom-audit builds.

Reviewed by Cursor Bugbot for commit 3fe23b3. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented May 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
verity Ready Ready Preview, Comment May 19, 2026 2:29pm

Request Review

@github-actions

Copy link
Copy Markdown
Contributor
\n### CI Failure Hints\n\nFailed jobs: `checks`\n\nCopy-paste local triage:\n```bash\nmake check\nlake build\nFOUNDRY_PROFILE=difftest forge test -vv\n```

@Th0rgal Th0rgal merged commit 5686548 into main May 19, 2026
2 checks passed
@Th0rgal Th0rgal deleted the fix-1890-checkpoint-native-switch branch May 19, 2026 23:37
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.

Proofs: model checkpoint-aware native switch-tail semantics

1 participant