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.Flat.BaseLineBundleSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ordered.CoefficientCechComplex |
| 3 | import Mathlib.LinearAlgebra.DFinsupp |
| 4 | |
| 5 | /-! # Line Bundle Cech Flat -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ordered.LineBundleCechFlat |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every term of a finite affine ordered Cech complex of a line bundle is flat over a flat affine base. -/ |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 13 | universe u |
| 14 | |
| 15 | variable {X S : Scheme.{u}} (f : X ⟶ S) [IsAffine S] [Flat f] |
| 16 | variable (L : Line.Bundles.LineBundle X) |
| 17 | variable {ι : Type u} [LinearOrder ι] [Finite ι] (U : ι → X.Opens) |
| 18 | |
| 19 | theorem orderedLineBundleCechObject_flat (q : ℕ) |
| 20 | (hU : ∀ i : Fin (q + 1) → ι, IsAffineOpen (∏ᶜ fun k : Fin (q + 1) => U (i k))) : |
| 21 | Module.Flat Γ(S, ⊤) (CoefficientCechTerms.orderedCoefficientCechObject f.appTop.hom L.sheaf U q) := by |
| 22 | classical |
| 23 | have : Finite (SectionCechIndices.OrderedCechIndex ι q) := inferInstanceAs |
| 24 | (Finite {i : Fin (q + 1) → ι // StrictMono i}) |
| 25 | let : Fintype (SectionCechIndices.OrderedCechIndex ι q) := Fintype.ofFinite _ |
| 26 | have : ∀ i : SectionCechIndices.OrderedCechIndex ι q, Module.Flat Γ(S, ⊤) (CoefficientCechTerms.coefficientCechFactor f.appTop.hom L.sheaf U q i.1) := |
| 27 | fun i => HilbertConstruction.Flat.BaseLineBundleSections.flat_base_lineBundle_sections f L ⟨_, hU i.1⟩ |
| 28 | have : Module.Flat Γ(S, ⊤) (CoefficientCechTerms.orderedCoefficientCechTerm f.appTop.hom L.sheaf U q) := |
| 29 | Module.Flat.of_linearEquiv |
| 30 | (DFinsupp.linearEquivFunOnFintype (R := Γ(S, ⊤)) |
| 31 | (M := fun i : SectionCechIndices.OrderedCechIndex ι q => ↥(CoefficientCechTerms.coefficientCechFactor f.appTop.hom L.sheaf U q i.1))).symm |
| 32 | exact Module.Flat.of_linearEquiv (CoefficientCechTerms.orderedCoefficientCechObjectIsoPi f.appTop.hom L.sheaf U q).toLinearEquiv |
| 33 | |
| 34 | theorem orderedLineBundleCechComplex_flat (hU : ∀ q (i : Fin (q + 1) → ι), |
| 35 | IsAffineOpen (∏ᶜ fun k : Fin (q + 1) => U (i k))) (q : ℕ) : |
| 36 | Module.Flat Γ(S, ⊤) ((CoefficientCechComplex.orderedCoefficientCechComplex f.appTop.hom L.sheaf U).X q) := |
| 37 | orderedLineBundleCechObject_flat f L U q (hU q) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ordered.LineBundleCechFlat |