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 (*i $Id: Zmisc.v,v 1.20 2003/11/29 17:28:45 herbelin Exp $ i*)
35 include "ZArith/BinInt.ma".
37 include "ZArith/Zcompare.ma".
39 include "ZArith/Zorder.ma".
41 include "Bool/Bool.ma".
44 Open Local Scope Z_scope.
47 (*#*********************************************************************)
51 (*#* [n]th iteration of the function [f] *)
53 inline procedural "cic:/Coq/ZArith/Zmisc/iter_nat.con" as definition.
55 inline procedural "cic:/Coq/ZArith/Zmisc/iter_pos.con" as definition.
57 inline procedural "cic:/Coq/ZArith/Zmisc/iter.con" as definition.
59 inline procedural "cic:/Coq/ZArith/Zmisc/iter_nat_plus.con" as theorem.
61 inline procedural "cic:/Coq/ZArith/Zmisc/iter_nat_of_P.con" as theorem.
63 inline procedural "cic:/Coq/ZArith/Zmisc/iter_pos_plus.con" as theorem.
65 (*#* Preservation of invariants : if [f : A->A] preserves the invariant [Inv],
66 then the iterates of [f] also preserve it. *)
68 inline procedural "cic:/Coq/ZArith/Zmisc/iter_nat_invariant.con" as theorem.
70 inline procedural "cic:/Coq/ZArith/Zmisc/iter_pos_invariant.con" as theorem.