X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_kernel%2FnCic.ml;h=32b79f02a2f898a2dadd8472b7aef08a38adca36;hb=dc7c02d8d8678d250a99dd6d012adcd69da63b75;hp=c531d1c2bf9c7256c4886bde8bbd6780e68f23b0;hpb=8b1a49bbee9eea86eb74c040defe701370ca5893;p=helm.git diff --git a/helm/software/components/ng_kernel/nCic.ml b/helm/software/components/ng_kernel/nCic.ml index c531d1c2b..32b79f02a 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,13 @@ type hypothesis = string * context_entry (* name, entry *) type context = hypothesis list -type conjecture = string option * context * term +type meta_attrs = [`Name of string | `IsSort | `InScope | `OutScope of int] 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 @@ -98,7 +101,7 @@ type ind_pragma = (* pragmatic of the object *) type generated = [ `Generated | `Provided ] type c_attr = generated * def_flavour * def_pragma -type f_attr = generated * def_flavour +type f_attr = generated * def_flavour * def_pragma type i_attr = generated * ind_pragma (* invariant: metasenv and substitution have disjoint domains *)