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.Cochain.OneDimensionOpen |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.ModelPositiveCohomology |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCechAt |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Isogeny.BaseChange |
| 5 | import Mathlib.AlgebraicGeometry.Noetherian |
| 6 | |
| 7 | /-! # Structure Open -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A projective abelian family over an affine Noetherian base has an |
| 14 | actual open on which the first structure-sheaf cohomology has a prescribed |
| 15 | dimension bound. Its field-point criterion uses the original pullback |
| 16 | family and genuine coefficient cohomology. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | universe u |
| 20 | |
| 21 | def Schemes.AbelianScheme.structureH1Dimension {K : Type u} [Field K] {g : ℕ} |
| 22 | (A : Schemes.AbelianScheme g (Spec (.of K))) : ℕ := |
| 23 | Module.finrank Γ(Spec (.of K), ⊤) |
| 24 | ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor A.scheme.hom.appTop.hom 1).obj |
| 25 | (Line.Bundles.structureModule A.scheme.left)) |
| 26 | |
| 27 | theorem Schemes.AbelianScheme.exists_structureH1Open |
| 28 | {S : Scheme.{u}} [IsAffine S] [IsLocallyNoetherian S] {g : ℕ} |
| 29 | (A : Schemes.AbelianScheme g S) (P : HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (d : ℕ) : |
| 30 | ∃ V : S.Opens, ∀ (K : Type u) [Field K] (b : Spec (.of K) ⟶ S), |
| 31 | Set.range b ⊆ (V : Set S) ↔ (A.pullback b).structureH1Dimension ≤ d := by |
| 32 | let : IsNoetherianRing Γ(S, ⊤) := |
| 33 | IsLocallyNoetherian.component_noetherian ⟨⊤, isAffineOpen_top _⟩ |
| 34 | let : A.scheme.left.IsSeparated := ⟨by |
| 35 | rw [← terminal.comp_from A.scheme.hom] |
| 36 | infer_instance⟩ |
| 37 | let U := Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.cover A.scheme P |
| 38 | have hU : iSup U = ⊤ := Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.covers A.scheme P |
| 39 | have ha : ∀ i, IsAffineOpen (U i) := Quotients.FiniteDescent.ProjectiveCechAt.Construction.ProjectiveCechComplex.affine A.scheme P |
| 40 | let L := Line.Bundles.LineBundle.trivial A.scheme.left |
| 41 | have he : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj L.sheaf ≅ |
| 42 | Line.Bundles.structureModule (U i).toScheme) := fun i => ⟨Line.Bundles.structureModulePullbackIso (U i).ι⟩ |
| 43 | obtain ⟨C, φ, _, _, hfin, hproj, hgeo⟩ := |
| 44 | ProperFlat.GeometricCechModel.properFlat_exists_geometric_cech_model A.scheme.hom L U hU ha he |
| 45 | let : Module.Finite Γ(S, ⊤) (C.X 0) := hfin 0 |
| 46 | let : Module.Finite Γ(S, ⊤) (C.X 1) := hfin 1 |
| 47 | let : Module.Finite Γ(S, ⊤) (C.X 2) := hfin 2 |
| 48 | let : Module.Projective Γ(S, ⊤) (C.X 0) := hproj 0 |
| 49 | let : Module.Projective Γ(S, ⊤) (C.X 1) := hproj 1 |
| 50 | let : Module.Projective Γ(S, ⊤) (C.X 2) := hproj 2 |
| 51 | refine ⟨Cochain.OneDimensionOpen.cochainOneDimensionOpen C d, ?_⟩ |
| 52 | intro K _ b |
| 53 | let : Algebra Γ(S, ⊤) Γ(Spec (.of K), ⊤) := b.appTop.hom.toAlgebra |
| 54 | let a := pullback.fst A.scheme.hom b |
| 55 | let p := pullback.snd A.scheme.hom b |
| 56 | let H : IsPullback a p A.scheme.hom b := IsPullback.of_hasPullback A.scheme.hom b |
| 57 | let : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra b) φ ≫ |
| 58 | Geometric.CechTensorComparison.geometricCechTensorMap H L.sheaf U) := |
| 59 | hgeo (Spec (.of K)) (CategoryTheory.Limits.pullback A.scheme.hom b) a p b H |
| 60 | let e := Geometric.ModelPositiveCohomology.geometricModelPositiveCohomologyLinearEquiv H L U hU ha φ 0 |
| 61 | let eO := (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor p.appTop.hom 1).mapIso |
| 62 | (Line.Bundles.structureModulePullbackIso a) |
| 63 | have hdim : Module.finrank Γ(Spec (.of K), ⊤) |
| 64 | ((Cochain.ScalarExtensionKernel.cochainScalarExtension C Γ(Spec (.of K), ⊤)).homology 1) = |
| 65 | (A.pullback b).structureH1Dimension := |
| 66 | e.finrank_eq.trans eO.toLinearEquiv.finrank_eq |
| 67 | exact (Cochain.OneDimensionOpen.cochainOneDimensionOpen_field_point C b d).trans |
| 68 | (congrArg (fun n : ℕ => n ≤ d) hdim).to_iff |
| 69 | |
| 70 | def Schemes.AbelianScheme.structureH1Open |
| 71 | {S : Scheme.{u}} [IsAffine S] [IsLocallyNoetherian S] {g : ℕ} |
| 72 | (A : Schemes.AbelianScheme g S) (P : HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (d : ℕ) : S.Opens := |
| 73 | (A.exists_structureH1Open P d).choose |
| 74 | |
| 75 | theorem Schemes.AbelianScheme.structureH1Open_field_point |
| 76 | {S : Scheme.{u}} [IsAffine S] [IsLocallyNoetherian S] {g : ℕ} |
| 77 | (A : Schemes.AbelianScheme g S) (P : HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (d : ℕ) |
| 78 | {K : Type u} [Field K] (b : Spec (.of K) ⟶ S) : |
| 79 | Set.range b ⊆ (A.structureH1Open P d : Set S) ↔ |
| 80 | (A.pullback b).structureH1Dimension ≤ d := |
| 81 | (A.exists_structureH1Open P d).choose_spec K b |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian |