A kernel-checked generated equation artifact that is not necessarily installed as a theorem.
Summary
Functions
Builds and kernel-checks a generated equation artifact.
Installs a realized equation artifact as an opaque theorem declaration.
Converts a realized equation artifact to an installable theorem declaration.
Types
@type t() :: %Theoria.Equation.Realized{ identity: Theoria.Equation.Identity.t(), proof: Theoria.Term.t(), type: Theoria.Term.t(), universe_params: [atom()] }
Functions
@spec check( Theoria.Env.t(), Theoria.Equation.Identity.t(), Theoria.Term.t(), Theoria.Term.t(), keyword() ) :: {:ok, t()} | {:error, Theoria.Error.t()}
Builds and kernel-checks a generated equation artifact.
@spec install(Theoria.Env.t(), t()) :: {:ok, Theoria.Env.t(), Theoria.Theorem.t()} | {:error, Theoria.Error.t()}
Installs a realized equation artifact as an opaque theorem declaration.
@spec to_theorem(t()) :: Theoria.Theorem.t()
Converts a realized equation artifact to an installable theorem declaration.