Theoria.Simp.Result (theoria v0.5.0)

Copy Markdown View Source

Result of repeated simplification, including optional proof artifact data.

Summary

Types

t()

@type t() :: %Theoria.Simp.Result{
  input: Theoria.Term.t(),
  proof: Theoria.Term.t() | nil,
  proof_strategy: atom() | nil,
  realized: Theoria.Equation.Realized.t() | nil,
  steps: [Theoria.Simp.Step.t()],
  stopped: :normal | :fuel,
  term: Theoria.Term.t(),
  type: Theoria.Term.t() | nil
}

Functions

proof_checked?(result)

@spec proof_checked?(t()) :: boolean()

proof_strategy(result)

@spec proof_strategy(t()) :: atom() | nil