Reference normalization for kernel differential assurance.
Summary
Functions
Reference definitional equality by full normalization.
Computes full normal form with the reference normalizer.
Computes weak-head normal form with the reference normalizer.
Types
@type result() :: {:ok, Theoria.Term.t()} | {:error, :out_of_fuel}
Functions
@spec defeq?(Theoria.Env.t(), Theoria.Term.t(), Theoria.Term.t()) :: boolean()
Reference definitional equality by full normalization.
@spec normalize(Theoria.Env.t(), Theoria.Term.t()) :: result()
Computes full normal form with the reference normalizer.
@spec whnf(Theoria.Env.t(), Theoria.Term.t()) :: result()
Computes weak-head normal form with the reference normalizer.