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.
Exact expanded first-order arithmetic 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)Constructive proof overview
Generated structural guide
If all four coordinates of a represented prime multiple are k-divisible, square-factor cancellation makes k an actual divisor of the prime.
The unchanged tactic script uses 4 declared prerequisites and contains 36 exact native proof lines.
dependency-curried kernel-checked theorem body; Alpha enrollment and checked-use authority follow separately sealed release evidence; Stable membership remains unchanged
Proof neighborhood
Direct dependencies
mul_left_cancel_nonzero Stable theorem; checked-use authorized mul_comm Stable theorem; checked-use authorized FS001A four_square_descent_square_factor_norm mul_assoc Stable theorem; checked-use authorizedDirect dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. This exact body belongs to a complete independently kernel-checked constructive proof bundle and has Alpha checked-use authority; it does not imply Stable membership.
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 exact 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