logo
In [1]:
import proveit
from proveit.logic.booleans.negation import not_false
theory = proveit.Theory() # the theorem's theory
In [2]:
%proving negation_intro
With these allowed/disallowed theorem/theory presumptions (e.g., to avoid circular dependencies), we begin our proof of
negation_intro:
(see dependencies)
In [3]:
AeqF = negation_intro.condition
AeqF:
In [4]:
not_false
In [5]:
AeqF.sub_left_side_into(not_false, assumptions=[AeqF])
negation_intro may now be readily provable (assuming required theorems are usable).  Simply execute "%qed".
In [6]:
%qed
proveit.logic.booleans.negation.negation_intro has been proven.
Out[6]:
 step typerequirementsstatement
0generalization1  ⊢  
1instantiation2, 3, 4  ⊢  
  : , : , :
2theorem  ⊢  
 proveit.logic.equality.sub_left_side_into
3conjecture  ⊢  
 proveit.logic.booleans.negation.not_false
4assumption  ⊢