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 Subst_not_found of int
15 exception Meta_not_found of int
17 val expand_local_context : NCic.lc_kind -> NCic.term list
19 val lookup_subst: int -> NCic.substitution -> NCic.subst_entry
20 val lookup_meta: int -> NCic.metasenv -> NCic.conjecture
22 (* both functions raise "assert false" when a Meta is found
23 * call the 'a->'a function when a binder is crossed *)
25 (NCic.hypothesis -> 'k -> 'k) -> 'k ->
26 ('k -> 'a -> NCic.term -> 'a) -> 'a -> NCic.term -> 'a
28 (NCic.hypothesis -> 'k -> 'k) -> 'k ->
29 ('k -> NCic.term -> NCic.term) -> NCic.term -> NCic.term