]> matita.cs.unibo.it Git - helm.git/blob - helm/ocaml/cic_acic/doubleTypeInference.mli
test branch
[helm.git] / helm / ocaml / cic_acic / doubleTypeInference.mli
1 exception Impossible of int
2 exception NotWellTyped of string
3 exception WrongUriToConstant of string
4 exception WrongUriToVariable of string
5 exception WrongUriToMutualInductiveDefinitions of string
6 exception ListTooShort
7 exception RelToHiddenHypothesis
8
9 val syntactic_equality_add_time: float ref
10 val type_of_aux'_add_time: float ref
11 val number_new_type_of_aux'_double_work: int ref
12 val number_new_type_of_aux': int ref
13 val number_new_type_of_aux'_prop: int ref
14
15 type types = {synthesized : Cic.term ; expected : Cic.term option};;
16
17 val double_type_of :
18  Cic.metasenv -> Cic.context -> Cic.term -> Cic.term option ->
19   types Cic.CicHash.t
20
21 (** Auxiliary functions **)
22
23 (* does_not_occur n te                              *)
24 (* returns [true] if [Rel n] does not occur in [te] *)
25 val does_not_occur : int -> Cic.term -> bool