logo
In [1]:
# import sys
# sys.path.append('..') # allows access to modules in parent theory
import proveit
from proveit.logic.sets.inclusion  import not_subset_eq_def
In [2]:
%proving fold_not_subset_eq
With these allowed/disallowed theorem/theory presumptions (e.g., to avoid circular dependencies), we begin our proof of
fold_not_subset_eq:
(see dependencies)
In [3]:
# Pull in the definition of NotSubsetEq
not_subset_eq_def
In [4]:
not_subset_eq_def_inst = not_subset_eq_def.instantiate()
not_subset_eq_def_inst:  ⊢  
In [5]:
not_subset_eq_def_inst.derive_left_via_equality(assumptions=[not_subset_eq_def_inst.rhs])
fold_not_subset_eq may now be readily provable (assuming required theorems are usable).  Simply execute "%qed".
In [6]:
%qed
proveit.logic.sets.inclusion.fold_not_subset_eq 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_subset_eq_def