diff options
author | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2016-09-15 19:30:45 +0200 |
---|---|---|
committer | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2016-09-15 19:31:17 +0200 |
commit | 753248c145cdac846528d809a1f085c18408e17f (patch) | |
tree | eb3c59284e78f5d3a05930f47eb3ea9ea86ed193 /test-suite/success/contradiction.v | |
parent | 6eede071cb97e1e39772c2bdecb5189c4fa2adb0 (diff) |
Added a test file for contradiction.
Diffstat (limited to 'test-suite/success/contradiction.v')
-rw-r--r-- | test-suite/success/contradiction.v | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test-suite/success/contradiction.v b/test-suite/success/contradiction.v new file mode 100644 index 000000000..92a7c6ccb --- /dev/null +++ b/test-suite/success/contradiction.v @@ -0,0 +1,32 @@ +(* Some tests for contradiction *) + +Lemma L1 : forall A B : Prop, A -> ~A -> B. +Proof. +intros; contradiction. +Qed. + +Lemma L2 : forall A B : Prop, ~A -> A -> B. +Proof. +intros; contradiction. +Qed. + +Lemma L3 : forall A : Prop, ~True -> A. +Proof. +intros; contradiction. +Qed. + +Lemma L4 : forall A : Prop, forall x : nat, ~x=x -> A. +Proof. +intros; contradiction. +Qed. + +Lemma L5 : forall A : Prop, forall x y : nat, ~x=y -> x=y -> A. +Proof. +intros; contradiction. +Qed. + +Lemma L6 : forall A : Prop, forall x y : nat, x=y -> ~x=y -> A. +Proof. +intros; contradiction. +Qed. + |