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.AbelianScheme.IsogenyQuotient.Relative.CechConstants |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrderedCechObject |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree |
| 4 | import Mathlib.RingTheory.RingHom.Flat |
| 5 | |
| 6 | /-! # Cech Flat -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.CechFlat.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A finite affine Cech cover of a flat separated family has flat |
| 13 | native terms over the literal base ring. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false in |
| 21 | theorem flat_restrictScalars_of_flat_hom {R S : Type u} [CommRing R] [CommRing S] |
| 22 | (ρ : R →+* S) (hρ : ρ.Flat) (M : ModuleCat.{v} S) [Module.Flat S M] : |
| 23 | Module.Flat R ((ModuleCat.restrictScalars ρ).obj M) := by |
| 24 | let : Algebra R S := ρ.toAlgebra |
| 25 | let : Module R M := Module.compHom M ρ |
| 26 | have : IsScalarTower R S M := IsScalarTower.of_compHom R S M |
| 27 | have : Module.Flat R S := hρ |
| 28 | exact Module.Flat.trans R S M |
| 29 | |
| 30 | set_option backward.isDefEq.respectTransparency false in |
| 31 | theorem relativeStructureCech_flat |
| 32 | {R : Type u} [CommRing R] {X : Scheme.{u}} [X.IsSeparated] |
| 33 | (f : X ⟶ Spec (.of R)) [Flat f] |
| 34 | {ι : Type u} [LinearOrder ι] [Finite ι] (U : ι → X.Opens) |
| 35 | (hU : ∀ i, IsAffineOpen (U i)) (q : ℕ) : |
| 36 | Module.Flat R ((FormalGeometry.Completion.RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U).X q) := by |
| 37 | let M := (SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) U).X q |
| 38 | have : Module.Flat Γ(Spec (.of R), ⊤) M := |
| 39 | Quotients.FiniteDescent.OrderedCechObject.Construction.OrderedCechFlat.complex f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 40 | (Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X)) U |
| 41 | (fun d a => SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection U hU d a) q |
| 42 | exact flat_restrictScalars_of_flat_hom (Scheme.ΓSpecIso (.of R)).inv.hom |
| 43 | (RingHom.Flat.of_bijective (ConcreteCategory.bijective_of_isIso (Scheme.ΓSpecIso (.of R)).inv)) M |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.CechFlat.Construction |