logo
In [1]:
import proveit
# we need to import true_iff_false_negated and false_iff_true_negated
# to derive their side-effects:
from proveit.logic.booleans.implication import true_iff_true, true_iff_false_negated
from proveit.logic.booleans.implication import false_iff_false, false_iff_true_negated
theory = proveit.Theory() # the theorem's theory
In [2]:
%proving iff_closure
With these allowed/disallowed theorem/theory presumptions (e.g., to avoid circular dependencies), we begin our proof of
iff_closure:
(see dependencies)
iff_closure may now be readily provable (assuming required theorems are usable).  Simply execute "%qed".
In [3]:
%qed
proveit.logic.booleans.implication.iff_closure has been proven.