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.QuotientModuleDescent |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineGeometric |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.QuasicoherentAffinePullback |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 5 | |
| 6 | /-! # Closed Module Descent -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Affine.ClosedModuleDescent |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual pullback-pushforward unit is invertible for a quasicoherent |
| 13 | module annihilated by the ideal of an affine closed immersion. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open _root_.AlgebraicGeometry.Scheme.Modules OAI.AlgebraicGeometry.SheafCohomology.Projective.QuasicoherentAffinePullback |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | theorem affineModule_unit_isIso_of_kernel_annihilates |
| 23 | {X Y : Scheme.{u}} [IsAffine X] [IsAffine Y] (f : X ⟶ Y) |
| 24 | (hf : Function.Surjective f.appTop.hom) |
| 25 | (M : Y.Modules) [M.IsQuasicoherent] |
| 26 | (h : RingHom.ker f.appTop.hom ≤ Module.annihilator Γ(Y, ⊤) Γ(M, ⊤)) : |
| 27 | IsIso ((pullbackPushforwardAdjunction f).unit.app M) := by |
| 28 | let P := (pullback f).obj M |
| 29 | have : P.IsQuasicoherent := SheafCohomology.Projective.QuasicoherentAffinePullback.affine_pullback_quasicoherent f M |
| 30 | have : ((pushforward f).obj P).IsQuasicoherent := |
| 31 | SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom f |
| 32 | let a : M ⟶ (pushforward f).obj P := (pullbackPushforwardAdjunction f).unit.app M |
| 33 | have hunit : IsIso ((ModuleCat.extendRestrictScalarsAdj f.appTop.hom).unit.app |
| 34 | ((Quotients.FiniteDescent.AffineSectionIs.Construction.AffineSectionAdjunction.sections Y).obj M)) := |
| 35 | QuotientModuleDescent.quotientModule_unit_isIso f.appTop.hom hf _ h |
| 36 | have he : IsIso ((Quotients.FiniteDescent.AffineSectionIs.Construction.AffineSectionAdjunction.sections Y).map a ≫ |
| 37 | (Quotients.FiniteDescent.AffineSectionIs.Construction.AffineSectionAdjunction.pushforwardIso f).hom.app P) := by |
| 38 | rw [← Quotients.FiniteDescent.AffineGeometric.Construction.AffineGeometricSections.normalization f M, Adjunction.homEquiv_unit] |
| 39 | infer_instance |
| 40 | have ha : IsIso ((Quotients.FiniteDescent.AffineSectionIs.Construction.AffineSectionAdjunction.sections Y).map a) := |
| 41 | IsIso.of_isIso_comp_right _ ((Quotients.FiniteDescent.AffineSectionIs.Construction.AffineSectionAdjunction.pushforwardIso f).hom.app P) |
| 42 | exact SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isIso_of_isQuasicoherent_of_isIso_app_top |
| 43 | (M := M) (N := (pushforward f).obj P) a ha |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Affine.ClosedModuleDescent |