(* *)
(**************************************************************************)
-set "baseuri" "cic:/matita/LAMBDA-TYPES/Unified/C/defs".
+set "baseuri" "cic:/matita/LAMBDA-TYPES/Unified/SUB/Context/defs".
(* FLAT CONTEXTS
- Naming policy:
- contexts: c d
*)
-include "P/defs.ma".
+include "SUB/T/defs.ma".
-inductive C: Set \def
- | top : C
- | entry: C \to Bind \to P \to C
+inductive Context: Set \def
+ | top : Context
+ | entry: Context \to Bind \to Term \to Context
.
(* Project started Tue Aug 22, 2006 ***************************************)
-set "baseuri" "cic:/matita/LAMBDA-TYPES/Unified/P/defs".
+set "baseuri" "cic:/matita/LAMBDA-TYPES/Unified/SUB/Term/defs".
(* POLARIZED TERMS
- Naming policy:
- - natural numbers : sorts h k, local references i j, lengths l
- - boolean values : a b
- - generic binding items: x
- - generic flat items : y
- - generic head items : z
- - terms : p q
+ - natural numbers : sorts h k, local references i j, lengths l o
+ - boolean values : p q
+ - generic leaf items : m n
+ - generic binding items: r s
+ - generic flat items : r s
+ - generic head items : m n
+ - terms : t u
*)
include "../../RELATIONAL/Nat/defs.ma".
include "../../RELATIONAL/Bool/defs.ma".
+inductive Leaf: Set \def
+ | sort: Nat \to Leaf
+ | lref: Nat \to Leaf
+.
+
inductive Bind: Set \def
| abbr: Bind
| abst: Bind
.
inductive Head: Set \def
- | bind: Bind \to Head
- | flat: Flat \to Head
+ | bind: Bool \to Bind \to Head
+ | flat: Bool \to Flat \to Head
.
-inductive P: Set \def
- | sort: Nat \to P
- | lref: Nat \to P
- | head: Bool \to Head \to P \to P \to P
+inductive Term: Set \def
+ | leaf: Leaf \to Term
+ | head: Head \to Term \to Term \to Term
.