X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnCic.ml;h=a9cc9a671f39161afc8500eec4f012d2769fc589;hb=04f22df647f35080b499b720bca7bc0eb1794c64;hp=2be6a73882bae4249e68f8845e510f5b5680385e;hpb=e48acbc0d00717ce8f12412673ece4e4ee0e9642;p=helm.git diff --git a/helm/software/components/ng_kernel/nCic.ml b/helm/software/components/ng_kernel/nCic.ml index 2be6a7388..a9cc9a671 100644 --- a/helm/software/components/ng_kernel/nCic.ml +++ b/helm/software/components/ng_kernel/nCic.ml @@ -13,14 +13,18 @@ (********************************* TERMS ************************************) -type sort = Prop | Type of int | CProp +type universe = (bool * NUri.uri) list + (* Max of non-empty list of named universes, or their successor (when true) *) + +type sort = Prop | Type of universe type implicit_annotation = [ `Closed | `Type | `Hole | `Term ] type lc_kind = Irl of int | Ctx of term list and local_context = int * lc_kind (* shift (0 -> no shift), - subst (None means id) *) + subst (Irl n means id of + length n) *) and term = | Rel of int (* DeBruijn index, 1 based *) | Meta of int * local_context