]> matita.cs.unibo.it Git - helm.git/blob - helm/gTopLevel/doubleTypeInference.mli
* doubleTypeInference.ml* added. For now, it just computes the synthesized type.
[helm.git] / helm / gTopLevel / 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 type types = {synthesized : Cic.term ; expected : Cic.term};;
10
11 module CicHash :
12   sig
13     type key = Cic.term
14     and 'a t
15     val find : 'a t -> key -> 'a
16   end
17
18 val double_type_of :
19  Cic.metasenv -> Cic.context -> Cic.term -> types CicHash.t