| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | open Names |
| 12 | open Glob_term |
| 13 | open Constrexpr |
| 14 | |
| 15 | val declare_generalizable : local:bool -> lident list option -> unit |
| 16 | |
| 17 | (** Fragile, should be used only for construction a set of identifiers to avoid *) |
| 18 | |
| 19 | val free_vars_of_constr_expr : constr_expr -> ?bound:Id.Set.t -> |
| 20 | Id.t list -> Id.t list |
| 21 | |
| 22 | (** Returns the generalizable free ids in left-to-right |
| 23 | order with the location of their first occurrence *) |
| 24 | |
| 25 | val generalizable_vars_of_glob_constr : ?bound:Id.Set.t -> ?allowed:Id.Set.t -> |
| 26 | glob_constr -> lident list |
| 27 | |
| 28 | val make_fresh : Id.Set.t -> Environ.env -> Id.t -> Id.t |
| 29 | |
| 30 | val implicits_of_glob_constr : ?with_products:bool -> Glob_term.glob_constr -> Impargs.manual_implicits |
| 31 | |
| 32 | val implicit_application : Id.Set.t -> constr_expr -> constr_expr * Id.Set.t |