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.AbelianScheme.IsogenyQuotient.Relative.CechFlat |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Proper.FlatCech |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.RestrictedHomology |
| 4 | import Mathlib.RingTheory.RingHom.Finite |
| 5 | |
| 6 | /-! # Finite Cech Model -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.FiniteCechModel.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Proper flat native Cech complexes have finite projective models |
| 13 | over the literal Noetherian base ring, with arbitrary tensor comparison. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false in |
| 19 | theorem finite_restrictScalars_of_finite_hom {R S : Type} [CommRing R] [CommRing S] |
| 20 | (ρ : R →+* S) (hρ : ρ.Finite) (M : ModuleCat S) [Module.Finite S M] : |
| 21 | Module.Finite R ((ModuleCat.restrictScalars ρ).obj M) := by |
| 22 | let : Algebra R S := ρ.toAlgebra |
| 23 | let : Module R M := Module.compHom M ρ |
| 24 | have : IsScalarTower R S M := IsScalarTower.of_compHom R S M |
| 25 | have : Module.Finite R S := hρ |
| 26 | exact Module.Finite.trans S M |
| 27 | |
| 28 | set_option backward.isDefEq.respectTransparency false in |
| 29 | theorem relativeStructureCech_homology_finite |
| 30 | {R : Type} [CommRing R] [IsNoetherianRing R] |
| 31 | {X : Scheme.{0}} (f : X ⟶ Spec (.of R)) [IsProper f] |
| 32 | {ι : Type} [LinearOrder ι] [Finite ι] (U : ι → X.Opens) |
| 33 | (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) (q : ℕ) : |
| 34 | Module.Finite R ((FormalGeometry.Completion.RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U).homology q) := by |
| 35 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 36 | have : IsNoetherianRing Γ(Spec (.of R), ⊤) := |
| 37 | isNoetherianRing_of_surjective R _ (Scheme.ΓSpecIso (.of R)).inv.hom |
| 38 | (ConcreteCategory.bijective_of_isIso (Scheme.ΓSpecIso (.of R)).inv).surjective |
| 39 | let L := AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X |
| 40 | have : L.sheaf.IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent L |
| 41 | have : L.sheaf.IsFiniteType := by |
| 42 | let : L.sheaf.IsFinitePresentation := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.finitePresentation L |
| 43 | obtain ⟨p, hp⟩ := SheafOfModules.IsFinitePresentation.exists_quasicoherentData L.sheaf |
| 44 | refine { exists_localGeneratorsData := ⟨p.localGeneratorsData, ?_⟩ } |
| 45 | constructor |
| 46 | intro i |
| 47 | exact (hp.isFinite_presentation i).isFiniteType_generators |
| 48 | let C := SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex f L.sheaf U |
| 49 | have : Module.Finite Γ(Spec (.of R), ⊤) (C.homology q) := by |
| 50 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f L.sheaf q |
| 51 | have := PELModuli.IntegralModel.Proper.CoherentCohomology.proper_coherent_cohomologyFinite_affine f L.sheaf q |
| 52 | exact Module.Finite.equiv (SheafCohomology.Projective.BaseCechAllDegrees.orderedBaseCechHomologyAffineHLinearEquiv f L.sheaf U hU ha q).symm |
| 53 | let ρ := (Scheme.ΓSpecIso (.of R)).inv.hom |
| 54 | have : Module.Finite R ((ModuleCat.restrictScalars ρ).obj (C.homology q)) := |
| 55 | finite_restrictScalars_of_finite_hom ρ |
| 56 | (RingHom.Finite.of_surjective _ |
| 57 | (ConcreteCategory.bijective_of_isIso (Scheme.ΓSpecIso (.of R)).inv).surjective) _ |
| 58 | exact Module.Finite.equiv (Quotients.FiniteDescent.RestrictedHomology.Construction.RestrictedHomologyFinite.iso ρ C q).symm.toLinearEquiv |
| 59 | |
| 60 | set_option backward.isDefEq.respectTransparency false in |
| 61 | theorem relativeStructureCech_exists_finite_projective_model |
| 62 | {R : Type} [CommRing R] [IsNoetherianRing R] |
| 63 | {X : Scheme.{0}} (f : X ⟶ Spec (.of R)) [IsProper f] [Flat f] |
| 64 | {ι : Type} [LinearOrder ι] [Fintype ι] (U : ι → X.Opens) |
| 65 | (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) : |
| 66 | ∃ (D : CochainComplex (ModuleCat.{0} R) ℕ) (φ : D ⟶ FormalGeometry.Completion.RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U), |
| 67 | QuasiIso φ ∧ (∀ q, Module.Finite R (D.X q)) ∧ (∀ q, Module.Projective R (D.X q)) ∧ |
| 68 | (∀ (M : Type) [AddCommGroup M] [Module R M], QuasiIso (Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.map M φ)) := by |
| 69 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 70 | obtain ⟨D, φ, hφ, _, hf, hp, ht⟩ := |
| 71 | Quotients.FiniteDescent.BoundedProjectiveComplex.Construction.CochainFiniteModel.exists_finite_projective_complex (FormalGeometry.Completion.RelativeCechZeroCycles.Construction.relativeStructureCechComplex f U) |
| 72 | ⟨Fintype.card ι, fun q hq => |
| 73 | (ModuleCat.restrictScalars (Scheme.ΓSpecIso (.of R)).inv.hom).map_isZero |
| 74 | (SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechObject_isZero_of_card_le f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) U q hq)⟩ |
| 75 | (CechFlat.Construction.relativeStructureCech_flat f U ha) (relativeStructureCech_homology_finite f U hU ha) |
| 76 | exact ⟨D, φ, hφ, hf, hp, ht⟩ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.FiniteCechModel.Construction |