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.ShortComplexDimensionBalance |
| 2 | |
| 3 | /-! # Exact Pair Dimension -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ExactPairDimension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Dimension balance for two consecutive exact linear maps. -/ |
| 10 | universe u |
| 11 | |
| 12 | theorem exact_pair_dimension {K : Type u} [Field K] |
| 13 | {A B C : Type u} [AddCommGroup A] [AddCommGroup B] [AddCommGroup C] |
| 14 | [Module K A] [Module K B] [Module K C] [Module.Finite K B] |
| 15 | (f : A →ₗ[K] B) (g : B →ₗ[K] C) (h : Function.Exact f g) : |
| 16 | Module.finrank K B = Module.finrank K (LinearMap.range f) + Module.finrank K (LinearMap.range g) := by |
| 17 | have hk : LinearMap.range f = LinearMap.ker g := (LinearMap.exact_iff.mp h).symm |
| 18 | have hh := congrArg (fun P : Submodule K B => Module.finrank K P) hk |
| 19 | have hd := g.finrank_range_add_finrank_ker |
| 20 | omega |
| 21 | |
| 22 | end |
| 23 | |
| 24 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ExactPairDimension |