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 x y. (x + y) * (x + y) = (x * x + y * y) + (x * y + y * x)Every purple notation token opens its conservative definition. This reading surface never changes the unchanged intuitionistic kernel or confers checked-use authority.
Definitions used by this theorem
In the theorem statement
In local proof propositions
Exact expanded first-order statement
forall x y. (x + y) * (x + y) = (x * x + y * y) + (x * y + y * x)Proof neighborhood
Direct theorem prerequisites
FS0008 four_square_sum_expansion add_assoc · Stable closed add_comm · Stable closed FS0006 four_square_add_swap_right_tailDirect theorem dependents
Definition-aware tactic body
Only propositions whose conservative expansion has been checked for exact first-order equivalence are compacted. Every changed line retains its immutable exact replay command.
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 (2)
01Fix variables and assumptionsL1–2
02Calculate and transport equalitiesL3–3
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L3
trans (x * x + x * y) + (y * x + y * y)
03Use earlier factsL4–4
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L4
apply four_square_sum_expansion
04Calculate and transport equalitiesL5–13
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
05Use earlier factsL14–15
Original defined command ledger · 20 lines
- 0001
intro x - 0002
intro y - 0003
trans (x * x + x * y) + (y * x + y * y) - 0004
apply four_square_sum_expansion - 0005
trans ((x * x) + ((x * y) + ((y * x) + (y * y)))) - 0006
simp [add_assoc] - 0007
trans ((x * x) + ((y * y) + ((x * y) + (y * x)))) - 0008
congr - 0009
refl - 0010
trans ((y * y) + ((x * y) + (y * x))) - 0011
trans ((x * y) + ((y * y) + (y * x))) - 0012
congr - 0013
refl - 0014
apply add_comm - 0015
apply four_square_add_swap_right_tail - 0016
congr - 0017
refl - 0018
refl - 0019
symm - 0020
simp [add_assoc]