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 Bounds -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PrimeBounds.CM |
| 6 | |
| 7 | /-! Combine positive rational-prime exclusion bounds. -/ |
| 8 | |
| 9 | theorem combine |
| 10 | (P Q R : (q : ℕ) → [Fact q.Prime] → Prop) |
| 11 | (hP : ∃ N : ℕ, 0 < N ∧ ∀ (q : ℕ) [Fact q.Prime], Nat.Coprime q N → P q) |
| 12 | (hQ : ∃ N : ℕ, 0 < N ∧ ∀ (q : ℕ) [Fact q.Prime], Nat.Coprime q N → Q q) |
| 13 | (h : ∀ (q : ℕ) [Fact q.Prime], P q → Q q → R q) : |
| 14 | ∃ N : ℕ, 0 < N ∧ ∀ (q : ℕ) [Fact q.Prime], Nat.Coprime q N → R q := by |
| 15 | obtain ⟨N, hN, hp⟩ := hP |
| 16 | obtain ⟨M, hM, hq⟩ := hQ |
| 17 | refine ⟨N * M, Nat.mul_pos hN hM, ?_⟩ |
| 18 | intro q _ hqm |
| 19 | have hm := Nat.coprime_mul_iff_right.mp hqm |
| 20 | exact h q (hp q hm.1) (hq q hm.2) |
| 21 | |
| 22 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PrimeBounds.CM |