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 Mathlib.Topology.Algebra.Group.Basic |
| 2 | import Mathlib.Topology.Algebra.Group.Quotient |
| 3 | |
| 4 | /-! # Kernel Discrete -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Finite.KernelDiscrete.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite-kernel homomorphisms pull discrete subgroups back to discrete |
| 11 | subgroups of Hausdorff topological groups. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | theorem discrete_of_discrete_target_finite_kernel |
| 16 | {G H : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] [T1Space G] |
| 17 | [Group H] [TopologicalSpace H] [DiscreteTopology H] |
| 18 | (f : G →* H) [Finite f.ker] (hf : Continuous f) : DiscreteTopology G := by |
| 19 | let : DiscreteTopology f.ker := inferInstance |
| 20 | have hker : IsOpen (f.ker : Set G) := |
| 21 | (isOpen_discrete ({1} : Set H)).preimage hf |
| 22 | apply discreteTopology_of_isOpen_singleton_one |
| 23 | have h := hker.isOpenEmbedding_subtypeVal.isOpenMap ({1} : Set f.ker) (isOpen_discrete _) |
| 24 | simpa only [Set.image_singleton, OneMemClass.coe_one] using h |
| 25 | |
| 26 | theorem discrete_comap_of_finite_kernel |
| 27 | {G H : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] [T1Space G] |
| 28 | [Group H] [TopologicalSpace H] (f : G →* H) [Finite f.ker] |
| 29 | (hf : Continuous f) (Γ : Subgroup H) [DiscreteTopology Γ] : |
| 30 | DiscreteTopology (Γ.comap f) := by |
| 31 | let r : Γ.comap f →* Γ := |
| 32 | (f.comp (Γ.comap f).subtype).codRestrict Γ (fun x => x.property) |
| 33 | have hr : Continuous r := (hf.comp continuous_subtype_val).subtype_mk _ |
| 34 | let j : r.ker → f.ker := fun x => ⟨x.val.val, congrArg (fun y : Γ => y.val) x.property⟩ |
| 35 | let : Finite r.ker := Finite.of_injective j (by |
| 36 | intro x y h |
| 37 | apply Subtype.ext |
| 38 | apply Subtype.ext |
| 39 | exact congrArg (fun z : f.ker => z.val) h) |
| 40 | exact discrete_of_discrete_target_finite_kernel r hr |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Finite.KernelDiscrete.Construction |