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.Local.ProjectiveQuotientRank |
| 2 | import Mathlib.RingTheory.Spectrum.Prime.FreeLocus |
| 3 | |
| 4 | /-! # Quotient Stalk Rank -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.QuotientStalkRank |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Additivity of stalk ranks for a projective quotient is obtained |
| 11 | from an actual direct-sum decomposition. It holds over arbitrary |
| 12 | coefficient rings, without reducing them or passing to field points. -/ |
| 13 | universe u v |
| 14 | variable {R : Type u} [CommRing R] |
| 15 | variable {M : Type v} [AddCommGroup M] [Module R M] |
| 16 | variable [Module.Finite R M] [Module.Projective R M] |
| 17 | |
| 18 | theorem projectiveQuotient_rankAtStalk_add (P : Submodule R M) |
| 19 | [Module.Projective R (M ⧸ P)] (p : PrimeSpectrum R) : |
| 20 | Module.rankAtStalk (R := R) (M ⧸ P) p + Module.rankAtStalk (R := R) P p = |
| 21 | Module.rankAtStalk (R := R) M p := by |
| 22 | obtain ⟨r, hr⟩ := HilbertScheme.Presentations.Projective.QuotientRetraction.exists_projective_quotient_retraction P |
| 23 | have hsurj : Function.Surjective r := fun x => ⟨x.val, LinearMap.congr_fun hr x⟩ |
| 24 | have : Module.Finite R P := Module.Finite.of_surjective r hsurj |
| 25 | have : Module.Projective R P := Module.Projective.of_split P.subtype r hr |
| 26 | have hc : IsCompl P r.ker := LinearMap.isCompl_of_proj (fun x => LinearMap.congr_fun hr x) |
| 27 | let e := P.quotientEquivOfIsCompl r.ker hc |
| 28 | have : Module.Finite R r.ker := Module.Finite.equiv e |
| 29 | have : Module.Projective R r.ker := Module.Projective.of_equiv e |
| 30 | have h := congrFun (Module.rankAtStalk_eq_of_equiv (P.prodEquivOfIsCompl r.ker hc)) p |
| 31 | rw [Module.rankAtStalk_prod, Pi.add_apply, |
| 32 | ← congrFun (Module.rankAtStalk_eq_of_equiv e) p] at h |
| 33 | exact (Nat.add_comm _ _).trans h |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.QuotientStalkRank |