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.AugmentedDualProjectiveResolution |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PoincareStalk.FieldSupport |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PoincareStalk.RegularParameters |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PoincareStalk.MinimalRank |
| 5 | |
| 6 | /-! # Dual Resolution -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual dimension-bounded Poincare model carries a projective resolution of the residue field on its full chain dual, with no assumed resolution or augmentation. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | universe u |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | variable {K : Type u} [Field K] {g : ℕ} {A : Abelian.Schemes.AbelianScheme g (Spec (.of K))} |
| 20 | variable (D : Dual.Data.DualAbelianData A) |
| 21 | variable {P : Scheme.{u}} [P.IsSeparated] |
| 22 | variable {a : P ⟶ (D.abelian.scheme ⊗ A.scheme).left} {b : P ⟶ D.poincareZeroStalkScheme} |
| 23 | variable (H : IsPullback a b (pullback.fst D.abelian.scheme.hom A.scheme.hom) D.poincareZeroStalkParameterMap) |
| 24 | variable {κ : Type u} [LinearOrder κ] [Finite κ] (U : κ → P.Opens) |
| 25 | variable (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) |
| 26 | variable (he : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj |
| 27 | (D.poincare.pullback a).sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 28 | variable {C : CochainComplex (ModuleCat.{u} Γ(D.poincareZeroStalkScheme, ⊤)) ℕ} |
| 29 | variable (φ : C ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex b.appTop.hom (D.poincare.pullback a).sheaf U) |
| 30 | variable (ht : ∀ (B : Type u) [AddCommGroup B] [Module Γ(D.poincareZeroStalkScheme, ⊤) B], |
| 31 | QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ)) |
| 32 | variable (hfin : ∀ q, Module.Finite Γ(D.poincareZeroStalkScheme, ⊤) (C.X q)) |
| 33 | variable (hfree : ∀ q, Module.Free Γ(D.poincareZeroStalkScheme, ⊤) (C.X q)) |
| 34 | variable (hbound : ∀ q, g < q → IsZero (C.X q)) |
| 35 | variable (Q : Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex (C.sc' 0 1 2)) |
| 36 | |
| 37 | def Dual.Data.DualAbelianData.poincareZeroStalk_dualProjectiveResolution : |
| 38 | Projective.ResolutionBasic.ProjectiveResolution (ModuleCat.of Γ(D.poincareZeroStalkScheme, ⊤) |
| 39 | (IsLocalRing.ResidueField Γ(D.poincareZeroStalkScheme, ⊤))) := by |
| 40 | let R := Γ(D.poincareZeroStalkScheme, ⊤) |
| 41 | let rs := Classical.choose D.poincareZeroStalk_regular_parameters |
| 42 | have hrs := Classical.choose_spec D.poincareZeroStalk_regular_parameters |
| 43 | let e : R ≃ₗ[R] Q.complex.X₁ := Classical.choice |
| 44 | (Module.nonempty_linearEquiv_of_finrank_eq_one |
| 45 | (D.poincareZeroStalk_minimal_firstModule_finrank_one H U hU ha he φ ht Q)) |
| 46 | have hI := D.poincareZeroStalk_minimal_firstDifferentialIdeal_eq_maximal H U hU ha he φ ht Q |
| 47 | exact AugmentedDualProjectiveResolution.minimalDualProjectiveResolution C g hfin hfree hbound rs hrs.2.2 hrs.1 hrs.2.1 |
| 48 | (D.poincareZeroStalk_model_field_support H U hU ha he φ ht) Q e hI |
| 49 | |
| 50 | theorem Dual.Data.DualAbelianData.poincareZeroStalk_dualProjectiveResolution_complex : |
| 51 | (D.poincareZeroStalk_dualProjectiveResolution H U hU ha he φ ht hfin hfree hbound Q).complex = |
| 52 | HilbertConstruction.Module.DualFunctor.dualModuleComplex C := rfl |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |