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.ClosureCommensurability |
| 2 | |
| 3 | /-! # Closure -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.Closure |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Rational conjugation preserves the germ at the identity of each local |
| 10 | arithmetic closure. This is proved from compact open integrality conditions, |
| 11 | without assuming the desired density. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.Topology |
| 15 | |
| 16 | theorem commensurable_map_of_injective {A L : Type*} [Group A] [Group L] |
| 17 | (f : A →* L) (hf : Function.Injective f) {H K : Subgroup A} |
| 18 | (h : H.Commensurable K) : (H.map f).Commensurable (K.map f) := by |
| 19 | constructor |
| 20 | · refine ⟨?_⟩ |
| 21 | rw [Subgroup.relIndex_map_map_of_injective _ _ hf] |
| 22 | exact h.1.relIndex_ne_zero |
| 23 | · refine ⟨?_⟩ |
| 24 | rw [Subgroup.relIndex_map_map_of_injective _ _ hf] |
| 25 | exact h.2.relIndex_ne_zero |
| 26 | |
| 27 | theorem map_comap_conj {A L : Type*} [Group A] [Group L] |
| 28 | (f : A →* L) (H : Subgroup A) (g : A) : |
| 29 | (H.comap (MulAut.conj g).toMonoidHom).map f = |
| 30 | (H.map f).comap (MulAut.conj (f g)).toMonoidHom := by |
| 31 | rw [Subgroup.comap_equiv_eq_map_symm', Subgroup.comap_equiv_eq_map_symm', |
| 32 | Subgroup.map_map, Subgroup.map_map] |
| 33 | congr 1 |
| 34 | ext x |
| 35 | simp |
| 36 | |
| 37 | theorem closure_comap_conj {L : Type*} [Group L] [TopologicalSpace L] |
| 38 | [IsTopologicalGroup L] (H : Subgroup L) (g : L) : |
| 39 | (H.comap (MulAut.conj g).toMonoidHom).topologicalClosure = |
| 40 | H.topologicalClosure.comap (MulAut.conj g).toMonoidHom := by |
| 41 | let e : L ≃ₜ L := (Homeomorph.mulLeft g).trans (Homeomorph.mulRight g⁻¹) |
| 42 | apply SetLike.coe_injective |
| 43 | change closure (e ⁻¹' (H : Set L)) = e ⁻¹' closure (H : Set L) |
| 44 | exact (e.preimage_closure (H : Set L)).symm |
| 45 | |
| 46 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} |
| 47 | variable (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (S : Finset (LocalAdeles.Place F)) (v : LocalAdeles.Place F) |
| 48 | |
| 49 | def localArithmeticSubgroup : Subgroup (LocalAdeles.LocalPoints G v) := |
| 50 | (Groups.sIntegralPoints G (S : Set (LocalAdeles.Place F))).map (LocalAdeles.diagonalLocal G v) |
| 51 | |
| 52 | theorem localArithmetic_conjugate_commensurable |
| 53 | (hS : ∀ w : NumberField.InfinitePlace F, Sum.inl w ∈ S) (g : G.RationalPoints) : |
| 54 | ((localArithmeticSubgroup G S v).comap |
| 55 | (MulAut.conj (LocalAdeles.diagonalLocal G v g)).toMonoidHom).Commensurable |
| 56 | (localArithmeticSubgroup G S v) := by |
| 57 | have h := commensurable_map_of_injective (LocalAdeles.diagonalLocal G v) (LocalAdeles.diagonalLocal_injective G v) |
| 58 | (Commensurability.sIntegralPoints_conjugate_commensurable G S hS g) |
| 59 | rwa [map_comap_conj] at h |
| 60 | |
| 61 | theorem localArithmetic_conjugate_closures_agree_near_one |
| 62 | (hS : ∀ w : NumberField.InfinitePlace F, Sum.inl w ∈ S) (g : G.RationalPoints) : |
| 63 | ∀ᶠ x in 𝓝 (1 : LocalAdeles.LocalPoints G v), |
| 64 | x ∈ ((localArithmeticSubgroup G S v).comap |
| 65 | (MulAut.conj (LocalAdeles.diagonalLocal G v g)).toMonoidHom).topologicalClosure ↔ |
| 66 | x ∈ (localArithmeticSubgroup G S v).topologicalClosure := |
| 67 | ClosureCommensurability.commensurable_closures_eventually_mem_iff (localArithmetic_conjugate_commensurable G S v hS g) |
| 68 | |
| 69 | /-- Conjugation by every rational point preserves the local arithmetic |
| 70 | closure in an ambient neighborhood of the identity. -/ |
| 71 | theorem rational_conjugation_preserves_localArithmetic_germ |
| 72 | (hS : ∀ w : NumberField.InfinitePlace F, Sum.inl w ∈ S) (g : G.RationalPoints) : |
| 73 | ∀ᶠ x in 𝓝 (1 : LocalAdeles.LocalPoints G v), |
| 74 | LocalAdeles.diagonalLocal G v g * x * (LocalAdeles.diagonalLocal G v g)⁻¹ ∈ |
| 75 | (localArithmeticSubgroup G S v).topologicalClosure ↔ |
| 76 | x ∈ (localArithmeticSubgroup G S v).topologicalClosure := by |
| 77 | have h := localArithmetic_conjugate_closures_agree_near_one G S v hS g |
| 78 | rw [closure_comap_conj] at h |
| 79 | exact h |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.Quaternion.Arithmetic.Closure |