import proveit theory = proveit.Theory() # the theorem's theory
%proving any_if_all
any_if_all may now be readily provable (assuming required theorems are usable). Simply execute "%qed".