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.IntegralAdeles |
| 2 | |
| 3 | /-! # Commensurability -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.Commensurability |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Rational conjugation commensurates the actual S-integral arithmetic |
| 10 | subgroups. This follows from compact open adelic subgroups, independently |
| 11 | of strong approximation or an arithmetic finite-volume theorem. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | theorem compact_open_subgroups_commensurable |
| 16 | {K : Type*} [Group K] [TopologicalSpace K] [IsTopologicalGroup K] |
| 17 | (H J : Subgroup K) (hHc : IsCompact (H : Set K)) (hHo : IsOpen (H : Set K)) |
| 18 | (hJc : IsCompact (J : Set K)) (hJo : IsOpen (J : Set K)) : |
| 19 | H.Commensurable J := by |
| 20 | constructor |
| 21 | · let : CompactSpace J := isCompact_iff_compactSpace.mp hJc |
| 22 | exact ⟨(IntegralCompact.finiteIndex_of_open_in_compact_group (H.subgroupOf J) |
| 23 | (hHo.preimage continuous_subtype_val)).index_ne_zero⟩ |
| 24 | · let : CompactSpace H := isCompact_iff_compactSpace.mp hHc |
| 25 | exact ⟨(IntegralCompact.finiteIndex_of_open_in_compact_group (J.subgroupOf H) |
| 26 | (hJo.preimage continuous_subtype_val)).index_ne_zero⟩ |
| 27 | |
| 28 | theorem commensurable_comap {A K : Type*} [Group A] [Group K] |
| 29 | (f : A →* K) {H J : Subgroup K} (h : H.Commensurable J) : |
| 30 | (H.comap f).Commensurable (J.comap f) := |
| 31 | ⟨⟨Subgroup.relIndex_comap_ne_zero f h.1.relIndex_ne_zero⟩, |
| 32 | ⟨Subgroup.relIndex_comap_ne_zero f h.2.relIndex_ne_zero⟩⟩ |
| 33 | |
| 34 | theorem compact_open_conjugate_commensurable |
| 35 | {K : Type*} [Group K] [TopologicalSpace K] [IsTopologicalGroup K] |
| 36 | (H : Subgroup K) (hc : IsCompact (H : Set K)) (ho : IsOpen (H : Set K)) (g : K) : |
| 37 | (H.comap (MulAut.conj g).toMonoidHom).Commensurable H := by |
| 38 | let e : K ≃ₜ K := (Homeomorph.mulLeft g).trans (Homeomorph.mulRight g⁻¹) |
| 39 | apply compact_open_subgroups_commensurable _ H _ _ hc ho |
| 40 | · exact e.isCompact_preimage.mpr hc |
| 41 | · exact ho.preimage e.continuous |
| 42 | |
| 43 | theorem comap_conjugate_commensurable |
| 44 | {A K : Type*} [Group A] [Group K] [TopologicalSpace K] [IsTopologicalGroup K] |
| 45 | (f : A →* K) (H : Subgroup K) (hc : IsCompact (H : Set K)) |
| 46 | (ho : IsOpen (H : Set K)) (g : A) : |
| 47 | ((H.comap f).comap (MulAut.conj g).toMonoidHom).Commensurable (H.comap f) := by |
| 48 | have he : (H.comap f).comap (MulAut.conj g).toMonoidHom = |
| 49 | (H.comap (MulAut.conj (f g)).toMonoidHom).comap f := by |
| 50 | apply Subgroup.ext |
| 51 | intro x |
| 52 | change f (g * x * g⁻¹) ∈ H ↔ f g * f x * (f g)⁻¹ ∈ H |
| 53 | rw [map_mul, map_mul, map_inv] |
| 54 | rw [he] |
| 55 | exact commensurable_comap f (compact_open_conjugate_commensurable H hc ho (f g)) |
| 56 | |
| 57 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} |
| 58 | variable (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (S : Finset (LocalAdeles.Place F)) |
| 59 | |
| 60 | theorem sIntegralPoints_conjugate_commensurable |
| 61 | (hS : ∀ v : NumberField.InfinitePlace F, Sum.inl v ∈ S) (g : G.RationalPoints) : |
| 62 | ((Groups.sIntegralPoints G (S : Set (LocalAdeles.Place F))).comap (MulAut.conj g).toMonoidHom).Commensurable |
| 63 | (Groups.sIntegralPoints G (S : Set (LocalAdeles.Place F))) := by |
| 64 | rw [IntegralAdeles.sIntegralPoints_eq_comap_integralAway] |
| 65 | exact comap_conjugate_commensurable (LocalAdeles.diagonalAway G S) (IntegralAdeles.integralAwaySubgroup G S) |
| 66 | (IntegralAdeles.integralAwaySubgroup_isCompact G S hS) (IntegralAdeles.integralAwaySubgroup_isOpen G S) g |
| 67 | |
| 68 | theorem arithmeticSubgroup_conjugate_commensurable |
| 69 | (hS : ∀ v : NumberField.InfinitePlace F, Sum.inl v ∈ S) |
| 70 | (T : Finset (ApproximationTopology.AwayPlace S)) (g : G.RationalPoints) : |
| 71 | ((Groups.arithmeticSubgroup G S T).comap (MulAut.conj g).toMonoidHom).Commensurable |
| 72 | (Groups.arithmeticSubgroup G S T) := by |
| 73 | rw [Groups.arithmeticSubgroup_eq_sIntegralPoints] |
| 74 | have he : ((S ∪ T.image Subtype.val : Finset (LocalAdeles.Place F)) : Set (LocalAdeles.Place F)) = |
| 75 | (S : Set (LocalAdeles.Place F)) ∪ Subtype.val '' (T : Set (ApproximationTopology.AwayPlace S)) := by |
| 76 | simp |
| 77 | rw [← he] |
| 78 | exact sIntegralPoints_conjugate_commensurable G _ |
| 79 | (fun v => Finset.mem_union_left _ (hS v)) g |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.Quaternion.Arithmetic.Commensurability |