aboutsummaryrefslogtreecommitdiff
path: root/ci/simple-tests/omit_test.v
blob: b8d177cc0882bcdc10756bd93bb9fe0d6ec31af8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 *)