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.QuasicoherentPushforward |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.CohomologyExactFiniteness |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseCechAllDegrees |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Affine |
| 5 | |
| 6 | /-! # Pushforward Cohomology -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Affine.PushforwardCohomology |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Affine direct image preserves actual cohomology over the original |
| 13 | base ring. The comparison uses the actual inverse-image affine cover. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 17 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseCechAllDegrees |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | def affinePushforwardCohomologyLinearEquiv |
| 22 | {X Y B : Scheme.{u}} [Y.IsSeparated] |
| 23 | (f : X ⟶ Y) [IsAffineHom f] (π : Y ⟶ B) |
| 24 | (M : X.Modules) [M.IsQuasicoherent] |
| 25 | {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) |
| 26 | (hU : IsOpenCover U) (hUa : ∀ i, IsAffineOpen (U i)) (n : ℕ) : |
| 27 | letI := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule π ((pushforward f).obj M) n |
| 28 | letI := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule (f ≫ π) M n |
| 29 | SheafCohomology.AffineH.Projective.H ((pushforward f).obj M) n ≃ₗ[Γ(B, ⊤)] SheafCohomology.AffineH.Projective.H M n := by |
| 30 | let W := (pushforward f).obj M |
| 31 | have : X.IsSeparated := ⟨by rw [← Limits.terminal.comp_from f]; infer_instance⟩ |
| 32 | have : W.IsQuasicoherent := QuasicoherentPushforward.quasicoherent_pushforward_of_quasiCompact_separated f M |
| 33 | letI := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule π W n |
| 34 | letI := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule (f ≫ π) M n |
| 35 | let eY := SheafCohomology.Projective.BaseCechAllDegrees.orderedBaseCechHomologyAffineHLinearEquiv π W U hU hUa n |
| 36 | let eP := HomologicalComplex.homologyMapIso |
| 37 | (SheafCohomology.Projective.OrderedBaseCechPushforward.Scheme.Modules.orderedBaseCechComplexPushforwardIso f π M U) n |
| 38 | let eX := SheafCohomology.Projective.BaseCechAllDegrees.orderedBaseCechHomologyAffineHLinearEquiv (f ≫ π) M |
| 39 | (fun i => f ⁻¹ᵁ U i) (hU.comap f.base.hom) (fun i => (hUa i).preimage f) n |
| 40 | exact eY.symm.trans (eP.symm.toLinearEquiv.trans eX) |
| 41 | |
| 42 | theorem baseCohomologyFinite_affinePushforward_iff_of_cover |
| 43 | {X Y B : Scheme.{u}} [Y.IsSeparated] |
| 44 | (f : X ⟶ Y) [IsAffineHom f] (π : Y ⟶ B) |
| 45 | (M : X.Modules) [M.IsQuasicoherent] |
| 46 | {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) |
| 47 | (hU : IsOpenCover U) (hUa : ∀ i, IsAffineOpen (U i)) : |
| 48 | CohomologyExactFiniteness.BaseCohomologyFinite π ((pushforward f).obj M) ↔ CohomologyExactFiniteness.BaseCohomologyFinite (f ≫ π) M := by |
| 49 | constructor <;> intro h n |
| 50 | · let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule π ((pushforward f).obj M) n |
| 51 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule (f ≫ π) M n |
| 52 | let := h n |
| 53 | exact Module.Finite.equiv (affinePushforwardCohomologyLinearEquiv f π M U hU hUa n) |
| 54 | · let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule π ((pushforward f).obj M) n |
| 55 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule (f ≫ π) M n |
| 56 | let := h n |
| 57 | exact Module.Finite.equiv (affinePushforwardCohomologyLinearEquiv f π M U hU hUa n).symm |
| 58 | |
| 59 | theorem baseCohomologyFinite_affinePushforward_iff |
| 60 | {X Y B : Scheme.{u}} [Y.IsSeparated] |
| 61 | (f : X ⟶ Y) [IsAffineHom f] (π : Y ⟶ B) |
| 62 | (M : X.Modules) [M.IsQuasicoherent] : |
| 63 | CohomologyExactFiniteness.BaseCohomologyFinite π ((pushforward f).obj M) ↔ CohomologyExactFiniteness.BaseCohomologyFinite (f ≫ π) M := by |
| 64 | let : LinearOrder Y.affineCover.I₀ := WellOrderingRel.isWellOrder.linearOrder |
| 65 | exact baseCohomologyFinite_affinePushforward_iff_of_cover f π M |
| 66 | (fun i => (Y.affineCover.f i).opensRange) Y.affineCover.isOpenCover_opensRange |
| 67 | (fun i => isAffineOpen_opensRange (Y.affineCover.f i)) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Affine.PushforwardCohomology |