-
Notifications
You must be signed in to change notification settings - Fork 4
proofs: sorry reduction pass 5 — systematic plan and fixes #1670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
3624be3
docs: add sorry reduction plan for pass 5
claude e4c3cd4
prove stmtListGenericCore_of_requireClausesOnly and 2 return variants
claude 0844803
chore: auto-refresh derived artifacts
github-actions[bot] 560a760
fix(collectStmtNames): remove field names from storage-mutating cases
claude 394adb0
prove compiledStmtStep_setMappingUint_singleSlot_of_slotSafety_preserves
claude 3fbf0af
chore: auto-refresh derived artifacts
github-actions[bot] f9dafe7
prove compiledStmtStep_setMapping_singleSlot_of_slotSafety_preserves
claude 22bd74f
prove compiledStmtStep + cascade for setMappingUint and setMapping
claude 0c4d840
chore: auto-refresh derived artifacts
github-actions[bot] 5cefbc4
prove compiledStmtStep + cascade for mstore and tstore (39→37 sorries)
claude 647fa0d
chore: auto-refresh derived artifacts
github-actions[bot] 606771d
add isMapping_false_of_findFieldWithResolvedSlot_address lemma
claude 2adf22f
prove setMappingChain + setMapping2 preserves + cascades (37→33 sorries)
claude a4d79b2
prove compiledStmtStep_setStorage_singleSlot + singleton cascade (33→…
claude 48aac16
chore: auto-refresh derived artifacts
github-actions[bot] 7bda5f9
docs: update sorry reduction plan with pass 5 progress (44→32)
claude d393690
move 6 requireClausesThen*SetStorage cascade theorems after deps (32→…
claude acc683f
chore: auto-refresh derived artifacts
github-actions[bot] aa4cbd1
prove scope-independence of compileStmt/compileStmtList success (26→2…
claude 07ff14c
prove generic induction theorems by removing inScopeNames indirection…
claude d47c51f
prove stmtListGenericCore_of_supportedStmtList_of_surface by inductio…
claude 6c61c3d
prove setMappingWord preserves (wordOffset=0), activate singleton the…
claude 1026015
Prove setStructMember_preserves (wordOffset=0) and activate singleton
claude 926cabb
Prove setMapping2Word and setStructMember2 preserves (wordOffset=0), …
claude bfd7047
Prove helper-ir exec chain: step, extraFuel, raw, body theorem (14→13…
claude 739fbd7
chore: auto-refresh derived artifacts
github-actions[bot] a4c2900
Uncomment bridge theorems and prove 3 downstream body-level sorries (…
claude 04d38b0
chore: auto-refresh derived artifacts
github-actions[bot] a468849
docs: update sorry reduction plan to reflect current 10-sorry state
claude 13fd9fa
fix: allowlist 6 long proofs from sorry-reduction pass 5 + add elan c…
Th0rgal 66236a1
Add keccak axiom and prove 4 mapping slot wordOffset≠0 sorries (10→6)
claude 5430d87
chore: auto-refresh derived artifacts
github-actions[bot] 7dee40c
Prove aliasSlots TYPESIG_SORRY chain: 3 theorems (6→5 sorries)
claude c3b2ca5
chore: auto-refresh derived artifacts
github-actions[bot] d712394
docs: update sorry reduction plan to reflect 10→5 sorry state
claude 08b717e
Add ExprCompileCore constructors for bitwise ops, prove sorry #1 (5→4…
claude 90d2f6b
chore: auto-refresh derived artifacts
github-actions[bot] d52b735
docs: update sorry reduction plan to reflect 4-sorry state with detai…
claude 6edf976
Uncomment 4 TYPESIG_SORRY blocks in FunctionBody.lean with fixed type…
claude 5683a8d
Uncomment 6 tailExtraFuel TYPESIG_SORRY blocks in FunctionBody.lean w…
claude 5dc508c
chore: auto-refresh derived artifacts
github-actions[bot] c3eafcd
Uncomment 2 TYPESIG_SORRY blocks in GenericInduction.lean: setStorage…
claude faaf81e
Remove 7 dead-code TYPESIG_SORRY blocks superseded by proved variants
claude b459fb3
chore: auto-refresh derived artifacts
github-actions[bot] d004f5c
Uncomment 2 TYPESIG_SORRY blocks + add helper lemma for ExceptMapping…
claude 8a589c0
Prove compiledStmtStep_setMappingPackedWord compileOk + eliminate sor…
claude 16e3af7
chore: auto-refresh derived artifacts
github-actions[bot] 97b64b3
Update SORRY_REDUCTION_PLAN.md: 4 → 3 sorries (93% reduction)
claude 7f290b0
docs: register 2 new mapping-slot axioms in AXIOMS.md (#1672)
Th0rgal 53f1666
fix mapping-slot axiom sync and address write masking
Th0rgal d0178c1
chore: auto-refresh derived artifacts
github-actions[bot] 4164973
Close packed mapping proof hole
claude c2f325a
proofs: remove remaining GenericInduction sorrys
claude 4545f84
chore: auto-refresh derived artifacts
github-actions[bot] c046d67
Finish packed mapping preservation proof
claude fa39679
chore: auto-refresh derived artifacts
github-actions[bot] 3702f08
fix: CI gates — update warning baseline, proof-length allowlist, and …
claude 9299563
chore: restore docstrings from stray TYPESIG_SORRY comment blocks
claude 22795c9
fix: address mask for packed storage writes and generalize isMapping …
claude 569014a
feat: add shl/shr (shift-left/shift-right) to the proven fragment
claude 2aecbae
chore: auto-refresh derived artifacts
github-actions[bot] 59ce58e
feat: unlock bitAnd/bitOr/bitXor/bitNot in the proven fragment
claude ec89bf0
feat: add min/max to the proven fragment
claude d12a2bd
chore: auto-refresh derived artifacts
github-actions[bot] 9e3c259
feat: add ite (ternary conditional) to the proven fragment
claude 18b84e1
chore: auto-refresh derived artifacts
github-actions[bot] d56c9db
feat: add ceilDiv to the proven fragment
claude 6080e60
chore: auto-refresh derived artifacts
github-actions[bot] 6a083d8
feat: add wMulDown, wDivUp, mulDivDown, mulDivUp to the proven fragment
claude d2c06fc
chore: auto-refresh derived artifacts
github-actions[bot] c477d66
ci: trigger CI for auto-refresh verification
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When
requireAddressFieldis true, this change introducesstoredValueExprmasked byaddressMask, but only the non-packed branches use it; the packed branches still pass rawvalueExprtocompilePackedStorageWrite/compileCompatPackedStorageWrites. Since packed bits are allowed on non-mapping fields,Stmt.setStorageAddrcan still persist high bits in packed address fields (notably if packed width is >160), which makes packed and non-packed address writes semantically inconsistent. Thread the masked expression through packed branches too.Useful? React with 👍 / 👎.