Theoria.Library.Logic.Theorems (theoria v0.5.0)

Copy Markdown View Source

Theorem corpus for Theoria.Library.Logic.

These proofs cover the initial logical declarations for implication-like function types, false elimination, negation, and conjunction. They exercise the public theorem DSL against both Theoria.Library.Logic.env/0 and the standard Theoria.Prelude.env/0.

Summary

Functions

Returns the unelaborated proof syntax for theorem and_assoc_left.

Elaborates and checks theorem and_assoc_left against the given environment.

Returns the unelaborated type syntax for theorem and_assoc_left.

Returns the unelaborated proof syntax for theorem and_assoc_right.

Elaborates and checks theorem and_assoc_right against the given environment.

Returns the unelaborated type syntax for theorem and_assoc_right.

Returns the unelaborated proof syntax for theorem and_comm.

Elaborates and checks theorem and_comm against the given environment.

Returns the unelaborated type syntax for theorem and_comm.

Returns the unelaborated proof syntax for theorem and_intro_eta.

Elaborates and checks theorem and_intro_eta against the given environment.

Returns the unelaborated type syntax for theorem and_intro_eta.

Returns the unelaborated proof syntax for theorem and_left_eta.

Elaborates and checks theorem and_left_eta against the given environment.

Returns the unelaborated type syntax for theorem and_left_eta.

Returns the unelaborated proof syntax for theorem and_right_eta.

Elaborates and checks theorem and_right_eta against the given environment.

Returns the unelaborated type syntax for theorem and_right_eta.

Returns the unelaborated proof syntax for theorem const.

Elaborates and checks theorem const against the given environment.

Returns the unelaborated type syntax for theorem const.

Returns the unelaborated proof syntax for theorem contradiction.

Elaborates and checks theorem contradiction against the given environment.

Returns the unelaborated type syntax for theorem contradiction.

Returns the unelaborated proof syntax for theorem double_negation_intro.

Elaborates and checks theorem double_negation_intro against the given environment.

Returns the unelaborated type syntax for theorem double_negation_intro.

Returns the unelaborated proof syntax for theorem false_elim_eta.

Elaborates and checks theorem false_elim_eta against the given environment.

Returns the unelaborated type syntax for theorem false_elim_eta.

Returns the unelaborated proof syntax for theorem identity.

Elaborates and checks theorem identity against the given environment.

Returns the unelaborated type syntax for theorem identity.

Returns the unelaborated proof syntax for theorem not_false.

Elaborates and checks theorem not_false against the given environment.

Returns the unelaborated type syntax for theorem not_false.

Functions

and_assoc_left_proof()

Returns the unelaborated proof syntax for theorem and_assoc_left.

and_assoc_left_theorem(env \\ Theoria.new_env())

Elaborates and checks theorem and_assoc_left against the given environment.

and_assoc_left_type()

Returns the unelaborated type syntax for theorem and_assoc_left.

and_assoc_right_proof()

Returns the unelaborated proof syntax for theorem and_assoc_right.

and_assoc_right_theorem(env \\ Theoria.new_env())

Elaborates and checks theorem and_assoc_right against the given environment.

and_assoc_right_type()

Returns the unelaborated type syntax for theorem and_assoc_right.

and_comm_proof()

Returns the unelaborated proof syntax for theorem and_comm.

and_comm_theorem(env \\ Theoria.new_env())

Elaborates and checks theorem and_comm against the given environment.

and_comm_type()

Returns the unelaborated type syntax for theorem and_comm.

and_intro_eta_proof()

Returns the unelaborated proof syntax for theorem and_intro_eta.

and_intro_eta_theorem(env \\ Theoria.new_env())

Elaborates and checks theorem and_intro_eta against the given environment.

and_intro_eta_type()

Returns the unelaborated type syntax for theorem and_intro_eta.

and_left_eta_proof()

Returns the unelaborated proof syntax for theorem and_left_eta.

and_left_eta_theorem(env \\ Theoria.new_env())

Elaborates and checks theorem and_left_eta against the given environment.

and_left_eta_type()

Returns the unelaborated type syntax for theorem and_left_eta.

and_right_eta_proof()

Returns the unelaborated proof syntax for theorem and_right_eta.

and_right_eta_theorem(env \\ Theoria.new_env())

Elaborates and checks theorem and_right_eta against the given environment.

and_right_eta_type()

Returns the unelaborated type syntax for theorem and_right_eta.

const_proof()

Returns the unelaborated proof syntax for theorem const.

const_theorem(env \\ Theoria.new_env())

Elaborates and checks theorem const against the given environment.

const_type()

Returns the unelaborated type syntax for theorem const.

contradiction_proof()

Returns the unelaborated proof syntax for theorem contradiction.

contradiction_theorem(env \\ Theoria.new_env())

Elaborates and checks theorem contradiction against the given environment.

contradiction_type()

Returns the unelaborated type syntax for theorem contradiction.

double_negation_intro_proof()

Returns the unelaborated proof syntax for theorem double_negation_intro.

double_negation_intro_theorem(env \\ Theoria.new_env())

Elaborates and checks theorem double_negation_intro against the given environment.

double_negation_intro_type()

Returns the unelaborated type syntax for theorem double_negation_intro.

false_elim_eta_proof()

Returns the unelaborated proof syntax for theorem false_elim_eta.

false_elim_eta_theorem(env \\ Theoria.new_env())

Elaborates and checks theorem false_elim_eta against the given environment.

false_elim_eta_type()

Returns the unelaborated type syntax for theorem false_elim_eta.

identity_proof()

Returns the unelaborated proof syntax for theorem identity.

identity_theorem(env \\ Theoria.new_env())

Elaborates and checks theorem identity against the given environment.

identity_type()

Returns the unelaborated type syntax for theorem identity.

not_false_proof()

Returns the unelaborated proof syntax for theorem not_false.

not_false_theorem(env \\ Theoria.new_env())

Elaborates and checks theorem not_false against the given environment.

not_false_type()

Returns the unelaborated type syntax for theorem not_false.