]> matita.cs.unibo.it Git - helm.git/blobdiff - components/acic_procedural/proceduralTypes.mli
PrimitiveTactics: intros _ now aveilable
[helm.git] / components / acic_procedural / proceduralTypes.mli
index 9659a94ecca3ab9ae514d50244bfdf3708cdd495..cc5d75caf2918cec3f10beffe680905441b135eb 100644 (file)
@@ -33,13 +33,14 @@ val mk_arel: int -> string -> Cic.annterm
 
 (****************************************************************************)
 
-type name     = string
+type name     = string option
+type hyp      = string
 type what     = Cic.annterm
 type how      = bool
 type using    = Cic.annterm
 type count    = int
 type note     = string
-type where    = (name * name) option
+type where    = (hyp * name) option
 type inferred = Cic.annterm
 type pattern  = Cic.annterm
 
@@ -48,19 +49,20 @@ type step = Note of note
           | Qed of note
          | Id of note
          | Intros of count option * name list * note
-          | Cut of name * what * note
-          | LetIn of name * what * note
+         | Cut of name * what * note
+         | LetIn of name * what * note
          | Rewrite of how * what * where * pattern * note
          | Elim of what * using option * pattern * note
          | Apply of what * note
-         | Change of inferred * what * where * pattern * note
-         | ClearBody of name * note
+         | Change of inferred * what * where * pattern * note 
+         | Clear of hyp list * note
+         | ClearBody of hyp * note
          | Branch of step list list * note
 
 val render_steps: 
-   (what, inferred, [> `Whd] as 'b, what CicNotationPt.obj, name) GrafiteAst.statement list -> 
+   (what, inferred, [> `Whd] as 'b, what CicNotationPt.obj, hyp) GrafiteAst.statement list -> 
    step list -> 
-   (what, inferred, 'b, what CicNotationPt.obj, name) GrafiteAst.statement list
+   (what, inferred, 'b, what CicNotationPt.obj, hyp) GrafiteAst.statement list
 
 val count_steps:
    int -> step list -> int