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.HodgeConjecture.CMExtraction.TorusCharacters |
| 2 | import OAI.RepresentationTheory.Hecke.CosetCalculusArithmeticMeasure |
| 3 | |
| 4 | /-! # Unipotent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Unipotent.Iwasawa |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Concrete upper-unipotent coordinates and their actual integral |
| 11 | coset fibres, for comparison of finite kernel sums with CosetCalculus integrals. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix |
| 14 | |
| 15 | def gl3Unipotent {R : Type*} [CommRing R] (x y z : R) : |
| 16 | Matrix.GeneralLinearGroup (Fin 3) R where |
| 17 | val := !![1, x, y; 0, 1, z; 0, 0, 1] |
| 18 | inv := !![1, -x, x * z - y; 0, 1, -z; 0, 0, 1] |
| 19 | val_inv := by |
| 20 | ext i j |
| 21 | fin_cases i <;> fin_cases j <;> simp [Matrix.mul_apply, Fin.sum_univ_three] |
| 22 | ring |
| 23 | inv_val := by |
| 24 | ext i j |
| 25 | fin_cases i <;> fin_cases j <;> simp [Matrix.mul_apply, Fin.sum_univ_three] |
| 26 | ring |
| 27 | |
| 28 | theorem gl3Unipotent_mul {R : Type*} [CommRing R] (x y z a b c : R) : |
| 29 | gl3Unipotent x y z * gl3Unipotent a b c = gl3Unipotent (x + a) (y + b + x * c) (z + c) := by |
| 30 | apply Units.ext |
| 31 | ext i j |
| 32 | fin_cases i <;> fin_cases j <;> simp [gl3Unipotent, Matrix.mul_apply, Fin.sum_univ_three] <;> ring |
| 33 | |
| 34 | theorem gl3Unipotent_inv {R : Type*} [CommRing R] (x y z : R) : |
| 35 | (gl3Unipotent x y z)⁻¹ = gl3Unipotent (-x) (x * z - y) (-z) := by |
| 36 | apply Units.ext |
| 37 | rfl |
| 38 | |
| 39 | theorem gl3Unipotent_inv_mul {R : Type*} [CommRing R] (x y z a b c : R) : |
| 40 | (gl3Unipotent x y z)⁻¹ * gl3Unipotent a b c = |
| 41 | gl3Unipotent (a - x) (b - y - x * (c - z)) (c - z) := by |
| 42 | rw [gl3Unipotent_inv, gl3Unipotent_mul] |
| 43 | congr 1 <;> ring |
| 44 | |
| 45 | theorem gl3Unipotent_map {R S : Type*} [CommRing R] [CommRing S] |
| 46 | (f : R →+* S) (x y z : R) : |
| 47 | Matrix.GeneralLinearGroup.map f (gl3Unipotent x y z) = gl3Unipotent (f x) (f y) (f z) := by |
| 48 | apply Units.ext |
| 49 | ext i j |
| 50 | fin_cases i <;> fin_cases j <;> simp [gl3Unipotent, Matrix.GeneralLinearGroup.map] |
| 51 | |
| 52 | variable (q : ℕ) [Fact q.Prime] |
| 53 | |
| 54 | def padicIntegralSet : Set ℚ_[q] := Set.range (PadicInt.Coe.ringHom (p := q)) |
| 55 | |
| 56 | theorem gl3Unipotent_integral_iff (x y z : ℚ_[q]) : |
| 57 | gl3Unipotent x y z ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q ↔ |
| 58 | x ∈ padicIntegralSet q ∧ y ∈ padicIntegralSet q ∧ z ∈ padicIntegralSet q := by |
| 59 | constructor |
| 60 | · rintro ⟨U, hU⟩ |
| 61 | exact ⟨⟨U.val 0 1, congrArg (fun g : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q => g.val 0 1) hU⟩, |
| 62 | ⟨U.val 0 2, congrArg (fun g : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q => g.val 0 2) hU⟩, |
| 63 | ⟨U.val 1 2, congrArg (fun g : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q => g.val 1 2) hU⟩⟩ |
| 64 | · rintro ⟨⟨a, rfl⟩, ⟨b, rfl⟩, ⟨c, rfl⟩⟩ |
| 65 | exact ⟨gl3Unipotent a b c, gl3Unipotent_map _ a b c⟩ |
| 66 | |
| 67 | theorem gl3Unipotent_coset_iff (t : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q) (x y z a b c : ℚ_[q]) : |
| 68 | (QuotientGroup.mk (t * gl3Unipotent x y z) : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q ⧸ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) = |
| 69 | QuotientGroup.mk (t * gl3Unipotent a b c) ↔ |
| 70 | a - x ∈ padicIntegralSet q ∧ b - y - x * (c - z) ∈ padicIntegralSet q ∧ |
| 71 | c - z ∈ padicIntegralSet q := by |
| 72 | rw [QuotientGroup.eq] |
| 73 | rw [mul_inv_rev, mul_assoc, ← mul_assoc t⁻¹, inv_mul_cancel, one_mul, |
| 74 | gl3Unipotent_inv_mul, gl3Unipotent_integral_iff] |
| 75 | |
| 76 | theorem gl3Unipotent_upper (x y z : ℚ_[q]) : |
| 77 | gl3Unipotent x y z ∈ RepresentationTheory.Satake.GL3GL.Core.upperBorel ℚ_[q] := by |
| 78 | intro i j hij |
| 79 | fin_cases i <;> fin_cases j <;> simp_all [gl3Unipotent] |
| 80 | |
| 81 | theorem gl3Torus_mul_unipotent (ell : Fin 3 → ℤ) (x y z : ℚ_[q]) : |
| 82 | ((AbelianScheme.TateComparison.HeckeKernel.diagonalUnit (fun i => AbelianScheme.TateComparison.HeckeKernel.qUnit q ^ ell i)) * |
| 83 | gl3Unipotent x y z).val = RepresentationTheory.Hecke.CosetCalculusArithmeticMeasure.triangular (q : ℚ_[q]) ell x y z := by |
| 84 | ext i j |
| 85 | fin_cases i <;> fin_cases j <;> |
| 86 | simp [AbelianScheme.TateComparison.HeckeKernel.diagonalUnit, AbelianScheme.TateComparison.HeckeKernel.qUnit, gl3Unipotent, |
| 87 | RepresentationTheory.Hecke.CosetCalculusArithmeticMeasure.triangular, Matrix.diagonal_mul] |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Unipotent.Iwasawa |