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.FiberwiseMatrixSplitting |
| 2 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 3 | |
| 4 | /-! # Matrix Splitting -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.MatrixSplitting |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Geometric field tests suffice for a finite matrix to have a left |
| 11 | inverse over the original ring, retaining all nilpotent information. -/ |
| 12 | open scoped _root_.Matrix |
| 13 | universe u |
| 14 | variable {ι ν : Type u} [Fintype ι] [Fintype ν] [DecidableEq ι] [DecidableEq ν] |
| 15 | |
| 16 | omit [Fintype ι] [DecidableEq ι] in |
| 17 | theorem matrix_injective_of_injective_map {R A : Type u} [CommRing R] [CommRing A] |
| 18 | (φ : R →+* A) (hφ : Function.Injective φ) (F : Matrix ι ν R) |
| 19 | (hF : Function.Injective (Matrix.toLin' (F.map φ))) : Function.Injective (Matrix.toLin' F) := by |
| 20 | intro x y hxy |
| 21 | have hm : Matrix.toLin' (F.map φ) (φ ∘ x) = Matrix.toLin' (F.map φ) (φ ∘ y) := by |
| 22 | funext i |
| 23 | change (F.map φ *ᵥ (φ ∘ x)) i = (F.map φ *ᵥ (φ ∘ y)) i |
| 24 | rw [← RingHom.map_mulVec, ← RingHom.map_mulVec] |
| 25 | exact congrArg φ (congrFun hxy i) |
| 26 | have h := hF hm |
| 27 | funext i |
| 28 | exact hφ (congrFun h i) |
| 29 | |
| 30 | theorem matrix_leftInverse_of_geometric_injective {R : Type u} [CommRing R] |
| 31 | (F : Matrix ι ν R) |
| 32 | (hF : ∀ (K : Type u) [Field K] [IsAlgClosed K] (φ : R →+* K), |
| 33 | Function.Injective (Matrix.toLin' (F.map φ))) : ∃ B : Matrix ν ι R, B * F = 1 := by |
| 34 | apply FiberwiseMatrixSplitting.matrix_leftInverse_of_residueField_injective F |
| 35 | intro p |
| 36 | let K := p.asIdeal.ResidueField |
| 37 | let L := AlgebraicClosure K |
| 38 | let φ : R →+* L := (algebraMap K L).comp (algebraMap R K) |
| 39 | apply matrix_injective_of_injective_map (algebraMap K L) (RingHom.injective _) (F.map (algebraMap R K)) |
| 40 | exact hF L φ |
| 41 | |
| 42 | theorem matrix_injective_all_baseChanges_of_geometric_injective |
| 43 | {R A : Type u} [CommRing R] [CommRing A] (φ : R →+* A) (F : Matrix ι ν R) |
| 44 | (hF : ∀ (K : Type u) [Field K] [IsAlgClosed K] (ψ : R →+* K), |
| 45 | Function.Injective (Matrix.toLin' (F.map ψ))) : |
| 46 | Function.Injective (Matrix.toLin' (F.map φ)) := by |
| 47 | obtain ⟨B, hB⟩ := matrix_leftInverse_of_geometric_injective F hF |
| 48 | have hBA : B.map φ * F.map φ = 1 := by |
| 49 | calc |
| 50 | B.map φ * F.map φ = (B * F).map φ := Matrix.map_mul.symm |
| 51 | _ = (1 : Matrix ν ν R).map φ := congrArg (fun M : Matrix ν ν R => M.map φ) hB |
| 52 | _ = 1 := Matrix.map_one φ (map_zero φ) (map_one φ) |
| 53 | have hlin : (Matrix.toLin' (B.map φ)).comp (Matrix.toLin' (F.map φ)) = LinearMap.id := by |
| 54 | rw [← Matrix.toLin'_mul, hBA, Matrix.toLin'_one] |
| 55 | have hleft : Function.LeftInverse (Matrix.toLin' (B.map φ)) (Matrix.toLin' (F.map φ)) := |
| 56 | fun x => LinearMap.congr_fun hlin x |
| 57 | exact hleft.injective |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.MatrixSplitting |