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.Affine.FiberModelProjectivity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiberModelIntrinsicExactness |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProperFlat.FiberSectionBaseChange |
| 4 | |
| 5 | /-! # Sections Projective -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProperFlat.SectionsProjective |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Vanishing of first cohomology on all fibers makes the actual global sections of a proper flat line bundle finite projective over a Noetherian affine base. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | universe u |
| 14 | |
| 15 | theorem properFlat_sections_finite_projective_of_fiber_H1_vanishing |
| 16 | {X S : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 17 | (f : X ⟶ S) [IsProper f] [Flat f] (L : Line.Bundles.LineBundle X) |
| 18 | (hH : ∀ x : S, Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (L.pullback (f.fiberι x)).sheaf 1)) : |
| 19 | Module.Finite Γ(S, ⊤) ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom L.sheaf).obj (op ⊤)) ∧ |
| 20 | Module.Projective Γ(S, ⊤) ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom L.sheaf).obj (op ⊤)) := by |
| 21 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 22 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 23 | obtain ⟨k, V, ha, he, hcover⟩ := L.exists_finite_affine_frames |
| 24 | let U : ULift.{u} (Fin k) → X.Opens := fun i => V i.down |
| 25 | have hU : iSup U = ⊤ := by |
| 26 | apply top_unique |
| 27 | intro y _ |
| 28 | obtain ⟨i, hi⟩ := hcover y |
| 29 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨⟨i⟩, hi⟩ |
| 30 | have hUa : ∀ i, IsAffineOpen (U i) := fun i => ha i.down |
| 31 | have hUe : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj L.sheaf ≅ |
| 32 | Line.Bundles.structureModule (U i).toScheme) := fun i => he i.down |
| 33 | obtain ⟨D, φ, hφ, _, hfin, hproj, ht⟩ := FiniteCechModel.properFlat_exists_finite_projective_cech_model f L U hU hUa |
| 34 | have := hφ |
| 35 | have : Module.Finite Γ(S, ⊤) (D.X 0) := hfin 0 |
| 36 | have : Module.Projective Γ(S, ⊤) (D.X 0) := hproj 0 |
| 37 | have : Module.Finite Γ(S, ⊤) (D.X 1) := hfin 1 |
| 38 | have : Module.Projective Γ(S, ⊤) (D.X 1) := hproj 1 |
| 39 | have : Module.Finite Γ(S, ⊤) (D.X 2) := hfin 2 |
| 40 | have : Module.Projective Γ(S, ⊤) (D.X 2) := hproj 2 |
| 41 | have hD : ∀ x : S, (((ModuleCat.extendScalars (S.fromSpecResidueField x).appTop.hom).mapHomologicalComplex |
| 42 | (.up ℕ)).obj D).ExactAt 1 := by |
| 43 | intro x |
| 44 | let H := IsPullback.of_hasPullback f (S.fromSpecResidueField x) |
| 45 | have : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra (S.fromSpecResidueField x)) φ) := |
| 46 | ht (Affine.TensorSectionComparison.morphismGlobalAlgebra (S.fromSpecResidueField x)) |
| 47 | have : IsIso (Geometric.CechTensorComparison.geometricCechTensorMap H L.sheaf U) := Framed.AffineCechTensorIsomorphism.geometricCechTensorMap_isIso H L U hUa hUe |
| 48 | have : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra (S.fromSpecResidueField x)) φ ≫ |
| 49 | Geometric.CechTensorComparison.geometricCechTensorMap H L.sheaf U) := quasiIso_comp _ _ |
| 50 | exact FiberModelIntrinsicExactness.fiber_model_native_exact_of_H1_vanishing f L U hU hUa φ x (hH x) |
| 51 | have : Module.Projective Γ(S, ⊤) (D.d 0 1).hom.ker := Affine.FiberModelProjectivity.affine_fiberModel_firstCycles_projective S D hD |
| 52 | let e := Cech.ModelGlobalSections.CechModelSections.equiv f.appTop.hom L.sheaf U hU φ |
| 53 | exact ⟨Module.Finite.equiv e, Module.Projective.of_equiv e⟩ |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProperFlat.SectionsProjective |