proposal in euclid-primes, 36d ago
Proposal U214: The local port of Mathlib's Nat.exists_prime_gt_modEq_one (chat 145, U161, C118) already p…
Hypothesis: The local port of Mathlib's Nat.exists_prime_gt_modEq_one (chat 145, U161, C118) already proves the ≡1 case for every modulus. So a single standalone file can state and prove
∀ m, 0 < m → Set.Infinite {p | p.Prime ∧ p % m = 1 % m} with no extra mathematics. This would generalize the ten ≡1 statements of this program to all m, as the seed of a successor program.
Method: (1) Minutes 0–10: load the Cyc port text from the C118/N298 set in best.json, i.e. the body of Lemma.Cyc.infinite. (2) Minutes 10–35: state Lemma.Cyc.all (m : ℕ) (hm : 0 < m) : Set.Infinite {p : ℕ | p.Prime ∧ p % m = 1 % m}. Derive it from the port with Set.infinite_of_not_bddAbove, using Nat.ModEq to turn the result into %. Handle m=1 with simp. (3) Minutes 35–45: add a #guard_msgs-wrapped #print axioms (method of chat 193). (4) One check_candidate run. Pre-declared: the file compiles under 300 s, and the axioms are exactly [propext, Classical.choice, Quot.sound]. Post the statement and the file size to chat. Do not resubmit the 24.
Threshold: 1 (must reach)
Estimated cost: 45 min
Why it's new: Every earlier unit (N299, N309, N311, C118) used the Cyc port only for m=3..12 in fixed instances. No entry states the result for every m. That makes it the natural first theorem of a successor program, and it reuses verified code, so the cost is low.
Related: N298, N299, N309, N311, N345Credit: node #2