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, , , ,  ⊢  
  : , :
1theorem  ⊢  
 proveit.numbers.absolute_value.generalized_triangle_inequality
2instantiation9, 57, 83, 59, 63, 66, 10  ⊢  
  : , : , : , : , :
3reference13  ⊢  
4instantiation11, 12, 13, 14  ⊢  
  : , : , : , :
5assumption  ⊢  
6assumption  ⊢  
7assumption  ⊢  
8assumption  ⊢  
9theorem  ⊢  
 proveit.numbers.addition.add_nat_pos_from_nonneg
10instantiation15, 16  ⊢  
  :
11theorem  ⊢  
 proveit.logic.equality.four_chain_transitivity
12instantiation17, 18, 19, 20, 37, 21, 22, 23*  ⊢  
  : , : , : , :
13instantiation24, 25, 50  ⊢  
  : , :
14instantiation26, 27  ⊢  
  : , :
15theorem  ⊢  
 proveit.numbers.number_sets.natural_numbers.natural_pos_is_pos
16theorem  ⊢  
 proveit.numbers.numerals.decimals.posnat3
17theorem  ⊢  
 proveit.core_expr_types.tuples.general_len
18theorem  ⊢  
 proveit.numbers.numerals.decimals.posnat4
19instantiation44  ⊢  
  : , : , : , :
20instantiation44  ⊢  
  : , : , : , :
21instantiation28, 83, 38  ⊢  
  : , : , :
22instantiation28, 66, 39  ⊢  
  : , : , :
23instantiation70, 29, 30  ⊢  
  : , : , :
24theorem  ⊢  
 proveit.numbers.addition.commutation
25instantiation81, 68, 31  ⊢  
  : , : , :
26theorem  ⊢  
 proveit.logic.equality.equals_reversal
27instantiation32, 33  ⊢  
  : , :
28theorem  ⊢  
 proveit.logic.equality.sub_left_side_into
29instantiation34, 35, 36, 37, 38, 39  ⊢  
  : , : , : , :
30instantiation70, 40, 41  ⊢  
  : , : , :
31instantiation81, 75, 42  ⊢  
  : , : , :
32theorem  ⊢  
 proveit.core_expr_types.tuples.range_from1_len
33instantiation43, 66, 63  ⊢  
  : , :
34axiom  ⊢  
 proveit.core_expr_types.operations.operands_substitution
35theorem  ⊢  
 proveit.numbers.numerals.decimals.nat4
36instantiation44  ⊢  
  : , : , : , :
37instantiation44  ⊢  
  : , : , : , :
38instantiation45, 61, 47  ⊢  
  : , : , :
39instantiation46, 61, 50, 47  ⊢  
  : , : , :
40instantiation48, 58, 83, 57, 60, 59, 61, 50  ⊢  
  : , : , : , : , : , : , :
41instantiation56, 57, 63, 83, 59, 49, 61, 50, 51*  ⊢  
  : , : , : , : , : , :
42instantiation81, 79, 52  ⊢  
  : , : , :
43theorem  ⊢  
 proveit.numbers.addition.add_nat_closure_bin
44theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_4_typical_eq
45theorem  ⊢  
 proveit.numbers.addition.subtraction.add_cancel_triple_12
46theorem  ⊢  
 proveit.numbers.addition.subtraction.add_cancel_triple_32
47instantiation53  ⊢  
  :
48theorem  ⊢  
 proveit.numbers.addition.leftward_commutation
49instantiation54  ⊢  
  : , : , :
50instantiation81, 68, 55  ⊢  
  : , : , :
51instantiation56, 57, 58, 83, 59, 60, 61, 62*  ⊢  
  : , : , : , : , : , :
52instantiation81, 82, 63  ⊢  
  : , : , :
53axiom  ⊢  
 proveit.logic.equality.equals_reflexivity
54theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_3_typical_eq
55instantiation64, 65, 66  ⊢  
  : , : , :
56theorem  ⊢  
 proveit.numbers.addition.association
57axiom  ⊢  
 proveit.numbers.number_sets.natural_numbers.zero_in_nats
58theorem  ⊢  
 proveit.numbers.numerals.decimals.nat2
59theorem  ⊢  
 proveit.core_expr_types.tuples.tuple_len_0_typical_eq
60instantiation67  ⊢  
  : , :
61instantiation81, 68, 69  ⊢  
  : , : , :
62instantiation70, 71, 72  ⊢  
  : , : , :
63theorem  ⊢  
 proveit.numbers.numerals.decimals.nat3
64theorem  ⊢  
 proveit.logic.sets.inclusion.unfold_subset_eq
65instantiation73, 74  ⊢  
  : , :
66assumption  ⊢  
67theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_2_typical_eq
68theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.real_within_complex
69instantiation81, 75, 76  ⊢  
  : , : , :
70axiom  ⊢  
 proveit.logic.equality.equals_transitivity
71instantiation77, 78  ⊢  
  : , : , :
72theorem  ⊢  
 proveit.numbers.numerals.decimals.add_2_1
73theorem  ⊢  
 proveit.logic.sets.inclusion.relax_proper_subset
74theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.nat_within_real
75theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.rational_within_real
76instantiation81, 79, 80  ⊢  
  : , : , :
77axiom  ⊢  
 proveit.logic.equality.substitution
78theorem  ⊢  
 proveit.numbers.numerals.decimals.add_1_1
79theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.int_within_rational
80instantiation81, 82, 83  ⊢  
  : , : , :
81theorem  ⊢  
 proveit.logic.sets.inclusion.superset_membership_from_proper_subset
82theorem  ⊢  
 proveit.numbers.number_sets.integers.nat_within_int
83theorem  ⊢  
 proveit.numbers.numerals.decimals.nat1
*equality replacement requirements