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.Coefficient.SectionTensorModelCriterion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.PushforwardModuleComparison |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Minimal.ResidueSections |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCohomology.DegreeZero |
| 5 | |
| 6 | /-! # Model First Cycles -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.ModelFirstCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The first cycles of the actual coefficient-changed model are the actual global sections on the pulled-back scheme. The B-linear and R-linear tensor differentials are compared through their identical underlying functions. These identifications transfer vanishing and nontriviality without changing scalar actions. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | open scoped TensorProduct |
| 15 | universe u |
| 16 | section |
| 17 | |
| 18 | variable {R B : Type u} [CommRing R] [CommRing B] [Algebra R B] |
| 19 | |
| 20 | def baseChangeFirstCyclesTensorEquiv (D : CochainComplex (ModuleCat.{u} R) ℕ) : |
| 21 | LinearMap.ker (Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R B (D.sc' 0 1 2)).f.hom ≃ |
| 22 | LinearMap.ker ((Module.TensorFunctor.ModuleTensorFunctor.complex B D).d 0 1).hom where |
| 23 | toFun x := ⟨x.val, by |
| 24 | have he := congrFun (LinearMap.baseChange_eq_ltensor (A := B) (D.d 0 1).hom) x.val |
| 25 | exact he.symm.trans x.property⟩ |
| 26 | invFun x := ⟨x.val, by |
| 27 | have he := congrFun (LinearMap.baseChange_eq_ltensor (A := B) (D.d 0 1).hom) x.val |
| 28 | exact he.trans x.property⟩ |
| 29 | left_inv _ := Subtype.ext rfl |
| 30 | right_inv _ := Subtype.ext rfl |
| 31 | |
| 32 | variable {X Y : Scheme.{u}} (a : Y ⟶ X) (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 33 | variable (q : B →+* Γ(Y, ⊤)) (hq : q.comp (algebraMap R B) = a.appTop.hom.comp c) |
| 34 | variable {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 35 | variable {D : CochainComplex (ModuleCat.{u} R) ℕ} |
| 36 | variable (φ : D ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex c M U) |
| 37 | variable [hψ : QuasiIsoAt (Module.TensorFunctor.ModuleTensorFunctor.map B φ ≫ |
| 38 | SectionTensorModelCriterion.coefficientCechTensorPushforwardMap a c M q hq U) 0] |
| 39 | |
| 40 | def coefficientCechModelFirstCyclesEquiv : |
| 41 | LinearMap.ker (Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R B (D.sc' 0 1 2)).f.hom ≃ |
| 42 | Γ((Scheme.Modules.pullback a).obj M, ⊤) := by |
| 43 | let L := (Scheme.Modules.pullback a).obj M |
| 44 | let N := (Scheme.Modules.pushforward a).obj L |
| 45 | let ψ := Module.TensorFunctor.ModuleTensorFunctor.map B φ ≫ SectionTensorModelCriterion.coefficientCechTensorPushforwardMap a c M q hq U |
| 46 | have : QuasiIsoAt ψ 0 := hψ |
| 47 | let e : ((Module.TensorFunctor.ModuleTensorFunctor.complex B D).d 0 1).hom.ker ≃ₗ[R] |
| 48 | (ModulePresheaf.coefficientModulePresheaf c N).obj (op ⊤) := Cech.ModelGlobalSections.CechModelSections.equiv c N U hU ψ |
| 49 | let t : (ModulePresheaf.coefficientModulePresheaf c N).obj (op ⊤) ≃ Γ(L, ⊤) := |
| 50 | (PushforwardModuleComparison.coefficientPushforwardModuleComponent a c L ⊤).toEquiv |
| 51 | exact (baseChangeFirstCyclesTensorEquiv (B := B) D).trans (e.toEquiv.trans t) |
| 52 | |
| 53 | include hψ hU in |
| 54 | theorem coefficientCechModel_firstCycles_subsingleton |
| 55 | (hs : Subsingleton Γ((Scheme.Modules.pullback a).obj M, ⊤)) : |
| 56 | Subsingleton (LinearMap.ker |
| 57 | (Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R B (D.sc' 0 1 2)).f.hom) := by |
| 58 | let e := coefficientCechModelFirstCyclesEquiv a c M q hq U hU φ |
| 59 | exact ⟨fun x y => e.injective (hs.elim (e x) (e y))⟩ |
| 60 | |
| 61 | include hψ hU in |
| 62 | theorem coefficientCechModel_firstCycles_subsingleton_of_cohomology_zero |
| 63 | (hH : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H ((Scheme.Modules.pullback a).obj M) 0)) : |
| 64 | Subsingleton (LinearMap.ker |
| 65 | (Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R B (D.sc' 0 1 2)).f.hom) := by |
| 66 | let L := (Scheme.Modules.pullback a).obj M |
| 67 | let cY := a.appTop.hom.comp c |
| 68 | let e : (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor cY 0).obj L ≃ Γ(L, ⊤) := |
| 69 | (CoefficientCohomology.DegreeZero.ZariskiCohomology.coefficientCohomologyZeroSectionsEquiv cY L).toEquiv.trans |
| 70 | (Global.ModuleSectionIdentity.coefficientGlobalSectionsNativeIso cY L).toEquiv |
| 71 | have hs : Subsingleton Γ(L, ⊤) := ⟨fun x y => e.symm.injective (hH.elim _ _)⟩ |
| 72 | exact coefficientCechModel_firstCycles_subsingleton a c M q hq U hU φ hs |
| 73 | |
| 74 | end |
| 75 | |
| 76 | theorem minimal_firstModule_nontrivial_of_residue_sections |
| 77 | {R : Type u} [CommRing R] [IsLocalRing R] |
| 78 | {X Y : Scheme.{u}} (a : Y ⟶ X) (c : R →+* Γ(X, ⊤)) (M : X.Modules) |
| 79 | (q : IsLocalRing.ResidueField R →+* Γ(Y, ⊤)) |
| 80 | (hq : q.comp (algebraMap R (IsLocalRing.ResidueField R)) = a.appTop.hom.comp c) |
| 81 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 82 | {D : CochainComplex (ModuleCat.{u} R) ℕ} |
| 83 | (φ : D ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex c M U) |
| 84 | [QuasiIsoAt (Module.TensorFunctor.ModuleTensorFunctor.map (IsLocalRing.ResidueField R) φ ≫ |
| 85 | SectionTensorModelCriterion.coefficientCechTensorPushforwardMap a c M q hq U) 0] |
| 86 | (Q : Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex (D.sc' 0 1 2)) |
| 87 | [Nontrivial Γ((Scheme.Modules.pullback a).obj M, ⊤)] : Nontrivial Q.complex.X₁ := by |
| 88 | let e := (coefficientCechModelFirstCyclesEquiv a c M q hq U hU φ).symm.trans |
| 89 | Q.residueFirstCyclesEquiv.toEquiv |
| 90 | rcases subsingleton_or_nontrivial Q.complex.X₁ with h | h |
| 91 | · have : Subsingleton Q.complex.X₁ := h |
| 92 | have hs : Subsingleton (IsLocalRing.ResidueField R ⊗[R] Q.complex.X₁) := inferInstance |
| 93 | obtain ⟨x, y, hxy⟩ := exists_pair_ne Γ((Scheme.Modules.pullback a).obj M, ⊤) |
| 94 | exact False.elim (hxy (e.injective (hs.elim (e x) (e y)))) |
| 95 | · exact h |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.ModelFirstCycles |