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.Quotients.FiniteDescent.ProjectiveCechAt |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrderedCechObject |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree |
| 4 | |
| 5 | /-! # Projective Cech Flat -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCechFlat.Construction.ProjectiveCechComplex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The projective Cech model of an invertible sheaf is termwise flat over a flat base. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {S : Scheme.{u}} [IsAffine S] |
| 19 | variable (X : Over S) (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation X) |
| 20 | |
| 21 | theorem intersection_affine (q : ℕ) (i : Fin (q + 1) → ULift.{u} (Fin (P.dimension + 1))) : |
| 22 | IsAffineOpen (∏ᶜ fun k : Fin (q + 1) => ProjectiveCechAt.Construction.ProjectiveCechComplex.cover X P (i k)) := by |
| 23 | have := ProjectivePresentation.Construction.ProjectivePresentationEmbedding.closed X P |
| 24 | change IsAffineOpen (∏ᶜ fun k : Fin (q + 1) => |
| 25 | ProjectivePresentation.Construction.ProjectivePresentationEmbedding.map X P ⁻¹ᵁ SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (i k)) |
| 26 | rw [← SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Hom.preimage_cechIntersection] |
| 27 | exact (SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCechIntersection_isAffineOpen i).preimage |
| 28 | (ProjectivePresentation.Construction.ProjectivePresentationEmbedding.map X P) |
| 29 | |
| 30 | theorem flat [Flat X.hom] (M : X.left.Modules) (hM : SheafCohomology.Projective.Invertible.Scheme.Modules.IsInvertible M) (q : ℕ) : |
| 31 | Module.Flat Γ(Spec (.of Γ(S, ⊤)), ⊤) ((ProjectiveCechAt.Construction.ProjectiveCechComplex.complex X P M).X q) := by |
| 32 | have := ProjectiveCechAt.Construction.ProjectiveCechComplex.base_flat X P |
| 33 | exact OrderedCechObject.Construction.OrderedCechFlat.complex (ProjectiveCechAt.Construction.ProjectiveCechComplex.base X P) M hM (ProjectiveCechAt.Construction.ProjectiveCechComplex.cover X P) (intersection_affine X P) q |
| 34 | |
| 35 | theorem lineBundle_flat [Flat X.hom] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X.left) (q : ℕ) : |
| 36 | Module.Flat Γ(Spec (.of Γ(S, ⊤)), ⊤) ((ProjectiveCechAt.Construction.ProjectiveCechComplex.complex X P L.sheaf).X q) := |
| 37 | flat X P L.sheaf (LineBundleFree.Construction.LineBundleCoherence.invertible L) q |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCechFlat.Construction.ProjectiveCechComplex |