1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
(************************************************************************)
(* * The Coq Proof Assistant / The Coq Development Team *)
(* v * Copyright INRIA, CNRS and contributors *)
(* <O___,, * (see version control and CREDITS file for authors & dates) *)
(* \VV/ **************************************************************)
(* // * This file is distributed under the terms of the *)
(* * GNU Lesser General Public License Version 2.1 *)
(* * (see LICENSE file for the text of the license) *)
(************************************************************************)
(** Utility code for section variables handling in Proof using... *)
(** At some point it would be good to make this abstract *)
type t = Names.Id.Set.t
(** Process a [using] expression in definitions to provide the list of
used terms *)
val definition_using
: Environ.env
-> Evd.evar_map
-> fixnames:Names.Id.t list (* names of fixpoint occurring recursively, if any *)
-> using:Vernacexpr.section_subset_expr
-> terms:EConstr.constr list
-> t
val name_set : Names.Id.t -> Vernacexpr.section_subset_expr -> unit
val suggest_constant : Environ.env -> Names.Constant.t -> unit
val suggest_variable : Environ.env -> Names.Id.t -> unit
val get_default_proof_using : unit -> Vernacexpr.section_subset_expr option
val proof_using_opt_name : string list
(** For the stm *)
val using_from_string : string -> Vernacexpr.section_subset_expr
|