]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_transformations/tacticAst.ml
added Abort and Check commands
[helm.git] / helm / ocaml / cic_transformations / tacticAst.ml
index f0dad83e23b828372be01a031e8f1eeb71fac101..3a74b3863b1cdd52c57b6b5d11408c384c45ee57 100644 (file)
@@ -75,7 +75,14 @@ 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
        * - name is absent when an unnamed theorem is being proved, tipically in
@@ -83,11 +90,6 @@ type 'term command =
        * - 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
 
 type ('term, 'ident) tactical =
   | LocatedTactical of CicAst.location * ('term, 'ident) tactical