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.RingTheory.Etale.StandardEtale |
| 2 | |
| 3 | /-! # Standard Etale Powers -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.StandardEtalePowers |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Positive powers of the localization polynomial preserve the actual standard etale algebra. -/ |
| 10 | |
| 11 | open _root_.Polynomial |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {R : Type u} [CommRing R] (P Q : StandardEtalePair R) (n : ℕ) |
| 16 | (hf : Q.f = P.f) (hg : Q.g = P.g ^ (n + 1)) |
| 17 | |
| 18 | include hf hg in |
| 19 | theorem forward_hasMap : Q.HasMap P.X := by |
| 20 | constructor |
| 21 | · rw [hf] |
| 22 | exact P.hasMap_X.1 |
| 23 | · rw [hg, map_pow] |
| 24 | exact P.hasMap_X.2.pow (n + 1) |
| 25 | |
| 26 | include hf hg in |
| 27 | theorem backward_hasMap : P.HasMap Q.X := by |
| 28 | constructor |
| 29 | · rw [← hf] |
| 30 | exact Q.hasMap_X.1 |
| 31 | · apply (isUnit_pow_succ_iff).mp |
| 32 | rw [← map_pow, ← hg] |
| 33 | exact Q.hasMap_X.2 |
| 34 | |
| 35 | def equiv : Q.Ring ≃ₐ[R] P.Ring := |
| 36 | AlgEquiv.ofAlgHom (Q.lift P.X (forward_hasMap P Q n hf hg)) |
| 37 | (P.lift Q.X (backward_hasMap P Q n hf hg)) |
| 38 | (P.hom_ext (by simp only [AlgHom.comp_apply, StandardEtalePair.lift_X, AlgHom.id_apply])) |
| 39 | (Q.hom_ext (by simp only [AlgHom.comp_apply, StandardEtalePair.lift_X, AlgHom.id_apply])) |
| 40 | |
| 41 | theorem equiv_X : equiv P Q n hf hg Q.X = P.X := |
| 42 | Q.lift_X P.X (forward_hasMap P Q n hf hg) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.IntegralComparison.StandardEtalePowers |