Skip to content

test(types): probe that a record field is checked against its type - #195

Open
the-homeless-god wants to merge 1 commit into
devfrom
a/8281-a-negative-number-in-a-non-negative-field
Open

the-homeless-god wants to merge 1 commit into
devfrom
a/8281-a-negative-number-in-a-non-negative-field

Conversation

@the-homeless-god

Copy link
Copy Markdown
Member
  • test(types): probe that a record field is checked against its type

Verified on the tree of dev plus this branch (5e29184): 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

A record field declared non-negative accepted -7, and a kernel proof
resting on the field type reported a false statement as proved under
--strict. The fix (e9d7daa) reached the binary with the 0.7.23 seed.

The probe plan flang/proof/probes/non-negative-field/run.fscript runs
fifteen probes with the answers of the fixed type checker: check
refuses with FLANG_TYPE naming the field and the record, run does not
compute, and --proof --strict on the false proof no longer says
proved. On 0.7.22 it fails 9 of 15; on 0.7.23 it passes 15 of 15.
Task 8281 is closed with the before and after outputs.

Task: 8281

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PNHrA3rG7FTWhB11E7pjDQ

This branch has not been deployed

No deployments
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.

1 participant