logo
In [1]:
import proveit
theory = proveit.Theory() # the theorem's theory
In [2]:
%proving right_from_and
With these allowed/disallowed theorem/theory presumptions (e.g., to avoid circular dependencies), we begin our proof of
right_from_and:
(see dependencies)
right_from_and may now be readily provable (assuming required theorems are usable).  Simply execute "%qed".

This is proven by simple generalization by the fact that extra conditions may always be added to derive a weaker statement.

In [3]:
%qed
proveit.logic.booleans.conjunction.right_from_and has been proven.
Out[3]:
 step typerequirementsstatement
0generalization1  ⊢  
1assumption  ⊢