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.Minimal.ModelResidueDimensions |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PoincareStalk.DualResolution |
| 3 | |
| 4 | /-! # Residue All Dimensions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! All cohomology dimensions of a residue-field specialization of the actual Poincare stalk model are the binomial coefficients of the geometric dimension. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | open _root_.CategoryTheory.MonoidalCategory |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable {K : Type u} [Field K] {g : ℕ} {A : Abelian.Schemes.AbelianScheme g (Spec (.of K))} |
| 18 | variable (D : Dual.Data.DualAbelianData A) |
| 19 | variable {P : Scheme.{u}} [P.IsSeparated] |
| 20 | variable {a : P ⟶ (D.abelian.scheme ⊗ A.scheme).left} {b : P ⟶ D.poincareZeroStalkScheme} |
| 21 | variable (H : IsPullback a b (pullback.fst D.abelian.scheme.hom A.scheme.hom) D.poincareZeroStalkParameterMap) |
| 22 | variable {κ : Type u} [LinearOrder κ] [Finite κ] (U : κ → P.Opens) |
| 23 | variable (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) |
| 24 | variable (he : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj |
| 25 | (D.poincare.pullback a).sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 26 | variable {C : CochainComplex (ModuleCat.{u} Γ(D.poincareZeroStalkScheme, ⊤)) ℕ} |
| 27 | variable (φ : C ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex b.appTop.hom (D.poincare.pullback a).sheaf U) |
| 28 | variable (ht : ∀ (B : Type u) [AddCommGroup B] [Module Γ(D.poincareZeroStalkScheme, ⊤) B], |
| 29 | QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ)) |
| 30 | variable (hfin : ∀ q, Module.Finite Γ(D.poincareZeroStalkScheme, ⊤) (C.X q)) |
| 31 | variable (hfree : ∀ q, Module.Free Γ(D.poincareZeroStalkScheme, ⊤) (C.X q)) |
| 32 | variable (hbound : ∀ q, g < q → IsZero (C.X q)) |
| 33 | variable (Q : Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex (C.sc' 0 1 2)) |
| 34 | |
| 35 | include H hU ha he ht hfin hfree hbound Q in |
| 36 | theorem Dual.Data.DualAbelianData.poincareZeroStalk_model_closedField_cohomology_finrank |
| 37 | (B : Type u) [Field B] [Algebra Γ(D.poincareZeroStalkScheme, ⊤) B] |
| 38 | (hkill : IsLocalRing.maximalIdeal Γ(D.poincareZeroStalkScheme, ⊤) ≤ |
| 39 | RingHom.ker (algebraMap Γ(D.poincareZeroStalkScheme, ⊤) B)) (q : ℕ) : |
| 40 | Module.finrank B |
| 41 | ((((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor Γ(D.poincareZeroStalkScheme, ⊤) B).mapHomologicalComplex |
| 42 | (.up ℕ)).obj C).homology q) = g.choose q := by |
| 43 | let R := Γ(D.poincareZeroStalkScheme, ⊤) |
| 44 | let rs := Classical.choose D.poincareZeroStalk_regular_parameters |
| 45 | have hrs := Classical.choose_spec D.poincareZeroStalk_regular_parameters |
| 46 | let e : R ≃ₗ[R] Q.complex.X₁ := Classical.choice |
| 47 | (Module.nonempty_linearEquiv_of_finrank_eq_one |
| 48 | (D.poincareZeroStalk_minimal_firstModule_finrank_one H U hU ha he φ ht Q)) |
| 49 | have hI := D.poincareZeroStalk_minimal_firstDifferentialIdeal_eq_maximal H U hU ha he φ ht Q |
| 50 | exact Minimal.ModelResidueDimensions.minimalModel_closedField_cohomology_finrank C g hfin hfree hbound rs hrs.2.2 hrs.1 hrs.2.1 |
| 51 | (D.poincareZeroStalk_model_field_support H U hU ha he φ ht) Q e hI B hkill q |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |