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  ⊢  
  : , : , : , : , : , : , :
2generalization5  ⊢  
3theorem  ⊢  
 proveit.core_expr_types.lambda_maps.general_lambda_substitution
4theorem  ⊢  
 proveit.numbers.numerals.decimals.posnat5
5instantiation6, 7  ⊢  
  : , : , :
6axiom  ⊢  
 proveit.core_expr_types.conditionals.condition_replacement
7instantiation8, 9, 10  ⊢  
  : , :
8theorem  ⊢  
 proveit.logic.booleans.implication.iff_intro
9deduction11  ⊢  
10deduction12  ⊢  
11instantiation17, 22, 13, 14, 15, 16  ⊢  
  : , :
12instantiation17, 18, 19, 94, 88, 20, 21,  ⊢  
  : , :
13instantiation30  ⊢  
  : , : , :
14instantiation106, 107, 22, 108, 23, 25  ⊢  
  : , : , : , : , :
15instantiation106, 127, 133, 24, 25  ⊢  
  : , : , : , : , :
16instantiation106, 133, 127, 27, 25  ⊢  
  : , : , : , : , :
17theorem  ⊢  
 proveit.logic.booleans.conjunction.and_if_all
18theorem  ⊢  
 proveit.numbers.numerals.decimals.nat4
19instantiation26  ⊢  
  : , : , : , :
20instantiation106, 133, 107, 27, 108, 110  ⊢  
  : , : , : , : , :
21instantiation28, 58, 75, 94, 29,  ⊢  
  : , : , :
22theorem  ⊢  
 proveit.numbers.numerals.decimals.nat3
23instantiation30  ⊢  
  : , : , :
24instantiation119  ⊢  
  : , :
25assumption  ⊢  
26theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_4_typical_eq
27instantiation119  ⊢  
  : , :
28theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.in_IntervalCO
29instantiation31, 32, 33,  ⊢  
  : , :
30theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_3_typical_eq
31theorem  ⊢  
 proveit.logic.booleans.conjunction.and_if_both
32instantiation48, 105, 58, 49, 34, 52, 35*, 53*,  ⊢  
  : , : , :
33instantiation36, 37, 38,  ⊢  
  : , : , :
34instantiation39, 99, 100, 88,  ⊢  
  : , : , :
35instantiation40, 93, 72  ⊢  
  :
36theorem  ⊢  
 proveit.numbers.ordering.transitivity_less_eq_less
37instantiation41, 42, 43,  ⊢  
  : , : , :
38instantiation44, 75, 45, 58, 46, 47*  ⊢  
  : , : , :
39theorem  ⊢  
 proveit.numbers.number_sets.integers.interval_lower_bound
40theorem  ⊢  
 proveit.numbers.division.frac_zero_numer
41theorem  ⊢  
 proveit.logic.equality.sub_right_side_into
42instantiation48, 105, 49, 50, 51, 52, 53*,  ⊢  
  : , : , :
43instantiation54, 93, 63, 72, 55*  ⊢  
  : , : , :
44theorem  ⊢  
 proveit.numbers.addition.strong_bound_via_right_term_bound
45instantiation56, 59  ⊢  
  :
46instantiation57, 58, 59, 60, 61*  ⊢  
  : , :
47instantiation62, 63  ⊢  
  :
48theorem  ⊢  
 proveit.numbers.division.weak_div_from_numer_bound__pos_denom
49instantiation134, 117, 64,  ⊢  
  : , : , :
50instantiation134, 117, 65  ⊢  
  : , : , :
51instantiation66, 99, 100, 88,  ⊢  
  : , : , :
52instantiation67, 122  ⊢  
  :
53instantiation68, 69, 70,  ⊢  
  : , : , :
54theorem  ⊢  
 proveit.numbers.division.distribute_frac_through_subtract
55instantiation71, 93, 72  ⊢  
  :
56theorem  ⊢  
 proveit.numbers.negation.real_closure
57theorem  ⊢  
 proveit.numbers.negation.negated_strong_bound
58theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.zero_is_real
59instantiation134, 117, 73  ⊢  
  : , : , :
60instantiation74, 85  ⊢  
  :
61theorem  ⊢  
 proveit.numbers.negation.negated_zero
62theorem  ⊢  
 proveit.numbers.addition.elim_zero_right
63instantiation134, 104, 75  ⊢  
  : , : , :
64instantiation134, 125, 76,  ⊢  
  : , : , :
65instantiation134, 125, 100  ⊢  
  : , : , :
66theorem  ⊢  
 proveit.numbers.number_sets.integers.interval_upper_bound
67theorem  ⊢  
 proveit.numbers.number_sets.natural_numbers.natural_pos_is_pos
68axiom  ⊢  
 proveit.logic.equality.equals_transitivity
69instantiation77, 78, 79, 82, 80*,  ⊢  
  : , : , :
70instantiation81, 82  ⊢  
  :
71theorem  ⊢  
 proveit.numbers.division.frac_cancel_complete
72instantiation83, 122  ⊢  
  :
73instantiation134, 84, 85  ⊢  
  : , : , :
74theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.positive_if_in_rational_pos
75instantiation134, 117, 86  ⊢  
  : , : , :
76instantiation134, 87, 88,  ⊢  
  : , : , :
77theorem  ⊢  
 proveit.numbers.division.frac_cancel_left
78instantiation134, 90, 89  ⊢  
  : , : , :
79instantiation134, 90, 91  ⊢  
  : , : , :
80instantiation92, 93  ⊢  
  :
81theorem  ⊢  
 proveit.numbers.division.frac_one_denom
82instantiation134, 104, 94  ⊢  
  : , : , :
83theorem  ⊢  
 proveit.numbers.number_sets.natural_numbers.nonzero_if_is_nat_pos
84theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.rational_pos_within_rational
85instantiation95, 96, 97  ⊢  
  : , :
86instantiation134, 125, 121  ⊢  
  : , : , :
87instantiation98, 99, 100  ⊢  
  : , :
88instantiation106, 127, 110  ⊢  
  : , : , : , : , :
89instantiation134, 102, 101  ⊢  
  : , : , :
90theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.real_nonzero_within_complex_nonzero
91instantiation134, 102, 103  ⊢  
  : , : , :
92theorem  ⊢  
 proveit.numbers.multiplication.elim_one_right
93instantiation134, 104, 105  ⊢  
  : , : , :
94instantiation106, 107, 133, 108, 109, 110  ⊢  
  : , : , : , : , :
95theorem  ⊢  
 proveit.numbers.division.div_rational_pos_closure
96instantiation134, 111, 124  ⊢  
  : , : , :
97instantiation134, 111, 122  ⊢  
  : , : , :
98theorem  ⊢  
 proveit.numbers.number_sets.integers.int_interval_within_int
99theorem  ⊢  
 proveit.numbers.number_sets.integers.zero_is_int
100instantiation112, 126, 113  ⊢  
  : , :
101instantiation134, 115, 114  ⊢  
  : , : , :
102theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.rational_nonzero_within_real_nonzero
103instantiation134, 115, 116  ⊢  
  : , : , :
104theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.real_within_complex
105instantiation134, 117, 118  ⊢  
  : , : , :
106theorem  ⊢  
 proveit.logic.booleans.conjunction.any_from_and
107axiom  ⊢  
 proveit.numbers.number_sets.natural_numbers.zero_in_nats
108theorem  ⊢  
 proveit.core_expr_types.tuples.tuple_len_0_typical_eq
109instantiation119  ⊢  
  : , :
110assumption  ⊢  
111theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.nat_pos_within_rational_pos
112theorem  ⊢  
 proveit.numbers.addition.add_int_closure_bin
113instantiation120, 121  ⊢  
  :
114instantiation134, 123, 122  ⊢  
  : , : , :
115theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.nonzero_int_within_rational_nonzero
116instantiation134, 123, 124  ⊢  
  : , : , :
117theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.rational_within_real
118instantiation134, 125, 126  ⊢  
  : , : , :
119theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_2_typical_eq
120theorem  ⊢  
 proveit.numbers.negation.int_closure
121instantiation134, 132, 127  ⊢  
  : , : , :
122instantiation128, 133, 131  ⊢  
  : , :
123theorem  ⊢  
 proveit.numbers.number_sets.integers.nat_pos_within_nonzero_int
124theorem  ⊢  
 proveit.numbers.numerals.decimals.posnat1
125theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.int_within_rational
126instantiation129, 130, 131  ⊢  
  : , :
127theorem  ⊢  
 proveit.numbers.numerals.decimals.nat1
128theorem  ⊢  
 proveit.numbers.exponentiation.exp_natpos_closure
129theorem  ⊢  
 proveit.numbers.exponentiation.exp_int_closure
130instantiation134, 132, 133  ⊢  
  : , : , :
131instantiation134, 135, 136  ⊢  
  : , : , :
132theorem  ⊢  
 proveit.numbers.number_sets.integers.nat_within_int
133theorem  ⊢  
 proveit.numbers.numerals.decimals.nat2
134theorem  ⊢  
 proveit.logic.sets.inclusion.superset_membership_from_proper_subset
135theorem  ⊢  
 proveit.numbers.number_sets.natural_numbers.nat_pos_within_nat
136assumption  ⊢  
*equality replacement requirements