Skip to content

Added attributes for distinguishing claims #842

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

Conversation

traiansf
Copy link
Contributor

This PR comes to address an open issue for the Haskell backend the ability to distinguish between all path and one path claims: runtimeverification/haskell-backend#906

@traiansf traiansf requested a review from dwightguth as a code owner October 14, 2019 13:09
@dwightguth
Copy link
Collaborator

I'd like to see a test for the case when the attribute is added to an individual sentence because it doesn't look like that case works to me.

@traiansf traiansf force-pushed the one-path-all-path-claims branch from 43a11c9 to 9df5492 Compare October 16, 2019 19:33
@traiansf
Copy link
Contributor Author

@dwightguth please take another look.

@traiansf traiansf requested a review from ttuegel October 16, 2019 20:24
@dwightguth
Copy link
Collaborator

Looks good but I'd like Tom to approve too before we merge.

Copy link
Contributor

@ttuegel ttuegel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I found one trivial typo, but it looks good to me!

@traiansf traiansf force-pushed the one-path-all-path-claims branch from 66356f5 to 8728d9c Compare October 17, 2019 18:48
@traiansf traiansf merged commit 431c8fd into runtimeverification:master Oct 18, 2019
@traiansf traiansf deleted the one-path-all-path-claims branch October 18, 2019 10:09
Baltoli pushed a commit that referenced this pull request Apr 9, 2024
…ut (#842)

We were having trouble in
runtimeverification/evm-semantics#2272 selecting
the correct claims because they can be unqualified by the user. This PR:

- Fully qualifies all claim labels and dependency labels returned by
`KProve.get_claim_modules`.
- Makes sure that we return not only the user-selected claims, but their
dependencies (unless the user turns that off), from `KProve.get_claims`.
- Adds a test-suite for the claim selection functionality.

There is a bug in this code, and a test added (and skipped using
`pytest.skip()`) which demonstrates a (probably minor) issue where we
are not checking that claim dependencies are in a module imported by the
current module.

---------

Co-authored-by: devops <[email protected]>
Baltoli pushed a commit that referenced this pull request Apr 9, 2024
…ut (#842)

We were having trouble in
runtimeverification/evm-semantics#2272 selecting
the correct claims because they can be unqualified by the user. This PR:

- Fully qualifies all claim labels and dependency labels returned by
`KProve.get_claim_modules`.
- Makes sure that we return not only the user-selected claims, but their
dependencies (unless the user turns that off), from `KProve.get_claims`.
- Adds a test-suite for the claim selection functionality.

There is a bug in this code, and a test added (and skipped using
`pytest.skip()`) which demonstrates a (probably minor) issue where we
are not checking that claim dependencies are in a module imported by the
current module.

---------

Co-authored-by: devops <[email protected]>
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.

4 participants