]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/acic_procedural/proceduralTypes.mli
Procedural: bug fix in comment generation
[helm.git] / helm / software / components / acic_procedural / proceduralTypes.mli
index cc5d75caf2918cec3f10beffe680905441b135eb..3cc482a8ca9fe9faa6d09d971c46126200c2e198 100644 (file)
@@ -33,6 +33,7 @@ val mk_arel: int -> string -> Cic.annterm
 
 (****************************************************************************)
 
+type flavour  = Cic.object_flavour
 type name     = string option
 type hyp      = string
 type what     = Cic.annterm
@@ -43,9 +44,13 @@ type note     = string
 type where    = (hyp * name) option
 type inferred = Cic.annterm
 type pattern  = Cic.annterm
+type body     = Cic.annterm option
+type types    = Cic.anninductiveType list
+type lpsno    = int
 
 type step = Note of note 
-          | Theorem of name * what * note
+          | Inductive of types * lpsno * note
+          | Statement of flavour * name * what * body * note
           | Qed of note
          | Id of note
          | Intros of count option * name list * note
@@ -66,3 +71,6 @@ val render_steps:
 
 val count_steps:
    int -> step list -> int
+
+val count_nodes:
+   int -> step list -> int