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 set "baseuri" "cic:/matita/LAMBDA-TYPES/terms_defs".
17 include "legacy/coq.ma".
19 alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)".
20 alias id "S" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1/2)".
21 alias id "O" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1/1)".
22 alias id "plus" = "cic:/Coq/Init/Peano/plus.con".
23 alias id "lt" = "cic:/Coq/Init/Peano/lt.con".
24 alias id "le" = "cic:/Coq/Init/Peano/le.ind#xpointer(1/1)".
26 inductive B : Set \def
31 inductive F : Set \def
35 inductive W : Set \def
39 inductive T (A:Set) (N:Set) : Set \def
40 | TSort: A \to nat \to (T A N)
41 | TLRef: A \to nat \to (T A N)
42 | TWag : A \to W \to (T A N) \to (T A N) \to (T A N)
43 | TGRef: A \to N \to (T A N).
45 record X (A:Set) (N:Set) : Type \def {
46 get_gref: N \to B \to (T A N) \to Prop