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  ⊢  
  : , : , :
1reference56  ⊢  
2instantiation4, 44, 45, 5, 6  ⊢  
  : , : , : , :
3instantiation19, 7, 8  ⊢  
  : , : , :
4theorem  ⊢  
 proveit.physics.quantum.algebra.qmult_op_ket_in_QmultCodomain
5instantiation43, 44, 45, 9  ⊢  
  : , : , :
6modus ponens10, 11  ⊢  
7theorem  ⊢  
 proveit.numbers.numerals.decimals.posnat3
8instantiation83  ⊢  
  : , : , :
9instantiation56, 12, 13  ⊢  
  : , : , :
10instantiation14, 153, 22  ⊢  
  : , : , : , : , : , :
11generalization15  ⊢  
12instantiation16, 44, 45, 17, 18  ⊢  
  : , : , : , : , :
13instantiation19, 155, 20  ⊢  
  : , : , :
14theorem  ⊢  
 proveit.linear_algebra.addition.summation_closure
15instantiation21, 22, 23, 24  ⊢  
  : , : , : , :
16theorem  ⊢  
 proveit.physics.quantum.algebra.qmult_op_op_is_op
17instantiation43, 44, 45, 25  ⊢  
  : , : , :
18instantiation26, 60, 27  ⊢  
  : , : , :
19axiom  ⊢  
 proveit.physics.quantum.algebra.multi_qmult_def
20instantiation92  ⊢  
  : , :
21theorem  ⊢  
 proveit.linear_algebra.scalar_multiplication.scalar_mult_closure
22instantiation28, 60  ⊢  
  :
23instantiation54, 29, 30  ⊢  
  : , :
24instantiation31, 157, 117  ⊢  
  : , :
25instantiation32, 33, 44, 45, 34  ⊢  
  : , : , : , :
26theorem  ⊢  
 proveit.physics.quantum.algebra.qmult_matrix_is_linmap
27instantiation122, 35, 36  ⊢  
  : , : , :
28theorem  ⊢  
 proveit.linear_algebra.complex_vec_set_is_vec_space
29instantiation159, 130, 37  ⊢  
  : , : , :
30instantiation63, 38, 39  ⊢  
  : , : , :
31theorem  ⊢  
 proveit.physics.quantum.algebra.num_ket_in_register_space
32theorem  ⊢  
 proveit.physics.quantum.algebra.qmult_op_complex_closure
33instantiation71, 40, 41, 42  ⊢  
  : , :
34instantiation43, 44, 45, 46  ⊢  
  : , : , :
35instantiation47, 60  ⊢  
  :
36instantiation48, 157  ⊢  
  :
37instantiation159, 103, 49  ⊢  
  : , : , :
38instantiation89, 66, 50  ⊢  
  : , :
39instantiation98, 51, 52  ⊢  
  : , : , :
40instantiation159, 130, 53  ⊢  
  : , : , :
41instantiation54, 121, 55  ⊢  
  : , :
42instantiation56, 57, 58  ⊢  
  : , : , :
43theorem  ⊢  
 proveit.physics.quantum.algebra.qmult_op_is_linmap
44instantiation59, 60  ⊢  
  :
45theorem  ⊢  
 proveit.linear_algebra.inner_products.complex_set_is_hilbert_space
46instantiation61, 157, 62  ⊢  
  : , :
47theorem  ⊢  
 proveit.linear_algebra.matrices.unitaries_are_matrices
48theorem  ⊢  
 proveit.physics.quantum.QFT.invFT_is_unitary
49theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.e_is_real_pos
50instantiation63, 64, 65  ⊢  
  : , : , :
51instantiation77, 158, 67, 78, 69, 79, 66, 90, 91, 81  ⊢  
  : , : , : , : , : , :
52instantiation77, 78, 161, 67, 79, 68, 69, 121, 82, 90, 91, 81  ⊢  
  : , : , : , : , : , :
53instantiation159, 141, 70  ⊢  
  : , : , :
54theorem  ⊢  
 proveit.numbers.exponentiation.exp_complex_closure
55instantiation71, 108, 121, 87  ⊢  
  : , :
56theorem  ⊢  
 proveit.logic.equality.sub_left_side_into
57instantiation72, 129, 73  ⊢  
  : , :
58instantiation105, 74  ⊢  
  : , : , :
59theorem  ⊢  
 proveit.linear_algebra.inner_products.complex_vec_set_is_hilbert_space
60instantiation75, 161, 147  ⊢  
  : , :
61theorem  ⊢  
 proveit.physics.quantum.algebra.num_bra_is_lin_map
62assumption  ⊢  
63theorem  ⊢  
 proveit.logic.equality.sub_right_side_into
64instantiation89, 76, 81  ⊢  
  : , :
65instantiation77, 78, 161, 158, 79, 80, 90, 91, 81  ⊢  
  : , : , : , : , : , :
66instantiation89, 121, 82  ⊢  
  : , :
67theorem  ⊢  
 proveit.numbers.numerals.decimals.nat3
68instantiation92  ⊢  
  : , :
69instantiation83  ⊢  
  : , : , :
70instantiation159, 151, 149  ⊢  
  : , : , :
71theorem  ⊢  
 proveit.numbers.division.div_complex_closure
72theorem  ⊢  
 proveit.numbers.exponentiation.exp_rational_non_zero__not_zero
73instantiation159, 84, 85  ⊢  
  : , : , :
74instantiation86, 108, 121, 87, 88*  ⊢  
  : , :
75theorem  ⊢  
 proveit.numbers.exponentiation.exp_natpos_closure
76instantiation89, 90, 91  ⊢  
  : , :
77theorem  ⊢  
 proveit.numbers.multiplication.disassociation
78axiom  ⊢  
 proveit.numbers.number_sets.natural_numbers.zero_in_nats
79theorem  ⊢  
 proveit.core_expr_types.tuples.tuple_len_0_typical_eq
80instantiation92  ⊢  
  : , :
81instantiation159, 130, 93  ⊢  
  : , : , :
82instantiation159, 130, 94  ⊢  
  : , : , :
83theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_3_typical_eq
84theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.rational_pos_within_rational_nonzero
85instantiation95, 135, 96  ⊢  
  : , :
86theorem  ⊢  
 proveit.numbers.division.div_as_mult
87instantiation97, 155  ⊢  
  :
88instantiation98, 99, 100  ⊢  
  : , : , :
89theorem  ⊢  
 proveit.numbers.multiplication.mult_complex_closure_bin
90theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.i_is_complex
91instantiation159, 130, 101  ⊢  
  : , : , :
92theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_2_typical_eq
93instantiation159, 141, 102  ⊢  
  : , : , :
94instantiation159, 103, 104  ⊢  
  : , : , :
95theorem  ⊢  
 proveit.numbers.multiplication.mult_rational_pos_closure_bin
96instantiation159, 154, 157  ⊢  
  : , : , :
97theorem  ⊢  
 proveit.numbers.number_sets.natural_numbers.nonzero_if_is_nat_pos
98axiom  ⊢  
 proveit.logic.equality.equals_transitivity
99instantiation105, 106  ⊢  
  : , : , :
100instantiation107, 108, 109  ⊢  
  : , :
101theorem  ⊢  
 proveit.physics.quantum.QPE._phase_is_real
102instantiation159, 151, 110  ⊢  
  : , : , :
103theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.real_pos_within_real
104theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.pi_is_real_pos
105axiom  ⊢  
 proveit.logic.equality.substitution
106instantiation111, 112, 153, 113*  ⊢  
  : , :
107theorem  ⊢  
 proveit.numbers.multiplication.commutation
108instantiation159, 130, 114  ⊢  
  : , : , :
109instantiation159, 130, 115  ⊢  
  : , : , :
110instantiation159, 116, 117  ⊢  
  : , : , :
111theorem  ⊢  
 proveit.numbers.exponentiation.neg_power_as_div
112instantiation159, 118, 119  ⊢  
  : , : , :
113instantiation120, 121  ⊢  
  :
114instantiation122, 123, 157  ⊢  
  : , : , :
115instantiation159, 141, 124  ⊢  
  : , : , :
116instantiation125, 126, 127  ⊢  
  : , :
117assumption  ⊢  
118theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.real_nonzero_within_complex_nonzero
119instantiation159, 128, 129  ⊢  
  : , : , :
120theorem  ⊢  
 proveit.numbers.exponentiation.complex_x_to_first_power_is_x
121instantiation159, 130, 131  ⊢  
  : , : , :
122theorem  ⊢  
 proveit.logic.sets.inclusion.unfold_subset_eq
123instantiation132, 133  ⊢  
  : , :
124instantiation159, 134, 135  ⊢  
  : , : , :
125theorem  ⊢  
 proveit.numbers.number_sets.integers.int_interval_within_int
126theorem  ⊢  
 proveit.numbers.number_sets.integers.zero_is_int
127instantiation136, 137, 138  ⊢  
  : , :
128theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.rational_nonzero_within_real_nonzero
129instantiation159, 139, 140  ⊢  
  : , : , :
130theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.real_within_complex
131instantiation159, 141, 142  ⊢  
  : , : , :
132theorem  ⊢  
 proveit.logic.sets.inclusion.relax_proper_subset
133theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.nat_pos_within_real
134theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.rational_pos_within_rational
135instantiation143, 144, 145  ⊢  
  : , :
136theorem  ⊢  
 proveit.numbers.addition.add_int_closure_bin
137instantiation146, 152, 147  ⊢  
  : , :
138instantiation148, 149  ⊢  
  :
139theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.nonzero_int_within_rational_nonzero
140instantiation159, 150, 155  ⊢  
  : , : , :
141theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.rational_within_real
142instantiation159, 151, 152  ⊢  
  : , : , :
143theorem  ⊢  
 proveit.numbers.division.div_rational_pos_closure
144instantiation159, 154, 153  ⊢  
  : , : , :
145instantiation159, 154, 155  ⊢  
  : , : , :
146theorem  ⊢  
 proveit.numbers.exponentiation.exp_int_closure
147instantiation159, 156, 157  ⊢  
  : , : , :
148theorem  ⊢  
 proveit.numbers.negation.int_closure
149instantiation159, 160, 158  ⊢  
  : , : , :
150theorem  ⊢  
 proveit.numbers.number_sets.integers.nat_pos_within_nonzero_int
151theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.int_within_rational
152instantiation159, 160, 161  ⊢  
  : , : , :
153theorem  ⊢  
 proveit.numbers.numerals.decimals.posnat1
154theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.nat_pos_within_rational_pos
155theorem  ⊢  
 proveit.numbers.numerals.decimals.posnat2
156theorem  ⊢  
 proveit.numbers.number_sets.natural_numbers.nat_pos_within_nat
157axiom  ⊢  
 proveit.physics.quantum.QPE._t_in_natural_pos
158theorem  ⊢  
 proveit.numbers.numerals.decimals.nat1
159theorem  ⊢  
 proveit.logic.sets.inclusion.superset_membership_from_proper_subset
160theorem  ⊢  
 proveit.numbers.number_sets.integers.nat_within_int
161theorem  ⊢  
 proveit.numbers.numerals.decimals.nat2
*equality replacement requirements