-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proof-check: new feature for listing passing and failing tests
M-x proof-check-proofs checks all proofs in one buffer and displays a list with which tests currently pass or fail. This is a Proof General implementation of coq/coq#1147. It enables a PVS-like workflow where files are processed with -vos and proof-omit-proofs-option enabled such that one can focus on the most interesting/difficult proof instead of the first failing one.
- Loading branch information
1 parent
2cbd2a2
commit 6b1eb04
Showing
4 changed files
with
221 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
Definition a : nat := 4. | ||
|
||
Lemma a1_equal_4 : a = 2 * 2. | ||
Proof using. | ||
simpl. | ||
zzzz. (* this proof should fail *) | ||
trivial. | ||
Qed. | ||
|
||
Definition b : nat := | ||
(* automatic test marker 1 *) | ||
6. | ||
|
||
Lemma b_equal_6 : b = 2 * 3. | ||
Proof using. | ||
simpl. | ||
trivial. | ||
Qed. | ||
|
||
Lemma b2_equal_6 : b = 2 * 3. | ||
Proof using. (* this proof should fail *) | ||
Qed. | ||
|
This file contains 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
This file contains 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
This file contains 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