X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnCic.ml;h=4490ee0485c218a4b7681d5c3c0048c45198abd9;hb=f9abd21eb0d26cf9b632af4df819225be4d091e3;hp=f39cf868e32fe905a123e4c8b3f516d67e4a68f7;hpb=0d6f5efcf10a888bfccc769f2c58d998c411da47;p=helm.git diff --git a/helm/software/components/ng_kernel/nCic.ml b/helm/software/components/ng_kernel/nCic.ml index f39cf868e..4490ee048 100644 --- a/helm/software/components/ng_kernel/nCic.ml +++ b/helm/software/components/ng_kernel/nCic.ml @@ -22,7 +22,8 @@ type universe = (univ_algebra * NUri.uri) list type sort = Prop | Type of universe type implicit_annotation = - [ `Closed | `Type | `Hole | `Term | `Typeof of int | `Vector ] + [ `Closed | `Type | `Hole | `Tagged of string | `Term | `Typeof of int | `Vector ] + type lc_kind = Irl of int | Ctx of term list @@ -55,11 +56,18 @@ type hypothesis = string * context_entry (* name, entry *) type context = hypothesis list -type conjecture = string option * context * term +type meta_attr = + [ `Name of string + | `IsTerm | `IsType | `IsSort + | `InScope | `OutScope of int] + +type meta_attrs = meta_attr list + +type conjecture = meta_attrs * context * term type metasenv = (int * conjecture) list -type subst_entry = string option * context * term * term (* name,ctx,bo,ty *) +type subst_entry = meta_attrs * context * term * term (* name,ctx,bo,ty *) type substitution = (int * subst_entry) list