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.AffineProjective.IdealMatching |
| 2 | |
| 3 | /-! # Ideal Gluing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineProjective |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Effective gluing of coefficient-compatible projective ideals, with recovery on every affine base. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S : Scheme.{u}} {n : ℕ} (D : IdealMatching.AffineProjectiveIdealData S n) |
| 16 | |
| 17 | def IdealMatching.AffineProjectiveIdealData.glue : (Projective.ProjectivePresentations.projectiveSpaceOver S n).left.IdealSheafData := |
| 18 | (D.matchingData S.affineOpenCover).glue |
| 19 | |
| 20 | theorem IdealMatching.AffineProjectiveIdealData.glue_comap_member (i : S.affineOpenCover.I₀) : |
| 21 | D.glue.comap (Charts.affineProjectiveChartMap (S.affineOpenCover.f i) n) = |
| 22 | D.ideal (S.affineOpenCover.f i) := |
| 23 | (D.matchingData S.affineOpenCover).glue_comap i |
| 24 | |
| 25 | theorem IdealMatching.AffineProjectiveIdealData.glue_comap {R : CommRingCat.{u}} (x : Spec R ⟶ S) : |
| 26 | D.glue.comap (Charts.affineProjectiveChartMap x n) = D.ideal x := by |
| 27 | let C := Projective.AffineCover.projectiveAffineOpenCover S.affineOpenCover n |
| 28 | let f := Charts.affineProjectiveChartMap x n |
| 29 | apply ClosedFamily.OpenEquality.ideal_eq_of_open_cover (C.pullback₁ f) |
| 30 | intro i |
| 31 | let a := pullback.fst f (C.f i) |
| 32 | let b := pullback.snd f (C.f i) |
| 33 | have hi : D.glue.comap (C.f i) = D.ideal (S.affineOpenCover.f i) := D.glue_comap_member i |
| 34 | have hm : (D.ideal x).comap a = (D.ideal (S.affineOpenCover.f i)).comap b := |
| 35 | D.compatible x (S.affineOpenCover.f i) a b pullback.condition |
| 36 | change (D.glue.comap f).comap a = (D.ideal x).comap a |
| 37 | exact (D.glue.comap_comp a f).symm.trans |
| 38 | ((congrArg (fun q => D.glue.comap q) (show a ≫ f = b ≫ C.f i from pullback.condition)).trans |
| 39 | ((D.glue.comap_comp b (C.f i)).trans |
| 40 | ((congrArg (fun I => I.comap b) hi).trans hm.symm))) |
| 41 | |
| 42 | theorem IdealMatching.AffineProjectiveIdealData.glue_unique (I : (Projective.ProjectivePresentations.projectiveSpaceOver S n).left.IdealSheafData) |
| 43 | (hI : ∀ {R : CommRingCat.{u}} (x : Spec R ⟶ S), |
| 44 | I.comap (Charts.affineProjectiveChartMap x n) = D.ideal x) : I = D.glue := |
| 45 | ClosedFamily.OpenEquality.ideal_eq_of_open_cover (Projective.AffineCover.projectiveAffineOpenCover S.affineOpenCover n) I D.glue |
| 46 | (fun i => (hI (S.affineOpenCover.f i)).trans (D.glue_comap_member i).symm) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineProjective |