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
forall a b q r d xp yp xn yn. a = b * q + r -> b * xp + r * yp = d + (b * xn + r * yn) -> a * yp + b * (xp + q * yn) = d + (a * yn + b * (xn + q * yp))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
0 occurrences
In local proof propositions
0 occurrences
Exact expanded native-PA statement
forall a b q r d xp yp xn yn. a = b * q + r -> b * xp + r * yp = d + (b * xn + r * yn) -> a * yp + b * (xp + q * yn) = d + (a * yn + b * (xn + q * yp))Proof neighborhood
Direct theorem prerequisites
BT0003 add_assoc BT0002 add_comm BT0007 mul_add BT0008 mul_assoc BT000B add_mul BT0032 add_permute_outerDirect 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.
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–11
Work with arbitrary variables or the premises of the current implication.
- L11
intro hbez
03Calculate and transport equalitiesL12–14
04Use earlier factsL15–15
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L15
apply add_mul
05Calculate and transport equalitiesL16–19
06Use earlier factsL20–20
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L20
apply mul_add
07Calculate and transport equalitiesL21–26
08Use earlier factsL27–27
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L27
apply mul_assoc
09Calculate and transport equalitiesL28–28
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L28
trans (b * xp + r * yp) + ((b * q) * yp + (b * q) * yn)
10Use earlier factsL29–29
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L29
apply add_permute_outer
11Calculate and transport equalitiesL30–32
12Use earlier factsL33–33
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L33
apply add_comm
13Calculate and transport equalitiesL34–35
14Use earlier factsL36–36
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L36
exact hbez
15Calculate and transport equalitiesL37–38
16Use earlier factsL39–39
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L39
apply add_assoc
17Calculate and transport equalitiesL40–42
18Use earlier factsL43–43
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L43
apply add_permute_outer
19Calculate and transport equalitiesL44–48
20Use earlier factsL49–49
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L49
apply add_mul
21Calculate and transport equalitiesL50–57
22Use earlier factsL58–58
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L58
apply mul_assoc
23Calculate and transport equalitiesL59–63
24Use earlier factsL64–64
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L64
exact hab
25Calculate and transport equalitiesL65–66
26Use earlier factsL67–67
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L67
apply mul_add
Original defined command ledger · 67 lines
- 0001
intro a - 0002
intro b - 0003
intro q - 0004
intro r - 0005
intro d - 0006
intro xp - 0007
intro yp - 0008
intro xn - 0009
intro yn - 0010
intro hab - 0011
intro hbez - 0012
rewrite hab - 0013
trans ((b * q) * yp + r * yp) + b * (xp + q * yn) - 0014
congr - 0015
apply add_mul - 0016
refl - 0017
trans ((b * q) * yp + r * yp) + (b * xp + b * (q * yn)) - 0018
congr - 0019
refl - 0020
apply mul_add - 0021
trans ((b * q) * yp + r * yp) + (b * xp + (b * q) * yn) - 0022
congr - 0023
refl - 0024
congr - 0025
refl - 0026
symm - 0027
apply mul_assoc - 0028
trans (b * xp + r * yp) + ((b * q) * yp + (b * q) * yn) - 0029
apply add_permute_outer - 0030
trans (b * xp + r * yp) + ((b * q) * yn + (b * q) * yp) - 0031
congr - 0032
refl - 0033
apply add_comm - 0034
trans (d + (b * xn + r * yn)) + ((b * q) * yn + (b * q) * yp) - 0035
congr - 0036
exact hbez - 0037
refl - 0038
trans d + ((b * xn + r * yn) + ((b * q) * yn + (b * q) * yp)) - 0039
apply add_assoc - 0040
trans d + (((b * q) * yn + r * yn) + (b * xn + (b * q) * yp)) - 0041
congr - 0042
refl - 0043
apply add_permute_outer - 0044
trans d + ((b * q + r) * yn + (b * xn + (b * q) * yp)) - 0045
congr - 0046
refl - 0047
congr - 0048
symm - 0049
apply add_mul - 0050
refl - 0051
trans d + ((b * q + r) * yn + (b * xn + b * (q * yp))) - 0052
congr - 0053
refl - 0054
congr - 0055
refl - 0056
congr - 0057
refl - 0058
apply mul_assoc - 0059
congr - 0060
refl - 0061
congr - 0062
congr - 0063
symm - 0064
exact hab - 0065
refl - 0066
symm - 0067
apply mul_add