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.Geometric.MatrixSplitting |
| 2 | |
| 3 | /-! # Small Index Matrix Splitting -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SmallIndexMatrixSplitting |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The geometric matrix criterion also applies to small finite index |
| 10 | types over a coefficient ring in any universe. Explicit index transport |
| 11 | keeps the residue-field criterion in the coefficient-ring universe. -/ |
| 12 | universe u v w v' w' |
| 13 | |
| 14 | theorem matrix_injective_submatrix_equiv |
| 15 | {R : Type u} [CommRing R] {ι : Type v} {ν : Type w} {ι' : Type v'} {ν' : Type w'} |
| 16 | [Fintype ι] [Fintype ν] [Fintype ι'] [Fintype ν'] |
| 17 | [DecidableEq ι] [DecidableEq ν] [DecidableEq ι'] [DecidableEq ν'] |
| 18 | (F : Matrix ι ν R) (e₁ : ι' ≃ ι) (e₂ : ν' ≃ ν) |
| 19 | (hF : Function.Injective (Matrix.toLin' F)) : |
| 20 | Function.Injective (Matrix.toLin' (F.submatrix e₁ e₂)) := by |
| 21 | rw [Matrix.toLin'_submatrix] |
| 22 | exact (LinearEquiv.funCongrLeft R R e₁).injective.comp |
| 23 | (hF.comp (LinearEquiv.funCongrLeft R R e₂.symm).injective) |
| 24 | |
| 25 | variable {R : Type u} [CommRing R] |
| 26 | variable {ι ν : Type} [Fintype ι] [Fintype ν] [DecidableEq ι] [DecidableEq ν] |
| 27 | |
| 28 | theorem smallIndexMatrix_leftInverse_of_geometric_injective (F : Matrix ι ν R) |
| 29 | (hF : ∀ (K : Type u) [Field K] [IsAlgClosed K] (φ : R →+* K), |
| 30 | Function.Injective (Matrix.toLin' (F.map φ))) : |
| 31 | ∃ B : Matrix ν ι R, B * F = 1 := by |
| 32 | let e₁ : ULift.{u} ι ≃ ι := Equiv.ulift |
| 33 | let e₂ : ULift.{u} ν ≃ ν := Equiv.ulift |
| 34 | let F' : Matrix (ULift.{u} ι) (ULift.{u} ν) R := F.submatrix e₁ e₂ |
| 35 | have hF' : ∀ (K : Type u) [Field K] [IsAlgClosed K] (φ : R →+* K), |
| 36 | Function.Injective (Matrix.toLin' (F'.map φ)) := by |
| 37 | intro K _ _ φ |
| 38 | exact matrix_injective_submatrix_equiv (F.map φ) e₁ e₂ (hF K φ) |
| 39 | obtain ⟨B, hB⟩ := Geometric.MatrixSplitting.matrix_leftInverse_of_geometric_injective F' hF' |
| 40 | refine ⟨B.submatrix e₂.symm e₁.symm, ?_⟩ |
| 41 | change B.submatrix e₂.symm e₁.symm * F'.submatrix e₁.symm e₂.symm = 1 |
| 42 | rw [Matrix.submatrix_mul_equiv, hB] |
| 43 | ext i j |
| 44 | change (if e₂.symm i = e₂.symm j then (1 : R) else 0) = if i = j then 1 else 0 |
| 45 | simp only [e₂.symm.injective.eq_iff] |
| 46 | |
| 47 | theorem smallIndexMatrix_injective_all_baseChanges_of_geometric_injective |
| 48 | {C : Type u} [CommRing C] (φ : R →+* C) (F : Matrix ι ν R) |
| 49 | (hF : ∀ (K : Type u) [Field K] [IsAlgClosed K] (ψ : R →+* K), |
| 50 | Function.Injective (Matrix.toLin' (F.map ψ))) : |
| 51 | Function.Injective (Matrix.toLin' (F.map φ)) := by |
| 52 | obtain ⟨B, hB⟩ := smallIndexMatrix_leftInverse_of_geometric_injective F hF |
| 53 | have hBA : B.map φ * F.map φ = 1 := by |
| 54 | calc |
| 55 | B.map φ * F.map φ = (B * F).map φ := Matrix.map_mul.symm |
| 56 | _ = (1 : Matrix ν ν R).map φ := congrArg (fun M : Matrix ν ν R => M.map φ) hB |
| 57 | _ = 1 := Matrix.map_one φ (map_zero φ) (map_one φ) |
| 58 | have hlin : (Matrix.toLin' (B.map φ)).comp (Matrix.toLin' (F.map φ)) = LinearMap.id := by |
| 59 | rw [← Matrix.toLin'_mul, hBA, Matrix.toLin'_one] |
| 60 | have hleft : Function.LeftInverse (Matrix.toLin' (B.map φ)) (Matrix.toLin' (F.map φ)) := |
| 61 | fun x => LinearMap.congr_fun hlin x |
| 62 | exact hleft.injective |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SmallIndexMatrixSplitting |