Retarget public correctness toward native EVMYulLean#1822
Draft
Retarget public correctness toward native EVMYulLean#1822
Conversation
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``` |
9de2da0 to
7daae7d
Compare
This was referenced May 6, 2026
Open
a8fbf0d to
d3e3705
Compare
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.
Summary
Retargets Verity's public EVMYulLean correctness surface away from backend-parameterized oracle spellings and toward native EVMYulLean-named entry points.
Key changes:
interpretYulRuntimeEvmYulLeanandinterpretYulRuntimeEvmYulLeanFuelwrappers....via_reference_oraclenames.yulCodegen_preserves_semantics_via_reference_oracle, and guarded against restoring the bare oracle name....Interpreterto...EvmYulLean.defaultBuiltinBackendto.evmYulLean.legacyBuiltinBackend := .verity,legacyEvalBuiltinCallWithContext, andlegacyExecYulFuelso old reference-oracle/bridge-comparison paths opt into legacy semantics explicitly.Verification
lake build Compiler.Proofs.EndToEndlake build Compiler.Proofs.YulGeneration.Backends.EvmYulLeanBridgeTestpython3 scripts/check_proof_length.pypython3 scripts/generate_print_axioms.py --checkpython3 scripts/check_native_transition_doc.pypython3 scripts/test_check_native_transition_doc.pypython3 -m unittest scripts.test_evmyullean_capabilitymake checkRemaining work
ReferenceOracle/Semantics.leanaslegacyExecYulFuelfor legacy/reference-oracle comparisons.EvmYulLeanRetarget.leanstill proves the EVMYulLean retarget by composing throughyulCodegen_preserves_semantics_via_reference_oracleand backend comparison machinery.