]> 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
21 (** [mk_implicit metasenv context] create n fresh metavariables *)
22 val n_fresh_metas:  
23   Cic.metasenv -> Cic.context -> int -> Cic.metasenv * Cic.term list
24
25 (** [mk_implicit metasenv context] takes in input a list of uri and
26 creates a fresh explicit substitution *)
27 val fresh_subst:  
28   Cic.metasenv -> 
29     Cic.context -> 
30       UriManager.uri list -> 
31         Cic.metasenv * (Cic.term Cic.explicit_named_substitution)
32
33 val expand_implicits:
34   Cic.metasenv -> Cic.context -> Cic.term ->
35     Cic.metasenv * Cic.term
36