aboutsummaryrefslogtreecommitdiff
path: root/kernel/instantiate.mli
blob: 73d6de1b121887d668f31301133d4545c79b01b5 (plain)
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
(* $Id$ *)

(*i*)
open Names
open Term
open Inductive
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

val mis_lc : 'a unsafe_env -> mind_specif -> constr