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.Hecke.RadialDilation.LocalCompactStabilization |
| 2 | import Mathlib.NumberTheory.Padics.ProperSpace |
| 3 | |
| 4 | /-! # Local Bounded Stabilization -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Hecke.RadialDilation.LocalBoundedStabilization.Realization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Entrywise bounded p-adic symplectic powers suffice for finite-order stabilization. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Topology _root_.Matrix |
| 13 | open _root_.Matrix |
| 14 | |
| 15 | variable (q n : ℕ) [Fact q.Prime] |
| 16 | |
| 17 | theorem padicSymplectic_isClosed : |
| 18 | IsClosed (Matrix.symplecticGroup (Fin n) ℚ_[q] : Set (Matrix (Fin n ⊕ Fin n) (Fin n ⊕ Fin n) ℚ_[q])) := by |
| 19 | let : T2Space (Matrix (Fin n ⊕ Fin n) (Fin n ⊕ Fin n) ℚ_[q]) := |
| 20 | inferInstanceAs (T2Space ((Fin n ⊕ Fin n) → (Fin n ⊕ Fin n) → ℚ_[q])) |
| 21 | have h : IsClosed {A : Matrix (Fin n ⊕ Fin n) (Fin n ⊕ Fin n) ℚ_[q] | |
| 22 | A.transpose * Matrix.J (Fin n) ℚ_[q] * A = Matrix.J (Fin n) ℚ_[q]} := |
| 23 | isClosed_eq (by fun_prop) continuous_const |
| 24 | convert h using 1 |
| 25 | ext A |
| 26 | exact SymplecticGroup.mem_iff' |
| 27 | |
| 28 | theorem padicSymplectic_closedEmbedding : |
| 29 | Topology.IsClosedEmbedding (fun g : Weil.Local.FunctionsMetaplectic.Construction.Symplectic ℚ_[q] n => g.val) := |
| 30 | (padicSymplectic_isClosed q n).isClosedEmbedding_subtypeVal |
| 31 | |
| 32 | def localSymplecticBoundedSet (R : ℝ) : Set (Weil.Local.FunctionsMetaplectic.Construction.Symplectic ℚ_[q] n) := |
| 33 | {g | ∀ i j, ‖g.val i j‖ ≤ R} |
| 34 | |
| 35 | theorem localSymplecticBoundedSet_isCompact (R : ℝ) : IsCompact (localSymplecticBoundedSet q n R) := by |
| 36 | let C : Set (Matrix (Fin n ⊕ Fin n) (Fin n ⊕ Fin n) ℚ_[q]) := {A | ∀ i j, ‖A i j‖ ≤ R} |
| 37 | have hC : IsCompact C := by |
| 38 | have hset : C = Set.pi Set.univ (fun _ : Fin n ⊕ Fin n => |
| 39 | Set.pi Set.univ (fun _ : Fin n ⊕ Fin n => Metric.closedBall (0 : ℚ_[q]) R)) := by |
| 40 | ext A |
| 41 | change (∀ i j, ‖A i j‖ ≤ R) ↔ |
| 42 | ∀ i ∈ (Set.univ : Set (Fin n ⊕ Fin n)), |
| 43 | ∀ j ∈ (Set.univ : Set (Fin n ⊕ Fin n)), dist (A i j) 0 ≤ R |
| 44 | simp only [Set.mem_univ, forall_const, dist_zero_right] |
| 45 | rw [hset] |
| 46 | exact isCompact_univ_pi (fun _ : Fin n ⊕ Fin n => |
| 47 | isCompact_univ_pi (fun _ : Fin n ⊕ Fin n => isCompact_closedBall (0 : ℚ_[q]) R)) |
| 48 | exact (padicSymplectic_closedEmbedding q n).isCompact_preimage hC |
| 49 | |
| 50 | local instance c410LocalBoundedStabilization_localInst1 : MeasurableSpace ℚ_[q] := borel ℚ_[q] |
| 51 | local instance c410LocalBoundedStabilization_localInst2 : BorelSpace ℚ_[q] := ⟨rfl⟩ |
| 52 | |
| 53 | theorem exists_local_bounded_power_finite_phase |
| 54 | (hLocalWeil : Prerequisites.Core.LocalWeil.Proposition) (hn : 0 < n) |
| 55 | (ψ : AddChar ℚ_[q] ℂ) (hψ : Continuous (fun x : ℚ_[q] => ψ x)) |
| 56 | (hunit : ∀ x, ‖ψ x‖ = 1) (hnontrivial : ∃ x, ψ x ≠ 1) |
| 57 | (g : Weil.Local.FunctionsMetaplectic.Construction.Metaplectic ℚ_[q] n ψ) (f : Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat ℚ_[q] n) (R : ℝ) |
| 58 | (hbounded : ∀ (N : ℕ) i j, ‖((Weil.Local.FunctionsMetaplectic.Construction.metaplecticProjection ℚ_[q] n ψ g) ^ N).val i j‖ ≤ R) : |
| 59 | ∃ (N : ℕ) (ξ : ℂ), 0 < N ∧ ξ ^ 8 = 1 ∧ Weil.Local.FunctionsMetaplectic.Construction.weilRepresentation ℚ_[q] n ψ (g ^ N) f = ξ • f := |
| 60 | LocalCompactStabilization.Realization.exists_local_power_finite_phase q n hLocalWeil hn ψ hψ hunit hnontrivial g f |
| 61 | (localSymplecticBoundedSet q n R) (localSymplecticBoundedSet_isCompact q n R) hbounded |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.RepresentationTheory.Hecke.RadialDilation.LocalBoundedStabilization.Realization |