]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_transformations/tacticAst.ml
renamed Http_client to Http_user_agent to avoid clashes with Gerd's
[helm.git] / helm / ocaml / cic_transformations / tacticAst.ml
index f0dad83e23b828372be01a031e8f1eeb71fac101..5bc4462980047aab40347dbd944df2dc69301f90 100644 (file)
@@ -33,7 +33,7 @@ type 'term pattern = Pattern of 'term
 type ('term, 'ident) tactic =
   | LocatedTactic of CicAst.location * ('term, 'ident) tactic
 
-  | Absurd
+  | Absurd of 'term
   | Apply of 'term
   | Assumption
   | Change of 'term * 'term * 'ident option (* what, with what, where *)
@@ -49,6 +49,7 @@ type ('term, 'ident) tactic =
   | Exists
   | Fold of reduction_kind * 'term
   | Fourier
+  | Hint
   | Injection of 'ident
   | Intros of int option * 'ident list
   | Left
@@ -75,19 +76,23 @@ type thm_flavour =
   ]
 
 type 'term command =
+  | Abort
+  | Check of 'term
   | Proof
+  | Qed of string option
+      (** name.
+       * Name is needed when theorem was started without providing a name
+       *)
+  | Quit
   | Theorem of thm_flavour * string option * 'term * 'term option
-      (* flavour, name, type, body
+      (** 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
        *)
-  | Qed of string option
-      (* name.
-       * Name is needed when theorem was started without providing a name
-       *)
-  | Quit
+  | Redo of int option
+  | Undo of int option
 
 type ('term, 'ident) tactical =
   | LocatedTactical of CicAst.location * ('term, 'ident) tactical