X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_transformations%2FtacticAst.ml;h=7be8293da592073d748b4b37fbbf98307b5af39d;hb=275727242ccdce9df01af65f3bfb2d65283fa197;hp=3a74b3863b1cdd52c57b6b5d11408c384c45ee57;hpb=9e2b452ac3b4b5ba72834fd6e51e104e4faa032c;p=helm.git diff --git a/helm/ocaml/cic_transformations/tacticAst.ml b/helm/ocaml/cic_transformations/tacticAst.ml index 3a74b3863..7be8293da 100644 --- a/helm/ocaml/cic_transformations/tacticAst.ml +++ b/helm/ocaml/cic_transformations/tacticAst.ml @@ -33,8 +33,9 @@ type 'term pattern = Pattern of 'term type ('term, 'ident) tactic = | LocatedTactic of CicAst.location * ('term, 'ident) tactic - | Absurd + | Absurd of 'term | Apply of 'term + | Auto | Assumption | Change of 'term * 'term * 'ident option (* what, with what, where *) | Change_pattern of 'term pattern * 'term * 'ident option @@ -49,6 +50,7 @@ type ('term, 'ident) tactic = | Exists | Fold of reduction_kind * 'term | Fourier + | Hint | Injection of 'ident | Intros of int option * 'ident list | Left @@ -76,20 +78,23 @@ type thm_flavour = type 'term command = | Abort + | Baseuri of string option (** get/set base uri *) | Check of 'term | Proof | Qed of string option - (* name. + (** 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 *) + | Redo of int option + | Undo of int option type ('term, 'ident) tactical = | LocatedTactical of CicAst.location * ('term, 'ident) tactical