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 p k a b c d u v w x. ~(k = 0) -> p * k = a * a + b * b + c * c + d * d -> a = k * u -> b = k * v -> c = k * w -> d = k * x -> p = k * (u * u + v * v + w * w + x * 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 p k a b c d u v w x. ~(k = 0) -> p * k = a * a + b * b + c * c + d * d -> a = k * u -> b = k * v -> c = k * w -> d = k * x -> p = k * (u * u + v * v + w * w + x * x)Proof neighborhood
Direct theorem prerequisites
FS001A four_square_descent_square_factor_norm mul_assoc · Stable closedDirect 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 (1)
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–16
03Calculate and transport equalitiesL17–24
04Use earlier factsL25–29
05Calculate and transport equalitiesL30–30
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L30
trans p * k
06Use earlier factsL31–31
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L31
apply mul_comm
07Calculate and transport equalitiesL32–32
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L32
trans (k * u) * (k * u) + (k * v) * (k * v) + (k * w) * (k * w) + (k * x) * (k * x)
08Use earlier factsL33–33
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L33
exact hnorm
09Calculate and transport equalitiesL34–34
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L34
trans (k * k) * (u * u + v * v + w * w + x * x)
Original defined command ledger · 36 lines
- 0001
intro p - 0002
intro k - 0003
intro a - 0004
intro b - 0005
intro c - 0006
intro d - 0007
intro u - 0008
intro v - 0009
intro w - 0010
intro x - 0011
intro hnonzero - 0012
intro hnorm - 0013
intro ha - 0014
intro hb - 0015
intro hc - 0016
intro hd - 0017
rewrite ha at hnorm - 0018
rewrite ha at hnorm - 0019
rewrite hb at hnorm - 0020
rewrite hb at hnorm - 0021
rewrite hc at hnorm - 0022
rewrite hc at hnorm - 0023
rewrite hd at hnorm - 0024
rewrite hd at hnorm - 0025
specialize mul_left_cancel_nonzero k - 0026
specialize mul_left_cancel_nonzero p - 0027
specialize mul_left_cancel_nonzero (k * (u * u + v * v + w * w + x * x)) - 0028
apply mul_left_cancel_nonzero - 0029
exact hnonzero - 0030
trans p * k - 0031
apply mul_comm - 0032
trans (k * u) * (k * u) + (k * v) * (k * v) + (k * w) * (k * w) + (k * x) * (k * x) - 0033
exact hnorm - 0034
trans (k * k) * (u * u + v * v + w * w + x * x) - 0035
apply four_square_descent_square_factor_norm - 0036
apply mul_assoc