1
(************************************************************************)
2
(* v * The Coq Proof Assistant / The Coq Development Team *)
3
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
4
(* \VV/ **************************************************************)
5
(* // * This file is distributed under the terms of the *)
6
(* * GNU Lesser General Public License Version 2.1 *)
7
(************************************************************************)
9
(*i $Id: implicit_quantifiers.mli 11576 2008-11-10 19:13:15Z msozeau $ i*)
27
val ids_of_list : identifier list -> Idset.t
28
val destClassApp : constr_expr -> loc * reference * constr_expr list
29
val destClassAppExpl : constr_expr -> loc * reference * (constr_expr * explicitation located option) list
31
(* Fragile, should be used only for construction a set of identifiers to avoid *)
33
val free_vars_of_constr_expr : constr_expr -> ?bound:Idset.t ->
34
identifier list -> identifier list
36
val free_vars_of_binders :
37
?bound:Idset.t -> Names.identifier list -> local_binder list -> Idset.t * Names.identifier list
39
(* Returns the free ids in left-to-right order with the location of their first occurence *)
41
val free_vars_of_rawconstr : ?bound:Idset.t -> rawconstr -> (Names.identifier * loc) list
43
val make_fresh : Names.Idset.t -> Environ.env -> identifier -> identifier
45
val implicits_of_rawterm : Rawterm.rawconstr -> (Topconstr.explicitation * (bool * bool)) list
47
val combine_params_freevar :
48
Names.Idset.t -> (global_reference * bool) option * (Names.name * Term.constr option * Term.types) ->
49
Topconstr.constr_expr * Names.Idset.t
51
val implicit_application : Idset.t -> ?allow_partial:bool ->
52
(Names.Idset.t -> (global_reference * bool) option * (Names.name * Term.constr option * Term.types) ->
53
Topconstr.constr_expr * Names.Idset.t) ->
54
constr_expr -> constr_expr