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  ⊢  
  : , : , : , :
1theorem  ⊢  
 proveit.logic.equality.four_chain_transitivity
2instantiation9, 5, 6*, 7*  ⊢  
  : , : , :
3instantiation16, 8  ⊢  
  : , :
4instantiation9, 10  ⊢  
  : , : , :
5modus ponens11, 12  ⊢  
6instantiation13, 108  ⊢  
  : , :
7instantiation13, 108  ⊢  
  : , :
8modus ponens14, 15  ⊢  
9axiom  ⊢  
 proveit.logic.equality.substitution
10instantiation16, 17  ⊢  
  : , :
11instantiation18, 29  ⊢  
  : , : , : , : , : , : , :
12generalization19  ⊢  
13theorem  ⊢  
 proveit.core_expr_types.conditionals.satisfied_condition_reduction
14instantiation20, 29, 38, 26  ⊢  
  : , : , : , : , : , : , : , :
15modus ponens21, 22  ⊢  
16theorem  ⊢  
 proveit.logic.equality.equals_reversal
17modus ponens23, 24  ⊢  
18theorem  ⊢  
 proveit.core_expr_types.lambda_maps.general_lambda_substitution
19instantiation25, 41, 26,  ⊢  
  : , :
20theorem  ⊢  
 proveit.linear_algebra.scalar_multiplication.distribution_over_vec_sum_with_scalar_mult
21instantiation27, 29, 38  ⊢  
  : , : , : , : , : , :
22generalization33  ⊢  
23instantiation28, 125, 29, 84, 38, 85  ⊢  
  : , : , : , : , : , : , : , : , : , : , :
24generalization30  ⊢  
25theorem  ⊢  
 proveit.numbers.multiplication.commutation
26instantiation53, 54, 31  ⊢  
  : , :
27theorem  ⊢  
 proveit.linear_algebra.addition.summation_closure
28theorem  ⊢  
 proveit.linear_algebra.tensors.tensor_prod_distribution_over_summation_with_scalar_mult
29theorem  ⊢  
 proveit.numbers.numerals.decimals.posnat1
30instantiation32, 33, 34,  ⊢  
  : , : , :
31instantiation74, 35, 36  ⊢  
  : , : , :
32theorem  ⊢  
 proveit.logic.equality.sub_left_side_into
33instantiation37, 38, 41, 39,  ⊢  
  : , : , : , :
34instantiation40, 41, 125, 84, 85, 48, 49, 51, 52,  ⊢  
  : , : , : , : , : , : , : , : , : , :
35instantiation91, 77, 42  ⊢  
  : , :
36instantiation70, 43, 44  ⊢  
  : , : , :
37theorem  ⊢  
 proveit.linear_algebra.scalar_multiplication.scalar_mult_closure
38instantiation45, 59, 47, 48, 49  ⊢  
  : , : , :
39instantiation46, 59, 47, 48, 49, 50, 51, 52,  ⊢  
  : , : , : , :
40theorem  ⊢  
 proveit.linear_algebra.tensors.factor_scalar_from_tensor_prod
41instantiation53, 54, 55,  ⊢  
  : , :
42instantiation74, 56, 57  ⊢  
  : , : , :
43instantiation83, 125, 78, 84, 58, 85, 77, 92, 93, 66  ⊢  
  : , : , : , : , : , :
44instantiation83, 84, 120, 78, 85, 79, 58, 88, 89, 92, 93, 66  ⊢  
  : , : , : , : , : , :
45theorem  ⊢  
 proveit.linear_algebra.tensors.tensor_prod_of_vec_spaces_is_vec_space
46theorem  ⊢  
 proveit.linear_algebra.tensors.tensor_prod_is_in_tensor_prod_space
47instantiation94  ⊢  
  : , :
48instantiation60, 59  ⊢  
  :
49instantiation60, 61  ⊢  
  :
50instantiation94  ⊢  
  : , :
51theorem  ⊢  
 proveit.physics.quantum.algebra.ket_one_in_qubit_space
52instantiation62, 122, 108,  ⊢  
  : , :
53theorem  ⊢  
 proveit.numbers.exponentiation.exp_complex_closure
54instantiation123, 98, 63  ⊢  
  : , : , :
55instantiation74, 64, 65,  ⊢  
  : , : , :
56instantiation91, 82, 66  ⊢  
  : , :
57instantiation83, 84, 120, 125, 85, 86, 92, 93, 66  ⊢  
  : , : , : , : , : , :
58instantiation90  ⊢  
  : , : , :
59theorem  ⊢  
 proveit.numbers.numerals.decimals.posnat2
60theorem  ⊢  
 proveit.linear_algebra.complex_vec_set_is_vec_space
61instantiation67, 120, 117  ⊢  
  : , :
62theorem  ⊢  
 proveit.physics.quantum.algebra.num_ket_in_register_space
63instantiation123, 103, 68  ⊢  
  : , : , :
64instantiation91, 77, 69,  ⊢  
  : , :
65instantiation70, 71, 72,  ⊢  
  : , : , :
66instantiation123, 98, 73  ⊢  
  : , : , :
67theorem  ⊢  
 proveit.numbers.exponentiation.exp_natpos_closure
68theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.e_is_real_pos
69instantiation74, 75, 76,  ⊢  
  : , : , :
70axiom  ⊢  
 proveit.logic.equality.equals_transitivity
71instantiation83, 125, 78, 84, 80, 85, 77, 92, 93, 87,  ⊢  
  : , : , : , : , : , :
72instantiation83, 84, 120, 78, 85, 79, 80, 88, 89, 92, 93, 87,  ⊢  
  : , : , : , : , : , :
73instantiation123, 101, 81  ⊢  
  : , : , :
74theorem  ⊢  
 proveit.logic.equality.sub_right_side_into
75instantiation91, 82, 87,  ⊢  
  : , :
76instantiation83, 84, 120, 125, 85, 86, 92, 93, 87,  ⊢  
  : , : , : , : , : , :
77instantiation91, 88, 89  ⊢  
  : , :
78theorem  ⊢  
 proveit.numbers.numerals.decimals.nat3
79instantiation94  ⊢  
  : , :
80instantiation90  ⊢  
  : , : , :
81instantiation123, 106, 113  ⊢  
  : , : , :
82instantiation91, 92, 93  ⊢  
  : , :
83theorem  ⊢  
 proveit.numbers.multiplication.disassociation
84axiom  ⊢  
 proveit.numbers.number_sets.natural_numbers.zero_in_nats
85theorem  ⊢  
 proveit.core_expr_types.tuples.tuple_len_0_typical_eq
86instantiation94  ⊢  
  : , :
87instantiation123, 98, 95,  ⊢  
  : , : , :
88instantiation123, 98, 96  ⊢  
  : , : , :
89instantiation123, 98, 97  ⊢  
  : , : , :
90theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_3_typical_eq
91theorem  ⊢  
 proveit.numbers.multiplication.mult_complex_closure_bin
92theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.i_is_complex
93instantiation123, 98, 99  ⊢  
  : , : , :
94theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_2_typical_eq
95instantiation123, 101, 100,  ⊢  
  : , : , :
96instantiation123, 101, 102  ⊢  
  : , : , :
97instantiation123, 103, 104  ⊢  
  : , : , :
98theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.real_within_complex
99theorem  ⊢  
 proveit.physics.quantum.QPE._phase_is_real
100instantiation123, 106, 105,  ⊢  
  : , : , :
101theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.rational_within_real
102instantiation123, 106, 116  ⊢  
  : , : , :
103theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.real_pos_within_real
104theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.pi_is_real_pos
105instantiation123, 107, 108,  ⊢  
  : , : , :
106theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.int_within_rational
107instantiation109, 110, 111  ⊢  
  : , :
108assumption  ⊢  
109theorem  ⊢  
 proveit.numbers.number_sets.integers.int_interval_within_int
110theorem  ⊢  
 proveit.numbers.number_sets.integers.zero_is_int
111instantiation112, 113, 114  ⊢  
  : , :
112theorem  ⊢  
 proveit.numbers.addition.add_int_closure_bin
113instantiation115, 116, 117  ⊢  
  : , :
114instantiation118, 119  ⊢  
  :
115theorem  ⊢  
 proveit.numbers.exponentiation.exp_int_closure
116instantiation123, 124, 120  ⊢  
  : , : , :
117instantiation123, 121, 122  ⊢  
  : , : , :
118theorem  ⊢  
 proveit.numbers.negation.int_closure
119instantiation123, 124, 125  ⊢  
  : , : , :
120theorem  ⊢  
 proveit.numbers.numerals.decimals.nat2
121theorem  ⊢  
 proveit.numbers.number_sets.natural_numbers.nat_pos_within_nat
122assumption  ⊢  
123theorem  ⊢  
 proveit.logic.sets.inclusion.superset_membership_from_proper_subset
124theorem  ⊢  
 proveit.numbers.number_sets.integers.nat_within_int
125theorem  ⊢  
 proveit.numbers.numerals.decimals.nat1
*equality replacement requirements