package zelus

  1. Overview
  2. Docs

reduce expressions that are tagged to be static; leave other unchanged

type fun_defs = {
  1. fundefs : (Deftypes.name * Zelus.funexp) list;
}
val empty : fun_defs
val num : int ref
val gfresh : unit -> string

Build a renaming from an environment

val rename : Zident.Env.key -> 'a Zident.Env.t -> 'a

rename a variable

val remove : 'a Zident.Env.t -> 'b Zident.Env.t -> 'b Zident.Env.t

Remove entries in venv that are defined in renaming

Rename an operator

Simplify an expression.

Simplify an equation.

val exp_of_value : fun_defs -> Global.value_code -> Zelus.exp * fun_defs

Convert a value into an expression.

OCaml

Innovation. Community. Security.