logo
In [1]:
import proveit
from proveit.logic.sets.inclusion  import not_proper_subset_def
theory = proveit.Theory() # the theorem's theory
In [2]:
%proving fold_not_proper_subset
With these allowed/disallowed theorem/theory presumptions (e.g., to avoid circular dependencies), we begin our proof of
fold_not_proper_subset:
(see dependencies)
In [3]:
# pull in the definition of not proper subset
not_proper_subset_def
In [4]:
not_proper_subset_def_inst = not_proper_subset_def.instantiate()
not_proper_subset_def_inst:  ⊢  
In [5]:
not_proper_subset_def_inst.derive_left_via_equality(assumptions=[not_proper_subset_def_inst.rhs])
fold_not_proper_subset may now be readily provable (assuming required theorems are usable).  Simply execute "%qed".
In [6]:
%qed
proveit.logic.sets.inclusion.fold_not_proper_subset has been proven.
Out[6]:
 step typerequirementsstatement
0generalization1  ⊢  
1instantiation2, 3, 4  ⊢  
  : , :
2theorem  ⊢  
 proveit.logic.equality.lhs_via_equality
3assumption  ⊢  
4instantiation5  ⊢  
  : , :
5axiom  ⊢  
 proveit.logic.sets.inclusion.not_proper_subset_def