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.PoincareStalk.HomologySupport |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.ModelAllDegreeVanishing |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cochain.FieldSupport |
| 4 | |
| 5 | /-! # Field Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The genuine Poincare stalk model is acyclic after every field-valued coefficient map whose kernel does not contain the maximal ideal. This stronger support condition survives scalar quotients. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | universe u |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | variable {K : Type u} [Field K] {g : ℕ} {A : Abelian.Schemes.AbelianScheme g (Spec (.of K))} |
| 19 | variable (D : Dual.Data.DualAbelianData A) |
| 20 | variable {P : Scheme.{u}} [P.IsSeparated] |
| 21 | variable {a : P ⟶ (D.abelian.scheme ⊗ A.scheme).left} {b : P ⟶ D.poincareZeroStalkScheme} |
| 22 | variable (H : IsPullback a b (pullback.fst D.abelian.scheme.hom A.scheme.hom) D.poincareZeroStalkParameterMap) |
| 23 | variable {κ : Type u} [LinearOrder κ] [Finite κ] (U : κ → P.Opens) |
| 24 | variable (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) |
| 25 | variable (he : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj |
| 26 | (D.poincare.pullback a).sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 27 | variable {C : CochainComplex (ModuleCat.{u} Γ(D.poincareZeroStalkScheme, ⊤)) ℕ} |
| 28 | variable (φ : C ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex b.appTop.hom (D.poincare.pullback a).sheaf U) |
| 29 | variable (ht : ∀ (B : Type u) [AddCommGroup B] [Module Γ(D.poincareZeroStalkScheme, ⊤) B], |
| 30 | QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ)) |
| 31 | |
| 32 | include H hU ha he ht in |
| 33 | theorem Dual.Data.DualAbelianData.poincareZeroStalk_model_field_support : |
| 34 | Cochain.FieldSupport.CochainFieldSupport C (IsLocalRing.maximalIdeal Γ(D.poincareZeroStalkScheme, ⊤)) := by |
| 35 | intro B _ _ hnot |
| 36 | have : IsLocalRing Γ(Spec (D.abelian.scheme.left.presheaf.stalk |
| 37 | (η[D.abelian.scheme].left (IsLocalRing.closedPoint K))), ⊤) := |
| 38 | Dual.Data.DualAbelianData.poincareZeroStalkGlobalSections_isLocalRing D |
| 39 | let T := D.poincareZeroStalkScheme |
| 40 | let t := D.poincareZeroStalkParameterMap |
| 41 | let R := Γ(T, ⊤) |
| 42 | let j : Spec (.of B) ⟶ T := Affine.QuotientCoefficientMap.affineCoordinateMap (algebraMap R B) |
| 43 | let a' := pullback.fst b j |
| 44 | let b' := pullback.snd b j |
| 45 | let H' : IsPullback a' b' b j := IsPullback.of_hasPullback b j |
| 46 | let c : Spec (.of B) ⟶ Spec (.of K) := (j ≫ t) ≫ D.abelian.scheme.hom |
| 47 | let x : (Over.map c).obj (𝟙_ (Over (Spec (.of B)))) ⟶ D.abelian.scheme := |
| 48 | Over.homMk (j ≫ t) (by change _ = (𝟙 _) ≫ c; exact (Category.id_comp c).symm) |
| 49 | have hx : x ≠ 1 := by |
| 50 | intro h |
| 51 | apply hnot |
| 52 | apply Affine.StalkCoefficientSupport.affine_stalk_coefficient_maximal_le_kernel_of_rational_zero |
| 53 | D.abelian.scheme.hom η[D.abelian.scheme].left η[D.abelian.scheme].w (algebraMap R B) |
| 54 | have hh := congrArg Over.Hom.left h |
| 55 | rw [Hom.one_def] at hh |
| 56 | change j ≫ t = ((𝟙 _) ≫ c) ≫ η[D.abelian.scheme].left at hh |
| 57 | exact hh.trans (congrArg (fun w : Spec (.of B) ⟶ Spec (.of K) => w ≫ η[D.abelian.scheme].left) |
| 58 | (Category.id_comp c)) |
| 59 | let HF : IsPullback (a' ≫ a) b' (pullback.fst D.abelian.scheme.hom A.scheme.hom) x.left := |
| 60 | H'.paste_horiz H |
| 61 | let L := D.poincare.pullback a |
| 62 | let e : (L.pullback a').sheaf ≅ (D.poincare.pullback (a' ≫ a)).sheaf := |
| 63 | (Scheme.Modules.pullbackComp a' a).app D.poincare.sheaf |
| 64 | have hAlg : (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap j).toAlgebra = (inferInstance : Algebra R B) := by |
| 65 | rw [Affine.QuotientCoefficientMap.specBaseCoefficientMap_affineCoordinateMap] |
| 66 | exact toAlgebra_algebraMap |
| 67 | intro q |
| 68 | have hzero := D.poincareFieldFiber_cohomology_vanish c x HF hx q |
| 69 | let eH := (Zariski.Cohomology.ZariskiCohomology.zariskiFunctor (CategoryTheory.Limits.pullback b j) q).mapIso e |
| 70 | have hi : Function.Injective eH.hom := (AddCommGrpCat.mono_iff_injective eH.hom).mp inferInstance |
| 71 | have hL : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (L.pullback a').sheaf q) := |
| 72 | ⟨fun y z => hi (hzero.elim _ _)⟩ |
| 73 | have hres := HilbertConstruction.Spec.ModelAllDegreeVanishing.spec_model_exactAt_of_cohomology_zero_all H' L U hU ha he φ ht q hL |
| 74 | have hexa : (((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B).mapHomologicalComplex (.up ℕ)).obj C).ExactAt q := by |
| 75 | erw [hAlg] at hres |
| 76 | exact hres |
| 77 | exact (Base.ChangeTensorExactness.baseChange_exactAt_iff_tensor C q).mp hexa |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |