logo

Show the Proof

In [1]:
import proveit
# Automation is not needed when only showing a stored proof:
proveit.defaults.automation = False # This will speed things up.
proveit.defaults.inline_pngs = False # Makes files smaller.
%show_proof
Out[1]:
 step typerequirementsstatement
0modus ponens1, 2  ⊢  
1instantiation3, 4, 5  ⊢  
  : , :
2reference12  ⊢  
3theorem  ⊢  
 proveit.logic.booleans.implication.contrapose_neg_consequent
4deduction6  ⊢  
5instantiation7, 8  ⊢  
  : , :
6instantiation9, 10  ⊢  
  : , :
7theorem  ⊢  
 proveit.logic.sets.membership.not_in_set_is_bool
8instantiation11, 12  ⊢  
  :
9theorem  ⊢  
 proveit.logic.sets.membership.unfold_not_in_set
10assumption  ⊢  
11theorem  ⊢  
 proveit.logic.booleans.in_bool_if_true
12assumption  ⊢