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.CohomologyPullbackIso |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.AllDegreeComparison |
| 3 | |
| 4 | /-! # Coefficient Pullback Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.CoefficientPullbackIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A scheme isomorphism preserves line-bundle cohomology with any specified coefficient ring, in every degree. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | def affinePushforwardCoefficientCohomologyIso |
| 15 | {X Y : Scheme.{u}} [Y.IsSeparated] {R : Type u} [CommRing R] |
| 16 | (f : X ⟶ Y) [IsAffineHom f] (c : R →+* Γ(Y, ⊤)) |
| 17 | (M : X.Modules) [M.IsQuasicoherent] (q : ℕ) : |
| 18 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (f.appTop.hom.comp c) q).obj M ≅ |
| 19 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c q).obj ((Scheme.Modules.pushforward f).obj M) := by |
| 20 | classical |
| 21 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 22 | have : ((Scheme.Modules.pushforward f).obj M).IsQuasicoherent := |
| 23 | Quasicoherent.Image.quasiCompact_separated_directImage_quasicoherent f M |
| 24 | letI : LinearOrder Y.affineOpens := IsWellOrder.linearOrder (WellOrderingRel (α := Y.affineOpens)) |
| 25 | let U : Y.affineOpens → Y.Opens := fun V => V.1 |
| 26 | have hU : iSup U = ⊤ := iSup_affineOpens_eq_top Y |
| 27 | have hA : ∀ V, IsAffineOpen (U V) := fun V => V.2 |
| 28 | exact (OrderedCech.AllDegreeComparison.orderedCechCohomologyModuleIso (f.appTop.hom.comp c) M |
| 29 | (fun V => f ⁻¹ᵁ U V) (Affine.PushforwardZariskiComparison.inverseImageOpens_iSup_eq_top f U hU) |
| 30 | (fun V => (hA V).preimage f) q).symm ≪≫ |
| 31 | HomologicalComplex.homologyMapIso (OrderedCech.PushforwardComplex.orderedCoefficientCechComplexPushforwardIso f c M U) q ≪≫ |
| 32 | OrderedCech.AllDegreeComparison.orderedCechCohomologyModuleIso c ((Scheme.Modules.pushforward f).obj M) U hU hA q |
| 33 | |
| 34 | def lineBundleCoefficientCohomologyPullbackIso |
| 35 | {X Y : Scheme.{u}} [Y.IsSeparated] {R : Type u} [CommRing R] |
| 36 | (f : X ⟶ Y) [IsIso f] (c : R →+* Γ(Y, ⊤)) (L : Line.Bundles.LineBundle Y) (q : ℕ) : |
| 37 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (f.appTop.hom.comp c) q).obj |
| 38 | (L.pullback f).sheaf ≅ |
| 39 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c q).obj L.sheaf := by |
| 40 | have : (L.pullback f).sheaf.IsQuasicoherent := (L.pullback f).isQuasicoherent |
| 41 | have : (Scheme.Modules.pullback f).IsEquivalence := Affine.SectionAdjunction.AffineSectionAdjunction.pullback_equivalence (asIso f) |
| 42 | let η := (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app L.sheaf |
| 43 | have : IsIso η := inferInstance |
| 44 | exact affinePushforwardCoefficientCohomologyIso f c (L.pullback f).sheaf q ≪≫ |
| 45 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor c q).mapIso (asIso η).symm |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.CoefficientPullbackIso |