]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/acic_procedural/proceduralTypes.mli
Much ado about nothing:
[helm.git] / helm / software / components / acic_procedural / proceduralTypes.mli
index dfd82df12ff1d2b0504a07e04309bea6fd0d91f3..97ca7fdbb98bd21518673169db3d2d97fcd4f2f0 100644 (file)
@@ -35,13 +35,15 @@ val is_atomic:Cic.annterm -> bool
 
 (****************************************************************************)
 
-type name  = string
-type what  = Cic.annterm
-type how   = bool
-type using = Cic.annterm
-type count = int
-type note  = string
-type where = (name * name) option
+type name     = string
+type what     = Cic.annterm
+type how      = bool
+type using    = Cic.annterm
+type count    = int
+type note     = string
+type where    = (name * name) option
+type inferred = Cic.annterm
+type pattern  = Cic.annterm
 
 type step = Note of note 
           | Theorem of name * what * note
@@ -50,16 +52,17 @@ type step = Note of note
          | Intros of count option * name list * note
           | Cut of name * what * note
           | LetIn of name * what * note
-         | Rewrite of how * what * where * note
-         | Elim of what * using option * note
+         | Rewrite of how * what * where * pattern * note
+         | Elim of what * using option * pattern * note
          | Apply of what * note
-         | Whd of count * note
+         | Change of inferred * what * where * pattern * note
+         | ClearBody of name * note
          | Branch of step list list * note
 
 val render_steps: 
-   (what, 'a, [> `Whd] as 'b, what CicNotationPt.obj, name) GrafiteAst.statement list -> 
+   (what, inferred, [> `Whd] as 'b, what CicNotationPt.obj, name) GrafiteAst.statement list -> 
    step list -> 
-   (what, 'a, 'b, what CicNotationPt.obj, name) GrafiteAst.statement list
+   (what, inferred, 'b, what CicNotationPt.obj, name) GrafiteAst.statement list
 
 val count_steps:
    int -> step list -> int