]> matita.cs.unibo.it Git - helm.git/blobdiff - components/acic_content/cicNotationPt.ml
Missing optimization implemented: before starting to analyze the disambiguation
[helm.git] / components / acic_content / cicNotationPt.ml
index a66aa5febb3aa86600fdf8320edb439fb98ed2d0..f6652f63fd592f5d6393e4a4293bf762a807eed8 100644 (file)
@@ -75,8 +75,8 @@ type term =
       (* what to match, inductive type, out type, <pattern,action> list *)
   | Cast of term * term
   | LetIn of capture_variable * term * term  (* name, body, where *)
-  | LetRec of induction_kind * (capture_variable * term * int) list * term
-      (* (name, body, decreasing argument) list, where *)
+  | LetRec of induction_kind * (capture_variable list * capture_variable * term * int) list * term
+      (* (params, name, body, decreasing arg) list, where *)
   | Ident of string * subst list option
       (* literal, substitutions.
       * Some [] -> user has given an empty explicit substitution list 
@@ -164,16 +164,17 @@ type cic_appl_pattern =
 type 'term inductive_type = string * bool * 'term * (string * 'term) list
 
 type obj =
-  | Inductive of (string * term) list * term inductive_type list
+  | Inductive of capture_variable list * term inductive_type list
       (** parameters, list of loc * mutual inductive types *)
   | Theorem of Cic.object_flavour * string * term * term option
       (** flavour, name, type, body
        * - name is absent when an unnamed theorem is being proved, tipically in
        *   interactive usage
        * - body is present when its given along with the command, otherwise it
-       *   will be given in proof editing mode using the tactical language
+       *   will be given in proof editing mode using the tactical language,
+       *   unless the flavour is an Axiom
        *)
-  | Record of (string * term) list * string * term * (string * term * bool) list
+  | Record of capture_variable list * string * term * (string * term * bool * int) list
       (** left parameters, name, type, fields *)
 
 (** {2 Standard precedences} *)