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.RepresentationTheory.Theta.Adelic.QuadraticNormSquareQuotient |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.Normalization |
| 3 | |
| 4 | /-! # Fixed Determinant -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Adelic.FixedDeterminant |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Hermitian determinants and delta-normalized skew-Hermitian determinants |
| 11 | are actual scalar units, with their nonzero scalar given by the real coefficient. -/ |
| 12 | |
| 13 | open OAI.RepresentationTheory.Weil.AdelicSplitting.Normalization.Construction OAI.RepresentationTheory.Theta.Adelic.QuadraticNormSquareQuotient |
| 14 | |
| 15 | variable {k : Type} [Field k] [CharZero k] (d : k) |
| 16 | |
| 17 | theorem fixed_im_zero (z : Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d) (hz : star z = z) : z.im = 0 := by |
| 18 | have hi : -z.im = z.im := congrArg QuadraticAlgebra.im hz |
| 19 | linear_combination -(1 / 2 : k) * hi |
| 20 | |
| 21 | theorem fixedUnit_re_ne_zero (z : (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)ˣ) (hz : star z = z) : z.val.re ≠ 0 := by |
| 22 | intro hr |
| 23 | apply z.ne_zero |
| 24 | have hi := fixed_im_zero d z.val (congrArg Units.val hz) |
| 25 | ext <;> simp [hr, hi] |
| 26 | |
| 27 | def scalarReUnit (z : (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)ˣ) (hz : star z = z) : kˣ := |
| 28 | Units.mk0 z.val.re (fixedUnit_re_ne_zero d z hz) |
| 29 | |
| 30 | theorem scalarUnits_scalarReUnit (z : (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)ˣ) (hz : star z = z) : |
| 31 | QuadraticNormSquareQuotient.scalarUnits d (scalarReUnit d z hz) = z := by |
| 32 | apply Units.ext |
| 33 | ext |
| 34 | · rfl |
| 35 | · exact (fixed_im_zero d z.val (congrArg Units.val hz)).symm |
| 36 | |
| 37 | omit [CharZero k] in |
| 38 | theorem hermitian_det_fixed {I : Type} [Fintype I] [DecidableEq I] |
| 39 | (A : (Matrix I I (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d))ˣ) (hA : A.val.conjTranspose = A.val) : |
| 40 | star (Matrix.GeneralLinearGroup.det A) = Matrix.GeneralLinearGroup.det A := by |
| 41 | apply Units.ext |
| 42 | change star A.val.det = A.val.det |
| 43 | rw [← Matrix.det_conjTranspose, hA] |
| 44 | |
| 45 | omit [CharZero k] in |
| 46 | theorem skew_det_fixed (hd : d ≠ 0) {n : ℕ} |
| 47 | (K : (Matrix (Fin n) (Fin n) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d))ˣ) (hK : K.val.conjTranspose = -K.val) : |
| 48 | star ((Weil.AdelicSplitting.Normalization.Construction.deltaUnit d hd)⁻¹ ^ n * Matrix.GeneralLinearGroup.det K) = |
| 49 | (Weil.AdelicSplitting.Normalization.Construction.deltaUnit d hd)⁻¹ ^ n * Matrix.GeneralLinearGroup.det K := by |
| 50 | have hδ : star (Weil.AdelicSplitting.Normalization.Construction.deltaUnit d hd) = -Weil.AdelicSplitting.Normalization.Construction.deltaUnit d hd := by |
| 51 | apply Units.ext |
| 52 | ext <;> simp [Weil.AdelicSplitting.Normalization.Construction.deltaUnit] |
| 53 | have hdet : star (Matrix.GeneralLinearGroup.det K) = (-1) ^ n * Matrix.GeneralLinearGroup.det K := by |
| 54 | apply Units.ext |
| 55 | change star K.val.det = (-1 : Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d) ^ n * K.val.det |
| 56 | rw [← Matrix.det_conjTranspose, hK, Matrix.det_neg, Fintype.card_fin] |
| 57 | have hnegδ : -(Weil.AdelicSplitting.Normalization.Construction.deltaUnit d hd)⁻¹ = (-1 : (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)ˣ) * (Weil.AdelicSplitting.Normalization.Construction.deltaUnit d hd)⁻¹ := by simp |
| 58 | rw [star_mul, star_pow, star_inv, hδ, hdet, inv_neg, hnegδ, mul_pow] |
| 59 | have hsign : (-1 : (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)ˣ) ^ n * (-1) ^ n = 1 := by |
| 60 | rw [← mul_pow] |
| 61 | simp |
| 62 | rw [mul_mul_mul_comm, hsign, one_mul] |
| 63 | exact mul_comm _ _ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.RepresentationTheory.Theta.Adelic.FixedDeterminant |