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