Repository navigation
equivalence: state the CardDemo batch read-loop guard's false outcome as infeasible (Part of #5864) - #5915
Merged
Conversation
… as infeasible (Part of #5864) CBACT02C/03C, CBCUS01C, CBACT04C, CBTRN01C/02C/03C each leave one outcome uncovered: the false arm of `IF flag = 'N'` inside `PERFORM UNTIL flag = 'Y'`. The flag holds only 'N' or 'Y', so no input reaches it (family C). Seven reviewed entries plus a test tying each to its committed proof's uncovered list. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 21, 2026 20:58
squid-protocol
enabled auto-merge (squash)
October 21, 2026 21:07
Owner
Author
|
No description provided. |
This was referenced Oct 21, 2026
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.
Part of #5864. Checklist: done [c:bbd85fcc]
What
Seven CardDemo batch programs are one net branch short of L4. In each, the one outcome the committed proof leaves uncovered (
evidence.jsonuncovered_branches) is the false arm ofIF flag = 'N'insidePERFORM UNTIL flag = 'Y'. The flag hasVALUE 'N'and is only ever set to'Y', so it holds'N'or'Y'and the false arm is unreachable (family C). Each gets a reviewed entry intests/equivalence/infeasible_outcomes.json:Net branches become 22/22 for the three read programs, 85/85, 65/65, 95/95 and 81/81 (the stated outcome leaves the total).
The test
test_carddemo_batch_read_loop_guard_is_the_only_outcome_the_proof_leaveschecks each entry against the committed proof's uncovered list and the net total.Plan change: CBTRN01C has the same shape as the other six (line 165), not a different mechanism as I first read it.
Class / siblings
Same-mechanism members are all seven checklist programs, all done here. No engine, golden or ledger change (the coverage ledger keeps raw counts). Other checklist lines (CBACT01C, COMEN01C, CBSA, GenApp) are separate items. The
-generatedsibling cases are not judged by the report and carry no entries.Gates
pr_gates --fast7/7,--ratchets8/8,test_evidence.pyandtest_infeasible_outcomes.pypass. No det sweep re-run: no port or case input changed, and the entries rest on the proofs' recorded uncovered list; the next det sweep'sinfeasible_outcomes.py checkwill refute any that it reaches.Review needed
These are assumptions of the proof, to be reviewed by the owner (#4602).
🤖 Generated with Claude Code