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