aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/instantiate.mli
blob: 0bcdabf6d2dc3be93c76290d1a465426733eb63b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

(* $Id$ *)

(*i*)
open Names
open Term
open Environ
(*i*)

(* Instantiation of constants and inductives on their real arguments. *)

val instantiate_constr : 
  identifier list -> constr -> constr list -> constr
val instantiate_type : 
  identifier list -> typed_type -> constr list -> typed_type

val constant_value : 'a unsafe_env -> constr -> constr
val constant_type : 'a unsafe_env -> constr -> typed_type

val const_or_ex_value : 'a unsafe_env -> constr -> constr
val const_or_ex_type : 'a unsafe_env -> constr -> constr

val const_abst_opt_value : 'a unsafe_env -> constr -> constr option