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*,  ⊢  
  : , : , : , :
1reference21  ⊢  
2reference27  ⊢  
3instantiation154, 134, 7  ⊢  
  : , : , :
4instantiation8, 18, 28, 12,  ⊢  
  : , : , : , :
5instantiation9, 10  ⊢  
  :
6instantiation11, 18, 28, 12, 13, 14*,  ⊢  
  : , : , : , :
7instantiation154, 127, 24  ⊢  
  : , : , :
8theorem  ⊢  
 proveit.linear_algebra.addition.binary_closure
9theorem  ⊢  
 proveit.numbers.absolute_value.abs_non_neg_elim
10instantiation15, 16  ⊢  
  :
11theorem  ⊢  
 proveit.linear_algebra.addition.norm_of_sum_of_orthogonal_pair
12instantiation17, 18, 49, 29,  ⊢  
  : , : , : , :
13instantiation89, 19, 20,  ⊢  
  : , : , :
14instantiation21, 27, 49, 29, 22*,  ⊢  
  : , : , : , :
15theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.nonneg_if_in_real_nonneg
16instantiation154, 23, 24  ⊢  
  : , : , :
17theorem  ⊢  
 proveit.linear_algebra.scalar_multiplication.scalar_mult_closure
18instantiation25, 88  ⊢  
  :
19instantiation26, 27, 49, 28, 29,  ⊢  
  : , : , : , : , :
20instantiation84, 30, 31,  ⊢  
  : , : , :
21theorem  ⊢  
 proveit.linear_algebra.inner_products.scaled_norm
22instantiation84, 32, 33,  ⊢  
  : , : , :
23theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.real_pos_within_real_nonneg
24instantiation34, 35, 58, 36  ⊢  
  : , :
25theorem  ⊢  
 proveit.linear_algebra.complex_vec_set_is_vec_space
26theorem  ⊢  
 proveit.linear_algebra.inner_products.inner_prod_scalar_mult_right
27instantiation37, 88  ⊢  
  :
28theorem  ⊢  
 proveit.physics.quantum.algebra.ket_zero_in_qubit_space
29theorem  ⊢  
 proveit.physics.quantum.algebra.ket_one_in_qubit_space
30instantiation74, 38  ⊢  
  : , : , :
31instantiation39, 49, 40, 41*,  ⊢  
  : , :
32instantiation74, 42,  ⊢  
  : , : , :
33instantiation43, 44  ⊢  
  :
34theorem  ⊢  
 proveit.numbers.division.div_real_pos_closure
35instantiation154, 77, 45  ⊢  
  : , : , :
36instantiation46, 47  ⊢  
  :
37theorem  ⊢  
 proveit.linear_algebra.inner_products.complex_vec_set_is_inner_prod_space
38theorem  ⊢  
 proveit.physics.quantum.algebra.ket_zero_and_one_have_zero_inner_prod
39axiom  ⊢  
 proveit.linear_algebra.scalar_multiplication.scalar_mult_extends_number_mult
40theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.zero_is_complex
41instantiation48, 49,  ⊢  
  :
42instantiation50, 51, 52*,  ⊢  
  :
43theorem  ⊢  
 proveit.numbers.multiplication.elim_one_left
44instantiation53, 54, 55  ⊢  
  : , : , :
45instantiation154, 87, 56  ⊢  
  : , : , :
46theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.nonzero_if_in_real_nonzero
47instantiation154, 57, 58  ⊢  
  : , : , :
48theorem  ⊢  
 proveit.numbers.multiplication.mult_zero_right
49instantiation124, 59, 60,  ⊢  
  : , :
50theorem  ⊢  
 proveit.numbers.absolute_value.complex_unit_length
51instantiation89, 61, 62,  ⊢  
  : , : , :
52instantiation63, 64,  ⊢  
  : , :
53theorem  ⊢  
 proveit.logic.equality.sub_left_side_into
54instantiation154, 134, 65  ⊢  
  : , : , :
55theorem  ⊢  
 proveit.physics.quantum.algebra.ket_one_norm
56theorem  ⊢  
 proveit.numbers.numerals.decimals.posnat1
57theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.real_pos_within_real_nonzero
58instantiation66, 67  ⊢  
  :
59instantiation154, 134, 68  ⊢  
  : , : , :
60instantiation89, 69, 70,  ⊢  
  : , : , :
61instantiation120, 110, 71,  ⊢  
  : , :
62instantiation84, 72, 73,  ⊢  
  : , : , :
63theorem  ⊢  
 proveit.logic.equality.equals_reversal
64instantiation74, 75,  ⊢  
  : , : , :
65instantiation154, 137, 76  ⊢  
  : , : , :
66theorem  ⊢  
 proveit.numbers.exponentiation.sqrt_real_pos_closure
67instantiation154, 77, 78  ⊢  
  : , : , :
68instantiation154, 127, 79  ⊢  
  : , : , :
69instantiation115, 92, 80,  ⊢  
  : , :
70instantiation84, 81, 82,  ⊢  
  : , : , :
71instantiation120, 83, 119,  ⊢  
  : , :
72instantiation105, 153, 139, 106, 99, 107, 92, 117, 109,  ⊢  
  : , : , : , : , : , :
73instantiation105, 106, 139, 107, 98, 99, 125, 103, 117, 109,  ⊢  
  : , : , : , : , : , :
74axiom  ⊢  
 proveit.logic.equality.substitution
75instantiation84, 85, 86,  ⊢  
  : , : , :
76instantiation154, 140, 149  ⊢  
  : , : , :
77theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.rational_pos_within_real_pos
78instantiation154, 87, 88  ⊢  
  : , : , :
79theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.e_is_real_pos
80instantiation89, 90, 91,  ⊢  
  : , : , :
81instantiation105, 153, 93, 106, 94, 107, 92, 116, 117, 109,  ⊢  
  : , : , : , : , : , :
82instantiation105, 106, 139, 93, 107, 98, 94, 125, 103, 116, 117, 109,  ⊢  
  : , : , : , : , : , :
83instantiation95, 130, 96,  ⊢  
  : , :
84axiom  ⊢  
 proveit.logic.equality.equals_transitivity
85instantiation97, 106, 139, 107, 98, 99, 125, 103, 116, 117, 109,  ⊢  
  : , : , : , : , : , : , :
86instantiation100, 153, 101, 106, 102, 107, 116, 125, 103, 117, 109,  ⊢  
  : , : , : , : , : , :
87theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.nat_pos_within_rational_pos
88theorem  ⊢  
 proveit.numbers.numerals.decimals.posnat2
89theorem  ⊢  
 proveit.logic.equality.sub_right_side_into
90instantiation115, 104, 109,  ⊢  
  : , :
91instantiation105, 106, 139, 153, 107, 108, 116, 117, 109,  ⊢  
  : , : , : , : , : , :
92instantiation154, 134, 110  ⊢  
  : , : , :
93theorem  ⊢  
 proveit.numbers.numerals.decimals.nat3
94instantiation111  ⊢  
  : , : , :
95theorem  ⊢  
 proveit.numbers.exponentiation.exp_real_closure_nat_power
96instantiation112, 113,  ⊢  
  :
97theorem  ⊢  
 proveit.numbers.multiplication.leftward_commutation
98instantiation118  ⊢  
  : , :
99instantiation118  ⊢  
  : , :
100theorem  ⊢  
 proveit.numbers.multiplication.association
101theorem  ⊢  
 proveit.numbers.numerals.decimals.nat4
102instantiation114  ⊢  
  : , : , : , :
103instantiation154, 134, 121  ⊢  
  : , : , :
104instantiation115, 116, 117,  ⊢  
  : , :
105theorem  ⊢  
 proveit.numbers.multiplication.disassociation
106axiom  ⊢  
 proveit.numbers.number_sets.natural_numbers.zero_in_nats
107theorem  ⊢  
 proveit.core_expr_types.tuples.tuple_len_0_typical_eq
108instantiation118  ⊢  
  : , :
109instantiation154, 134, 119  ⊢  
  : , : , :
110instantiation120, 130, 121  ⊢  
  : , :
111theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_3_typical_eq
112theorem  ⊢  
 proveit.numbers.negation.nat_closure
113instantiation122, 141, 123,  ⊢  
  :
114theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_4_typical_eq
115theorem  ⊢  
 proveit.numbers.multiplication.mult_complex_closure_bin
116theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.i_is_complex
117instantiation124, 125, 126,  ⊢  
  : , :
118theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_2_typical_eq
119theorem  ⊢  
 proveit.physics.quantum.QPE._phase_is_real
120theorem  ⊢  
 proveit.numbers.multiplication.mult_real_closure_bin
121instantiation154, 127, 128  ⊢  
  : , : , :
122theorem  ⊢  
 proveit.numbers.number_sets.integers.nonpos_int_is_int_nonpos
123instantiation129, 145, 146, 143,  ⊢  
  : , : , :
124theorem  ⊢  
 proveit.numbers.exponentiation.exp_complex_closure
125instantiation154, 134, 130  ⊢  
  : , : , :
126instantiation131, 132,  ⊢  
  :
127theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.real_pos_within_real
128theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.pi_is_real_pos
129theorem  ⊢  
 proveit.numbers.number_sets.integers.interval_upper_bound
130instantiation154, 137, 133  ⊢  
  : , : , :
131theorem  ⊢  
 proveit.numbers.negation.complex_closure
132instantiation154, 134, 135,  ⊢  
  : , : , :
133instantiation154, 140, 136  ⊢  
  : , : , :
134theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.real_within_complex
135instantiation154, 137, 138,  ⊢  
  : , : , :
136instantiation154, 152, 139  ⊢  
  : , : , :
137theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.rational_within_real
138instantiation154, 140, 141,  ⊢  
  : , : , :
139theorem  ⊢  
 proveit.numbers.numerals.decimals.nat2
140theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.int_within_rational
141instantiation154, 142, 143,  ⊢  
  : , : , :
142instantiation144, 145, 146  ⊢  
  : , :
143assumption  ⊢  
144theorem  ⊢  
 proveit.numbers.number_sets.integers.int_interval_within_int
145instantiation147, 148, 149  ⊢  
  : , :
146theorem  ⊢  
 proveit.numbers.number_sets.integers.zero_is_int
147theorem  ⊢  
 proveit.numbers.addition.add_int_closure_bin
148instantiation150, 151  ⊢  
  :
149instantiation154, 152, 153  ⊢  
  : , : , :
150theorem  ⊢  
 proveit.numbers.negation.int_closure
151instantiation154, 155, 156  ⊢  
  : , : , :
152theorem  ⊢  
 proveit.numbers.number_sets.integers.nat_within_int
153theorem  ⊢  
 proveit.numbers.numerals.decimals.nat1
154theorem  ⊢  
 proveit.logic.sets.inclusion.superset_membership_from_proper_subset
155theorem  ⊢  
 proveit.numbers.number_sets.integers.nat_pos_within_int
156assumption  ⊢  
*equality replacement requirements