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.Grassmann.PolynomialCoordinates |
| 2 | import Mathlib.LinearAlgebra.Matrix.NonsingularInverse |
| 3 | |
| 4 | /-! # Frame Determinants -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Determinant criteria for changing frames in Grassmannian quotient charts. -/ |
| 11 | |
| 12 | universe u v |
| 13 | |
| 14 | variable {R : Type u} [CommRing R] {V : Type v} [AddCommGroup V] [Module R V] {k : ℕ} |
| 15 | |
| 16 | /-- Over any commutative ring, a square matrix is bijective precisely when its determinant is a unit. -/ |
| 17 | theorem Grassmann.FrameDeterminants.matrix_bijective_iff_isUnit_det (M : Matrix (Fin k) (Fin k) R) : |
| 18 | Function.Bijective M.mulVec ↔ IsUnit M.det := by |
| 19 | constructor |
| 20 | · intro h |
| 21 | exact M.isUnit_iff_isUnit_det.mp (Matrix.mulVec_surjective_iff_isUnit.mp h.surjective) |
| 22 | · intro h |
| 23 | have hu := M.isUnit_iff_isUnit_det.mpr h |
| 24 | exact ⟨Matrix.mulVec_injective_of_isUnit hu, Matrix.mulVec_surjective_iff_isUnit.mpr hu⟩ |
| 25 | |
| 26 | /-- The matrix of a proposed new frame, expressed in the existing quotient frame. -/ |
| 27 | def Quotient.Charts.QuotientChart.frameMatrix (c : Quotient.Charts.QuotientChart R (Fin k → R) V) |
| 28 | (a : (Fin k → R) →ₗ[R] ((Fin k → R) × V)) : Matrix (Fin k) (Fin k) R := |
| 29 | LinearMap.toMatrix' (c.frame.symm.toLinearMap.comp (c.val.mkQ.comp a)) |
| 30 | |
| 31 | /-- The frame matrix is the sum of the first component and the coordinate image of the second. -/ |
| 32 | theorem Quotient.Charts.QuotientChart.frameMatrix_mulVec (c : Quotient.Charts.QuotientChart R (Fin k → R) V) |
| 33 | (a : (Fin k → R) →ₗ[R] ((Fin k → R) × V)) (x : Fin k → R) : |
| 34 | (c.frameMatrix a).mulVec x = (a x).1 + c.coordinates (a x).2 := by |
| 35 | have he : (c.frameMatrix a).mulVecLin = c.frame.symm.toLinearMap.comp (c.val.mkQ.comp a) := |
| 36 | LinearMap.toMatrix'.symm_apply_apply _ |
| 37 | exact (LinearMap.congr_fun he x).trans (c.frame_symm_mkQ (a x).1 (a x).2) |
| 38 | |
| 39 | /-- A proposed new frame is a basis of the quotient exactly on the unit-determinant locus. -/ |
| 40 | theorem Quotient.Charts.QuotientChart.frame_bijective_iff_isUnit_det (c : Quotient.Charts.QuotientChart R (Fin k → R) V) |
| 41 | (a : (Fin k → R) →ₗ[R] ((Fin k → R) × V)) : |
| 42 | Function.Bijective (c.val.mkQ.comp a) ↔ IsUnit (c.frameMatrix a).det := by |
| 43 | have he : (c.frameMatrix a).mulVecLin = c.frame.symm.toLinearMap.comp (c.val.mkQ.comp a) := |
| 44 | LinearMap.toMatrix'.symm_apply_apply _ |
| 45 | have hbij : Function.Bijective (c.frameMatrix a).mulVec ↔ |
| 46 | Function.Bijective (c.val.mkQ.comp a) := by |
| 47 | change Function.Bijective ((c.frameMatrix a).mulVecLin) ↔ _ |
| 48 | rw [he] |
| 49 | exact EquivLike.comp_bijective (c.val.mkQ.comp a) c.frame.symm |
| 50 | exact hbij.symm.trans (Grassmann.FrameDeterminants.matrix_bijective_iff_isUnit_det _) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |