import proveit
from proveit import defaults
from proveit.logic.booleans import bools_def
theory = proveit.Theory() # the theorem's theory
%proving unfold_is_bool_explicit
Ain_bool = unfold_is_bool_explicit.conditions[0]
defaults.assumptions = [Ain_bool]
bools_def
AinTFset = bools_def.sub_right_side_into(Ain_bool)
AinTFset.unfold()
%qed # unfolding the enumerated set via automation