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.NumberTheory.Quaternion.Arithmetic.Commensurability |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.CompactQuotientProjection |
| 3 | |
| 4 | /-! # Closure Commensurability -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.ClosureCommensurability |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite relative index survives passage to topological closures. Thus |
| 11 | commensurable arithmetic subgroups give local closures with a common open |
| 12 | subgroup, the topological input for the Lie-algebra argument. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open Set _root_.Topology |
| 16 | |
| 17 | theorem finiteIndex_closure_of_denseRange |
| 18 | {A L : Type*} [Group A] [Group L] |
| 19 | [TopologicalSpace L] [IsTopologicalGroup L] |
| 20 | (f : A →* L) (hd : DenseRange f) (H : Subgroup A) [H.FiniteIndex] : |
| 21 | (H.map f).topologicalClosure.FiniteIndex := by |
| 22 | let J := (H.map f).topologicalClosure |
| 23 | let : IsClosed (J : Set L) := (H.map f).isClosed_topologicalClosure |
| 24 | let p : A ⧸ H → L ⧸ J := CompactQuotientProjection.quotientProjection f H J (H.map f).le_topologicalClosure |
| 25 | have hp : (range p).Finite := Set.finite_range p |
| 26 | have hdq : DenseRange ((QuotientGroup.mk : L → L ⧸ J) ∘ f) := |
| 27 | QuotientGroup.mk_surjective.denseRange.comp hd QuotientGroup.continuous_mk |
| 28 | have hd' : Dense (range p) := hdq.mono (by |
| 29 | rintro x ⟨a, rfl⟩ |
| 30 | exact ⟨QuotientGroup.mk a, rfl⟩) |
| 31 | have hsurj : Function.Surjective p := by |
| 32 | rw [← range_eq_univ] |
| 33 | exact hp.isClosed.closure_eq ▸ hd'.closure_eq |
| 34 | let : Finite (L ⧸ J) := Finite.of_surjective p hsurj |
| 35 | exact Subgroup.finiteIndex_of_finite_quotient |
| 36 | |
| 37 | theorem finiteRelIndex_topologicalClosure |
| 38 | {L : Type*} [Group L] [TopologicalSpace L] [IsTopologicalGroup L] |
| 39 | (H K : Subgroup L) (hindex : H.relIndex K ≠ 0) : |
| 40 | H.topologicalClosure.relIndex K.topologicalClosure ≠ 0 := by |
| 41 | let f : K →* K.topologicalClosure := Subgroup.inclusion K.le_topologicalClosure |
| 42 | have hd : DenseRange f := |
| 43 | (denseRange_inclusion_iff K.le_topologicalClosure).mpr Subset.rfl |
| 44 | let J := H.subgroupOf K |
| 45 | let : J.FiniteIndex := ⟨hindex⟩ |
| 46 | let : (J.map f).topologicalClosure.FiniteIndex := finiteIndex_closure_of_denseRange f hd J |
| 47 | have hc : IsClosed (H.topologicalClosure.subgroupOf K.topologicalClosure : |
| 48 | Set K.topologicalClosure) := H.isClosed_topologicalClosure.preimage continuous_subtype_val |
| 49 | have hle : (J.map f).topologicalClosure ≤ |
| 50 | H.topologicalClosure.subgroupOf K.topologicalClosure := by |
| 51 | apply (J.map f).topologicalClosure_minimal _ hc |
| 52 | rintro _ ⟨x, hx, rfl⟩ |
| 53 | exact H.le_topologicalClosure hx |
| 54 | exact (Subgroup.finiteIndex_of_le hle).index_ne_zero |
| 55 | |
| 56 | theorem commensurable_topologicalClosure |
| 57 | {L : Type*} [Group L] [TopologicalSpace L] [IsTopologicalGroup L] |
| 58 | {H K : Subgroup L} (h : H.Commensurable K) : |
| 59 | H.topologicalClosure.Commensurable K.topologicalClosure := |
| 60 | ⟨⟨finiteRelIndex_topologicalClosure H K h.1.relIndex_ne_zero⟩, |
| 61 | ⟨finiteRelIndex_topologicalClosure K H h.2.relIndex_ne_zero⟩⟩ |
| 62 | |
| 63 | /-- Each of two commensurable closed subgroups contains their intersection |
| 64 | as an open subgroup. -/ |
| 65 | theorem commensurable_closures_open_intersection |
| 66 | {L : Type*} [Group L] [TopologicalSpace L] [IsTopologicalGroup L] |
| 67 | {H K : Subgroup L} (h : H.Commensurable K) : |
| 68 | IsOpen (H.topologicalClosure.subgroupOf K.topologicalClosure : Set K.topologicalClosure) ∧ |
| 69 | IsOpen (K.topologicalClosure.subgroupOf H.topologicalClosure : Set H.topologicalClosure) := by |
| 70 | have hc := commensurable_topologicalClosure h |
| 71 | let : (H.topologicalClosure.subgroupOf K.topologicalClosure).FiniteIndex := ⟨hc.1.relIndex_ne_zero⟩ |
| 72 | let : (K.topologicalClosure.subgroupOf H.topologicalClosure).FiniteIndex := ⟨hc.2.relIndex_ne_zero⟩ |
| 73 | exact ⟨Subgroup.isOpen_of_isClosed_of_finiteIndex _ |
| 74 | (H.isClosed_topologicalClosure.preimage continuous_subtype_val), |
| 75 | Subgroup.isOpen_of_isClosed_of_finiteIndex _ |
| 76 | (K.isClosed_topologicalClosure.preimage continuous_subtype_val)⟩ |
| 77 | |
| 78 | /-- Commensurable closed subgroups agree in some ambient neighborhood of |
| 79 | the identity. This is the form needed to compare infinitesimal data. -/ |
| 80 | theorem commensurable_closures_eventually_mem_iff |
| 81 | {L : Type*} [Group L] [TopologicalSpace L] [IsTopologicalGroup L] |
| 82 | {H K : Subgroup L} (h : H.Commensurable K) : |
| 83 | ∀ᶠ x in 𝓝 (1 : L), x ∈ H.topologicalClosure ↔ x ∈ K.topologicalClosure := by |
| 84 | obtain ⟨hHK, hKH⟩ := commensurable_closures_open_intersection h |
| 85 | obtain ⟨U, hU, heU⟩ := isOpen_induced_iff.mp hHK |
| 86 | obtain ⟨V, hV, heV⟩ := isOpen_induced_iff.mp hKH |
| 87 | have hUk (x : K.topologicalClosure) : x.val ∈ U ↔ x.val ∈ H.topologicalClosure := by |
| 88 | change x ∈ Subtype.val ⁻¹' U ↔ x ∈ H.topologicalClosure.subgroupOf K.topologicalClosure |
| 89 | rw [heU] |
| 90 | rfl |
| 91 | have hVh (x : H.topologicalClosure) : x.val ∈ V ↔ x.val ∈ K.topologicalClosure := by |
| 92 | change x ∈ Subtype.val ⁻¹' V ↔ x ∈ K.topologicalClosure.subgroupOf H.topologicalClosure |
| 93 | rw [heV] |
| 94 | rfl |
| 95 | have hU1 : (1 : L) ∈ U := (hUk 1).mpr H.topologicalClosure.one_mem |
| 96 | have hV1 : (1 : L) ∈ V := (hVh 1).mpr K.topologicalClosure.one_mem |
| 97 | filter_upwards [hU.mem_nhds hU1, hV.mem_nhds hV1] with x hxU hxV |
| 98 | exact ⟨fun hx => (hVh ⟨x, hx⟩).mp hxV, fun hx => (hUk ⟨x, hx⟩).mp hxU⟩ |
| 99 | |
| 100 | theorem commensurable_closures_nhdsWithin_eq |
| 101 | {L : Type*} [Group L] [TopologicalSpace L] [IsTopologicalGroup L] |
| 102 | {H K : Subgroup L} (h : H.Commensurable K) : |
| 103 | 𝓝[(H.topologicalClosure : Set L)] (1 : L) = |
| 104 | 𝓝[(K.topologicalClosure : Set L)] (1 : L) := by |
| 105 | apply nhdsWithin_eq_iff_eventuallyEqSet.mpr |
| 106 | exact Filter.eventuallyEqSet_iff.mpr (commensurable_closures_eventually_mem_iff h) |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.NumberTheory.Quaternion.Arithmetic.ClosureCommensurability |