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 h a b c d. (exists gap. gap + a = h) -> (exists gap. gap + b = h) -> (exists gap. gap + c = h) -> (exists gap. gap + d = h) -> exists gap. gap + S (a * a + b * b + c * c + d * d) = (2 * h + 1) * (2 * h + 1)Constructive proof overview
Generated structural guide
Four coordinates in the odd half interval have norm strictly below the square of the full odd modulus.
The unchanged tactic script uses 6 declared prerequisites and contains 58 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_le_mul Alpha theorem; checked-use authorized FS001V four_square_descent_add_le_add add_assoc Stable theorem; checked-use authorized FS001W four_square_descent_double_square_four_sum lt_of_le_of_lt Stable theorem; checked-use authorized square_lt_successor_square Alpha 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 (2)
01Fix variables and assumptionsL1–9
02Establish hsaL10–13
03Establish hsbL14–17
04Establish hscL18–21
05Establish hsdL22–25
06Establish habL26–29
07Establish hcdL30–33
08Establish hpairedL34–37
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply four square descent add le add.
09Establish hnormL38–38
Establish this local claim before using it. It is not an additional assumption.
- L38
have hnorm : exists gap. gap + (a * a + b * b + c * c + d * d) = (2 * h) * (2 * h)
10Separate the logical casesL39–39
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L39
cases hpaired
11Construct an explicit witnessL40–40
Supply the displayed value, then prove that it has the required property.
- L40
exists x
12Calculate and transport equalitiesL41–43
13Use earlier factsL44–44
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L44
apply add_assoc
14Calculate and transport equalitiesL45–45
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L45
trans (h * h + h * h) + (h * h + h * h)
15Use earlier factsL46–46
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L46
exact hpaired_witness
16Calculate and transport equalitiesL47–47
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L47
symm
17Use earlier factsL48–48
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L48
apply four_square_descent_double_square_four_sum
18Establish honeL49–58
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply lt of le of lt.
- L49
have hone : 2 * h + 1 = S (2 * h) - L50
simp - L51
rewrite hone - L52
rewrite hone - L53
specialize lt_of_le_of_lt (a * a + b * b + c * c + d * d) - L54
specialize lt_of_le_of_lt ((2 * h) * (2 * h)) - L55
specialize lt_of_le_of_lt (S (2 * h) * S (2 * h)) - L56
apply lt_of_le_of_lt - L57
exact hnorm - L58
apply square_lt_successor_square
Original exact command ledger · 58 lines
- 0001
intro h - 0002
intro a - 0003
intro b - 0004
intro c - 0005
intro d - 0006
intro ha - 0007
intro hb - 0008
intro hc - 0009
intro hd - 0010
have hsa : exists gap. gap + a * a = h * h - 0011
apply mul_le_mul - 0012
exact ha - 0013
exact ha - 0014
have hsb : exists gap. gap + b * b = h * h - 0015
apply mul_le_mul - 0016
exact hb - 0017
exact hb - 0018
have hsc : exists gap. gap + c * c = h * h - 0019
apply mul_le_mul - 0020
exact hc - 0021
exact hc - 0022
have hsd : exists gap. gap + d * d = h * h - 0023
apply mul_le_mul - 0024
exact hd - 0025
exact hd - 0026
have hab : exists gap. gap + (a * a + b * b) = h * h + h * h - 0027
apply four_square_descent_add_le_add - 0028
exact hsa - 0029
exact hsb - 0030
have hcd : exists gap. gap + (c * c + d * d) = h * h + h * h - 0031
apply four_square_descent_add_le_add - 0032
exact hsc - 0033
exact hsd - 0034
have hpaired : exists gap. gap + ((a * a + b * b) + (c * c + d * d)) = (h * h + h * h) + (h * h + h * h) - 0035
apply four_square_descent_add_le_add - 0036
exact hab - 0037
exact hcd - 0038
have hnorm : exists gap. gap + (a * a + b * b + c * c + d * d) = (2 * h) * (2 * h) - 0039
cases hpaired - 0040
exists x - 0041
trans x + ((a * a + b * b) + (c * c + d * d)) - 0042
congr - 0043
refl - 0044
apply add_assoc - 0045
trans (h * h + h * h) + (h * h + h * h) - 0046
exact hpaired_witness - 0047
symm - 0048
apply four_square_descent_double_square_four_sum - 0049
have hone : 2 * h + 1 = S (2 * h) - 0050
simp - 0051
rewrite hone - 0052
rewrite hone - 0053
specialize lt_of_le_of_lt (a * a + b * b + c * c + d * d) - 0054
specialize lt_of_le_of_lt ((2 * h) * (2 * h)) - 0055
specialize lt_of_le_of_lt (S (2 * h) * S (2 * h)) - 0056
apply lt_of_le_of_lt - 0057
exact hnorm - 0058
apply square_lt_successor_square