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.Spec.ModelVanishing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.AllDegreeComparison |
| 3 | |
| 4 | /-! # Model All Degree Vanishing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.ModelAllDegreeVanishing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual Spec B fiber comparison transfers cohomology vanishing to the B-linear model in every degree, including degree zero. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem geometric_model_exactAt_of_cohomology_zero_all |
| 15 | {S X Y P : Scheme.{u}} [P.IsSeparated] |
| 16 | {a : P ⟶ X} [IsAffineHom a] {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 17 | (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) |
| 18 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 19 | (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) |
| 20 | {C : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 21 | (φ : C ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex f.appTop.hom L.sheaf U) (q : ℕ) |
| 22 | [QuasiIsoAt (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra g) φ ≫ Geometric.CechTensorComparison.geometricCechTensorMap H L.sheaf U) q] |
| 23 | (hzero : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (L.pullback a).sheaf q)) : |
| 24 | (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.complex (Affine.TensorSectionComparison.morphismGlobalAlgebra g) C).ExactAt q := by |
| 25 | let N : P.Modules := (L.pullback a).sheaf |
| 26 | have : N.IsQuasicoherent := (L.pullback a).isQuasicoherent |
| 27 | let c := a.appTop.hom.comp f.appTop.hom |
| 28 | have : Subsingleton ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c q).obj N) := hzero |
| 29 | have hz : IsZero ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c q).obj N) := |
| 30 | ModuleCat.isZero_of_subsingleton _ |
| 31 | let T := Ordered.CoefficientCechComplex.orderedCoefficientCechComplex c N (fun i => a ⁻¹ᵁ U i) |
| 32 | have hT : T.ExactAt q := by |
| 33 | apply (T.exactAt_iff_isZero_homology q).mpr |
| 34 | exact (OrderedCech.AllDegreeComparison.orderedCechCohomologyModuleIso c N (fun i => a ⁻¹ᵁ U i) |
| 35 | (Affine.PushforwardZariskiComparison.inverseImageOpens_iSup_eq_top a U hU) (fun i => (ha i).preimage a) q).isZero_iff.mpr hz |
| 36 | exact (exactAt_iff_of_quasiIsoAt |
| 37 | (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra g) φ ≫ Geometric.CechTensorComparison.geometricCechTensorMap H L.sheaf U) q).mpr hT |
| 38 | |
| 39 | theorem spec_model_exactAt_of_cohomology_zero_all |
| 40 | {S X : Scheme.{u}} [IsAffine S] [X.IsSeparated] |
| 41 | {B : Type u} [CommRing B] {P : Scheme.{u}} |
| 42 | {a : P ⟶ X} {b : P ⟶ Spec (.of B)} {f : X ⟶ S} {g : Spec (.of B) ⟶ S} |
| 43 | (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) |
| 44 | {ι : Type u} [LinearOrder ι] [Finite ι] (U : ι → X.Opens) |
| 45 | (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) |
| 46 | (he : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 47 | {C : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 48 | (φ : C ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex f.appTop.hom L.sheaf U) |
| 49 | (ht : ∀ (M : Type u) [AddCommGroup M] [Module Γ(S, ⊤) M], QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map M φ)) |
| 50 | (q : ℕ) (hzero : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (L.pullback a).sheaf q)) : |
| 51 | let : Algebra Γ(S, ⊤) B := (CoefficientCechComparison.specBaseCoefficientMap g).toAlgebra; |
| 52 | (((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor Γ(S, ⊤) B).mapHomologicalComplex (.up ℕ)).obj C).ExactAt q := by |
| 53 | let : Algebra Γ(S, ⊤) B := (CoefficientCechComparison.specBaseCoefficientMap g).toAlgebra |
| 54 | have : IsAffineHom g := isAffineHom_of_isAffine _ |
| 55 | have : IsAffineHom a := isAffineHom_isStableUnderBaseChange.of_isPullback H.flip inferInstance |
| 56 | have : P.IsSeparated := ⟨by rw [← terminal.comp_from a]; infer_instance⟩ |
| 57 | have : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra g) φ) := ht (Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 58 | have : IsIso (Geometric.CechTensorComparison.geometricCechTensorMap H L.sheaf U) := Framed.AffineCechTensorIsomorphism.geometricCechTensorMap_isIso H L U ha he |
| 59 | have : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra g) φ ≫ Geometric.CechTensorComparison.geometricCechTensorMap H L.sheaf U) := |
| 60 | quasiIso_comp _ _ |
| 61 | have hglobal := geometric_model_exactAt_of_cohomology_zero_all H L U hU ha φ q hzero |
| 62 | let e : ModuleCat.of Γ(S, ⊤) B ≅ ModuleCat.of Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g) := |
| 63 | (CoefficientCechComparison.specBaseCoefficientEquiv g).toLinearEquiv.toModuleIso |
| 64 | let eC := (Tensor.CochainBicomplex.tensorCochainFunctor C).mapIso e |
| 65 | exact (Base.ChangeTensorExactness.baseChange_exactAt_iff_tensor C q).mpr (hglobal.of_iso eC.symm) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.ModelAllDegreeVanishing |