Experimental/internal API for 0.2; subject to change before 0.3. Lookup helpers for generated matcher equation metadata.
Summary
Functions
Returns all generated matcher equation metadata in declaration order.
Returns generated matcher equation metadata for a stored equation definition.
Returns generated matcher equation metadata for a matcher declaration.
Returns generated matcher equation theorem names for a matcher.
Returns planned indexed matcher equation metadata for an indexed matcher info package.
Returns metadata-only lemmas for planned indexed matcher equation statements.
Realizes a planned indexed matcher equation theorem without installing it.
Realizes all planned indexed matcher equation theorems without installing them.
Returns a planned indexed matcher equation theorem statement.
Returns all planned indexed matcher equation theorem statements.
Converts matcher equations to theorem-like equation lemmas.
Realizes a generated matcher equation artifact without installing it.
Finds the matcher that generated a matcher equation theorem.
Functions
@spec all(Theoria.Env.t()) :: [Theoria.Equation.Matcher.Equation.t()]
Returns all generated matcher equation metadata in declaration order.
@spec generated(Theoria.Equation.Info.t()) :: [Theoria.Equation.Matcher.Equation.t()]
Returns generated matcher equation metadata for a stored equation definition.
@spec generated(Theoria.Env.t(), atom()) :: {:ok, [Theoria.Equation.Matcher.Equation.t()]} | {:error, term()}
Returns generated matcher equation metadata for a matcher declaration.
@spec get(Theoria.Env.t(), atom()) :: {:ok, [Theoria.Equation.Identity.t()]} | {:error, term()}
Returns generated matcher equation theorem names for a matcher.
@spec indexed_generated(Theoria.Equation.Info.t(), Theoria.Env.t()) :: {:ok, [Theoria.Equation.Matcher.Equation.t()]} | {:error, term()}
Returns planned indexed matcher equation metadata for an indexed matcher info package.
@spec indexed_lemmas(Theoria.Equation.Info.t(), Theoria.Env.t()) :: {:ok, [Theoria.Equation.Lemma.t()]} | {:error, term()}
Returns metadata-only lemmas for planned indexed matcher equation statements.
@spec indexed_realize( Theoria.Equation.Info.t(), Theoria.Env.t(), Theoria.Equation.Identity.t() | keyword() ) :: {:ok, Theoria.Theorem.t()} | {:error, term()}
Realizes a planned indexed matcher equation theorem without installing it.
@spec indexed_realize_all(Theoria.Equation.Info.t(), Theoria.Env.t()) :: {:ok, [Theoria.Theorem.t()]} | {:error, term()}
Realizes all planned indexed matcher equation theorems without installing them.
@spec indexed_statement( Theoria.Equation.Info.t(), Theoria.Env.t(), Theoria.Equation.Identity.t() | keyword() ) :: {:ok, Theoria.Term.t()} | {:error, term()}
Returns a planned indexed matcher equation theorem statement.
@spec indexed_statements(Theoria.Equation.Info.t(), Theoria.Env.t()) :: {:ok, [Theoria.Equation.Matcher.Equation.t()]} | {:error, term()}
Returns all planned indexed matcher equation theorem statements.
@spec lemmas(Theoria.Env.t()) :: [Theoria.Equation.Lemma.t()]
Converts matcher equations to theorem-like equation lemmas.
@spec realize(Theoria.Env.t(), Theoria.Equation.Identity.t() | atom()) :: {:ok, Theoria.Equation.Realized.t()} | {:error, term()}
Realizes a generated matcher equation artifact without installing it.
@spec source(Theoria.Env.t(), Theoria.Equation.Identity.t() | atom()) :: {:ok, atom()} | :error
Finds the matcher that generated a matcher equation theorem.