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