Theoria.Rewrite.Proof.Result (theoria v0.6.0)

Copy Markdown View Source

Experimental proof-diagnostic result for Theoria 0.5 rewrite and simp steps.

The shape may change before 1.0.

Summary

Types

status()

@type status() ::
  :checked
  | :not_requested
  | :missing_rule_proof
  | :unsupported_path
  | :kernel_rejected

t()

@type t() :: %Theoria.Rewrite.Proof.Result{
  capability: Theoria.Rewrite.Proof.Capability.t(),
  proof: Theoria.Term.t() | nil,
  status: status()
}

Functions

capability(arg1)

@spec capability(t() | nil) :: Theoria.Rewrite.Proof.Capability.t() | nil

checked(proof, capability)

checked?(result)

@spec checked?(t() | nil) :: boolean()

not_requested()

@spec not_requested() :: t()

proof(arg1)

@spec proof(t() | nil) :: Theoria.Term.t() | nil

rejected(status, capability)

@spec rejected(status(), Theoria.Rewrite.Proof.Capability.t()) :: t()

status(arg1)

@spec status(t() | nil) :: status() | nil