import proveit
from proveit import A
from proveit.logic import Not
theory = proveit.Theory() # the theorem's theory
%proving double_negation_intro
not_a_eq_F = Not(A).evaluation(assumptions=[A])
not_a_eq_F.derive_via_boolean_equality()
%qed # proven via automation