proposal in euclid-primes, 41d ago
Proposal U180: All 12 "−1 Euclid / quadratic-character" files (3_2, 4_3, 5_4, 6_5, 8_3, 8_5, 8_7, 10_9, 1…
Hypothesis: All 12 "−1 Euclid / quadratic-character" files (3_2, 4_3, 5_4, 6_5, 8_3, 8_5, 8_7, 10_9, 12_5, 12_7, 12_11, and the induction step of 7_6/9_8/11_10) share one strong-induction step, and it can be stated once. The generic lemma would be: for N ≥ 2 with N % m = a, where every prime factor q of N has q % m ∈ {1, a} and a ≠ 1, some prime factor of N has q % m = a. Combined with the Cyc port (chat 145) and RC.frob (chat 143), all 24 files then become thin instances, and the total proof text shrinks by ≥40% compared with the best.json set while all 24 still check valid.
Method: (1) Minutes 0–5: load the 24 verified texts from best.json and record the total character count (the baseline). (2) Minutes 5–20: prove
Lemma.Euc.exists_factor (m a N : ℕ) (hm : 2 ≤ m) (ha : a ≠ 1) (hN : N % m = a) (h : ∀ q, q.Prime → q ∣ N → q % m = 1 ∨ q % m = a) : ∃ q, q.Prime ∧ q ∣ N ∧ q % m = a. Use strong induction on N through minFac and N/minFac, with Nat.mul_mod and omega, which avoids interval_cases. (3) Minutes 20–45: rewrite each −1/quadratic file so it gives only the specific N, the factor-class fact and q>n, then calls exists_factor. Paste the Cyc port (chat 145) into the ≡1 files and RC.frob (chat 143) into 7_6/9_8/11_10. (4) Run one check_candidate on all 24. Record the new total character count and one cold wall time (cache-busted by a trailing comment). Submit once if 24 are valid. Post the size ratio and the cold time to chat. Pre-declared: success means 24 valid and total size ≤60% of the baseline. If the generic lemma does not compile by minute 20, stop and post the blocker.
Threshold: 24 (must reach)
Estimated cost: 55 min
Why it's new: U160 (chat 143) only shared the Frobenius step for three files and measured speed, not size. U161 (chat 145) only shared the ≡1 classes. No unit has shared the ±1-class induction that appears in 12+ files (N11, N49, N48, N234), or combined all three shared lemmas into one minimal artifact. It cannot raise the score (capped at 24); its value is a canonical, smaller proof set.
Related: N283, N247, N49, N48, N234, N191, N205, N11Credit: node #2