]> matita.cs.unibo.it Git - helm.git/blobdiff - components/grafite/grafiteAst.ml
applyS now receives the same parameters that auto receives.
[helm.git] / components / grafite / grafiteAst.ml
index c7d644e6071f611d5afa30976d9a022bab5d26d0..8816f2efa43d25e000fddcf28cb68df9917b6f6a 100644 (file)
@@ -46,7 +46,7 @@ type 'lazy_term reduction =
 type ('term, 'lazy_term, 'reduction, 'ident) tactic =
   | Absurd of loc * 'term
   | Apply of loc * 'term
-  | ApplyS of loc * 'term
+  | ApplyS of loc * 'term * (string * string) list
   | Assumption of loc
   | Auto of loc * (string * string) list
   | Change of loc * ('term, 'lazy_term, 'ident) pattern * 'lazy_term
@@ -88,8 +88,8 @@ type ('term, 'lazy_term, 'reduction, 'ident) tactic =
   (* Costruttori Aggiunti *)
   | Assume of loc * 'ident * 'term
   | Suppose of loc * 'term *'ident * 'term option
-  | By_term_we_proved of loc *'term option * 'term * 'ident * 'term option
-  | We_need_to_prove of loc * 'term * 'ident * 'term option
+  | By_term_we_proved of loc *'term option * 'term * 'ident option * 'term option
+  | We_need_to_prove of loc * 'term * 'ident option * 'term option
   | Bydone of loc * 'term option 
   | We_proceed_by_induction_on of loc * 'term * 'term
   | Byinduction of loc * 'term * 'ident
@@ -114,6 +114,7 @@ type 'term macro =
   (* real macros *)
   | Check of loc * 'term 
   | Hint of loc
+  | Inline of loc * string (* the string is a URI or a base-uri *)
 
 (** To be increased each time the command type below changes, used for "safe"
  * marshalling *)