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 h e. p = 2 * h + 1 -> ((~(p = 1) /\ forall frm_prime_left_qst_prime frm_prime_right_qst_prime. p = frm_prime_left_qst_prime * frm_prime_right_qst_prime -> frm_prime_left_qst_prime = 1 \/ frm_prime_right_qst_prime = 1)) -> (((h = 2 * e) \/ (exists qst_count_half_shape. h = 2 * qst_count_half_shape + 1 /\ e = S qst_count_half_shape))) -> ((((((exists qst_root_two. exists qst_mod_left_two qst_mod_right_two. qst_root_two * qst_root_two + p * qst_mod_left_two = 2 + p * qst_mod_right_two) -> (exists qst_even_count. e = 2 * qst_even_count)) /\ ((exists qst_even_count. e = 2 * qst_even_count) -> (exists qst_root_two. exists qst_mod_left_two qst_mod_right_two. qst_root_two * qst_root_two + p * qst_mod_left_two = 2 + p * qst_mod_right_two)))) /\ ((((~(exists qst_root_two. exists qst_mod_left_two qst_mod_right_two. qst_root_two * qst_root_two + p * qst_mod_left_two = 2 + p * qst_mod_right_two)) -> (exists qst_odd_count. e = 2 * qst_odd_count + 1)) /\ ((exists qst_odd_count. e = 2 * qst_odd_count + 1) -> (~(exists qst_root_two. exists qst_mod_left_two qst_mod_right_two. qst_root_two * qst_root_two + p * qst_mod_left_two = 2 + p * qst_mod_right_two))))))) -> ((((((exists qst_root_two. exists qst_mod_left_two qst_mod_right_two. qst_root_two * qst_root_two + p * qst_mod_left_two = 2 + p * qst_mod_right_two) -> (((exists qst_mod_eight_modulus_one. p = 8 * qst_mod_eight_modulus_one + 1) \/ (exists qst_mod_eight_modulus_seven. p = 8 * qst_mod_eight_modulus_seven + 7)))) /\ ((((exists qst_mod_eight_modulus_one. p = 8 * qst_mod_eight_modulus_one + 1) \/ (exists qst_mod_eight_modulus_seven. p = 8 * qst_mod_eight_modulus_seven + 7))) -> (exists qst_root_two. exists qst_mod_left_two qst_mod_right_two. qst_root_two * qst_root_two + p * qst_mod_left_two = 2 + p * qst_mod_right_two)))) /\ ((((~(exists qst_root_two. exists qst_mod_left_two qst_mod_right_two. qst_root_two * qst_root_two + p * qst_mod_left_two = 2 + p * qst_mod_right_two)) -> (((exists qst_mod_eight_modulus_three. p = 8 * qst_mod_eight_modulus_three + 3) \/ (exists qst_mod_eight_modulus_five. p = 8 * qst_mod_eight_modulus_five + 5)))) /\ ((((exists qst_mod_eight_modulus_three. p = 8 * qst_mod_eight_modulus_three + 3) \/ (exists qst_mod_eight_modulus_five. p = 8 * qst_mod_eight_modulus_five + 5))) -> (~(exists qst_root_two. exists qst_mod_left_two qst_mod_right_two. qst_root_two * qst_root_two + p * qst_mod_left_two = 2 + p * qst_mod_right_two)))))))Constructive proof overview
Generated structural guide
The exact second supplementary law follows constructively once the existing Gauss reflection count is identified with the explicit doubling-count shape.
The unchanged tactic script uses 1 declared prerequisite and contains 41 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
Direct 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–7
02Establish hparityL8–14
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply doubling gauss count parity mod eight complete.
03Separate the logical casesL15–22
04Fix variables and assumptionsL23–23
Work with arbitrary variables or the premises of the current implication.
- L23
intro hresidue
05Use earlier factsL24–26
06Fix variables and assumptionsL27–27
Work with arbitrary variables or the premises of the current implication.
- L27
intro hgood
07Use earlier factsL28–30
08Separate the logical casesL31–31
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L31
split
09Fix variables and assumptionsL32–32
Work with arbitrary variables or the premises of the current implication.
- L32
intro hnonresidue
10Use earlier factsL33–35
11Fix variables and assumptionsL36–37
Original exact command ledger · 41 lines
- 0001
intro p - 0002
intro h - 0003
intro e - 0004
intro hpodd - 0005
intro hprime - 0006
intro hshape - 0007
intro hgauss - 0008
have hparity : (((((exists qst_even_count. e = 2 * qst_even_count) -> (((exists qst_mod_eight_modulus_one. p = 8 * qst_mod_eight_modulus_one + 1) \/ (exists qst_mod_eight_modulus_seven. p = 8 * qst_mod_eight_modulus_seven + 7)))) /\ ((((exists qst_mod_eight_modulus_one. p = 8 * qst_mod_eight_modulus_one + 1) \/ (exists qst_mod_eight_modulus_seven. p = 8 * qst_mod_eight_modulus_seven + 7))) -> (exists qst_even_count. e = 2 * qst_even_count)))) /\ ((((exists qst_odd_count. e = 2 * qst_odd_count + 1) -> (((exists qst_mod_eight_modulus_three. p = 8 * qst_mod_eight_modulus_three + 3) \/ (exists qst_mod_eight_modulus_five. p = 8 * qst_mod_eight_modulus_five + 5)))) /\ ((((exists qst_mod_eight_modulus_three. p = 8 * qst_mod_eight_modulus_three + 3) \/ (exists qst_mod_eight_modulus_five. p = 8 * qst_mod_eight_modulus_five + 5))) -> (exists qst_odd_count. e = 2 * qst_odd_count + 1))))) - 0009
specialize doubling_gauss_count_parity_mod_eight_complete p - 0010
specialize doubling_gauss_count_parity_mod_eight_complete h - 0011
specialize doubling_gauss_count_parity_mod_eight_complete e - 0012
apply doubling_gauss_count_parity_mod_eight_complete - 0013
exact hpodd - 0014
exact hshape - 0015
cases hgauss - 0016
cases hgauss_left - 0017
cases hgauss_right - 0018
cases hparity - 0019
cases hparity_left - 0020
cases hparity_right - 0021
split - 0022
split - 0023
intro hresidue - 0024
apply hparity_left_left - 0025
apply hgauss_left_left - 0026
exact hresidue - 0027
intro hgood - 0028
apply hgauss_left_right - 0029
apply hparity_left_right - 0030
exact hgood - 0031
split - 0032
intro hnonresidue - 0033
apply hparity_right_left - 0034
apply hgauss_right_left - 0035
exact hnonresidue - 0036
intro hbad - 0037
intro hresidue - 0038
apply hgauss_right_right - 0039
apply hparity_right_right - 0040
exact hbad - 0041
exact hresidue