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