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.PELModuli.IntegralModel.Proper.CoherentCohomology |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProjectiveCechFlat |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.BoundedProjectiveComplex |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechModelBaseChange |
| 5 | |
| 6 | /-! # Flat Cech -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Proper.FlatCech |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A bounded finite projective complex computes a line bundle on a |
| 13 | proper flat scheme and its actual affine base changes. No projective |
| 14 | presentation of the scheme is required. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 18 | |
| 19 | theorem properFlat_exists_finite_projective_cech_model |
| 20 | {X S : Scheme.{0}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 21 | (f : X ⟶ S) [IsProper f] [Flat f] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 22 | {ι : Type} [LinearOrder ι] [Finite ι] (U : ι → X.Opens) |
| 23 | (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) : |
| 24 | ∃ (D : CochainComplex (ModuleCat.{0} Γ(S, ⊤)) ℕ) |
| 25 | (φ : D ⟶ SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex f L.sheaf U), |
| 26 | QuasiIso φ ∧ |
| 27 | (∃ N, ∀ q, N ≤ q → IsZero (D.X q)) ∧ |
| 28 | (∀ q, Module.Finite Γ(S, ⊤) (D.X q)) ∧ |
| 29 | (∀ q, Module.Projective Γ(S, ⊤) (D.X q)) ∧ |
| 30 | (∀ (A : Type) [AddCommGroup A] [Module Γ(S, ⊤) A], |
| 31 | QuasiIso (Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.map A φ)) := by |
| 32 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 33 | have : L.sheaf.IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent L |
| 34 | have : L.sheaf.IsFiniteType := by |
| 35 | let : L.sheaf.IsFinitePresentation := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.finitePresentation L |
| 36 | obtain ⟨p, hp⟩ := SheafOfModules.IsFinitePresentation.exists_quasicoherentData L.sheaf |
| 37 | refine { exists_localGeneratorsData := ⟨p.localGeneratorsData, ?_⟩ } |
| 38 | constructor |
| 39 | intro i |
| 40 | exact (hp.isFinite_presentation i).isFiniteType_generators |
| 41 | let : Fintype ι := Fintype.ofFinite ι |
| 42 | apply Quotients.FiniteDescent.BoundedProjectiveComplex.Construction.CochainFiniteModel.exists_finite_projective_complex (SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex f L.sheaf U) |
| 43 | · exact ⟨Fintype.card ι, SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechObject_isZero_of_card_le f L.sheaf U⟩ |
| 44 | · exact fun q => Quotients.FiniteDescent.OrderedCechObject.Construction.OrderedCechFlat.complex f L.sheaf (Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible L) |
| 45 | U (fun q i => SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection U ha q i) q |
| 46 | · intro q |
| 47 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f L.sheaf q |
| 48 | have := CoherentCohomology.proper_coherent_cohomologyFinite_affine f L.sheaf q |
| 49 | exact Module.Finite.equiv |
| 50 | (SheafCohomology.Projective.BaseCechAllDegrees.orderedBaseCechHomologyAffineHLinearEquiv f L.sheaf U hU ha q).symm |
| 51 | |
| 52 | theorem properFlat_exists_affine_baseChange_model |
| 53 | {X S : Scheme.{0}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 54 | (f : X ⟶ S) [IsProper f] [Flat f] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 55 | {ι : Type} [LinearOrder ι] [Finite ι] (U : ι → X.Opens) |
| 56 | (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) : |
| 57 | ∃ (D : CochainComplex (ModuleCat.{0} Γ(S, ⊤)) ℕ) |
| 58 | (φ : D ⟶ SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex f L.sheaf U), |
| 59 | QuasiIso φ ∧ |
| 60 | (∃ N, ∀ q, N ≤ q → IsZero (D.X q)) ∧ |
| 61 | (∀ q, Module.Finite Γ(S, ⊤) (D.X q)) ∧ |
| 62 | (∀ q, Module.Projective Γ(S, ⊤) (D.X q)) ∧ |
| 63 | (∀ (Y T : Scheme.{0}) [IsAffine T] (a : Y ⟶ X) (ρ : Y ⟶ T) |
| 64 | (g : T ⟶ S) (hp : IsPullback a ρ f g), |
| 65 | QuasiIso (Quotients.FiniteDescent.CechModelBaseChange.Construction.CechBaseChangeMap.modelMap a f ρ g hp.w L.sheaf U φ)) := by |
| 66 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 67 | obtain ⟨D, φ, hφ, hb, hf, hp, ht⟩ := |
| 68 | properFlat_exists_finite_projective_cech_model f L U hU ha |
| 69 | refine ⟨D, φ, hφ, hb, hf, hp, ?_⟩ |
| 70 | intro Y T _ a ρ g h |
| 71 | have : L.sheaf.IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent L |
| 72 | exact Quotients.FiniteDescent.CechModelBaseChange.Construction.CechBaseChangeMap.modelMap_quasiIso a f ρ g L.sheaf U φ h |
| 73 | (fun q i => SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection U ha q i.1) ht |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Proper.FlatCech |