]> matita.cs.unibo.it Git - helm.git/blob - helm/ocaml/cic_unification/cicMkImplicit.mli
- Added mk_implicit_sort.
[helm.git] / helm / ocaml / cic_unification / cicMkImplicit.mli
1
2 (* identity_relocation_list_for_metavariable i canonical_context         *)
3 (* returns the identity relocation list, which is the list               *)
4 (* [Rel 1 ; ... ; Rel n] where n = List.length [canonical_context]       *)
5 val identity_relocation_list_for_metavariable :
6   ?start: int -> 'a option list -> Cic.term option list
7
8 (* Returns the first meta whose number is above the *)
9 (* number of the higher meta.                       *)
10 val new_meta : Cic.metasenv -> int
11
12 (** [mk_implicit metasenv context]
13  * add a fresh metavariable to the given metasenv, using given context
14  * @return the new metasenv and the index of the added conjecture *)
15 val mk_implicit: Cic.metasenv -> Cic.context -> Cic.metasenv * int
16
17 (** as above, but the fresh metavariable represents a type *)
18 val mk_implicit_type: Cic.metasenv -> Cic.context -> Cic.metasenv * int
19
20 (** as above, but the fresh metavariable represents a sort *)
21 val mk_implicit_sort: Cic.metasenv -> Cic.metasenv * int
22
23 (** [mk_implicit metasenv context] create n fresh metavariables *)
24 val n_fresh_metas:  
25   Cic.metasenv -> Cic.context -> int -> Cic.metasenv * Cic.term list
26
27 (** [mk_implicit metasenv context] takes in input a list of uri and
28 creates a fresh explicit substitution *)
29 val fresh_subst:  
30   Cic.metasenv -> 
31     Cic.context -> 
32       UriManager.uri list -> 
33         Cic.metasenv * (Cic.term Cic.explicit_named_substitution)
34
35 val expand_implicits:
36   Cic.metasenv -> Cic.context -> Cic.term ->
37     Cic.metasenv * Cic.term
38