import proveit
theory = proveit.Theory() # the theorem's theory
from proveit import defaults
from proveit import A
from proveit.logic import in_bool, Not
from proveit.logic.booleans.negation import not_t, not_f
from proveit.logic.booleans.negation import double_negation_elim_lemma
%proving double_negation_elim
defaults.assumptions = double_negation_elim.conditions
double_negation_elim_lemma
double_negation_elim_lemma.instantiate({A:A})
%qed