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
0instantiation1, 2, 3, 4, 5, 6,  ⊢  
  : , : , :
1reference12  ⊢  
2instantiation20, 7,  ⊢  
  : , :
3instantiation21, 7,  ⊢  
  : , :
4reference10,  ⊢  
5deduction8,  ⊢  
6deduction9,  ⊢  
7instantiation27, 10,  ⊢  
  :
8instantiation54, 11, 52, ,  ⊢  
  : , : , :
9instantiation12, 13, 14, 28, 15, 16, ,  ⊢  
  : , : , :
10instantiation17, 96, 97,  ⊢  
  : , :
11instantiation54, 18, 19, ,  ⊢  
  : , : , :
12theorem  ⊢  
 proveit.logic.booleans.disjunction.singular_constructive_dilemma
13instantiation20, 22  ⊢  
  : , :
14instantiation21, 22  ⊢  
  : , :
15deduction23, ,  ⊢  
16deduction24, ,  ⊢  
17theorem  ⊢  
 proveit.numbers.ordering.less_or_greater_eq
18instantiation51, 39, 25, ,  ⊢  
  : , : , :
19instantiation71, 26, 57, ,  ⊢  
  : , : , :
20axiom  ⊢  
 proveit.logic.booleans.disjunction.left_in_bool
21axiom  ⊢  
 proveit.logic.booleans.disjunction.right_in_bool
22instantiation27, 28  ⊢  
  :
23instantiation54, 29, 39, , ,  ⊢  
  : , : , :
24instantiation54, 30, 52, , ,  ⊢  
  : , : , :
25instantiation71, 31, 32, ,  ⊢  
  : , : , :
26instantiation71, 33, 34, ,  ⊢  
  : , : , :
27theorem  ⊢  
 proveit.logic.booleans.in_bool_if_true
28instantiation35, 94, 36  ⊢  
  : , :
29instantiation54, 37, 55, , ,  ⊢  
  : , : , :
30instantiation54, 38, 39, , ,  ⊢  
  : , : , :
31instantiation71, 40, 41, ,  ⊢  
  : , : , :
32instantiation74, 76, 75, 77  ⊢  
  : , : , : , : , :
33instantiation83, 42  ⊢  
  : , : , :
34instantiation83, 43, ,  ⊢  
  : , : , :
35theorem  ⊢  
 proveit.logic.equality.rhs_via_equality
36instantiation44  ⊢  
  : , :
37instantiation99, 45, ,  ⊢  
  : , :
38instantiation54, 46, 47, , ,  ⊢  
  : , : , :
39instantiation60, 96, 97,  ⊢  
  : , :
40instantiation83, 48, ,  ⊢  
  : , : , :
41instantiation83, 49  ⊢  
  : , : , :
42instantiation87, 59  ⊢  
  : , :
43instantiation88, 50, ,  ⊢  
  : , :
44axiom  ⊢  
 proveit.numbers.ordering.less_eq_def
45instantiation51, 52, 53, ,  ⊢  
  : , : , :
46instantiation54, 98, 55, , ,  ⊢  
  : , : , :
47instantiation71, 56, 57, ,  ⊢  
  : , : , :
48instantiation88, 58, ,  ⊢  
  : , :
49instantiation87, 68  ⊢  
  : , :
50instantiation93, 96, 97, 59, ,  ⊢  
  : , :
51theorem  ⊢  
 proveit.logic.equality.sub_right_side_into
52instantiation60, 97, 96,  ⊢  
  : , :
53instantiation71, 61, 62, ,  ⊢  
  : , : , :
54theorem  ⊢  
 proveit.logic.equality.sub_left_side_into
55instantiation71, 63, 64, ,  ⊢  
  : , : , :
56instantiation71, 65, 66, ,  ⊢  
  : , : , :
57instantiation74, 75, 76, 77  ⊢  
  : , : , : , : , :
58instantiation91, 96, 97, 68, ,  ⊢  
  : , :
59instantiation67, 68  ⊢  
  : , :
60axiom  ⊢  
 proveit.numbers.ordering.max_def_bin
61instantiation71, 69, 70, ,  ⊢  
  : , : , :
62instantiation74, 76, 75, 77  ⊢  
  : , : , : , : , :
63instantiation71, 72, 73, ,  ⊢  
  : , : , :
64instantiation74, 75, 76, 77  ⊢  
  : , : , : , : , :
65instantiation83, 78, ,  ⊢  
  : , : , :
66instantiation83, 79, ,  ⊢  
  : , : , :
67theorem  ⊢  
 proveit.numbers.ordering.relax_less
68assumption  ⊢  
69instantiation83, 80, ,  ⊢  
  : , : , :
70instantiation83, 81  ⊢  
  : , : , :
71axiom  ⊢  
 proveit.logic.equality.equals_transitivity
72instantiation83, 82  ⊢  
  : , : , :
73instantiation83, 84, ,  ⊢  
  : , : , :
74axiom  ⊢  
 proveit.core_expr_types.conditionals.true_case_reduction
75axiom  ⊢  
 proveit.numbers.number_sets.natural_numbers.zero_in_nats
76theorem  ⊢  
 proveit.numbers.numerals.decimals.nat1
77theorem  ⊢  
 proveit.core_expr_types.tuples.tuple_len_0_typical_eq
78instantiation87, 90, ,  ⊢  
  : , :
79instantiation88, 85, ,  ⊢  
  : , :
80instantiation88, 86, ,  ⊢  
  : , :
81instantiation87, 92  ⊢  
  : , :
82instantiation87, 94  ⊢  
  : , :
83axiom  ⊢  
 proveit.logic.equality.substitution
84instantiation88, 89, ,  ⊢  
  : , :
85instantiation93, 96, 97, 90, ,  ⊢  
  : , :
86instantiation91, 97, 96, 92, ,  ⊢  
  : , :
87theorem  ⊢  
 proveit.core_expr_types.conditionals.satisfied_condition_reduction
88theorem  ⊢  
 proveit.core_expr_types.conditionals.dissatisfied_condition_reduction
89instantiation93, 97, 96, 94, ,  ⊢  
  : , :
90instantiation95, 96, 97, 98, ,  ⊢  
  : , :
91theorem  ⊢  
 proveit.numbers.ordering.not_less_eq_from_less
92assumption  ⊢  
93theorem  ⊢  
 proveit.numbers.ordering.not_less_from_less_eq
94assumption  ⊢  
95theorem  ⊢  
 proveit.numbers.ordering.relax_equal_to_less_eq
96assumption  ⊢  
97assumption  ⊢  
98instantiation99, 100  ⊢  
  : , :
99theorem  ⊢  
 proveit.logic.equality.equals_reversal
100assumption  ⊢