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.Field.MatrixRankScalarExtension |
| 2 | |
| 3 | /-! # Kernel Affine Field Tests -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Matrix.KernelAffineFieldTests |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Matrix kernel-dimension opens have their expected criterion in the coefficient field of an affine test point. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {μ ν : Type u} [Fintype μ] [Fintype ν] [DecidableEq μ] [DecidableEq ν] |
| 16 | |
| 17 | theorem matrixKernelDimensionOpen_field_coefficients {X : Scheme.{u}} {K : Type u} [Field K] |
| 18 | (c : Spec (.of K) ⟶ X) (B : Matrix ν μ Γ(X, ⊤)) (d : ℕ) : |
| 19 | Set.range c ⊆ (KernelDimensionOpen.matrixKernelDimensionOpen B d : Set X) ↔ |
| 20 | Module.finrank K (Matrix.toLin' |
| 21 | (B.map ((Scheme.ΓSpecIso (.of K)).hom.hom.comp c.appTop.hom))).ker ≤ d := by |
| 22 | let : Field Γ(Spec (.of K), ⊤) := |
| 23 | ((Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv.toMulEquiv.isField (Field.toIsField K)).toField |
| 24 | have he := HilbertConstruction.Field.MatrixRankScalarExtension.fieldMatrix_kernel_finrank_map (Scheme.ΓSpecIso (.of K)).hom.hom (B.map c.appTop.hom) |
| 25 | exact (KernelDimensionOpen.matrixKernelDimensionOpen_field_point c B d).trans |
| 26 | (congrArg (fun q : ℕ => q ≤ d) he.symm).to_iff |
| 27 | |
| 28 | theorem matrixKernelDimensionOpen_specMap {R K : Type u} [CommRing R] [Field K] |
| 29 | (φ : R →+* K) (B : Matrix ν μ R) (d : ℕ) : |
| 30 | Set.range (Spec.map (CommRingCat.ofHom φ)) ⊆ |
| 31 | (KernelDimensionOpen.matrixKernelDimensionOpen (B.map (Scheme.ΓSpecIso (.of R)).inv.hom) d : Set (Spec (.of R))) ↔ |
| 32 | Module.finrank K (Matrix.toLin' (B.map φ)).ker ≤ d := by |
| 33 | have he : (B.map (Scheme.ΓSpecIso (.of R)).inv.hom).map |
| 34 | ((Scheme.ΓSpecIso (.of K)).hom.hom.comp (Spec.map (CommRingCat.ofHom φ)).appTop.hom) = B.map φ := by |
| 35 | ext i j |
| 36 | have hc := ConcreteCategory.congr_hom (Scheme.ΓSpecIso_inv_naturality (CommRingCat.ofHom φ)) (B i j) |
| 37 | exact (congrArg (fun z => (Scheme.ΓSpecIso (.of K)).hom z) hc).symm.trans |
| 38 | ((Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv.apply_symm_apply (φ (B i j))) |
| 39 | exact (matrixKernelDimensionOpen_field_coefficients (Spec.map (CommRingCat.ofHom φ)) |
| 40 | (B.map (Scheme.ΓSpecIso (.of R)).inv.hom) d).trans |
| 41 | (congrArg (fun A : Matrix ν μ K => Module.finrank K (Matrix.toLin' A).ker ≤ d) he).to_iff |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Matrix.KernelAffineFieldTests |