aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/Setoids
diff options
context:
space:
mode:
authorGravatar sacerdot <sacerdot@85f007b7-540e-0410-9357-904b9bb8a0f7>2004-09-29 12:56:25 +0000
committerGravatar sacerdot <sacerdot@85f007b7-540e-0410-9357-904b9bb8a0f7>2004-09-29 12:56:25 +0000
commitbef5058398fc59c4b010977967d9a58730e62e1b (patch)
treebcbc11187457ab8dc709640a9cbcfd23a4791183 /theories/Setoids
parent442c393bea95472d95b69a92330a35cccca316a4 (diff)
impl relation and impl/and/or/not morphisms over impl declared.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@6153 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Setoids')
-rw-r--r--theories/Setoids/Setoid.v30
1 files changed, 25 insertions, 5 deletions
diff --git a/theories/Setoids/Setoid.v b/theories/Setoids/Setoid.v
index 7cf89bb74..7d8196a72 100644
--- a/theories/Setoids/Setoid.v
+++ b/theories/Setoids/Setoid.v
@@ -580,7 +580,7 @@ Defined.
Add Morphism iff : Iff_Morphism.
tauto.
-Defined.
+Qed.
(* impl IS A MORPHISM *)
@@ -588,25 +588,45 @@ Definition impl (A B: Prop) := A -> B.
Add Morphism impl : Impl_Morphism.
unfold impl; tauto.
-Defined.
+Qed.
(* and IS A MORPHISM *)
Add Morphism and : And_Morphism.
tauto.
-Defined.
+Qed.
(* or IS A MORPHISM *)
Add Morphism or : Or_Morphism.
tauto.
-Defined.
+Qed.
(* not IS A MORPHISM *)
Add Morphism not : Not_Morphism.
tauto.
-Defined.
+Qed.
+
+(* THE ASYMMETRIC AREFLEXIVE RELATION impl WITH A FEW MORPHISMS *)
+
+Add Relation Prop impl.
+
+Add Morphism impl with signature impl --> impl ++> impl as Impl_Morphism2.
+ unfold impl; tauto.
+Qed.
+
+Add Morphism and with signature impl ++> impl ++> impl as And_Morphism2.
+ unfold impl; tauto.
+Qed.
+
+Add Morphism or with signature impl ++> impl ++> impl as Or_Morphism2.
+ unfold impl; tauto.
+Qed.
+
+Add Morphism not with signature impl --> impl as Not_Morphism2.
+ unfold impl; tauto.
+Qed.
(* FOR BACKWARD COMPATIBILITY *)
Implicit Arguments Setoid_Theory [].