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.GradedAugmentationFinite |
| 2 | import Mathlib.LinearAlgebra.FiniteDimensional.Defs |
| 3 | |
| 4 | /-! # Homogeneous Vector Space Basis -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.HomogeneousVectorSpaceBasis |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A vector space with a direct-sum grading has a basis of homogeneous vectors. -/ |
| 11 | |
| 12 | open DirectSum |
| 13 | universe u v |
| 14 | variable {K : Type u} [Field K] {M : Type v} [AddCommGroup M] [Module K M] |
| 15 | variable (ℳ : ℤ → Submodule K M) [Decomposition ℳ] |
| 16 | |
| 17 | def HomogeneousBasisIndex := Σ d : ℤ, Module.Free.ChooseBasisIndex K (ℳ d) |
| 18 | |
| 19 | def homogeneousVectorSpaceBasis : Module.Basis (HomogeneousBasisIndex ℳ) K M := |
| 20 | (Decomposition.isInternal ℳ).collectedBasis (fun d => Module.Free.chooseBasis K (ℳ d)) |
| 21 | |
| 22 | theorem homogeneousVectorSpaceBasis_mem (i : HomogeneousBasisIndex ℳ) : |
| 23 | homogeneousVectorSpaceBasis ℳ i ∈ ℳ i.1 := |
| 24 | (Decomposition.isInternal ℳ).collectedBasis_mem (fun d => Module.Free.chooseBasis K (ℳ d)) i |
| 25 | |
| 26 | @[instance_reducible] |
| 27 | def homogeneousBasisIndexFintype [Module.Finite K M] : Fintype (HomogeneousBasisIndex ℳ) := |
| 28 | FiniteDimensional.fintypeBasisIndex (homogeneousVectorSpaceBasis ℳ) |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.HomogeneousVectorSpaceBasis |