blob: dbebeac984b5562a8c91cbf2e60f18d45be30fd9 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
(* $Id$ *)
(*i*)
open Names
open Term
open Sign
open Evd
open Environ
open Reduction
(*i*)
(* This modules provides useful functions for unification algorithms.
* Used in Trad and Progmach.
* This interface will have to be improved. *)
val filter_unique : 'a list -> 'a list
val distinct_id_list : identifier list -> identifier list
val dummy_sort : constr
val do_restrict_hyps : 'a evar_map -> constr -> 'a evar_map * constr
val has_ise : 'a evar_map -> constr -> bool
type 'a evar_defs = 'a evar_map ref
val ise_try : 'a evar_defs -> (unit -> bool) list -> bool
val ise_undefined : 'a evar_defs -> constr -> bool
val ise_defined : 'a evar_defs -> constr -> bool
val real_clean :
'a evar_defs -> int -> (identifier * constr) list -> constr -> constr
val new_isevar :
'a evar_defs -> env -> constr -> path_kind -> constr
val evar_define : 'a evar_defs -> constr -> constr -> int list
val solve_simple_eqn : (constr -> constr -> bool) -> 'a evar_defs ->
(conv_pb * constr * constr) -> int list option
val has_undefined_isevars : 'a evar_defs -> constr -> bool
val head_is_exist : 'a evar_defs -> constr -> bool
val is_eliminator : constr -> bool
val head_is_embedded_exist : 'a evar_defs -> constr -> bool
val head_evar : constr -> int
val status_changed : int list -> conv_pb * constr * constr -> bool
(* Value/Type constraints *)
type type_constraint = constr option
type val_constraint = constr option
val empty_tycon : type_constraint
val mk_tycon : constr -> type_constraint
val empty_valcon : val_constraint
val mk_valcon : constr -> val_constraint
val split_tycon :
Rawterm.loc -> env -> 'a evar_defs -> type_constraint ->
type_constraint * type_constraint
val valcon_of_tycon : type_constraint -> val_constraint
(* $Id$ *)
|