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.Embedded.HomFieldDetection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarized.DualProjectivity |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.HomOpenCoverDetection |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FixedDimension.PointEquivalence |
| 5 | |
| 6 | /-! # Polarized Dual Hom Detection -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Field pullbacks detect homomorphisms from a polarized abelian family |
| 13 | to its dual over every locally Noetherian base. The required product |
| 14 | embeddings are constructed on affine opens. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory |
| 17 | universe u |
| 18 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] {g N : ℕ} {δ : Fin g → ℕ} |
| 19 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) (hδ : ∀ i, 0 < δ i) |
| 20 | |
| 21 | include hδ |
| 22 | |
| 23 | set_option backward.isDefEq.respectTransparency false in |
| 24 | theorem PolarizationData.PolarizedAbelianWithFullLevel.dualHom_eq_of_fieldPullbacks |
| 25 | (f q : A.abelian.scheme ⟶ A.dual.abelian.scheme) [IsMonHom f] [IsMonHom q] |
| 26 | (h : ∀ (K : Type u) [Field K] (s : Spec (.of K) ⟶ S), |
| 27 | (Over.pullback s).map f = (Over.pullback s).map q) : f = q := by |
| 28 | let C := S.affineOpenCover.openCover |
| 29 | apply HilbertConstruction.Over.HomOpenCoverDetection.overHom_eq_of_openCoverPullbacks C |
| 30 | intro i |
| 31 | let R := S.affineOpenCover.X i |
| 32 | let : IsNoetherianRing R := Noetherian.AffineGluing.affineCoverCoordinateRing_noetherian S i |
| 33 | let : IsAffine (C.X i) := inferInstanceAs (IsAffine (Spec R)) |
| 34 | let : IsNoetherian (C.X i) := inferInstanceAs (IsNoetherian (Spec R)) |
| 35 | let : IsNoetherianRing Γ(C.X i, ⊤) := |
| 36 | isNoetherianRing_of_ringEquiv R (Scheme.ΓSpecIso R).symm.commRingCatIsoToRingEquiv |
| 37 | let B := A.pullback (C.f i) |
| 38 | let P := B.projectivePresentation_of_noetherian_affine |
| 39 | let Q := B.dualProjectivePresentation_of_noetherian_affine hδ |
| 40 | apply Embedded.HomFieldDetection.embeddedAbelianHom_eq_of_fieldPullbacks B.abelian B.dual.abelian |
| 41 | (P.product Q).embedding ((Over.pullback (C.f i)).map f) ((Over.pullback (C.f i)).map q) |
| 42 | intro K _ s |
| 43 | exact (Iterated.PullbackMapEquality.overPullback_map_eq_iff_iterated s (C.f i) f q).mp (h K (s ≫ C.f i)) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |