1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 (* This file was automatically generated: do not edit *********************)
19 (*#**********************************************************************)
21 (* v * The Coq Proof Assistant / The Coq Development Team *)
23 (* <O___,, * INRIA-Rocquencourt & LRI-CNRS-Orsay *)
25 (* \VV/ *************************************************************)
27 (* // * This file is distributed under the terms of the *)
29 (* * GNU Lesser General Public License Version 2.1 *)
31 (*#**********************************************************************)
33 (* $Id: Zwf.v,v 1.7 2003/11/29 17:28:46 herbelin Exp $ *)
35 include "ZArith/ZArith_base.ma".
37 include "Arith/Wf_nat.ma".
40 Open Local Scope Z_scope.
43 (*#* Well-founded relations on Z. *)
45 (*#* We define the following family of relations on [Z x Z]:
47 [x (Zwf c) y] iff [x < y & c <= y]
50 inline procedural "cic:/Coq/ZArith/Zwf/Zwf.con" as definition.
52 (*#* and we prove that [(Zwf c)] is well founded *)
59 cic:/Coq/ZArith/Zwf/wf_proof/c.var
62 (*#* The proof of well-foundness is classic: we do the proof by induction
63 on a measure in nat, which is here [|x-c|] *)
65 inline procedural "cic:/Coq/ZArith/Zwf/wf_proof/f.con" "wf_proof__" as definition.
67 inline procedural "cic:/Coq/ZArith/Zwf/Zwf_well_founded.con" as lemma.
74 Hint Resolve Zwf_well_founded: datatypes v62.
77 (*#* We also define the other family of relations:
79 [x (Zwf_up c) y] iff [y < x <= c]
82 inline procedural "cic:/Coq/ZArith/Zwf/Zwf_up.con" as definition.
84 (*#* and we prove that [(Zwf_up c)] is well founded *)
91 cic:/Coq/ZArith/Zwf/wf_proof_up/c.var
94 (*#* The proof of well-foundness is classic: we do the proof by induction
95 on a measure in nat, which is here [|c-x|] *)
97 inline procedural "cic:/Coq/ZArith/Zwf/wf_proof_up/f.con" "wf_proof_up__" as definition.
99 inline procedural "cic:/Coq/ZArith/Zwf/Zwf_up_well_founded.con" as lemma.
106 Hint Resolve Zwf_up_well_founded: datatypes v62.