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 n. p = S n -> ((~(p = 1) /\ forall frm_prime_left_qsm_prime frm_prime_right_qsm_prime. p = frm_prime_left_qsm_prime * frm_prime_right_qsm_prime -> frm_prime_left_qsm_prime = 1 \/ frm_prime_right_qsm_prime = 1)) -> (exists qsm_odd_modulus. p = 2 * qsm_odd_modulus + 1) -> (((((exists qr_x_qsm_predecessor. exists qr_u_qsm_predecessor qr_v_qsm_predecessor. qr_x_qsm_predecessor * qr_x_qsm_predecessor + p * qr_u_qsm_predecessor = n + p * qr_v_qsm_predecessor) -> (exists qsm_four_one_modulus. p = 4 * qsm_four_one_modulus + 1)) /\ ((exists qsm_four_one_modulus. p = 4 * qsm_four_one_modulus + 1) -> (exists qr_x_qsm_predecessor. exists qr_u_qsm_predecessor qr_v_qsm_predecessor. qr_x_qsm_predecessor * qr_x_qsm_predecessor + p * qr_u_qsm_predecessor = n + p * qr_v_qsm_predecessor)))) /\ ((((~(exists qr_x_qsm_predecessor. exists qr_u_qsm_predecessor qr_v_qsm_predecessor. qr_x_qsm_predecessor * qr_x_qsm_predecessor + p * qr_u_qsm_predecessor = n + p * qr_v_qsm_predecessor)) -> (exists qsm_four_three_modulus. p = 4 * qsm_four_three_modulus + 3)) /\ ((exists qsm_four_three_modulus. p = 4 * qsm_four_three_modulus + 3) -> (~(exists qr_x_qsm_predecessor. exists qr_u_qsm_predecessor qr_v_qsm_predecessor. qr_x_qsm_predecessor * qr_x_qsm_predecessor + p * qr_u_qsm_predecessor = n + p * qr_v_qsm_predecessor))))))Constructive proof overview
Generated structural guide
Complete constructive first supplementary law, including both the one-modulo-four residue and three-modulo-four nonresidue cases.
The unchanged tactic script uses 2 declared prerequisites and contains 18 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
SL0004 quadratic_supplement_minus_one_residue_iff_mod_four_one SL0005 quadratic_supplement_minus_one_nonresidue_iff_mod_four_threeDirect 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–5
02Separate the logical casesL6–6
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L6
split
03Use earlier factsL7–16
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L7
specialize quadratic_supplement_minus_one_residue_iff_mod_four_one p - L8
specialize quadratic_supplement_minus_one_residue_iff_mod_four_one n - L9
apply quadratic_supplement_minus_one_residue_iff_mod_four_one - L10
exact hpredecessor - L11
exact hprime - L12
exact hodd - L13
specialize quadratic_supplement_minus_one_nonresidue_iff_mod_four_three p - L14
specialize quadratic_supplement_minus_one_nonresidue_iff_mod_four_three n - L15
apply quadratic_supplement_minus_one_nonresidue_iff_mod_four_three - L16
exact hpredecessor
Original exact command ledger · 18 lines
- 0001
intro p - 0002
intro n - 0003
intro hpredecessor - 0004
intro hprime - 0005
intro hodd - 0006
split - 0007
specialize quadratic_supplement_minus_one_residue_iff_mod_four_one p - 0008
specialize quadratic_supplement_minus_one_residue_iff_mod_four_one n - 0009
apply quadratic_supplement_minus_one_residue_iff_mod_four_one - 0010
exact hpredecessor - 0011
exact hprime - 0012
exact hodd - 0013
specialize quadratic_supplement_minus_one_nonresidue_iff_mod_four_three p - 0014
specialize quadratic_supplement_minus_one_nonresidue_iff_mod_four_three n - 0015
apply quadratic_supplement_minus_one_nonresidue_iff_mod_four_three - 0016
exact hpredecessor - 0017
exact hprime - 0018
exact hodd