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.MinimalIdeal |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.StalkCoefficientSupport |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.ModelFirstCycles |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Poincare.FieldFiberCohomology |
| 5 | |
| 6 | /-! # Residue Cycle Support -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The genuine universal Cech model of the Poincare family on the stalk at the rational dual zero point has first residue cycles supported at the maximal ideal. Nonidentity of each other prime's actual field point follows from its coefficient kernel; vanishing follows from the actual Poincare field-fiber theorem. -/ |
| 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 | |
| 33 | include H hU ha he ht in |
| 34 | theorem Dual.Data.DualAbelianData.poincareZeroStalk_firstResidueCycles_vanish |
| 35 | (v : PrimeSpectrum Γ(D.poincareZeroStalkScheme, ⊤)) |
| 36 | (hv : v ≠ IsLocalRing.closedPoint Γ(D.poincareZeroStalkScheme, ⊤)) : |
| 37 | Subsingleton (LinearMap.ker |
| 38 | (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex Γ(D.poincareZeroStalkScheme, ⊤) |
| 39 | v.asIdeal.ResidueField (C.sc' 0 1 2)).f.hom) := by |
| 40 | have : IsLocalRing Γ(Spec (D.abelian.scheme.left.presheaf.stalk |
| 41 | (η[D.abelian.scheme].left (IsLocalRing.closedPoint K))), ⊤) := |
| 42 | Dual.Data.DualAbelianData.poincareZeroStalkGlobalSections_isLocalRing D |
| 43 | let T := D.poincareZeroStalkScheme |
| 44 | let t := D.poincareZeroStalkParameterMap |
| 45 | let R := Γ(T, ⊤) |
| 46 | let B := v.asIdeal.ResidueField |
| 47 | let j : Spec (.of B) ⟶ T := Affine.QuotientCoefficientMap.affineCoordinateMap (algebraMap R B) |
| 48 | let a' := pullback.fst b j |
| 49 | let b' := pullback.snd b j |
| 50 | let H' : IsPullback a' b' b j := IsPullback.of_hasPullback b j |
| 51 | let c : Spec (.of B) ⟶ Spec (.of K) := (j ≫ t) ≫ D.abelian.scheme.hom |
| 52 | let x : (Over.map c).obj (𝟙_ (Over (Spec (.of B)))) ⟶ D.abelian.scheme := |
| 53 | Over.homMk (j ≫ t) (by change _ = (𝟙 _) ≫ c; exact (Category.id_comp c).symm) |
| 54 | have hz : η[D.abelian.scheme].left ≫ D.abelian.scheme.hom = 𝟙 (Spec (.of K)) := η[D.abelian.scheme].w |
| 55 | have hx : x ≠ 1 := by |
| 56 | intro h |
| 57 | apply Affine.StalkCoefficientSupport.affine_stalk_primeResidue_ne_rational_zero D.abelian.scheme.hom η[D.abelian.scheme].left hz v hv |
| 58 | have hh := congrArg Over.Hom.left h |
| 59 | rw [Hom.one_def] at hh |
| 60 | change j ≫ t = ((𝟙 _) ≫ c) ≫ η[D.abelian.scheme].left at hh |
| 61 | exact hh.trans (congrArg (fun w : Spec (.of B) ⟶ Spec (.of K) => w ≫ η[D.abelian.scheme].left) |
| 62 | (Category.id_comp c)) |
| 63 | let HF : IsPullback (a' ≫ a) b' (pullback.fst D.abelian.scheme.hom A.scheme.hom) x.left := |
| 64 | H'.paste_horiz H |
| 65 | have hzero := D.poincareFieldFiber_cohomology_vanish c x HF hx 0 |
| 66 | let L := D.poincare.pullback a |
| 67 | let e : (L.pullback a').sheaf ≅ (D.poincare.pullback (a' ≫ a)).sheaf := |
| 68 | (Scheme.Modules.pullbackComp a' a).app D.poincare.sheaf |
| 69 | let eH := (Zariski.Cohomology.ZariskiCohomology.zariskiFunctor (CategoryTheory.Limits.pullback b j) 0).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 0) := |
| 72 | ⟨fun y z => hi (hzero.elim _ _)⟩ |
| 73 | have hAlg : (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap j).toAlgebra = (inferInstance : Algebra R B) := by |
| 74 | rw [Affine.QuotientCoefficientMap.specBaseCoefficientMap_affineCoordinateMap] |
| 75 | exact toAlgebra_algebraMap |
| 76 | have hres : |
| 77 | letI : Algebra R B := (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap j).toAlgebra |
| 78 | Subsingleton (LinearMap.ker |
| 79 | (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R B (C.sc' 0 1 2)).f.hom) := by |
| 80 | let : Algebra R B := (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap j).toAlgebra |
| 81 | let : AddCommGroup B := (inferInstance : CommRing B).toAddCommGroup |
| 82 | let : Module R B := (inferInstance : Algebra R B).toModule |
| 83 | let q : B →+* Γ(CategoryTheory.Limits.pullback b j, ⊤) := HilbertConstruction.Spec.CoefficientCechComparison.specPullbackCoefficientMap (b := b') |
| 84 | have hq : q.comp (algebraMap R B) = a'.appTop.hom.comp b.appTop.hom := |
| 85 | HilbertConstruction.Spec.CoefficientCechComparison.specPullbackCoefficient_compatible H' |
| 86 | have : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra j) φ) := ht (Affine.TensorSectionComparison.morphismGlobalAlgebra j) |
| 87 | have hcomparison := HilbertConstruction.Spec.CoefficientCechComparison.spec_affineFrame_coefficientCechModel_quasiIsoAt H' U L ha he φ 0 |
| 88 | exact Coefficient.ModelFirstCycles.coefficientCechModel_firstCycles_subsingleton_of_cohomology_zero (hψ := hcomparison) |
| 89 | a' b.appTop.hom L.sheaf q hq U hU φ hL |
| 90 | erw [hAlg] at hres |
| 91 | exact hres |
| 92 | |
| 93 | include H hU ha he ht in |
| 94 | theorem Dual.Data.DualAbelianData.poincareZeroStalk_firstDifferentialIdeal_eq_maximal_of_nontrivial_minimal_source |
| 95 | (Q : Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex (C.sc' 0 1 2)) [Nontrivial Q.complex.X₁] : |
| 96 | Q.firstDifferentialIdeal = IsLocalRing.maximalIdeal Γ(D.poincareZeroStalkScheme, ⊤) := |
| 97 | D.poincareZeroStalk_firstDifferentialIdeal_eq_maximal_of_residue_support H U hU ha he φ ht Q |
| 98 | (IsLocalRing.closedPoint Γ(D.poincareZeroStalkScheme, ⊤)) |
| 99 | (fun v hv => D.poincareZeroStalk_firstResidueCycles_vanish H U hU ha he φ ht v hv) |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |