import proveit
from proveit.logic import TRUE, FALSE
from proveit import A
from proveit.logic.booleans.conjunction import unary_and_reduction_lemma
theory = proveit.Theory() # the theorem's theory
%proving unary_and_reduction
unary_and_reduction_lemma
and_true = unary_and_reduction_lemma.instantiate({A:TRUE})
and_false = unary_and_reduction_lemma.instantiate({A:FALSE})
%qed