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.HilbertScheme.Presentations.Projective.QuotientRetraction |
| 2 | import Mathlib.LinearAlgebra.Projection |
| 3 | import Mathlib.LinearAlgebra.Dimension.Constructions |
| 4 | import Mathlib.RingTheory.LocalRing.Module |
| 5 | |
| 6 | /-! # Projective Quotient Rank -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ProjectiveQuotientRank |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A projective quotient of a finite projective module over a local |
| 13 | ring has additive finite rank. The proof uses a genuine splitting, |
| 14 | and applies to nonreduced local rings. -/ |
| 15 | universe u v |
| 16 | variable {R : Type u} [CommRing R] [IsLocalRing R] |
| 17 | variable {M : Type v} [AddCommGroup M] [Module R M] |
| 18 | variable [Module.Finite R M] [Module.Projective R M] |
| 19 | |
| 20 | theorem localProjectiveQuotient_finrank_add (P : Submodule R M) |
| 21 | [Module.Projective R (M ⧸ P)] : |
| 22 | Module.finrank R (M ⧸ P) + Module.finrank R P = Module.finrank R M := by |
| 23 | obtain ⟨r, hr⟩ := HilbertScheme.Presentations.Projective.QuotientRetraction.exists_projective_quotient_retraction P |
| 24 | have hsurj : Function.Surjective r := fun x => ⟨x.val, LinearMap.congr_fun hr x⟩ |
| 25 | have : Module.Finite R P := Module.Finite.of_surjective r hsurj |
| 26 | have : Module.Projective R P := Module.Projective.of_split P.subtype r hr |
| 27 | have : Module.Free R P := Module.free_of_flat_of_isLocalRing |
| 28 | have : Module.Free R (M ⧸ P) := Module.free_of_flat_of_isLocalRing |
| 29 | have hcompl : IsCompl P r.ker := LinearMap.isCompl_of_proj (fun x => LinearMap.congr_fun hr x) |
| 30 | let e := P.quotientEquivOfIsCompl r.ker hcompl |
| 31 | have : Module.Finite R r.ker := Module.Finite.equiv e |
| 32 | have : Module.Free R r.ker := Module.Free.of_equiv e |
| 33 | have h := (P.prodEquivOfIsCompl r.ker hcompl).finrank_eq |
| 34 | rw [Module.finrank_prod, ← e.finrank_eq] at h |
| 35 | exact (Nat.add_comm _ _).trans h |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ProjectiveQuotientRank |