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 Mathlib.LinearAlgebra.Basis.Basic |
| 2 | |
| 3 | /-! # Basis Range Surjectivity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.BasisRangeSurjectivity.LinearAlgebra |
| 6 | |
| 7 | /-! A linear map containing a genuine target basis in its range is surjective. -/ |
| 8 | |
| 9 | variable {R M N I : Type} [Semiring R] [AddCommMonoid M] [AddCommMonoid N] |
| 10 | [Module R M] [Module R N] |
| 11 | |
| 12 | theorem surjective_of_basis_range (f : M →ₗ[R] N) (b : Module.Basis I R N) |
| 13 | (hb : ∀ i, b i ∈ LinearMap.range f) : Function.Surjective f := by |
| 14 | apply LinearMap.range_eq_top.mp |
| 15 | apply top_unique |
| 16 | rw [← b.span_eq] |
| 17 | exact Submodule.span_le.mpr (Set.range_subset_iff.mpr hb) |
| 18 | |
| 19 | end OAI.AlgebraicGeometry.Comparison.Betti.BasisRangeSurjectivity.LinearAlgebra |