logo
In [1]:
import proveit
from proveit.logic import And
from proveit import A, B, C
from proveit.logic.booleans import in_bool_if_true
from proveit.logic.booleans.conjunction  import left_in_bool, right_in_bool
theory = proveit.Theory() # the theorem's theory
In [2]:
%proving any_from_and
With these allowed/disallowed theorem/theory presumptions (e.g., to avoid circular dependencies), we begin our proof of
any_from_and:
(see dependencies)
any_from_and may now be readily provable (assuming required theorems are usable).  Simply execute "%qed".