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.Complex.Module |
| 2 | import Mathlib.LinearAlgebra.FiniteDimensional.Basic |
| 3 | import Mathlib.LinearAlgebra.Basis.Fin |
| 4 | |
| 5 | /-! # Antilinear Dual Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AntilinearDualCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Evaluation on an actual complex basis embeds the antiholomorphic |
| 12 | dual into the corresponding coordinate space. -/ |
| 13 | |
| 14 | variable {V : Type*} [AddCommGroup V] [Module ℂ V] |
| 15 | {ι : Type*} (b : Module.Basis ι ℂ V) |
| 16 | |
| 17 | def antilinearDualBasisCoordinates : (V →ₗ⋆[ℂ] ℂ) →ₗ[ℂ] (ι → ℂ) where |
| 18 | toFun f i := f (b i) |
| 19 | map_add' _ _ := rfl |
| 20 | map_smul' _ _ := rfl |
| 21 | |
| 22 | theorem antilinearDualBasisCoordinates_injective : |
| 23 | Function.Injective (antilinearDualBasisCoordinates b) := by |
| 24 | intro f g h |
| 25 | exact b.ext (fun i => congrFun h i) |
| 26 | |
| 27 | include b |
| 28 | |
| 29 | theorem antilinearDual_finiteDimensional [Finite ι] : |
| 30 | FiniteDimensional ℂ (V →ₗ⋆[ℂ] ℂ) := |
| 31 | FiniteDimensional.of_injective (antilinearDualBasisCoordinates b) |
| 32 | (antilinearDualBasisCoordinates_injective b) |
| 33 | |
| 34 | theorem antilinearDual_finrank_le [Fintype ι] : |
| 35 | Module.finrank ℂ (V →ₗ⋆[ℂ] ℂ) ≤ Fintype.card ι := by |
| 36 | simpa only [Module.finrank_fintype_fun_eq_card] using |
| 37 | LinearMap.finrank_le_finrank_of_injective (antilinearDualBasisCoordinates_injective b) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AntilinearDualCoordinates |