Debian Codegraph @

test-suite/success/contradiction.v

raw
1 (* Some tests for contradiction *)
2
3 Lemma L1 : forall A B : Prop, A -> ~A -> B.
4 Proof.
5 intros; contradiction.
6 Qed.
7
8 Lemma L2 : forall A B : Prop, ~A -> A -> B.
9 Proof.
10 intros; contradiction.
11 Qed.
12
13 Lemma L3 : forall A : Prop, ~True -> A.
14 Proof.
15 intros; contradiction.
16 Qed.
17
18 Lemma L4 : forall A : Prop, forall x : nat, ~x=x -> A.
19 Proof.
20 intros; contradiction.
21 Qed.
22
23 Lemma L5 : forall A : Prop, forall x y : nat, ~x=y -> x=y -> A.
24 Proof.
25 intros; contradiction.
26 Qed.
27
28 Lemma L6 : forall A : Prop, forall x y : nat, x=y -> ~x=y -> A.
29 Proof.
30 intros; contradiction.
31 Qed.
32