Alpha equivalence checker for arbitrary lambda terms
7

Configure Feed

Select the types of activity you want to include in your feed.

ego / ocaml / lib / named.mli
591 B 21 lines
1type t = 2 | Var of string 3 | Lam of string * t 4 | App of t * t 5 | Subst of string * t * t 6 7module SSet : Set.S with type elt = string 8 9val free_variables : t -> SSet.t 10val free_variable_list : t -> string list 11val pretty : t -> string 12val fresh_name : SSet.t -> string -> string 13val substitute : string -> t -> t -> t 14val alpha_equivalent : t -> t -> bool 15val alpha_equivalent_counted : t -> t -> bool * int * int 16val normalise : t -> t 17val normalise_counted : t -> t * int * int 18val elim_subst : t -> t 19val convert_from_named : t -> t 20val convert_to_named : t -> t 21val step_limit : int