aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/Wellfounded/Inclusion.v
diff options
context:
space:
mode:
authorGravatar filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-11-21 14:41:16 +0000
committerGravatar filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-11-21 14:41:16 +0000
commit838ffd441e80aa324ffe731f2527dbb181654308 (patch)
treea4ab1228901f2b63f0638c9a5fa627d6036af625 /theories/Wellfounded/Inclusion.v
parent78fb07846e6ca303417699d19beaeaf1a97f96af (diff)
ajout de theories/Wellfounded
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@900 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Wellfounded/Inclusion.v')
-rw-r--r--theories/Wellfounded/Inclusion.v28
1 files changed, 28 insertions, 0 deletions
diff --git a/theories/Wellfounded/Inclusion.v b/theories/Wellfounded/Inclusion.v
new file mode 100644
index 000000000..260a539c7
--- /dev/null
+++ b/theories/Wellfounded/Inclusion.v
@@ -0,0 +1,28 @@
+
+(* $Id$ *)
+
+(****************************************************************************)
+(* Bruno Barras *)
+(****************************************************************************)
+
+Require Relation_Definitions.
+
+Section WfInclusion.
+ Variable A:Set.
+ Variable R1,R2:A->A->Prop.
+
+ Lemma Acc_incl: (inclusion A R1 R2)->(z:A)(Acc A R2 z)->(Acc A R1 z).
+ Proof.
+ Induction 2;Intros.
+ Apply Acc_intro;Auto with sets.
+ Save.
+
+ Hints Resolve Acc_incl.
+
+ Theorem wf_incl:
+ (inclusion A R1 R2)->(well_founded A R2)->(well_founded A R1).
+ Proof.
+ Unfold well_founded ;Auto with sets.
+ Save.
+
+End WfInclusion.