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.BaseSections |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech |
| 3 | import Mathlib.LinearAlgebra.DFinsupp |
| 4 | |
| 5 | /-! # Ordered Cech Object -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrderedCechObject.Construction.OrderedCechFlat |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every term of a finite affine ordered Cech complex is flat over a flat base. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X S : Scheme.{u}} (f : X ⟶ S) [IsAffine S] [Flat f] |
| 19 | variable (M : X.Modules) (hM : SheafCohomology.Projective.Invertible.Scheme.Modules.IsInvertible M) |
| 20 | variable {ι : Type u} [LinearOrder ι] [Finite ι] (U : ι → X.Opens) |
| 21 | |
| 22 | include hM in |
| 23 | theorem object (q : ℕ) |
| 24 | (hU : ∀ i : Fin (q + 1) → ι, IsAffineOpen (∏ᶜ fun k : Fin (q + 1) => U (i k))) : |
| 25 | Module.Flat Γ(S, ⊤) (SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechObject f M U q) := by |
| 26 | classical |
| 27 | have : Finite (SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q) := inferInstanceAs |
| 28 | (Finite {i : Fin (q + 1) → ι // StrictMono i}) |
| 29 | let : Fintype (SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q) := Fintype.ofFinite _ |
| 30 | have : ∀ i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q, Module.Flat Γ(S, ⊤) (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor f M U q i.1) := |
| 31 | fun i => BaseSections.Construction.BaseSectionsFlat.flat f M hM ⟨_, hU i.1⟩ |
| 32 | have : Module.Flat Γ(S, ⊤) (SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechTerm f M U q) := |
| 33 | Module.Flat.of_linearEquiv |
| 34 | (DFinsupp.linearEquivFunOnFintype (R := Γ(S, ⊤)) |
| 35 | (M := fun i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q => ↥(SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor f M U q i.1))).symm |
| 36 | exact Module.Flat.of_linearEquiv (SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechObjectIsoPi f M U q).toLinearEquiv |
| 37 | |
| 38 | include hM in |
| 39 | theorem complex (hU : ∀ q (i : Fin (q + 1) → ι), |
| 40 | IsAffineOpen (∏ᶜ fun k : Fin (q + 1) => U (i k))) (q : ℕ) : |
| 41 | Module.Flat Γ(S, ⊤) ((SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex f M U).X q) := |
| 42 | object f M hM U q (hU q) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrderedCechObject.Construction.OrderedCechFlat |