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.AbelianScheme.IsogenyQuotient.Hecke |
| 2 | import Mathlib.Topology.Algebra.Group.Quotient |
| 3 | import Mathlib.Topology.Algebra.Group.Units |
| 4 | |
| 5 | /-! # Compact Open Hecke -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CompactOpenHecke.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Compact open level subgroups have finite right-coset orbits, so their |
| 13 | raw double-coset Hecke operators are constructed without a finite-support |
| 14 | assumption. An open-embedding lemma for units supports the actual q-adic level. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.Topology |
| 18 | |
| 19 | section Units |
| 20 | |
| 21 | variable {R S : Type*} [Monoid R] [Monoid S] |
| 22 | |
| 23 | theorem units_map_range_of_injective (f : R →* S) (hf : Function.Injective f) : |
| 24 | Set.range (Units.map f) = {u : Sˣ | (u : S) ∈ Set.range f ∧ ((u⁻¹ : Sˣ) : S) ∈ Set.range f} := by |
| 25 | ext u |
| 26 | constructor |
| 27 | · rintro ⟨v, rfl⟩ |
| 28 | exact ⟨⟨v.val, rfl⟩, ⟨v.inv, rfl⟩⟩ |
| 29 | · rintro ⟨⟨a, ha⟩, ⟨b, hb⟩⟩ |
| 30 | have hab : a * b = 1 := hf (by rw [map_mul, ha, hb, map_one]; exact u.mul_inv) |
| 31 | have hba : b * a = 1 := hf (by rw [map_mul, hb, ha, map_one]; exact u.inv_mul) |
| 32 | exact ⟨⟨a, b, hab, hba⟩, Units.ext ha⟩ |
| 33 | |
| 34 | variable [TopologicalSpace R] [TopologicalSpace S] |
| 35 | |
| 36 | /-- An open monoid embedding induces an open embedding of unit groups, |
| 37 | with their standard topology recording both value and inverse. -/ |
| 38 | theorem units_map_openEmbedding (f : R →* S) (hf : IsOpenEmbedding f) : |
| 39 | IsOpenEmbedding (Units.map f) := by |
| 40 | have he : IsEmbedding (Units.map f) := by |
| 41 | open MulOpposite in |
| 42 | have hprod := hf.isEmbedding.prodMap |
| 43 | (opHomeomorph.isEmbedding.comp (hf.isEmbedding.comp opHomeomorph.symm.isEmbedding)) |
| 44 | have hcomp := hprod.comp Units.isEmbedding_embedProduct |
| 45 | exact Units.isEmbedding_embedProduct.of_comp_iff.mp hcomp |
| 46 | refine ⟨he, ?_⟩ |
| 47 | rw [units_map_range_of_injective f hf.injective] |
| 48 | exact (hf.isOpen_range.preimage Units.continuous_val).inter |
| 49 | (hf.isOpen_range.preimage Units.continuous_coe_inv) |
| 50 | |
| 51 | end Units |
| 52 | |
| 53 | variable {G : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] |
| 54 | (U : Subgroup G) |
| 55 | |
| 56 | /-- The image of a compact level orbit in the discrete coset space is |
| 57 | finite. This proves finite support for every double coset. -/ |
| 58 | theorem rawRightCosetSupport_finite_of_compact_open |
| 59 | (hopen : IsOpen (U : Set G)) (hcompact : IsCompact (U : Set G)) (g : G) : |
| 60 | (Hecke.Construction.rawRightCosetSupport U g).Finite := by |
| 61 | have : DiscreteTopology (G ⧸ U) := QuotientGroup.discreteTopology hopen |
| 62 | have hset : (fun k : G => QuotientGroup.mk (k * g⁻¹)) '' (U : Set G) = |
| 63 | Hecke.Construction.rawRightCosetSupport U g := by |
| 64 | ext x |
| 65 | constructor |
| 66 | · rintro ⟨k, hk, rfl⟩ |
| 67 | exact MulAction.mem_orbit _ (⟨k, hk⟩ : U) |
| 68 | · intro hx |
| 69 | obtain ⟨k, hk⟩ := MulAction.mem_orbit_iff.mp hx |
| 70 | exact ⟨k, k.property, hk⟩ |
| 71 | have h : IsCompact ((fun k : G => (QuotientGroup.mk (k * g⁻¹) : G ⧸ U)) '' (U : Set G)) := |
| 72 | hcompact.image (QuotientGroup.continuous_mk.comp (continuous_id.mul continuous_const)) |
| 73 | rw [hset] at h |
| 74 | exact h.finite_of_discrete |
| 75 | |
| 76 | /-- Every double coset at a compact open level has its unique raw |
| 77 | spherical Hecke operator, with no supplied operator or support witness. -/ |
| 78 | theorem compact_open_raw_hecke_exists_unique |
| 79 | (hopen : IsOpen (U : Set G)) (hcompact : IsCompact (U : Set G)) (g : G) : |
| 80 | ∃! T : TateComparison.HeckeKernel.SphericalHecke U, TateComparison.HeckeKernel.IsRawDoubleCoset U g T := by |
| 81 | let hfinite := rawRightCosetSupport_finite_of_compact_open U hopen hcompact g |
| 82 | refine ⟨Hecke.Construction.rawDoubleCosetOperator U g hfinite, Hecke.Construction.rawDoubleCosetOperator_spec U g hfinite, ?_⟩ |
| 83 | intro T hT |
| 84 | exact TateComparison.HeckeKernel.rawDoubleCoset_unique U hT (Hecke.Construction.rawDoubleCosetOperator_spec U g hfinite) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CompactOpenHecke.Construction |