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.SheafCohomology.Projective.FiniteHomologySequence |
| 2 | import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas |
| 3 | |
| 4 | /-! # Exact Sequence Finrank -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.ExactSequenceFinrank |
| 7 | |
| 8 | /-! Rank identities for exact pairs of finite-dimensional vector spaces. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory |
| 11 | universe u v |
| 12 | |
| 13 | theorem finrank_eq_ranges_of_exact |
| 14 | {K : Type u} [Field K] {M N P : Type*} |
| 15 | [AddCommGroup M] [Module K M] [AddCommGroup N] [Module K N] |
| 16 | [AddCommGroup P] [Module K P] [Module.Finite K N] |
| 17 | (f : M →ₗ[K] N) (g : N →ₗ[K] P) (h : Function.Exact f g) : |
| 18 | (Module.finrank K N : ℤ) = |
| 19 | (Module.finrank K (LinearMap.range f) : ℤ) + |
| 20 | (Module.finrank K (LinearMap.range g) : ℤ) := by |
| 21 | have he := LinearMap.exact_iff.mp h |
| 22 | have hd := g.finrank_range_add_finrank_ker |
| 23 | rw [he] at hd |
| 24 | omega |
| 25 | |
| 26 | theorem shortComplex_finrank_eq_ranges |
| 27 | {K : Type u} [Field K] (S : ShortComplex (ModuleCat.{v} K)) |
| 28 | [Module.Finite K S.X₂] (h : S.Exact) : |
| 29 | (Module.finrank K S.X₂ : ℤ) = |
| 30 | (Module.finrank K (LinearMap.range S.f.hom) : ℤ) + |
| 31 | (Module.finrank K (LinearMap.range S.g.hom) : ℤ) := |
| 32 | finrank_eq_ranges_of_exact S.f.hom S.g.hom |
| 33 | ((ShortComplex.ShortExact.moduleCat_exact_iff_function_exact _).mp h) |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.ExactSequenceFinrank |