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*  ⊢  
  : , : , :
1axiom  ⊢  
 proveit.logic.equality.substitution
2modus ponens6, 7  ⊢  
3instantiation8, 80  ⊢  
  : , :
4instantiation8, 80  ⊢  
  : , :
5instantiation9, 10  ⊢  
  : , :
6instantiation11, 17  ⊢  
  : , : , : , : , : , : , :
7generalization12  ⊢  
8theorem  ⊢  
 proveit.core_expr_types.conditionals.satisfied_condition_reduction
9theorem  ⊢  
 proveit.logic.equality.equals_reversal
10modus ponens13, 14  ⊢  
11theorem  ⊢  
 proveit.core_expr_types.lambda_maps.general_lambda_substitution
12instantiation15, 94, 80,  ⊢  
  : , :
13instantiation16, 97, 17, 56, 18, 57  ⊢  
  : , : , : , : , : , : , : , : , : , : , :
14generalization19  ⊢  
15theorem  ⊢  
 proveit.physics.quantum.algebra.prepend_num_ket_with_zero_ket
16theorem  ⊢  
 proveit.linear_algebra.tensors.tensor_prod_distribution_over_summation_with_scalar_mult
17theorem  ⊢  
 proveit.numbers.numerals.decimals.posnat1
18instantiation20, 27, 22, 23, 29  ⊢  
  : , : , :
19instantiation21, 27, 22, 23, 29, 24, 25, 26,  ⊢  
  : , : , : , :
20theorem  ⊢  
 proveit.linear_algebra.tensors.tensor_prod_of_vec_spaces_is_vec_space
21theorem  ⊢  
 proveit.linear_algebra.tensors.tensor_prod_is_in_tensor_prod_space
22instantiation66  ⊢  
  : , :
23instantiation32, 27  ⊢  
  :
24instantiation66  ⊢  
  : , :
25theorem  ⊢  
 proveit.physics.quantum.algebra.ket_zero_in_qubit_space
26instantiation28, 29, 30, 31,  ⊢  
  : , : , : , :
27theorem  ⊢  
 proveit.numbers.numerals.decimals.posnat2
28theorem  ⊢  
 proveit.linear_algebra.scalar_multiplication.scalar_mult_closure
29instantiation32, 33  ⊢  
  :
30instantiation34, 35, 36,  ⊢  
  : , :
31instantiation37, 94, 80,  ⊢  
  : , :
32theorem  ⊢  
 proveit.linear_algebra.complex_vec_set_is_vec_space
33instantiation38, 92, 89  ⊢  
  : , :
34theorem  ⊢  
 proveit.numbers.exponentiation.exp_complex_closure
35instantiation95, 70, 39  ⊢  
  : , : , :
36instantiation47, 40, 41,  ⊢  
  : , : , :
37theorem  ⊢  
 proveit.physics.quantum.algebra.num_ket_in_register_space
38theorem  ⊢  
 proveit.numbers.exponentiation.exp_natpos_closure
39instantiation95, 75, 42  ⊢  
  : , : , :
40instantiation63, 50, 43,  ⊢  
  : , :
41instantiation44, 45, 46,  ⊢  
  : , : , :
42theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.e_is_real_pos
43instantiation47, 48, 49,  ⊢  
  : , : , :
44axiom  ⊢  
 proveit.logic.equality.equals_transitivity
45instantiation55, 97, 51, 56, 53, 57, 50, 64, 65, 59,  ⊢  
  : , : , : , : , : , :
46instantiation55, 56, 92, 51, 57, 52, 53, 60, 61, 64, 65, 59,  ⊢  
  : , : , : , : , : , :
47theorem  ⊢  
 proveit.logic.equality.sub_right_side_into
48instantiation63, 54, 59,  ⊢  
  : , :
49instantiation55, 56, 92, 97, 57, 58, 64, 65, 59,  ⊢  
  : , : , : , : , : , :
50instantiation63, 60, 61  ⊢  
  : , :
51theorem  ⊢  
 proveit.numbers.numerals.decimals.nat3
52instantiation66  ⊢  
  : , :
53instantiation62  ⊢  
  : , : , :
54instantiation63, 64, 65  ⊢  
  : , :
55theorem  ⊢  
 proveit.numbers.multiplication.disassociation
56axiom  ⊢  
 proveit.numbers.number_sets.natural_numbers.zero_in_nats
57theorem  ⊢  
 proveit.core_expr_types.tuples.tuple_len_0_typical_eq
58instantiation66  ⊢  
  : , :
59instantiation95, 70, 67,  ⊢  
  : , : , :
60instantiation95, 70, 68  ⊢  
  : , : , :
61instantiation95, 70, 69  ⊢  
  : , : , :
62theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_3_typical_eq
63theorem  ⊢  
 proveit.numbers.multiplication.mult_complex_closure_bin
64theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.i_is_complex
65instantiation95, 70, 71  ⊢  
  : , : , :
66theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_2_typical_eq
67instantiation95, 73, 72,  ⊢  
  : , : , :
68instantiation95, 73, 74  ⊢  
  : , : , :
69instantiation95, 75, 76  ⊢  
  : , : , :
70theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.real_within_complex
71theorem  ⊢  
 proveit.physics.quantum.QPE._phase_is_real
72instantiation95, 78, 77,  ⊢  
  : , : , :
73theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.rational_within_real
74instantiation95, 78, 88  ⊢  
  : , : , :
75theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.real_pos_within_real
76theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.pi_is_real_pos
77instantiation95, 79, 80,  ⊢  
  : , : , :
78theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.int_within_rational
79instantiation81, 82, 83  ⊢  
  : , :
80assumption  ⊢  
81theorem  ⊢  
 proveit.numbers.number_sets.integers.int_interval_within_int
82theorem  ⊢  
 proveit.numbers.number_sets.integers.zero_is_int
83instantiation84, 85, 86  ⊢  
  : , :
84theorem  ⊢  
 proveit.numbers.addition.add_int_closure_bin
85instantiation87, 88, 89  ⊢  
  : , :
86instantiation90, 91  ⊢  
  :
87theorem  ⊢  
 proveit.numbers.exponentiation.exp_int_closure
88instantiation95, 96, 92  ⊢  
  : , : , :
89instantiation95, 93, 94  ⊢  
  : , : , :
90theorem  ⊢  
 proveit.numbers.negation.int_closure
91instantiation95, 96, 97  ⊢  
  : , : , :
92theorem  ⊢  
 proveit.numbers.numerals.decimals.nat2
93theorem  ⊢  
 proveit.numbers.number_sets.natural_numbers.nat_pos_within_nat
94assumption  ⊢  
95theorem  ⊢  
 proveit.logic.sets.inclusion.superset_membership_from_proper_subset
96theorem  ⊢  
 proveit.numbers.number_sets.integers.nat_within_int
97theorem  ⊢  
 proveit.numbers.numerals.decimals.nat1
*equality replacement requirements