2 ||M|| This file is part of HELM, an Hypertextual, Electronic
3 ||A|| Library of Mathematics, developed at the Computer Science
4 ||T|| Department, University of Bologna, Italy.
6 ||T|| HELM is free software; you can redistribute it and/or
7 ||A|| modify it under the terms of the GNU General Public License
8 \ / version 2 or (at your option) any later version.
9 \ / This software is distributed as is, NO WARRANTY.
10 V_______________________________________________________________ *)
14 exception DisambiguationError of
16 ((Stdpp.location list * string * string) list *
17 (DisambiguateTypes.domain_item * string) list *
18 (Stdpp.location * string) Lazy.t * bool) list list
20 val disambiguate_term :
21 context:NCic.context ->
22 metasenv:NCic.metasenv ->
23 subst:NCic.substitution ->
25 aliases:NCic.term DisambiguateTypes.environment ->
26 universe:NCic.term DisambiguateTypes.multiple_environment option ->
27 CicNotationPt.term Disambiguate.disambiguator_input ->
28 ((DisambiguateTypes.domain_item *
29 NCic.term DisambiguateTypes.codomain_item) list *
30 NCic.metasenv * (* new metasenv *)
32 NCic.term) list * (* disambiguated term *)