refactor(proof): measure the share by replay from a plan - #217
Merged
Merged
Conversation
flang/proof/replay-share.fscript replaces the replay mode of corpus-share.sh: every corpus record is checked, its replayed and open places are summed with the manifest classes, and the balance of the denominator is printed; -- --forgery strips the moves of a carrier and checks that the share falls. The verdict, four coverages, the short commands and the docs call the plan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PNHrA3rG7FTWhB11E7pjDQ
flang/proof/share-measure.fscript replaces the set measure of corpus-share.sh (sets corpus, examples or a directory, both sets, a dump, another root, a commit or a ready ledger). The instrument self-test becomes share-self-test.fscript, and corpus-share.sh is deleted. CI, four coverages, the short command, both probe plans and the docs call the plans. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PNHrA3rG7FTWhB11E7pjDQ
flang/proof/forgeries/run.fscript and run.tsv replace forgeries/run.sh: the honest record and four forgeries are rows of the table, and every example of flang/proof/examples is recorded and checked as before. Old against new was compared on the five table trials only, with the catalogue pointed at an empty directory: a full comparison needs about fifty checker runs of up to an hour each. Both gave the same five codes (the honest body-forms record is refused on trunk) and both exit 1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PNHrA3rG7FTWhB11E7pjDQ
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.
Verified on the tree of dev plus this branch (f4a431b): the checker test set passes, the provability verdict is green with all four checks, the proved-share ledger and the rule tables agree with the tree, pre-push is green, commit messages follow the convention.
🤖 Generated with Claude Code