1 type 'nf i_var_ = [ `I of int * int * 'nf Listx.listx | `Var of int * int ]
2 type 'nf i_n_var_ = [ `N of int | 'nf i_var_ ]
4 [ `I of int * int * 'nf Listx.listx
5 | `Match of int * 'nf i_num_var_ * int * (int * 'nf) list ref * 'nf list
9 [ `I of int * int * 'nf Listx.listx
10 | `Lam of bool * 'nf nf_
11 | `Match of int * 'nf i_num_var_ * int * (int * 'nf) list ref * 'nf list
15 type i_var = nf i_var_
16 type i_n_var = nf i_n_var_
17 type i_num_var = nf i_num_var_
18 val hd_of_i_var : i_var -> int
20 [< `I of 'c * 'a * 'b | `Match of 'c | `N of 'd | `Var of 'e * 'a ] -> 'a option
21 (* put t under n lambdas, lifting t accordingtly *)
22 val make_lams : nf -> int -> nf
23 val lift : int -> nf -> nf
24 val free_vars : nf -> int list
27 val t_of_i_num_var : nf i_num_var_ -> Pure.Pure.t
28 val t_of_nf : nf -> Pure.Pure.t
30 val print : ?l:string list -> nf -> string
31 val string_of_nf : [<nf] -> string
32 val cast_to_i_var : [< nf > `I `Var] -> i_var
33 val cast_to_i_n_var : [< nf > `I `N `Var] -> i_n_var
34 val cast_to_i_num_var : [< nf > `I `N `Match `Var] -> i_num_var
35 val mk_app : nf -> nf -> nf
36 val mk_appl : nf -> nf list -> nf
37 val mk_appx : nf -> nf Listx.listx -> nf
38 val mk_match : int -> nf i_num_var_ -> int -> (int * nf) list ref -> nf list -> nf
39 val subst : bool -> int -> nf -> nf -> nf
40 val parse' : string list -> nf list * string list
41 val eta_compare : nf -> nf -> int
42 val eta_eq : [< nf ] -> [< nf ] -> bool
43 val eta_subterm : [< nf ] -> [< nf ] -> bool