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.Affine.ClosedModuleDescent |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.CoherentAnnihilator |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.OpenPullbackIs |
| 4 | |
| 5 | /-! # Closed Module Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.ClosedModuleDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Descent to an actual closed subscheme through the canonical adjunction |
| 12 | unit, under containment of its ideal in the coherent annihilator. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 17 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem closedModule_restricted_kernel_annihilates |
| 22 | {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 23 | (M : Y.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 24 | (h : f.ker ≤ CoherentAnnihilator.coherentAnnihilator M) (U : Y.affineOpens) : |
| 25 | RingHom.ker (f ∣_ U.1).appTop.hom ≤ |
| 26 | Module.annihilator Γ(U.1.toScheme, ⊤) Γ(M.restrict U.1.ι, ⊤) := by |
| 27 | let : IsAffine U.1.toScheme := U.2 |
| 28 | let V : Y.affineOpens := ⟨U.1.ι ''ᵁ ⊤, by rw [U.1.ι_image_top]; exact U.2⟩ |
| 29 | intro r hr |
| 30 | let r' : Γ(Y, V.1) := r |
| 31 | have hr0 : (f ∣_ U.1).appTop r = 0 := hr |
| 32 | rw [morphismRestrict_appTop] at hr0 |
| 33 | have hzero : f.app V.1 r' = 0 := by |
| 34 | apply (ConcreteCategory.bijective_of_isIso |
| 35 | (X.presheaf.map (eqToHom (image_morphismRestrict_preimage f U.1 ⊤)).op)).injective |
| 36 | rw [map_zero] |
| 37 | exact hr0 |
| 38 | have hker : r' ∈ f.ker.ideal V := by |
| 39 | rw [Scheme.Hom.ker_apply] |
| 40 | exact hzero |
| 41 | have hann : r' ∈ Module.annihilator Γ(Y, V.1) Γ(M, V.1) := h V hker |
| 42 | apply Module.mem_annihilator.mpr |
| 43 | intro m |
| 44 | apply (ConcreteCategory.bijective_of_isIso (M.restrictAppIso U.1.ι ⊤).hom).injective |
| 45 | rw [map_zero, smul_restrictAppIso_hom_apply] |
| 46 | rw [Scheme.Opens.ι_appIso] |
| 47 | exact Module.mem_annihilator.mp hann (show Γ(M, V.1) from m) |
| 48 | |
| 49 | theorem closedModule_restrict_unit_isIso |
| 50 | {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 51 | (M : Y.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 52 | (h : f.ker ≤ CoherentAnnihilator.coherentAnnihilator M) (U : Y.affineOpens) : |
| 53 | IsIso ((restrictFunctor U.1.ι).map ((pullbackPushforwardAdjunction f).unit.app M)) := by |
| 54 | let a : M ⟶ (pushforward f).obj ((pullback f).obj M) := |
| 55 | (pullbackPushforwardAdjunction f).unit.app M |
| 56 | have : IsAffine U.1.toScheme := U.2 |
| 57 | have : IsAffine (f ⁻¹ᵁ U.1).toScheme := U.2.preimage f |
| 58 | have hu : IsIso ((pullbackPushforwardAdjunction (f ∣_ U.1)).unit.app (M.restrict U.1.ι)) := |
| 59 | Affine.ClosedModuleDescent.affineModule_unit_isIso_of_kernel_annihilates (f ∣_ U.1) |
| 60 | ((f ∣_ U.1).app_surjective ⊤ (isAffineOpen_top _)) (M.restrict U.1.ι) |
| 61 | (closedModule_restricted_kernel_annihilates f M h U) |
| 62 | have := Quotients.FiniteDescent.OpenPullbackIs.Construction.OpenPullbackSquare.openBaseChangeMap_isIso f U.1 |
| 63 | have ha : IsIso ((restrictFunctor U.1.ι).map a ≫ |
| 64 | (Quotients.FiniteDescent.OpenPullbackIs.Construction.OpenPullbackSquare.openBaseChangeMap f U.1).app ((pullback f).obj M)) := by |
| 65 | rw [Quotients.FiniteDescent.OpenPullbackIs.Construction.OpenPullbackSquare.unit_square] |
| 66 | infer_instance |
| 67 | exact IsIso.of_isIso_comp_right ((restrictFunctor U.1.ι).map a) |
| 68 | ((Quotients.FiniteDescent.OpenPullbackIs.Construction.OpenPullbackSquare.openBaseChangeMap f U.1).app ((pullback f).obj M)) |
| 69 | |
| 70 | theorem closedModule_unit_isIso_of_ideal_annihilates |
| 71 | {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 72 | (M : Y.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 73 | (h : f.ker ≤ CoherentAnnihilator.coherentAnnihilator M) : |
| 74 | IsIso ((pullbackPushforwardAdjunction f).unit.app M) := by |
| 75 | apply Picard.PoincareBundle.ModuleLocality.isIso_of_locally_isIso |
| 76 | intro y |
| 77 | let U : Y.affineOpens := |
| 78 | ⟨(Y.affineCover.f (Y.affineCover.idx y)).opensRange, isAffineOpen_opensRange _⟩ |
| 79 | exact ⟨U.1, Y.affineCover.covers y, closedModule_restrict_unit_isIso f M h U⟩ |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.ClosedModuleDescent |