summaryrefslogtreecommitdiff
path: root/theories7/Wellfounded/Inclusion.v
diff options
context:
space:
mode:
Diffstat (limited to 'theories7/Wellfounded/Inclusion.v')
-rw-r--r--theories7/Wellfounded/Inclusion.v33
1 files changed, 33 insertions, 0 deletions
diff --git a/theories7/Wellfounded/Inclusion.v b/theories7/Wellfounded/Inclusion.v
new file mode 100644
index 00000000..6a515333
--- /dev/null
+++ b/theories7/Wellfounded/Inclusion.v
@@ -0,0 +1,33 @@
+(************************************************************************)
+(* v * The Coq Proof Assistant / The Coq Development Team *)
+(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(************************************************************************)
+
+(*i $Id: Inclusion.v,v 1.1.2.1 2004/07/16 19:31:41 herbelin Exp $ i*)
+
+(** Author: 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.
+ NewInduction 2.
+ Apply Acc_intro;Auto with sets.
+ Qed.
+
+ 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.
+ Qed.
+
+End WfInclusion.