From 6b649aba925b6f7462da07599fe67ebb12a3460e Mon Sep 17 00:00:00 2001 From: Samuel Mimram Date: Wed, 28 Jul 2004 21:54:47 +0000 Subject: Imported Upstream version 8.0pl1 --- theories7/Wellfounded/Transitive_Closure.v | 47 ++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 theories7/Wellfounded/Transitive_Closure.v (limited to 'theories7/Wellfounded/Transitive_Closure.v') diff --git a/theories7/Wellfounded/Transitive_Closure.v b/theories7/Wellfounded/Transitive_Closure.v new file mode 100644 index 00000000..4d6cbe28 --- /dev/null +++ b/theories7/Wellfounded/Transitive_Closure.v @@ -0,0 +1,47 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* (Acc A trans_clos x). + NewInduction 1 as [x0 _ H1]. + Apply Acc_intro. + Intros y H2. + NewInduction H2;Auto with sets. + Apply Acc_inv with y ;Auto with sets. + Qed. + + Hints Resolve Acc_clos_trans. + + Lemma Acc_inv_trans: (x,y:A)(trans_clos y x)->(Acc A R x)->(Acc A R y). + Proof. + NewInduction 1 as [|x y];Auto with sets. + Intro; Apply Acc_inv with y; Assumption. + Qed. + + Theorem wf_clos_trans: (well_founded A R) ->(well_founded A trans_clos). + Proof. + Unfold well_founded;Auto with sets. + Qed. + +End Wf_Transitive_Closure. -- cgit v1.2.3