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(18 · 17 + 11,13 · 12 + 7 + (13 · 12 + 7))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_one_sixty_three_three_seventeen. bpr_le_gap_bb8c_one_sixty_three_three_seventeen + (18 * 17 + 11) = (13 * 12 + 7 + (13 * 12 + 7))Proof neighborhood
Direct theorem prerequisites
BT000B add_mul BT0007 mul_add BT0003 add_assoc BT0002 add_comm BT011O bertrand_add_swap_nested 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 (6)
01Establish h18L1–2
02Establish h17L3–4
03Establish h11L5–6
04Establish hcarrierL7–9
05Establish houterL10–12
06Establish hleft_distL13–15
07Establish hright_distL16–23
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mul add.
08Establish hgapL24–24
Establish this local claim before using it. It is not an additional assumption.
- L24
have hgap : 9 + ((13 * 5 + 5 * 12) + (5 * 5 + 4)) = 13 * 12 + 7
09Establish h13L25–26
10Establish hAexpandL27–36
11Calculate and transport equalitiesL37–42
12Use earlier factsL43–43
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L43
apply add_assoc
13Calculate and transport equalitiesL44–46
14Use earlier factsL47–47
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L47
apply bertrand_add_swap_nested
15Calculate and transport equalitiesL48–48
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L48
trans 5 * 12 + (9 + (13 * 5 + (5 * 5 + 4)))
16Use earlier factsL49–49
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L49
apply bertrand_add_swap_nested
17Establish htailL50–54
18Construct an explicit witnessL55–55
Supply the displayed value, then prove that it has the required property.
- L55
exists 9
19Calculate and transport equalitiesL56–58
20Use earlier factsL59–59
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L59
apply add_assoc
21Calculate and transport equalitiesL60–61
22Use earlier factsL62–62
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L62
apply add_comm
23Calculate and transport equalitiesL63–64
24Use earlier factsL65–65
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L65
apply add_assoc
Original defined command ledger · 67 lines
- 0001
have h18 : 18 = 13 + 5 - 0002
norm_num - 0003
have h17 : 17 = 12 + 5 - 0004
norm_num - 0005
have h11 : 11 = 7 + 4 - 0006
norm_num - 0007
have hcarrier : 18 * 17 + 11 = (13 * 12 + 7) + ((13 * 5 + 5 * 12) + (5 * 5 + 4)) - 0008
rewrite h18 - 0009
rewrite h17 - 0010
have houter : (13 + 5) * (12 + 5) = 13 * (12 + 5) + 5 * (12 + 5) - 0011
apply add_mul - 0012
rewrite houter - 0013
have hleft_dist : 13 * (12 + 5) = 13 * 12 + 13 * 5 - 0014
apply mul_add - 0015
rewrite hleft_dist - 0016
have hright_dist : 5 * (12 + 5) = 5 * 12 + 5 * 5 - 0017
apply mul_add - 0018
rewrite hright_dist - 0019
trans ((13 * 12 + 13 * 5) + (5 * 12 + 5 * 5)) + (7 + 4) - 0020
congr - 0021
refl - 0022
exact h11 - 0023
apply bertrand_add_six_permute - 0024
have hgap : 9 + ((13 * 5 + 5 * 12) + (5 * 5 + 4)) = 13 * 12 + 7 - 0025
have h13 : 13 = 5 + 8 - 0026
norm_num - 0027
have hAexpand : 13 * 12 + 7 = (5 * 12 + 8 * 12) + 7 - 0028
trans (5 + 8) * 12 + 7 - 0029
congr - 0030
congr - 0031
exact h13 - 0032
refl - 0033
refl - 0034
trans (5 * 12 + 8 * 12) + 7 - 0035
congr - 0036
apply add_mul - 0037
refl - 0038
refl - 0039
rewrite hAexpand - 0040
trans 9 + (13 * 5 + (5 * 12 + (5 * 5 + 4))) - 0041
congr - 0042
refl - 0043
apply add_assoc - 0044
trans 9 + (5 * 12 + (13 * 5 + (5 * 5 + 4))) - 0045
congr - 0046
refl - 0047
apply bertrand_add_swap_nested - 0048
trans 5 * 12 + (9 + (13 * 5 + (5 * 5 + 4))) - 0049
apply bertrand_add_swap_nested - 0050
have htail : 9 + (13 * 5 + (5 * 5 + 4)) = 8 * 12 + 7 - 0051
norm_num - 0052
rewrite htail - 0053
symm - 0054
apply add_assoc - 0055
exists 9 - 0056
rewrite hcarrier - 0057
trans (9 + (13 * 12 + 7)) + ((13 * 5 + 5 * 12) + (5 * 5 + 4)) - 0058
symm - 0059
apply add_assoc - 0060
trans ((13 * 12 + 7) + 9) + ((13 * 5 + 5 * 12) + (5 * 5 + 4)) - 0061
congr - 0062
apply add_comm - 0063
refl - 0064
trans (13 * 12 + 7) + (9 + ((13 * 5 + 5 * 12) + (5 * 5 + 4))) - 0065
apply add_assoc - 0066
rewrite hgap - 0067
refl