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
0modus ponens1, 2  ⊢  
1instantiation3  ⊢  
  :
2instantiation33, 4, 5  ⊢  
  : , :
3theorem  ⊢  
 proveit.numbers.number_sets.natural_numbers.fold_forall_natural_pos
4generalization6  ⊢  
5generalization7  ⊢  
6instantiation22, 8, 9  ⊢  
  : , :
7instantiation15, 10, 11, ,  ⊢  
  : , : , :
8instantiation33, 12, 13  ⊢  
  : , :
9instantiation14  ⊢  
  : , : , : , :
10instantiation15, 16, 17, ,  ⊢  
  : , : , :
11instantiation25, 18  ⊢  
  : , : , :
12axiom  ⊢  
 proveit.logic.booleans.true_axiom
13assumption  ⊢  
14instantiation36, 53, 19*, 20*, 21*  ⊢  
  :
15theorem  ⊢  
 proveit.logic.equality.sub_right_side_into
16instantiation22, 23, 24, ,  ⊢  
  : , :
17instantiation25, 26  ⊢  
  : , : , :
18instantiation74, 75  ⊢  
  : , :
19instantiation28, 53, 82, 54, 27, 41  ⊢  
  : , : , : , : , : , : , :
20instantiation28, 53, 82, 54, 29, 42  ⊢  
  : , : , : , : , : , : , :
21instantiation30, 31, 32  ⊢  
  : , : , :
22theorem  ⊢  
 proveit.logic.equality.lhs_via_equality
23instantiation33, 34, 35, ,  ⊢  
  : , :
24instantiation36, 75  ⊢  
  : , : , : , : , :
25theorem  ⊢  
 proveit.core_expr_types.tuples.merge_extension
26instantiation74, 75  ⊢  
  : , :
27instantiation66, 53  ⊢  
  : , :
28theorem  ⊢  
 proveit.core_expr_types.tuples.tuple_portion_substitution
29instantiation66, 53  ⊢  
  : , :
30axiom  ⊢  
 proveit.logic.equality.equals_transitivity
31instantiation37, 38, 39, 40, 41, 42  ⊢  
  : , : , : , :
32instantiation43, 44  ⊢  
  :
33theorem  ⊢  
 proveit.logic.booleans.conjunction.and_if_both
34instantiation45, 46, ,  ⊢  
  : , :
35instantiation47, 75, 53, 55, 54, 56,  ⊢  
  : , : , : , : , :
36axiom  ⊢  
 proveit.core_expr_types.tuples.tuple_eq_def
37axiom  ⊢  
 proveit.core_expr_types.operations.operands_substitution
38theorem  ⊢  
 proveit.numbers.numerals.decimals.nat2
39instantiation48  ⊢  
  : , :
40instantiation48  ⊢  
  : , :
41instantiation49, 50  ⊢  
  : , : , :
42instantiation49, 50  ⊢  
  : , : , :
43axiom  ⊢  
 proveit.logic.booleans.eq_true_intro
44instantiation51  ⊢  
  :
45assumption  ⊢  
46instantiation52, 53, 75, 82, 54, 55, 56,  ⊢  
  : , : , : , : , : , :
47theorem  ⊢  
 proveit.logic.booleans.conjunction.any_from_and
48theorem  ⊢  
 proveit.numbers.numerals.decimals.tuple_len_2_typical_eq
49axiom  ⊢  
 proveit.core_expr_types.tuples.empty_range_def
50instantiation57, 58  ⊢  
  :
51axiom  ⊢  
 proveit.logic.equality.equals_reflexivity
52theorem  ⊢  
 proveit.logic.booleans.conjunction.some_from_and
53axiom  ⊢  
 proveit.numbers.number_sets.natural_numbers.zero_in_nats
54theorem  ⊢  
 proveit.core_expr_types.tuples.tuple_len_0_typical_eq
55instantiation66, 75  ⊢  
  : , :
56instantiation59, 67, 60, 61, 62, 63,  ⊢  
  : , : , : , :
57theorem  ⊢  
 proveit.numbers.addition.elim_zero_left
58instantiation80, 64, 65  ⊢  
  : , : , :
59theorem  ⊢  
 proveit.logic.equality.sub_in_right_operands_via_tuple
60instantiation66, 67  ⊢  
  : , :
61instantiation68, 75  ⊢  
  : , : , :
62assumption  ⊢  
63instantiation69, 70  ⊢  
  : , : , :
64theorem  ⊢  
 proveit.numbers.number_sets.complex_numbers.real_within_complex
65instantiation80, 71, 72  ⊢  
  : , : , :
66theorem  ⊢  
 proveit.core_expr_types.tuples.range_from1_len_typical_eq
67instantiation73, 75, 82  ⊢  
  : , :
68theorem  ⊢  
 proveit.core_expr_types.tuples.extended_range_from1_len_typical_eq
69axiom  ⊢  
 proveit.core_expr_types.tuples.range_extension_def
70instantiation74, 75  ⊢  
  : , :
71theorem  ⊢  
 proveit.numbers.number_sets.real_numbers.rational_within_real
72instantiation80, 76, 77  ⊢  
  : , : , :
73theorem  ⊢  
 proveit.numbers.addition.add_nat_closure_bin
74theorem  ⊢  
 proveit.core_expr_types.tuples.range_from1_len_is_nat
75instantiation80, 78, 79  ⊢  
  : , : , :
76theorem  ⊢  
 proveit.numbers.number_sets.rational_numbers.int_within_rational
77instantiation80, 81, 82  ⊢  
  : , : , :
78theorem  ⊢  
 proveit.numbers.number_sets.natural_numbers.nat_pos_within_nat
79assumption  ⊢  
80theorem  ⊢  
 proveit.logic.sets.inclusion.superset_membership_from_proper_subset
81theorem  ⊢  
 proveit.numbers.number_sets.integers.nat_within_int
82theorem  ⊢  
 proveit.numbers.numerals.decimals.nat1
*equality replacement requirements