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 OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PrimeOrderPrimeCongruence |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.PrimeDepth |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarized.CoprimeUnitCongruence |
| 4 | |
| 5 | /-! # Prime Order Congruence -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! At every level at least three, one prime depending only on the level divides each prime-order polarized automorphism difference to every power. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {K : Type u} [Field K] {g N : ℕ} {δ : Fin g → ℕ} |
| 18 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 19 | |
| 20 | theorem PolarizationData.PolarizedAbelianWithFullLevel.primeOrder_difference_allPowers (hN : 3 ≤ N) : |
| 21 | ∃ q : ℕ, q.Prime ∧ ∀ (e : Moduli.Isomorphisms.LevelPreservingIso A A) (p : ℕ), p.Prime → |
| 22 | e.endRingUnit.val ^ p = 1 → ∀ k : ℕ, ∃ d : A.abelian.EndRing, |
| 23 | (q ^ k) • d = e.endRingUnit.val - 1 := by |
| 24 | obtain ⟨q, r, hq, hr, hsize, hd⟩ := Level.PrimeDepth.level_exists_prime_depth N hN |
| 25 | refine ⟨q, hq, fun e p hp he k => ?_⟩ |
| 26 | have : IsAddTorsionFree A.abelian.EndRing := Polarized.HomTorsionFree.polarized_addHom_isAddTorsionFree A A.abelian |
| 27 | obtain ⟨x, hx⟩ := e.endRingUnit_congruence |
| 28 | have hcong : ∃ y : A.abelian.EndRing, (q ^ r) • y = e.endRingUnit.val - 1 := by |
| 29 | refine ⟨(N / q ^ r) • x, ?_⟩ |
| 30 | rw [← mul_smul, Nat.mul_div_cancel' hd] |
| 31 | exact hx |
| 32 | exact PrimeOrderPrimeCongruence.primeOrder_primeCongruence_allPowers e.endRingUnit.val p q r hp hq hr hsize he hcong k |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |