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.NumberTheory.PadicHodge.IntegralComparison.Affine.ChartSections |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveResolution.DualPurity |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ClosedImmersionModuleEpi |
| 4 | |
| 5 | /-! # Immersion Quotient Sections -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.ImmersionQuotientSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The section module of the actual direct image of the structure |
| 12 | sheaf of a closed immersion is the quotient by its actual kernel ideal. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | open scoped Pointwise |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 22 | (U : Y.Opens) (hU : IsAffineOpen U) |
| 23 | |
| 24 | abbrev directImage := (Scheme.Modules.pushforward f).obj (SheafOfModules.unit X.ringCatSheaf) |
| 25 | |
| 26 | def sectionMap : ModuleCat.of Γ(Y, U) Γ(Y, U) ⟶ |
| 27 | (Affine.ModuleExactSections.sections U).obj (directImage f) := |
| 28 | (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom).val.app (op U) |
| 29 | |
| 30 | include hU in |
| 31 | theorem sectionMap_surjective : Function.Surjective (sectionMap f U) := |
| 32 | f.app_surjective U hU |
| 33 | |
| 34 | def quotientIso : |
| 35 | ModuleCat.of Γ(Y, U) (Γ(Y, U) ⧸ RingHom.ker (f.app U).hom) ≅ |
| 36 | (Affine.ModuleExactSections.sections U).obj (directImage f) := |
| 37 | ((sectionMap f U).hom.quotKerEquivOfSurjective (sectionMap_surjective f U hU)).toModuleIso |
| 38 | |
| 39 | def listQuotientIso (rs : List Γ(Y, U)) (hrs : RingHom.ker (f.app U).hom = Ideal.ofList rs) : |
| 40 | ProjectiveResolution.DualPurity.quotient Γ(Y, U) rs ≅ |
| 41 | (Affine.ModuleExactSections.sections U).obj (directImage f) := by |
| 42 | have heq : Ideal.ofList rs • (⊤ : Submodule Γ(Y, U) Γ(Y, U)) = RingHom.ker (f.app U).hom := by |
| 43 | change Ideal.ofList rs * ⊤ = RingHom.ker (f.app U).hom |
| 44 | rw [Ideal.mul_top, hrs] |
| 45 | exact (Submodule.quotEquivOfEq _ _ heq).toModuleIso ≪≫ quotientIso f U hU |
| 46 | |
| 47 | def chartQuotientIso (rs : List Γ(Y, U)) (hrs : RingHom.ker (f.app U).hom = Ideal.ofList rs) : |
| 48 | (AffineOpen.InternalHom.sections U hU).obj (directImage f) ≅ |
| 49 | ProjectiveResolution.DualPurity.quotient Γ(Y, U) rs := |
| 50 | (Affine.ChartSections.iso U hU (directImage f)).symm ≪≫ (listQuotientIso f U hU rs hrs).symm |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.ImmersionQuotientSections |