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, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20*  ⊢  
  : , : , : , : , : , :
1theorem  ⊢  
 proveit.physics.quantum.circuits.output_consolidation
2theorem  ⊢  
 proveit.numbers.numerals.decimals.posnat2
3instantiation92  ⊢  
  : , :
4reference85  ⊢  
5reference50  ⊢  
6instantiation92  ⊢  
  : , :
7instantiation21, 22  ⊢  
  : , :
8axiom  ⊢  
 proveit.physics.quantum.QPE._u_ket_register
9instantiation28, 23, 24, 25  ⊢  
  : , : , : , :
10instantiation51, 26  ⊢  
  : , :
11instantiation92  ⊢  
  : , :
12instantiation51, 27  ⊢  
  : , :
13instantiation28, 29, 30, 31  ⊢  
  : , : , : , :
14instantiation57, 82, 106, 43  ⊢  
  : , : , :
15reference46  ⊢  
16reference79  ⊢  
17reference32  ⊢  
18instantiation56, 32, 33  ⊢  
  : , :
19instantiation34, 75, 35, 36, 37, 38  ⊢  
  : , :
20reference43  ⊢  
21theorem  ⊢  
 proveit.logic.booleans.conjunction.left_from_and
22instantiation39, 85  ⊢  
  :
23instantiation40  ⊢  
  : , : , :
24instantiation53  ⊢  
  :
25instantiation51, 41  ⊢  
  : , :
26instantiation42, 45, 43  ⊢  
  : , : , :
27instantiation44, 45, 46  ⊢  
  : , : , :
28theorem  ⊢  
 proveit.logic.equality.four_chain_transitivity
29instantiation47  ⊢  
  : , :
30instantiation53  ⊢  
  :
31instantiation51, 48  ⊢  
  : , :
32instantiation117, 49, 85  ⊢  
  : , : , :
33instantiation117, 49, 50  ⊢  
  : , : , :
34theorem  ⊢  
 proveit.logic.booleans.conjunction.and_if_all
35instantiation88  ⊢  
  : , : , :
36instantiation53  ⊢  
  :
37instantiation51, 52  ⊢  
  : , :
38instantiation53  ⊢  
  :
39theorem  ⊢  
 proveit.physics.quantum.QPE._psi_t_ket_is_normalized_vec
40theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_3
41instantiation58, 54, 55  ⊢  
  : , : , :
42theorem  ⊢  
 proveit.core_expr_types.tuples.partition_front
43instantiation61, 106  ⊢  
  :
44theorem  ⊢  
 proveit.core_expr_types.tuples.partition_back
45instantiation56, 116, 77  ⊢  
  : , :
46instantiation57, 106, 104, 95  ⊢  
  : , : , :
47theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_2
48instantiation58, 59, 60  ⊢  
  : , : , :
49theorem  ⊢  
 proveit.numbers.number_sets.natural_numbers.nat_pos_within_nat
50axiom  ⊢  
 proveit.physics.quantum.QPE._s_in_nat_pos
51theorem  ⊢  
 proveit.logic.equality.equals_reversal
52instantiation61, 62  ⊢  
  :
53axiom  ⊢  
 proveit.logic.equality.equals_reflexivity
54instantiation66, 63  ⊢  
  : , : , :
55instantiation93, 64, 65  ⊢  
  : , : , :
56theorem  ⊢  
 proveit.numbers.addition.add_nat_closure_bin
57theorem  ⊢  
 proveit.numbers.addition.subtraction.subtract_from_add
58theorem  ⊢  
 proveit.logic.equality.sub_right_side_into
59instantiation66, 67  ⊢  
  : , : , :
60instantiation93, 68, 69  ⊢  
  : , : , :
61theorem  ⊢  
 proveit.numbers.addition.elim_zero_left
62instantiation117, 108, 70  ⊢  
  : , : , :
63instantiation74, 75, 71, 116, 77, 119  ⊢  
  : , :
64instantiation102, 101  ⊢  
  : , : , :
65instantiation78, 79, 116, 119, 80, 72, 104, 82, 106, 73*  ⊢  
  : , : , : , : , : , :
66theorem  ⊢  
 proveit.core_expr_types.tuples.range_len
67instantiation74, 75, 76, 119, 77  ⊢  
  : , :
68instantiation102, 101  ⊢  
  : , : , :
69instantiation78, 79, 116, 119, 80, 81, 106, 82, 83*  ⊢  
  : , : , : , : , : , :
70instantiation89, 84, 85  ⊢  
  : , : , :
71instantiation88  ⊢  
  : , : , :
72instantiation92  ⊢  
  : , :
73instantiation93, 86, 87  ⊢  
  : , : , :
74theorem  ⊢  
 proveit.numbers.addition.add_nat_closure
75theorem  ⊢  
 proveit.numbers.numerals.decimals.nat3
76instantiation88  ⊢  
  : , : , :
77instantiation89, 90, 91  ⊢  
  : , : , :
78theorem  ⊢  
 proveit.numbers.addition.association
79axiom  ⊢  
 proveit.numbers.number_sets.natural_numbers.zero_in_nats
80theorem  ⊢  
 proveit.core_expr_types.tuples.tuple_len_0_typical_eq
81instantiation92  ⊢  
  : , :
82theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.zero_is_complex
83instantiation93, 94, 95  ⊢  
  : , : , :
84instantiation98, 96  ⊢  
  : , :
85assumption  ⊢  
86instantiation102, 97  ⊢  
  : , : , :
87theorem  ⊢  
 proveit.numbers.numerals.decimals.add_2_1
88theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_3_typical_eq
89theorem  ⊢  
 proveit.logic.sets.inclusion.unfold_subset_eq
90instantiation98, 99  ⊢  
  : , :
91instantiation100, 101  ⊢  
  : , :
92theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_2_typical_eq
93axiom  ⊢  
 proveit.logic.equality.equals_transitivity
94instantiation102, 103  ⊢  
  : , : , :
95theorem  ⊢  
 proveit.numbers.numerals.decimals.add_1_1
96theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.nat_pos_within_real
97instantiation105, 104  ⊢  
  :
98theorem  ⊢  
 proveit.logic.sets.inclusion.relax_proper_subset
99theorem  ⊢  
 proveit.numbers.number_sets.natural_numbers.zero_set_within_nat
100theorem  ⊢  
 proveit.logic.sets.enumeration.fold_singleton
101theorem  ⊢  
 proveit.numbers.negation.negated_zero
102axiom  ⊢  
 proveit.logic.equality.substitution
103instantiation105, 106  ⊢  
  :
104instantiation117, 108, 107  ⊢  
  : , : , :
105theorem  ⊢  
 proveit.numbers.addition.elim_zero_right
106instantiation117, 108, 109  ⊢  
  : , : , :
107instantiation117, 111, 110  ⊢  
  : , : , :
108theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.real_within_complex
109instantiation117, 111, 112  ⊢  
  : , : , :
110instantiation117, 114, 113  ⊢  
  : , : , :
111theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.rational_within_real
112instantiation117, 114, 115  ⊢  
  : , : , :
113instantiation117, 118, 116  ⊢  
  : , : , :
114theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.int_within_rational
115instantiation117, 118, 119  ⊢  
  : , : , :
116theorem  ⊢  
 proveit.numbers.numerals.decimals.nat2
117theorem  ⊢  
 proveit.logic.sets.inclusion.superset_membership_from_proper_subset
118theorem  ⊢  
 proveit.numbers.number_sets.integers.nat_within_int
119theorem  ⊢  
 proveit.numbers.numerals.decimals.nat1
*equality replacement requirements