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.OpenSubgroup |
| 2 | |
| 3 | /-! # Dense Open Restriction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.DenseOpenRestriction.TestTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restricting a dense product homomorphism to an open level in the |
| 10 | second factor leaves a dense first-factor image. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | |
| 14 | variable {Γ G H : Type*} [Group Γ] [Group G] [Group H] |
| 15 | [TopologicalSpace G] [TopologicalSpace H] |
| 16 | (f : Γ →* G × H) (L : OpenSubgroup H) |
| 17 | |
| 18 | def openSecondFactor : Subgroup Γ := L.toSubgroup.comap ((MonoidHom.snd G H).comp f) |
| 19 | |
| 20 | def restrictedFirstFactor : openSecondFactor f L →* G := |
| 21 | ((MonoidHom.fst G H).comp f).comp (openSecondFactor f L).subtype |
| 22 | |
| 23 | theorem restrictedFirstFactor_dense (hf : DenseRange f) : |
| 24 | DenseRange (restrictedFirstFactor f L) := by |
| 25 | apply dense_iff_inter_open.mpr |
| 26 | intro U hU hne |
| 27 | obtain ⟨x, hx⟩ := hne |
| 28 | obtain ⟨γ, hγ⟩ := hf.exists_mem_open (hU.prod L.isOpen) ⟨(x, 1), hx, L.one_mem⟩ |
| 29 | exact ⟨(f γ).1, hγ.1, ⟨⟨γ, hγ.2⟩, rfl⟩⟩ |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.DenseOpenRestriction.TestTransport |