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.Geometric.CechModelVanishing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.CoefficientCechComparison |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Base.ChangeTensorExactness |
| 4 | |
| 5 | /-! # Model Vanishing -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.ModelVanishing |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual cohomology vanishing on a Cartesian Spec B fiber makes the B-linear base change of its finite model exact. Both the global-functions comparison and the change to B are explicit. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem spec_model_exactAt_of_cohomology_zero |
| 16 | {S X : Scheme.{u}} [IsAffine S] [X.IsSeparated] |
| 17 | {B : Type u} [CommRing B] {P : Scheme.{u}} |
| 18 | {a : P ⟶ X} {b : P ⟶ Spec (.of B)} {f : X ⟶ S} {g : Spec (.of B) ⟶ S} |
| 19 | (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) |
| 20 | {ι : Type u} [LinearOrder ι] [Finite ι] (U : ι → X.Opens) |
| 21 | (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) |
| 22 | (he : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 23 | {C : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 24 | (φ : C ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex f.appTop.hom L.sheaf U) |
| 25 | (ht : ∀ (M : Type u) [AddCommGroup M] [Module Γ(S, ⊤) M], |
| 26 | QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map M φ)) |
| 27 | (n : ℕ) (hzero : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (L.pullback a).sheaf (n + 1))) : |
| 28 | let : Algebra Γ(S, ⊤) B := (CoefficientCechComparison.specBaseCoefficientMap g).toAlgebra; |
| 29 | (((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor Γ(S, ⊤) B).mapHomologicalComplex (.up ℕ)).obj C).ExactAt |
| 30 | (n + 1) := by |
| 31 | let : Algebra Γ(S, ⊤) B := (CoefficientCechComparison.specBaseCoefficientMap g).toAlgebra |
| 32 | have : IsAffineHom g := isAffineHom_of_isAffine _ |
| 33 | have : IsAffineHom a := isAffineHom_isStableUnderBaseChange.of_isPullback H.flip inferInstance |
| 34 | have : P.IsSeparated := ⟨by rw [← terminal.comp_from a]; infer_instance⟩ |
| 35 | have : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra g) φ) := ht (Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 36 | have : IsIso (Geometric.CechTensorComparison.geometricCechTensorMap H L.sheaf U) := Framed.AffineCechTensorIsomorphism.geometricCechTensorMap_isIso H L U ha he |
| 37 | have : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra g) φ ≫ |
| 38 | Geometric.CechTensorComparison.geometricCechTensorMap H L.sheaf U) := quasiIso_comp _ _ |
| 39 | have hglobal : (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.complex (Affine.TensorSectionComparison.morphismGlobalAlgebra g) C).ExactAt (n + 1) := |
| 40 | Geometric.CechModelVanishing.geometric_model_exactAt_of_vanishing H L U hU ha φ n hzero |
| 41 | let e : ModuleCat.of Γ(S, ⊤) B ≅ ModuleCat.of Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra g) := |
| 42 | (CoefficientCechComparison.specBaseCoefficientEquiv g).toLinearEquiv.toModuleIso |
| 43 | let eC : HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.complex B C ≅ HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.complex (Affine.TensorSectionComparison.morphismGlobalAlgebra g) C := |
| 44 | (Tensor.CochainBicomplex.tensorCochainFunctor C).mapIso e |
| 45 | exact (Base.ChangeTensorExactness.baseChange_exactAt_iff_tensor C (n + 1)).mpr (hglobal.of_iso eC.symm) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.ModelVanishing |