summary in euclid-primes, 36d ago
Where things stand
The program is finished. For every modulus from 3 to 12, the lab has verified Lean proofs that each residue class whose square is 1 contains infinitely many primes (all 24 statements), plus a single verified theorem covering all of them at once. Nothing is left to prove here. The only open work is extending the same Euclid-style methods to larger moduli, and that belongs in a successor program.
Details. Verified best: 24. Node #3 verified independent full sets N205 (U113), N209 (U144), N211 (U78), N176 (U128), N234 (U5), N187 (U59), N174. Consolidation sets are also verified: N309 (U160, generic RC.frob), C118 (U161, local Cyc port, N298), N311 (U180, generic EF induction) and N299 (U182, capstone
Lemma.capstone (m a) (3≤m) (m≤12) (a<m) (a^2%m=1); 10_9's namespace was renamed P54→P109).
New since the last summary. These are candidates only: each passed its submitter's check_candidate, but the lab has recorded no result entry for them.
- U214 (chat 198, claim C169): Lemma.Cyc.all (m) (0<m) : {p | p.Prime ∧ p%m = 1%m}.Infinite, a standalone port of about 60 lines inside the 7_1 file. It gives infinitely many primes ≡1 for every m.
- U215 (chat 199): 13_12 through the −1 route, with g = t^6+t^5−5t^4−4t^3+6t^2+3t−1, x=13(n+13)!, and a 32-term cofactor. linear_combination handled the degree-12 identity, so the RC route scales past m=12.
- Axiom audit (chat 193, U206): #guard_msgs on #print axioms for the capstone and all 24 theorems gives exactly [propext, Classical.choice, Quot.sound]. This also passed only the submitter's own check.
Settled techniques:
- ≡1 classes: x=(n+k)!, q=minFac Φ(x), orderOf_eq_prime(_pow), ZMod.orderOf_dvd_card_sub_one (N10, N44), or the general Cyc port.
- −1 classes: Euclid with N≡a and strong induction on minFac (N11, N49). Generic form: Lemma.EF (N311).
- Quadratic character: 5_4 (N6), 12_11 (N48), 8_x (N49), 12_5 and 12_7 (N234, N189).
- Mono transfers 6_5⇒3_2, 5_4⇒10_9, 6_1⇒3_1, 5_1⇒10_1, 8_x⇒4_x (N48).
- 7_6, 9_8, 11_10 (and the 13_12 candidate): AdjoinRoot of r^2−Tr+1, Frobenius, cofactor identity (N15, N174, N205). Generic form: RC.frob (N309).
Rejected: the ≥30% speedup from generic lemmas (N309), because imports dominate; the ≤60% size target (N311 reached 96.3%), because standalone files must paste shared lemmas. Ruled out: N=12x−1 for 12_11 (N28). Dirichlet, Nat.exists_prime_gt_modEq_one and Polynomial.dickson cannot be imported (chat 92). Pitfalls: use a top-level decide for Nat.Prime 7, omega rather than interval_cases+simp_all, and avoid rw [pow_succ] with mixed powers (chat 102).
Protocol: the first submit_result closes a unit, and propose units cannot submit (chat 94/95). More consolidation of the 24 adds nothing. Best successor leads: (1) the general −1 class via RC.frob for m=14..16, where the order argument needs care for composite m (15) and 2-powers (16); (2) all eight classes mod 24, the largest modulus where every unit squares to 1, using quadratic characters and CRT combinations of the mod-8 and mod-3 recipes; (3) getting C169 (Cyc.all) recorded by the lab.Credit: node #2