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.Geometric.SphericalGU |
| 2 | |
| 3 | /-! # Integral Coordinates -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IntegralCoordinates.TestTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The literal integral special-linear subgroup is characterized by |
| 10 | its matrix entries and by preservation of integral coordinate vectors. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix |
| 13 | |
| 14 | variable (q : ℕ) [Fact q.Prime] |
| 15 | |
| 16 | theorem integralSL3_iff_entries (g : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3 q) : |
| 17 | g ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q ↔ ∀ i j, ‖g.val i j‖ ≤ 1 := by |
| 18 | constructor |
| 19 | · rintro ⟨a, rfl⟩ i j |
| 20 | exact (a.val i j).property |
| 21 | · intro hg |
| 22 | let a : Matrix (Fin 3) (Fin 3) (PadicInt q) := fun i j => ⟨g.val i j, hg i j⟩ |
| 23 | have ha : a.det = 1 := by |
| 24 | apply PadicInt.ext |
| 25 | change (PadicInt.Coe.ringHom (p := q)) a.det = (PadicInt.Coe.ringHom (p := q)) 1 |
| 26 | rw [RingHom.map_det, map_one] |
| 27 | exact g.property |
| 28 | refine ⟨⟨a, ha⟩, ?_⟩ |
| 29 | apply Subtype.ext |
| 30 | rfl |
| 31 | |
| 32 | theorem integralSL3_mulVec_integral (g : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3 q) (hg : g ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) |
| 33 | (x : Fin 3 → Padic q) (hx : ∀ i, ‖x i‖ ≤ 1) : ∀ i, ‖(g.val *ᵥ x) i‖ ≤ 1 := by |
| 34 | obtain ⟨a, rfl⟩ := hg |
| 35 | let y : Fin 3 → PadicInt q := fun i => ⟨x i, hx i⟩ |
| 36 | intro i |
| 37 | have he := RingHom.map_mulVec (PadicInt.Coe.ringHom (p := q)) a.val y i |
| 38 | exact (congrArg (fun z : Padic q => ‖z‖ ≤ 1) he) ▸ (a.val.mulVec y i).property |
| 39 | |
| 40 | theorem integralSL3_iff_preserves_vectors (g : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3 q) : |
| 41 | g ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q ↔ |
| 42 | ∀ x : Fin 3 → Padic q, (∀ i, ‖x i‖ ≤ 1) → ∀ i, ‖(g.val *ᵥ x) i‖ ≤ 1 := by |
| 43 | constructor |
| 44 | · exact integralSL3_mulVec_integral q g |
| 45 | · intro hg |
| 46 | apply (integralSL3_iff_entries q g).mpr |
| 47 | intro i j |
| 48 | have hx : ∀ k, ‖(Pi.single j (1 : Padic q) : Fin 3 → Padic q) k‖ ≤ 1 := by |
| 49 | intro k |
| 50 | by_cases h : k = j |
| 51 | · subst k |
| 52 | simp |
| 53 | · simp [Pi.single_eq_of_ne h] |
| 54 | have h := hg (Pi.single j 1) hx i |
| 55 | simpa [Matrix.mulVec_single] using h |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IntegralCoordinates.TestTransport |