Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved. Exact original first-admission records.
Statement with defined notation
Le(2 · (11 · 22) + 37,18 · 17 + 11 + (18 · 17 + 11))Every purple notation token opens its conservative definition. Expanding the displayed statement recovers the exact first-order Peano-arithmetic formula checked by the unchanged kernel.
Definitions used by this theorem
In the theorem statement
1 occurrences
In local proof propositions
0 occurrences
Exact expanded native-PA statement
exists bpr_le_gap_bb8c_three_seventeen_five_twenty_one. bpr_le_gap_bb8c_three_seventeen_five_twenty_one + (2 * (11 * 22) + 37) = (18 * 17 + 11 + (18 * 17 + 11))Proof neighborhood
Direct theorem prerequisites
BT000B add_mul BT0007 mul_add BT0008 mul_assoc BT0006 mul_comm BT0003 add_assoc BT0002 add_comm BT0009 one_mul BT011P bertrand_add_six_permuteDirect theorem dependents
Definition-aware tactic body
Only local propositions introduced by have or suffices are compacted. Every changed line has an exact-AST conservative-expansion receipt; the kernel still receives the immutable original tactic script.
Read the argument
Proof checkpoints
This is a reading aid, not a new proof or a proof-tree certificate. Checkpoint groups are consecutive commands, not inferred branch boundaries. Every step links to the preserved script.
Named ingredients (8)
01Establish h22L1–2
02Establish htwoelevenL3–4
03Establish hsquareL5–8
04Establish hproductL9–18
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply add mul.
05Calculate and transport equalitiesL19–19
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L19
congr
06Use earlier factsL20–20
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L20
apply mul_comm
07Calculate and transport equalitiesL21–22
08Establish hBnormL23–32
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mul assoc.
09Use earlier factsL33–33
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L33
apply add_assoc
10Calculate and transport equalitiesL34–34
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L34
trans 17 * 17 + (17 * 5 + ((17 * 5 + 5 * 5) + 37))
11Use earlier factsL35–35
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L35
apply add_assoc
12Calculate and transport equalitiesL36–40
13Use earlier factsL41–41
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L41
apply add_assoc
14Establish htail_bL42–45
15Establish h18L46–47
16Establish hAexpandL48–57
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply add mul.
17Calculate and transport equalitiesL58–58
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L58
refl
18Establish honeL59–62
19Establish h12L63–64
20Establish h7L65–66
21Establish hRexpandL67–76
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mul add.
22Calculate and transport equalitiesL77–78
23Use earlier factsL79–79
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L79
exact h7
24Calculate and transport equalitiesL80–82
25Use earlier factsL83–83
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L83
apply mul_add
26Calculate and transport equalitiesL84–84
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L84
refl
27Establish hRnormL85–94
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply add assoc.
- L85
have hRnorm : (18 * 17 + 11) + (17 * 12) = 17 * 17 + (17 * 5 + (17 * 5 + 2 * 31)) - L86
rewrite hRexpand - L87
rewrite hAexpand - L88
trans (((17 * 17 + 17) + 11) + 17 * 5) + (17 * 5 + 17 * 2) - L89
symm - L90
apply add_assoc - L91
trans ((17 * 17 + 17) + (11 + 17 * 5)) + (17 * 5 + 17 * 2) - L92
congr - L93
apply add_assoc - L94
refl
28Calculate and transport equalitiesL95–95
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L95
trans (17 * 17 + 17 * 5) + ((17 + 11) + (17 * 5 + 17 * 2))
29Use earlier factsL96–96
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L96
apply bertrand_add_six_permute
30Calculate and transport equalitiesL97–97
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L97
trans 17 * 17 + (17 * 5 + ((17 + 11) + (17 * 5 + 17 * 2)))
31Use earlier factsL98–98
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L98
apply add_assoc
32Calculate and transport equalitiesL99–105
33Use earlier factsL106–106
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L106
apply add_assoc
34Calculate and transport equalitiesL107–108
35Use earlier factsL109–109
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L109
apply add_comm
36Calculate and transport equalitiesL110–110
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L110
refl
37Use earlier factsL111–111
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L111
apply add_assoc
38Establish htail_rL112–115
39Establish hcarrierL116–120
40Establish hgapL121–130
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply add assoc.
41Calculate and transport equalitiesL131–133
42Use earlier factsL134–134
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L134
apply mul_comm
43Calculate and transport equalitiesL135–139
44Use earlier factsL140–140
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L140
apply mul_add
45Calculate and transport equalitiesL141–141
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L141
refl
46Establish hsumL142–149
47Construct an explicit witnessL150–150
Supply the displayed value, then prove that it has the required property.
- L150
exists 6 * 17 + 11
48Calculate and transport equalitiesL151–153
49Use earlier factsL154–154
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L154
apply add_assoc
50Calculate and transport equalitiesL155–156
51Use earlier factsL157–157
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L157
apply add_comm
52Calculate and transport equalitiesL158–159
53Use earlier factsL160–160
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L160
apply add_assoc
Original defined command ledger · 162 lines
- 0001
have h22 : 22 = 17 + 5 - 0002
norm_num - 0003
have htwoeleven : 2 * 11 = 22 - 0004
norm_num - 0005
have hsquare : 22 * 22 = (17 + 5) * (17 + 5) - 0006
congr - 0007
exact h22 - 0008
exact h22 - 0009
have hproduct : (17 + 5) * (17 + 5) = (17 * 17 + 17 * 5) + (17 * 5 + 5 * 5) - 0010
trans 17 * (17 + 5) + 5 * (17 + 5) - 0011
apply add_mul - 0012
trans (17 * 17 + 17 * 5) + (5 * 17 + 5 * 5) - 0013
congr - 0014
apply mul_add - 0015
apply mul_add - 0016
trans (17 * 17 + 17 * 5) + (17 * 5 + 5 * 5) - 0017
congr - 0018
refl - 0019
congr - 0020
apply mul_comm - 0021
refl - 0022
refl - 0023
have hBnorm : 2 * (11 * 22) + 37 = 17 * 17 + (17 * 5 + (17 * 5 + 2 * 31)) - 0024
trans (2 * 11) * 22 + 37 - 0025
congr - 0026
symm - 0027
apply mul_assoc - 0028
refl - 0029
rewrite htwoeleven - 0030
rewrite hsquare - 0031
rewrite hproduct - 0032
trans (17 * 17 + 17 * 5) + ((17 * 5 + 5 * 5) + 37) - 0033
apply add_assoc - 0034
trans 17 * 17 + (17 * 5 + ((17 * 5 + 5 * 5) + 37)) - 0035
apply add_assoc - 0036
trans 17 * 17 + (17 * 5 + (17 * 5 + (5 * 5 + 37))) - 0037
congr - 0038
refl - 0039
congr - 0040
refl - 0041
apply add_assoc - 0042
have htail_b : 5 * 5 + 37 = 2 * 31 - 0043
norm_num - 0044
rewrite htail_b - 0045
refl - 0046
have h18 : 18 = 17 + 1 - 0047
norm_num - 0048
have hAexpand : 18 * 17 + 11 = (17 * 17 + 17) + 11 - 0049
trans (17 + 1) * 17 + 11 - 0050
congr - 0051
congr - 0052
exact h18 - 0053
refl - 0054
refl - 0055
trans (17 * 17 + 1 * 17) + 11 - 0056
congr - 0057
apply add_mul - 0058
refl - 0059
have hone : 1 * 17 = 17 - 0060
apply one_mul - 0061
rewrite hone - 0062
refl - 0063
have h12 : 12 = 5 + 7 - 0064
norm_num - 0065
have h7 : 7 = 5 + 2 - 0066
norm_num - 0067
have hRexpand : 17 * 12 = 17 * 5 + (17 * 5 + 17 * 2) - 0068
trans 17 * (5 + 7) - 0069
congr - 0070
refl - 0071
exact h12 - 0072
trans 17 * 5 + 17 * 7 - 0073
apply mul_add - 0074
trans 17 * 5 + 17 * (5 + 2) - 0075
congr - 0076
refl - 0077
congr - 0078
refl - 0079
exact h7 - 0080
trans 17 * 5 + (17 * 5 + 17 * 2) - 0081
congr - 0082
refl - 0083
apply mul_add - 0084
refl - 0085
have hRnorm : (18 * 17 + 11) + (17 * 12) = 17 * 17 + (17 * 5 + (17 * 5 + 2 * 31)) - 0086
rewrite hRexpand - 0087
rewrite hAexpand - 0088
trans (((17 * 17 + 17) + 11) + 17 * 5) + (17 * 5 + 17 * 2) - 0089
symm - 0090
apply add_assoc - 0091
trans ((17 * 17 + 17) + (11 + 17 * 5)) + (17 * 5 + 17 * 2) - 0092
congr - 0093
apply add_assoc - 0094
refl - 0095
trans (17 * 17 + 17 * 5) + ((17 + 11) + (17 * 5 + 17 * 2)) - 0096
apply bertrand_add_six_permute - 0097
trans 17 * 17 + (17 * 5 + ((17 + 11) + (17 * 5 + 17 * 2))) - 0098
apply add_assoc - 0099
trans 17 * 17 + (17 * 5 + (17 * 5 + ((17 + 11) + 17 * 2))) - 0100
congr - 0101
refl - 0102
congr - 0103
refl - 0104
trans ((17 + 11) + 17 * 5) + 17 * 2 - 0105
symm - 0106
apply add_assoc - 0107
trans (17 * 5 + (17 + 11)) + 17 * 2 - 0108
congr - 0109
apply add_comm - 0110
refl - 0111
apply add_assoc - 0112
have htail_r : (17 + 11) + 17 * 2 = 2 * 31 - 0113
norm_num - 0114
rewrite htail_r - 0115
refl - 0116
have hcarrier : 2 * (11 * 22) + 37 = (18 * 17 + 11) + (17 * 12) - 0117
trans 17 * 17 + (17 * 5 + (17 * 5 + 2 * 31)) - 0118
exact hBnorm - 0119
symm - 0120
exact hRnorm - 0121
have hgap : (6 * 17 + 11) + (17 * 12) = 18 * 17 + 11 - 0122
trans 6 * 17 + (11 + (17 * 12)) - 0123
apply add_assoc - 0124
trans 6 * 17 + ((17 * 12) + 11) - 0125
congr - 0126
refl - 0127
apply add_comm - 0128
trans (6 * 17 + (17 * 12)) + 11 - 0129
symm - 0130
apply add_assoc - 0131
trans (17 * 6 + (17 * 12)) + 11 - 0132
congr - 0133
congr - 0134
apply mul_comm - 0135
refl - 0136
refl - 0137
trans 17 * (6 + 12) + 11 - 0138
congr - 0139
symm - 0140
apply mul_add - 0141
refl - 0142
have hsum : 6 + 12 = 18 - 0143
norm_num - 0144
rewrite hsum - 0145
trans 18 * 17 + 11 - 0146
congr - 0147
apply mul_comm - 0148
refl - 0149
refl - 0150
exists 6 * 17 + 11 - 0151
rewrite hcarrier - 0152
trans ((6 * 17 + 11) + (18 * 17 + 11)) + (17 * 12) - 0153
symm - 0154
apply add_assoc - 0155
trans ((18 * 17 + 11) + (6 * 17 + 11)) + (17 * 12) - 0156
congr - 0157
apply add_comm - 0158
refl - 0159
trans (18 * 17 + 11) + ((6 * 17 + 11) + (17 * 12)) - 0160
apply add_assoc - 0161
rewrite hgap - 0162
refl