]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_transformations/tacticAst.ml
The discriminate tactic accepts a term, not only an identifier!
[helm.git] / helm / ocaml / cic_transformations / tacticAst.ml
index 6ad30c7943e4f7d6ab0c4ba03920880035c624a0..12b7774cd32938f9141e9e332f6e315d155d2f13 100644 (file)
@@ -40,13 +40,14 @@ type ('term, 'ident) tactic =
   | Contradiction of loc
   | Cut of loc * 'term
   | Decompose of loc * 'ident * 'ident list (* where, which principles *)
-  | Discriminate of loc * 'ident
+  | Discriminate of loc * 'term
   | Elim of loc * 'term * 'term option (* what to elim, which principle to use *)
   | ElimType of loc * 'term
   | Exact of loc * 'term
   | Exists of loc
   | Fold of loc * reduction_kind * 'term
   | Fourier of loc
+  | Generalize of loc * 'term * ('term, 'ident) pattern
   | Goal of loc * int (* change current goal, argument is goal number 1-based *)
   | Injection of loc * 'ident
   | Intros of loc * int option * 'ident list