Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import Mathlib.Data.Nat.Prime.Basic |
| 2 | |
| 3 | /-! # Prime Threshold -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PrimeThreshold.CM |
| 6 | |
| 7 | /-! Convert a positive excluded-divisor bound to a prime-size threshold. -/ |
| 8 | |
| 9 | theorem of_coprime (P : (q : ℕ) → [Fact q.Prime] → Prop) |
| 10 | (h : ∃ N : ℕ, 0 < N ∧ ∀ (q : ℕ) [Fact q.Prime], Nat.Coprime q N → P q) : |
| 11 | ∃ N : ℕ, 0 < N ∧ ∀ (q : ℕ) [Fact q.Prime], N < q → P q := by |
| 12 | obtain ⟨N, hN, hp⟩ := h |
| 13 | exact ⟨N, hN, fun q _ hq => hp q (Nat.coprime_of_lt_prime hN.ne' hq Fact.out)⟩ |
| 14 | |
| 15 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PrimeThreshold.CM |