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 AssertFailure of string Lazy.t;;
19 ?delta:int -> subst:NCic.substitution ->
20 NCic.context -> NCic.term ->
23 val set_get_relevance :
24 (metasenv:NCic.metasenv -> subst:NCic.substitution ->
25 NCic.context -> NCic.term -> NCic.term list -> bool list) -> unit
28 metasenv:NCic.metasenv -> subst:NCic.substitution ->
29 NCic.context -> NCic.term -> NCic.term -> bool
32 (* performs head beta/(delta)/cast reduction; the default is to not perform
33 delta reduction; if provided, ~upto is the maximum number of beta redexes
36 ?delta:int -> ?upto:int -> ?subst:NCic.substitution -> NCic.term -> NCic.term
41 type machine = int * environment_item list * NCic.term * stack_item list
44 delta:int -> ?subst:NCic.substitution -> NCic.context -> machine ->
46 val from_stack : delta:int -> stack_item -> machine
47 val unwind : machine -> NCic.term
50 subst:NCic.substitution -> NCic.context -> int -> NCic.term ->
51 NCic.context * NCic.term
53 (* to be used outside the kernel *)
55 NCic.metasenv -> NCic.substitution ->
56 NCic.context -> NCic.term -> NCic.term -> bool