]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nCic.ml
1) unification hint now takes NG terms (as it should have been from the very
[helm.git] / helm / software / components / ng_kernel / nCic.ml
index a9cc9a671f39161afc8500eec4f012d2769fc589..97733891e8745b4e3251500878f4804abe1743ef 100644 (file)
 (********************************* TERMS ************************************)
 
 type universe = (bool * NUri.uri) list 
-  (* Max of non-empty list of named universes, or their successor (when true) *)
+  (* Max of non-empty list of named universes, or their successor (when true) 
+   * The empty list represents type0 *)
 
 type sort = Prop | Type of universe
 
-type implicit_annotation = [ `Closed | `Type | `Hole | `Term ]
+type implicit_annotation = [ `Closed | `Type | `Hole | `Term | `Typeof of int ]
 
 type lc_kind = Irl of int | Ctx of term list
 
@@ -47,7 +48,7 @@ type context_entry =                       (* A declaration or definition *)
  | Decl of term                            (* type *)
  | Def  of term * term                     (* body, type *)
 
-type hypothesis = string * context_entry   
+type hypothesis = string * context_entry   (* name, entry *)
 
 type context = hypothesis list
 
@@ -55,7 +56,7 @@ type conjecture = string option * context * term
 
 type metasenv = (int * conjecture) list
 
-type subst_entry = string option * context * term * term
+type subst_entry = string option * context * term * term (* name,ctx,bo,ty *)
 
 type substitution = (int * subst_entry) list