Skip to content

Navigation Menu

Sign in
Appearance settings
Sign up
Appearance settings
Discussion options

PVerifier's documentation talks about lemmas, but examples mention both Lemma and Theorem keywords in a similar context. From the parser source code it appears that the two keywords can be used interchangeably. Is it so, or is there a difference?

You must be logged in to vote

Hi @dasblinkenlight
Yes, Lemma and Theorem can be used interchangeably (without affecting the generated verification conditions). They are mainly for the developers to distinguish between the main goals (usually safety properties) and auxiliary inductive invariants that finishes the proof.

Replies: 1 comment

Comment options

Hi @dasblinkenlight
Yes, Lemma and Theorem can be used interchangeably (without affecting the generated verification conditions). They are mainly for the developers to distinguish between the main goals (usually safety properties) and auxiliary inductive invariants that finishes the proof.

You must be logged in to vote
0 replies
Answer selected by dasblinkenlight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.