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  ⊢  
  : , : , :
1reference61  ⊢  
2instantiation3, 4, 5, 6  ⊢  
  : , : , : , :
3theorem  ⊢  
 proveit.logic.equality.four_chain_transitivity
4instantiation7, 10, 151, 101, 102, 12  ⊢  
  : , : , : , : , : , :
5instantiation8, 151, 10, 12  ⊢  
  : , : , : , : , :
6instantiation9, 123, 10, 11, 12  ⊢  
  : , : , :
7theorem  ⊢  
 proveit.physics.quantum.algebra.scalar_mult_absorption
8theorem  ⊢  
 proveit.physics.quantum.algebra.qmult_pulling_scalar_out_front
9theorem  ⊢  
 proveit.physics.quantum.algebra.scalar_mult_factorization
10instantiation31, 13, 14, 15  ⊢  
  : , :
11instantiation116  ⊢  
  : , :
12instantiation16, 17, 18, 19  ⊢  
  : , : , : , :
13instantiation149, 124, 20  ⊢  
  : , : , :
14instantiation57, 105, 21  ⊢  
  : , :
15instantiation22, 23, 24  ⊢  
  : , : , :
16theorem  ⊢  
 proveit.physics.quantum.algebra.qmult_op_ket_in_QmultCodomain
17instantiation25, 56  ⊢  
  :
18instantiation26, 56, 27  ⊢  
  : , : , :
19modus ponens28, 29  ⊢  
20instantiation149, 127, 30  ⊢  
  : , : , :
21instantiation31, 64, 105, 42  ⊢  
  : , :
22theorem  ⊢  
 proveit.logic.equality.sub_left_side_into
23instantiation32, 94, 33  ⊢  
  : , :
24instantiation61, 34  ⊢  
  : , : , :
25theorem  ⊢  
 proveit.linear_algebra.inner_products.complex_vec_set_is_hilbert_space
26theorem  ⊢  
 proveit.physics.quantum.algebra.qmult_matrix_is_linmap
27instantiation83, 35, 36  ⊢  
  : , : , :
28instantiation37, 121, 47  ⊢  
  : , : , : , : , : , :
29generalization38  ⊢  
30instantiation149, 132, 145  ⊢  
  : , : , :
31theorem  ⊢  
 proveit.numbers.division.div_complex_closure
32theorem  ⊢  
 proveit.numbers.exponentiation.exp_rational_non_zero__not_zero
33instantiation149, 39, 40  ⊢  
  : , : , :
34instantiation41, 64, 105, 42, 43*  ⊢  
  : , :
35instantiation44, 56  ⊢  
  :
36instantiation45, 148  ⊢  
  :
37theorem  ⊢  
 proveit.linear_algebra.addition.summation_closure
38instantiation46, 47, 48, 49  ⊢  
  : , : , : , :
39theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.rational_pos_within_rational_nonzero
40instantiation50, 98, 51  ⊢  
  : , :
41theorem  ⊢  
 proveit.numbers.division.div_as_mult
42instantiation52, 123  ⊢  
  :
43instantiation77, 53, 54  ⊢  
  : , : , :
44theorem  ⊢  
 proveit.linear_algebra.matrices.unitaries_are_matrices
45theorem  ⊢  
 proveit.physics.quantum.QFT.invFT_is_unitary
46theorem  ⊢  
 proveit.linear_algebra.scalar_multiplication.scalar_mult_closure
47instantiation55, 56  ⊢  
  :
48instantiation57, 58, 59  ⊢  
  : , :
49instantiation60, 148, 134  ⊢  
  : , :
50theorem  ⊢  
 proveit.numbers.multiplication.mult_rational_pos_closure_bin
51instantiation149, 122, 148  ⊢  
  : , : , :
52theorem  ⊢  
 proveit.numbers.number_sets.natural_numbers.nonzero_if_is_nat_pos
53instantiation61, 62  ⊢  
  : , : , :
54instantiation63, 64, 65  ⊢  
  : , :
55theorem  ⊢  
 proveit.linear_algebra.complex_vec_set_is_vec_space
56instantiation66, 146, 143  ⊢  
  : , :
57theorem  ⊢  
 proveit.numbers.exponentiation.exp_complex_closure
58instantiation149, 124, 67  ⊢  
  : , : , :
59instantiation86, 68, 69  ⊢  
  : , : , :
60theorem  ⊢  
 proveit.physics.quantum.algebra.num_ket_in_register_space
61axiom  ⊢  
 proveit.logic.equality.substitution
62instantiation70, 71, 121, 72*  ⊢  
  : , :
63theorem  ⊢  
 proveit.numbers.multiplication.commutation
64instantiation149, 124, 73  ⊢  
  : , : , :
65instantiation149, 124, 74  ⊢  
  : , : , :
66theorem  ⊢  
 proveit.numbers.exponentiation.exp_natpos_closure
67instantiation149, 129, 75  ⊢  
  : , : , :
68instantiation113, 89, 76  ⊢  
  : , :
69instantiation77, 78, 79  ⊢  
  : , : , :
70theorem  ⊢  
 proveit.numbers.exponentiation.neg_power_as_div
71instantiation149, 80, 81  ⊢  
  : , : , :
72instantiation82, 105  ⊢  
  :
73instantiation83, 84, 148  ⊢  
  : , : , :
74instantiation149, 127, 85  ⊢  
  : , : , :
75theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.e_is_real_pos
76instantiation86, 87, 88  ⊢  
  : , : , :
77axiom  ⊢  
 proveit.logic.equality.equals_transitivity
78instantiation100, 151, 90, 101, 92, 102, 89, 114, 115, 104  ⊢  
  : , : , : , : , : , :
79instantiation100, 101, 146, 90, 102, 91, 92, 105, 106, 114, 115, 104  ⊢  
  : , : , : , : , : , :
80theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.real_nonzero_within_complex_nonzero
81instantiation149, 93, 94  ⊢  
  : , : , :
82theorem  ⊢  
 proveit.numbers.exponentiation.complex_x_to_first_power_is_x
83theorem  ⊢  
 proveit.logic.sets.inclusion.unfold_subset_eq
84instantiation95, 96  ⊢  
  : , :
85instantiation149, 97, 98  ⊢  
  : , : , :
86theorem  ⊢  
 proveit.logic.equality.sub_right_side_into
87instantiation113, 99, 104  ⊢  
  : , :
88instantiation100, 101, 146, 151, 102, 103, 114, 115, 104  ⊢  
  : , : , : , : , : , :
89instantiation113, 105, 106  ⊢  
  : , :
90theorem  ⊢  
 proveit.numbers.numerals.decimals.nat3
91instantiation116  ⊢  
  : , :
92instantiation107  ⊢  
  : , : , :
93theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.rational_nonzero_within_real_nonzero
94instantiation149, 108, 109  ⊢  
  : , : , :
95theorem  ⊢  
 proveit.logic.sets.inclusion.relax_proper_subset
96theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.nat_pos_within_real
97theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.rational_pos_within_rational
98instantiation110, 111, 112  ⊢  
  : , :
99instantiation113, 114, 115  ⊢  
  : , :
100theorem  ⊢  
 proveit.numbers.multiplication.disassociation
101axiom  ⊢  
 proveit.numbers.number_sets.natural_numbers.zero_in_nats
102theorem  ⊢  
 proveit.core_expr_types.tuples.tuple_len_0_typical_eq
103instantiation116  ⊢  
  : , :
104instantiation149, 124, 117  ⊢  
  : , : , :
105instantiation149, 124, 118  ⊢  
  : , : , :
106instantiation149, 124, 119  ⊢  
  : , : , :
107theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_3_typical_eq
108theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.nonzero_int_within_rational_nonzero
109instantiation149, 120, 123  ⊢  
  : , : , :
110theorem  ⊢  
 proveit.numbers.division.div_rational_pos_closure
111instantiation149, 122, 121  ⊢  
  : , : , :
112instantiation149, 122, 123  ⊢  
  : , : , :
113theorem  ⊢  
 proveit.numbers.multiplication.mult_complex_closure_bin
114theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.i_is_complex
115instantiation149, 124, 125  ⊢  
  : , : , :
116theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_2_typical_eq
117instantiation149, 127, 126  ⊢  
  : , : , :
118instantiation149, 127, 128  ⊢  
  : , : , :
119instantiation149, 129, 130  ⊢  
  : , : , :
120theorem  ⊢  
 proveit.numbers.number_sets.integers.nat_pos_within_nonzero_int
121theorem  ⊢  
 proveit.numbers.numerals.decimals.posnat1
122theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.nat_pos_within_rational_pos
123theorem  ⊢  
 proveit.numbers.numerals.decimals.posnat2
124theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.real_within_complex
125theorem  ⊢  
 proveit.physics.quantum.QPE._phase_is_real
126instantiation149, 132, 131  ⊢  
  : , : , :
127theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.rational_within_real
128instantiation149, 132, 142  ⊢  
  : , : , :
129theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.real_pos_within_real
130theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.pi_is_real_pos
131instantiation149, 133, 134  ⊢  
  : , : , :
132theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.int_within_rational
133instantiation135, 136, 137  ⊢  
  : , :
134assumption  ⊢  
135theorem  ⊢  
 proveit.numbers.number_sets.integers.int_interval_within_int
136theorem  ⊢  
 proveit.numbers.number_sets.integers.zero_is_int
137instantiation138, 139, 140  ⊢  
  : , :
138theorem  ⊢  
 proveit.numbers.addition.add_int_closure_bin
139instantiation141, 142, 143  ⊢  
  : , :
140instantiation144, 145  ⊢  
  :
141theorem  ⊢  
 proveit.numbers.exponentiation.exp_int_closure
142instantiation149, 150, 146  ⊢  
  : , : , :
143instantiation149, 147, 148  ⊢  
  : , : , :
144theorem  ⊢  
 proveit.numbers.negation.int_closure
145instantiation149, 150, 151  ⊢  
  : , : , :
146theorem  ⊢  
 proveit.numbers.numerals.decimals.nat2
147theorem  ⊢  
 proveit.numbers.number_sets.natural_numbers.nat_pos_within_nat
148axiom  ⊢  
 proveit.physics.quantum.QPE._t_in_natural_pos
149theorem  ⊢  
 proveit.logic.sets.inclusion.superset_membership_from_proper_subset
150theorem  ⊢  
 proveit.numbers.number_sets.integers.nat_within_int
151theorem  ⊢  
 proveit.numbers.numerals.decimals.nat1
*equality replacement requirements