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.ProjectivePresentation |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.StandardCech |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 4 | |
| 5 | /-! # Projective Cech At -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The bounded affine Cech complex attached to an actual projective presentation. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {S : Scheme.{u}} (X : Over S) (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation X) |
| 19 | |
| 20 | def base : X.left ⟶ Spec (.of Γ(S, ⊤)) := |
| 21 | ProjectivePresentation.Construction.ProjectivePresentationEmbedding.map X P ≫ |
| 22 | SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := Γ(S, ⊤)) (σ := Fin (P.dimension + 1)) |
| 23 | |
| 24 | def cover (i : ULift.{u} (Fin (P.dimension + 1))) : X.left.Opens := |
| 25 | ProjectivePresentation.Construction.ProjectivePresentationEmbedding.map X P ⁻¹ᵁ SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover i |
| 26 | |
| 27 | theorem covers : iSup (cover X P) = ⊤ := by |
| 28 | apply top_unique |
| 29 | intro x _ |
| 30 | have hx : ProjectivePresentation.Construction.ProjectivePresentationEmbedding.map X P x ∈ |
| 31 | iSup (SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := Γ(S, ⊤)) : |
| 32 | ULift.{u} (Fin (P.dimension + 1)) → (Proj _).Opens) := by |
| 33 | rw [SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top] |
| 34 | trivial |
| 35 | obtain ⟨i, hi⟩ := TopologicalSpace.Opens.mem_iSup.mp hx |
| 36 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨i, hi⟩ |
| 37 | |
| 38 | theorem affine [IsAffine S] (i : ULift.{u} (Fin (P.dimension + 1))) : |
| 39 | IsAffineOpen (cover X P i) := by |
| 40 | have := ProjectivePresentation.Construction.ProjectivePresentationEmbedding.closed X P |
| 41 | exact (SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover_isAffineOpen i).preimage |
| 42 | (ProjectivePresentation.Construction.ProjectivePresentationEmbedding.map X P) |
| 43 | |
| 44 | def complex (M : X.left.Modules) : |
| 45 | CochainComplex (ModuleCat Γ(Spec (.of Γ(S, ⊤)), ⊤)) ℕ := |
| 46 | SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex (base X P) M (cover X P) |
| 47 | |
| 48 | theorem bounded (M : X.left.Modules) (q : ℕ) (hq : P.dimension + 1 ≤ q) : |
| 49 | IsZero ((complex X P M).X q) := by |
| 50 | apply SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechObject_isZero_of_card_le |
| 51 | simpa only [Fintype.card_ulift, Fintype.card_fin] using hq |
| 52 | |
| 53 | theorem exactAt (M : X.left.Modules) (q : ℕ) (hq : P.dimension + 1 ≤ q) : |
| 54 | (complex X P M).ExactAt q := by |
| 55 | apply SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex_exactAt_of_card_le |
| 56 | simpa only [Fintype.card_ulift, Fintype.card_fin] using hq |
| 57 | |
| 58 | theorem base_flat [IsAffine S] [Flat X.hom] : Flat (base X P) := by |
| 59 | change Flat (ProjectivePresentation.Construction.ProjectivePresentationEmbedding.map X P ≫ _) |
| 60 | rw [ProjectivePresentation.Construction.ProjectivePresentationEmbedding.map_base] |
| 61 | infer_instance |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex |