diff options
| author | Erik Martin-Dorel | 2021-04-21 20:00:36 +0200 |
|---|---|---|
| committer | GitHub | 2021-04-21 20:00:36 +0200 |
| commit | b5c4c3a1423c7925194334d66c262054d6a6c4c5 (patch) | |
| tree | e7878c97ece66bd7941e8f6019f70325de3f1bd1 /ci/simple-tests/omit_test.v | |
| parent | d0acb626eba17023c55b002921870d60e48527a5 (diff) | |
| parent | 82311da10ee3dfa6f29ddfb9225f9f05c29dca31 (diff) | |
Add feature to omit complete opaque proofs
Diffstat (limited to 'ci/simple-tests/omit_test.v')
| -rw-r--r-- | ci/simple-tests/omit_test.v | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ci/simple-tests/omit_test.v b/ci/simple-tests/omit_test.v new file mode 100644 index 00000000..b8d177cc --- /dev/null +++ b/ci/simple-tests/omit_test.v @@ -0,0 +1,25 @@ + +Definition classical_logic : Prop := forall(P : Prop), ~~P -> P. + +(* automatic test marker 1 *) + +Lemma classic_excluded_middle : + (forall(P : Prop), P \/ ~ P) -> classical_logic. +Proof. + intros H P H0. + (* automatic test marker 2 *) + specialize (H P). +Abort. + +Lemma classic_excluded_middle : + (forall(P : Prop), P \/ ~ P) -> classical_logic. +Proof using. + intros H P H0. + specialize (H P). + (* automatic test marker 3 *) + destruct H. + trivial. + contradiction. +Qed. + +(* automatic test marker 4 *) |
