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.Quotient.ChartKernels |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Grassmann.PolynomialCoordinates |
| 3 | |
| 4 | /-! # Chart Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Matrix.ChartBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Split quotient-chart kernels commute with arbitrary change of coefficient ring. -/ |
| 11 | |
| 12 | universe u v w t |
| 13 | |
| 14 | /-- Taking the target-ring span of the image of a span only requires semilinearity, |
| 15 | not surjectivity of the scalar map. -/ |
| 16 | theorem semilinear_span_image_span {R : Type u} {B : Type v} [Ring R] [Ring B] |
| 17 | {U : Type w} {V : Type t} [AddCommGroup U] [AddCommGroup V] [Module R U] [Module B V] |
| 18 | {φ : R →+* B} (f : U →ₛₗ[φ] V) (s : Set U) : |
| 19 | Submodule.span B (f '' (Submodule.span R s : Set U)) = Submodule.span B (f '' s) := by |
| 20 | apply le_antisymm |
| 21 | · exact Submodule.span_le.mpr (Submodule.image_span_subset_span f s) |
| 22 | · exact Submodule.span_mono (Set.image_mono Submodule.subset_span) |
| 23 | |
| 24 | /-- Apply a ring homomorphism to the coordinates of a finite free module. -/ |
| 25 | def chartVectorMap {R : Type u} {B : Type v} [CommRing R] [CommRing B] |
| 26 | (φ : R →+* B) (n : ℕ) : (Fin n → R) →ₛₗ[φ] (Fin n → B) where |
| 27 | toFun x i := φ (x i) |
| 28 | map_add' x y := by ext i; exact φ.map_add (x i) (y i) |
| 29 | map_smul' r x := by ext i; exact φ.map_mul r (x i) |
| 30 | |
| 31 | /-- Coordinatewise scalar change on both summands of a quotient chart. -/ |
| 32 | def chartPairMap {R : Type u} {B : Type v} [CommRing R] [CommRing B] |
| 33 | (φ : R →+* B) (k l : ℕ) : |
| 34 | ((Fin k → R) × (Fin l → R)) →ₛₗ[φ] ((Fin k → B) × (Fin l → B)) where |
| 35 | toFun x := (chartVectorMap φ k x.1, chartVectorMap φ l x.2) |
| 36 | map_add' x y := Prod.ext (map_add (chartVectorMap φ k) x.1 y.1) |
| 37 | (map_add (chartVectorMap φ l) x.2 y.2) |
| 38 | map_smul' r x := Prod.ext (map_smulₛₗ (chartVectorMap φ k) r x.1) |
| 39 | (map_smulₛₗ (chartVectorMap φ l) r x.2) |
| 40 | |
| 41 | /-- The submodule obtained by extending a matrix-chart kernel is exactly the kernel |
| 42 | of the matrix with its coefficients mapped to the new ring. -/ |
| 43 | theorem matrixChart_kernel_baseChange {R : Type u} {B : Type v} [CommRing R] [CommRing B] |
| 44 | (φ : R →+* B) {k l : ℕ} (M : Matrix (Fin k) (Fin l) R) : |
| 45 | Submodule.span B (chartPairMap φ k l '' |
| 46 | ((LinearMap.id.coprod M.mulVecLin).ker : Set ((Fin k → R) × (Fin l → R)))) = |
| 47 | (LinearMap.id.coprod (M.map φ).mulVecLin).ker := by |
| 48 | let bR := Pi.basisFun R (Fin l) |
| 49 | let bB := Pi.basisFun B (Fin l) |
| 50 | have hgen (j : Fin l) : chartPairMap φ k l (-M.mulVecLin (bR j), bR j) = |
| 51 | (-(M.map φ).mulVecLin (bB j), bB j) := by |
| 52 | ext i <;> simp [chartPairMap, chartVectorMap, bR, bB, Pi.basisFun_apply, |
| 53 | Pi.single_apply, apply_ite] |
| 54 | split_ifs <;> simp_all |
| 55 | rw [Quotient.ChartKernels.quotientChart_kernel_span bR, semilinear_span_image_span, |
| 56 | Quotient.ChartKernels.quotientChart_kernel_span bB, ← Set.range_comp] |
| 57 | exact congrArg (Submodule.span B) (congrArg Set.range (funext hgen)) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Matrix.ChartBaseChange |