X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Facic_content%2FcicNotationPt.ml;h=f6652f63fd592f5d6393e4a4293bf762a807eed8;hb=7a974bd5775acf432e4074f32a99cc08d42b667f;hp=a66aa5febb3aa86600fdf8320edb439fb98ed2d0;hpb=7f2444c2670cadafddd8785b687ef312158376b0;p=helm.git diff --git a/components/acic_content/cicNotationPt.ml b/components/acic_content/cicNotationPt.ml index a66aa5feb..f6652f63f 100644 --- a/components/acic_content/cicNotationPt.ml +++ b/components/acic_content/cicNotationPt.ml @@ -75,8 +75,8 @@ type term = (* what to match, inductive type, out type, 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} *)