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 a b c d. p * 2 = a * a + b * b + c * c + d * d -> ((((exists fsd_even_first_halve_first. a = 2 * fsd_even_first_halve_first) /\ (exists fsd_even_second_halve_first. b = 2 * fsd_even_second_halve_first)) \/ ((exists fsd_odd_first_halve_first. a = 2 * fsd_odd_first_halve_first + 1) /\ (exists fsd_odd_second_halve_first. b = 2 * fsd_odd_second_halve_first + 1)))) -> ((((exists fsd_even_first_halve_second. c = 2 * fsd_even_first_halve_second) /\ (exists fsd_even_second_halve_second. d = 2 * fsd_even_second_halve_second)) \/ ((exists fsd_odd_first_halve_second. c = 2 * fsd_odd_first_halve_second + 1) /\ (exists fsd_odd_second_halve_second. d = 2 * fsd_odd_second_halve_second + 1)))) -> (exists fsl_a_even_matching fsl_b_even_matching fsl_c_even_matching fsl_d_even_matching. (p) = fsl_a_even_matching * fsl_a_even_matching + fsl_b_even_matching * fsl_b_even_matching + fsl_c_even_matching * fsl_c_even_matching + fsl_d_even_matching * fsl_d_even_matching)Constructive proof overview
Generated structural guide
Any represented even multiplier with two constructively matching-parity coordinate pairs has a fully checked four-square half representation.
The unchanged tactic script uses 3 declared prerequisites and contains 43 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
FS001P four_square_descent_matching_parity_sum_even FS001Q four_square_descent_matching_parity_absolute_even FS001S four_square_descent_even_multiplier_paired_halvingDirect 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 (3)
01Fix variables and assumptionsL1–8
02Establish hsumfirstL9–13
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply four square descent matching parity sum even.
03Separate the logical casesL14–14
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L14
cases hsumfirst
04Establish hgapfirstL15–19
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply four square descent matching parity absolute even.
05Separate the logical casesL20–20
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L20
cases hgapfirst
06Establish hsumsecondL21–23
07Separate the logical casesL24–24
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L24
cases hsumsecond
08Establish hgapsecondL25–27
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply four square descent matching parity absolute even.
09Separate the logical casesL28–28
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L28
cases hgapsecond
10Use earlier factsL29–38
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L29
specialize four_square_descent_even_multiplier_paired_halving p - L30
specialize four_square_descent_even_multiplier_paired_halving a - L31
specialize four_square_descent_even_multiplier_paired_halving b - L32
specialize four_square_descent_even_multiplier_paired_halving c - L33
specialize four_square_descent_even_multiplier_paired_halving d - L34
specialize four_square_descent_even_multiplier_paired_halving x - L35
specialize four_square_descent_even_multiplier_paired_halving x1 - L36
specialize four_square_descent_even_multiplier_paired_halving x2 - L37
specialize four_square_descent_even_multiplier_paired_halving x3 - L38
apply four_square_descent_even_multiplier_paired_halving
Original exact command ledger · 43 lines
- 0001
intro p - 0002
intro a - 0003
intro b - 0004
intro c - 0005
intro d - 0006
intro hnorm - 0007
intro hfirst - 0008
intro hsecond - 0009
have hsumfirst : exists u. a + b = 2 * u - 0010
specialize four_square_descent_matching_parity_sum_even a - 0011
specialize four_square_descent_matching_parity_sum_even b - 0012
apply four_square_descent_matching_parity_sum_even - 0013
exact hfirst - 0014
cases hsumfirst - 0015
have hgapfirst : exists v. ((a = b + 2 * v) \/ (b = a + 2 * v)) - 0016
specialize four_square_descent_matching_parity_absolute_even a - 0017
specialize four_square_descent_matching_parity_absolute_even b - 0018
apply four_square_descent_matching_parity_absolute_even - 0019
exact hfirst - 0020
cases hgapfirst - 0021
have hsumsecond : exists w. c + d = 2 * w - 0022
apply four_square_descent_matching_parity_sum_even - 0023
exact hsecond - 0024
cases hsumsecond - 0025
have hgapsecond : exists z. ((c = d + 2 * z) \/ (d = c + 2 * z)) - 0026
apply four_square_descent_matching_parity_absolute_even - 0027
exact hsecond - 0028
cases hgapsecond - 0029
specialize four_square_descent_even_multiplier_paired_halving p - 0030
specialize four_square_descent_even_multiplier_paired_halving a - 0031
specialize four_square_descent_even_multiplier_paired_halving b - 0032
specialize four_square_descent_even_multiplier_paired_halving c - 0033
specialize four_square_descent_even_multiplier_paired_halving d - 0034
specialize four_square_descent_even_multiplier_paired_halving x - 0035
specialize four_square_descent_even_multiplier_paired_halving x1 - 0036
specialize four_square_descent_even_multiplier_paired_halving x2 - 0037
specialize four_square_descent_even_multiplier_paired_halving x3 - 0038
apply four_square_descent_even_multiplier_paired_halving - 0039
exact hnorm - 0040
exact hsumfirst_witness - 0041
exact hgapfirst_witness - 0042
exact hsumsecond_witness - 0043
exact hgapsecond_witness