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 Mathlib.Algebra.Category.ModuleCat.ChangeOfRings |
| 2 | import Mathlib.Algebra.Module.Hom |
| 3 | import Mathlib.RingTheory.Ideal.Maps |
| 4 | import Mathlib.RingTheory.Ideal.Operations |
| 5 | import Mathlib.CategoryTheory.Adjunction.FullyFaithful |
| 6 | |
| 7 | /-! # Quotient Module Descent -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.QuotientModuleDescent |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Actual module descent along a surjective ring map, with its canonical |
| 14 | extension-restriction unit proved invertible. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | |
| 18 | universe u v w |
| 19 | |
| 20 | theorem surjectiveRingHom_restrictScalars_full |
| 21 | {R : Type u} {A : Type v} [Ring R] [Ring A] |
| 22 | (f : R →+* A) (hf : Function.Surjective f) : |
| 23 | (ModuleCat.restrictScalars.{w} f).Full := by |
| 24 | constructor |
| 25 | intro M N g |
| 26 | refine ⟨ModuleCat.ofHom |
| 27 | { g.hom.toAddHom with map_smul' := ?_ }, ?_⟩ |
| 28 | · intro a m |
| 29 | obtain ⟨r, rfl⟩ := hf a |
| 30 | exact g.hom.map_smul r m |
| 31 | · ext m |
| 32 | rfl |
| 33 | |
| 34 | theorem exists_module_descent_of_kernel_annihilates |
| 35 | {R : Type u} {A : Type v} [CommRing R] [CommRing A] |
| 36 | (f : R →+* A) (hf : Function.Surjective f) |
| 37 | (M : ModuleCat.{w} R) (h : RingHom.ker f ≤ Module.annihilator R M) : |
| 38 | ∃ N : ModuleCat.{w} A, Nonempty ((ModuleCat.restrictScalars f).obj N ≅ M) := by |
| 39 | have hk : RingHom.ker f ≤ RingHom.ker (Module.toAddMonoidEnd R M) := by |
| 40 | intro r hr |
| 41 | apply RingHom.mem_ker.mpr |
| 42 | ext m |
| 43 | exact Module.mem_annihilator.mp (h hr) m |
| 44 | let a : {g : R →+* AddMonoid.End M // RingHom.ker f ≤ RingHom.ker g} := |
| 45 | ⟨Module.toAddMonoidEnd R M, hk⟩ |
| 46 | let ρ := f.liftOfSurjective hf a |
| 47 | have hρ : ρ.comp f = Module.toAddMonoidEnd R M := |
| 48 | congrArg Subtype.val ((f.liftOfSurjective hf).symm_apply_apply a) |
| 49 | let : Module A M := Module.compHom M ρ |
| 50 | let e : (ModuleCat.restrictScalars f).obj (ModuleCat.of A M) ≃ₗ[R] M := |
| 51 | { toFun := id |
| 52 | invFun := id |
| 53 | left_inv := fun _ => rfl |
| 54 | right_inv := fun _ => rfl |
| 55 | map_add' := fun _ _ => rfl |
| 56 | map_smul' := fun r m => by |
| 57 | let m' : M := m |
| 58 | change ρ (f r) m' = r • m' |
| 59 | exact congrArg (fun g : AddMonoid.End M => g m') (RingHom.congr_fun hρ r) } |
| 60 | exact ⟨ModuleCat.of A M, ⟨e.toModuleIso⟩⟩ |
| 61 | |
| 62 | theorem quotientModule_unit_isIso |
| 63 | {R A : Type u} [CommRing R] [CommRing A] |
| 64 | (f : R →+* A) (hf : Function.Surjective f) |
| 65 | (M : ModuleCat.{u} R) (h : RingHom.ker f ≤ Module.annihilator R M) : |
| 66 | IsIso ((ModuleCat.extendRestrictScalarsAdj f).unit.app M) := by |
| 67 | have := surjectiveRingHom_restrictScalars_full.{u, u, u} f hf |
| 68 | obtain ⟨N, ⟨e⟩⟩ := exists_module_descent_of_kernel_annihilates f hf M h |
| 69 | exact (ModuleCat.extendRestrictScalarsAdj f).isIso_unit_app_of_iso e.symm |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.QuotientModuleDescent |