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.ReferenceFamily.Local.SplitInjection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LocalizationTensorEquiv |
| 3 | import Mathlib.RingTheory.LocalRing.Module |
| 4 | |
| 5 | /-! # Residue Split Injection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ResidueSplitInjection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A map between finite projective modules has a global left inverse |
| 12 | when it is injective after tensoring with every maximal residue field. -/ |
| 13 | |
| 14 | theorem split_injective_of_residue_fields |
| 15 | {R M N : Type} [CommRing R] [AddCommGroup M] [Module R M] |
| 16 | [AddCommGroup N] [Module R N] |
| 17 | [Module.Finite R M] [Module.Projective R M] |
| 18 | [Module.Finite R N] [Module.Projective R N] |
| 19 | (f : M →ₗ[R] N) |
| 20 | (H : ∀ (P : Ideal R) (_ : P.IsMaximal), |
| 21 | Function.Injective (f.lTensor (IsLocalRing.ResidueField (Localization.AtPrime P)))) : |
| 22 | ∃ g : N →ₗ[R] M, g.comp f = LinearMap.id := by |
| 23 | let : Module.FinitePresentation R M := Module.finitePresentation_of_projective R M |
| 24 | let : Module.FinitePresentation R N := Module.finitePresentation_of_projective R N |
| 25 | apply Local.SplitInjection.split_injective_of_localization_maximal f |
| 26 | intro P hP |
| 27 | let : Module.Free (Localization.AtPrime P) (LocalizedModule P.primeCompl N) := |
| 28 | Module.free_of_flat_of_isLocalRing |
| 29 | apply (IsLocalRing.split_injective_iff_lTensor_residueField_injective |
| 30 | (LocalizedModule.map P.primeCompl f)).mpr |
| 31 | exact LocalizationTensorEquiv.localization_tensor_injective P.primeCompl |
| 32 | (IsLocalRing.ResidueField (Localization.AtPrime P)) f (H P hP) |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ResidueSplitInjection |