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.IntegralCompact |
| 2 | |
| 3 | /-! # Congruence Level -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Adelic.CongruenceLevel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Common compact open congruence levels for the actual finite Schwartz |
| 10 | action. All topological hypotheses are supplied by the concrete constructions. -/ |
| 11 | |
| 12 | open scoped _root_.NumberField _root_.Topology |
| 13 | |
| 14 | open OAI.RepresentationTheory.Theta.Adelic.FiniteSchwartz |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.CompactOpen OAI.RepresentationTheory.Theta.Adelic.IntegralCompact |
| 16 | |
| 17 | theorem finite_family_congruence_level |
| 18 | (F : Type) [Field F] [NumberField F] (d : F) (hd : d ≠ 0) |
| 19 | (n m : ℕ) (hN : 0 < n * m) |
| 20 | (H : (Matrix (Fin n) (Fin n) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ) |
| 21 | (K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ) |
| 22 | (C : Weil.AdelicSplitting.Characters.Construction.GlobalCharacters F d n m) (P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d n m H K) |
| 23 | (D : Weil.AdelicSplitting.Assembly.Construction.NormalizedLocalSplittings F d n m H K hd C P) |
| 24 | (Φ : Finset (FiniteSchwartz.finiteSchwartz F (n * m))) (K₀ : OpenSubgroup (FiniteSchwartz.FiniteSU F H)) : |
| 25 | ∃ L : OpenSubgroup (FiniteSchwartz.FiniteSU F H), IsCompact (L : Set (FiniteSchwartz.FiniteSU F H)) ∧ |
| 26 | L ≤ K₀ ∧ ∀ f ∈ Φ, ∀ g ∈ L, FiniteSchwartz.finiteAction F H K hd C P D g f = f := by |
| 27 | let U : Set (FiniteSchwartz.FiniteSU F H) := (K₀ : Set (FiniteSchwartz.FiniteSU F H)) ∩ |
| 28 | ⋂ f ∈ Φ, {g | FiniteSchwartz.finiteAction F H K hd C P D g f = f} |
| 29 | have hU : IsOpen U := K₀.isOpen.inter |
| 30 | (isOpen_biInter_finset fun f _ => FiniteSchwartz.finiteAction_smooth F H K hd C P D hN f) |
| 31 | have h1 : (1 : FiniteSchwartz.FiniteSU F H) ∈ U := by |
| 32 | refine ⟨K₀.one_mem, ?_⟩ |
| 33 | simp |
| 34 | obtain ⟨L, hLc, hLU⟩ := CompactOpen.compact_open_subgroup_basis U (hU.mem_nhds h1) |
| 35 | refine ⟨L, hLc, (fun g hg => (hLU hg).1), ?_⟩ |
| 36 | intro f hf g hg |
| 37 | exact Set.mem_iInter₂.mp (hLU hg).2 f hf |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.RepresentationTheory.Theta.Adelic.CongruenceLevel |