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. (a + b) * (a + b) + a * a = b * b + ((a + b) * a + a * (a + b))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 a b. (a + b) * (a + b) + a * a = b * b + ((a + b) * a + a * (a + b))Proof neighborhood
Direct theorem prerequisites
FS0008 four_square_sum_expansion add_mul · Stable closed mul_add · Stable closed FS0007 four_square_additive_gap_reorderDirect 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
02Use earlier factsL3–4
03Calculate and transport equalitiesL5–5
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L5
rewrite four_square_sum_expansion
04Use earlier factsL6–8
05Calculate and transport equalitiesL9–9
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L9
rewrite add_mul
06Use earlier factsL10–12
07Calculate and transport equalitiesL13–13
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L13
rewrite mul_add
08Use earlier factsL14–14
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L14
apply four_square_additive_gap_reorder
Original defined command ledger · 14 lines
- 0001
intro a - 0002
intro b - 0003
specialize four_square_sum_expansion a - 0004
specialize four_square_sum_expansion b - 0005
rewrite four_square_sum_expansion - 0006
specialize add_mul a - 0007
specialize add_mul b - 0008
specialize add_mul a - 0009
rewrite add_mul - 0010
specialize mul_add a - 0011
specialize mul_add a - 0012
specialize mul_add b - 0013
rewrite mul_add - 0014
apply four_square_additive_gap_reorder