aboutsummaryrefslogtreecommitdiff
path: root/vernac
diff options
context:
space:
mode:
authorEnrico Tassi2020-10-12 16:52:47 +0200
committerEnrico Tassi2020-11-02 10:04:48 +0100
commitfd9d10f2c7eff9ff72f42e9ecd3ffd5179de4da0 (patch)
tree2ba3cd5e6459b6acf8b6bed63786c49d5770f9dd /vernac
parenta464fdc040a77022dd9e6e57129f80144918ace6 (diff)
[stm] support #[using] attribute
Diffstat (limited to 'vernac')
-rw-r--r--vernac/declare.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/vernac/declare.mli b/vernac/declare.mli
index 8e6456d834..0520bf8717 100644
--- a/vernac/declare.mli
+++ b/vernac/declare.mli
@@ -245,6 +245,10 @@ module Proof : sig
* (w.r.t. type dependencies and let-ins covered by it) *)
val set_used_variables : t -> Names.Id.t list -> Constr.named_context * t
+ (** Gets the set of variables declared to be used by the proof. None means
+ no "Proof using" or #[using] was given *)
+ val get_used_variables : t -> Id.Set.t option
+
(** Compacts the representation of the proof by pruning all intermediate
terms *)
val compact : t -> t