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.RepresentationTheory.Hecke.NoetherianTargetPELRecovery |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MonoidHomOpenLocality |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.IsomorphismUniqueness |
| 4 | |
| 5 | /-! # Target Iso Open Locality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Local complete polarized comparisons to a modeled target recover |
| 12 | one global comparison. The abelian component is specified as an actual |
| 13 | scheme isomorphism; its group equations also descend from the cover. |
| 14 | The source family and test scheme are unrestricted. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable {S T : Scheme.{0}} [IsLocallyNoetherian S] {g N : ℕ} {δ : Fin g → ℕ} |
| 19 | (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) (f : T ⟶ S) |
| 20 | (B : PolarizationData.PolarizedAbelianWithFullLevel g δ N T) |
| 21 | (e : B.abelian.scheme ≅ (A.pullback f).abelian.scheme) |
| 22 | (C : T.OpenCover) |
| 23 | (a : ∀ i, Moduli.Isomorphisms.LevelPreservingIso (B.pullback (C.f i)) ((A.pullback f).pullback (C.f i))) |
| 24 | (ha : ∀ i, (a i).abelian.hom = (Over.pullback (C.f i)).map e.hom) |
| 25 | |
| 26 | /-- Only the target must come from a locally Noetherian model. In |
| 27 | particular neither the source family nor T is assumed Noetherian. -/ |
| 28 | def Moduli.Isomorphisms.LevelPreservingIso.ofOpenCover_modeledTarget : Moduli.Isomorphisms.LevelPreservingIso B (A.pullback f) := by |
| 29 | letI : IsMonHom e.hom := by |
| 30 | apply MonoidHomOpenLocality.isMonHom_of_openCover e.hom C |
| 31 | intro i |
| 32 | rw [← ha i] |
| 33 | exact (a i).abelianGroup |
| 34 | exact RepresentationTheory.Hecke.NoetherianTargetPELRecovery.OrdinaryCharacterIntrinsic.polarized_comparison_to_noetherian_pullback_of_local A f B e C a ha |
| 35 | |
| 36 | theorem Moduli.Isomorphisms.LevelPreservingIso.ofOpenCover_modeledTarget_abelian : |
| 37 | (Moduli.Isomorphisms.LevelPreservingIso.ofOpenCover_modeledTarget A f B e C a ha).abelian = e := rfl |
| 38 | |
| 39 | /-- The recovered global comparison restricts to every original local |
| 40 | comparison, including its dual and Poincare data. -/ |
| 41 | theorem Moduli.Isomorphisms.LevelPreservingIso.ofOpenCover_modeledTarget_pullback (i : C.I₀) : |
| 42 | (Moduli.Isomorphisms.LevelPreservingIso.ofOpenCover_modeledTarget A f B e C a ha).pullback (C.f i) = a i := by |
| 43 | apply Moduli.Isomorphisms.LevelPreservingIso.ext_abelian |
| 44 | change (Over.pullback (C.f i)).map e.hom = (a i).abelian.hom |
| 45 | exact (ha i).symm |
| 46 | |
| 47 | theorem Moduli.Isomorphisms.LevelPreservingIso.ofOpenCover_modeledTarget_unique (q : Moduli.Isomorphisms.LevelPreservingIso B (A.pullback f)) |
| 48 | (hq : q.abelian = e) : q = Moduli.Isomorphisms.LevelPreservingIso.ofOpenCover_modeledTarget A f B e C a ha := |
| 49 | Moduli.Isomorphisms.LevelPreservingIso.ext_abelian q _ (congrArg Iso.hom hq) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |