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.Units |
| 2 | import Mathlib.Topology.Algebra.Ring.Basic |
| 3 | import Mathlib.Topology.Instances.Matrix |
| 4 | import Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.Defs |
| 5 | |
| 6 | /-! # Matrix Unit Neighborhoods -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.MatrixUnitNeighborhoods.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! ThetaCycle: the actual topology of a matrix-unit subgroup is detected by |
| 13 | the matrix and its inverse, with neighborhoods translated to zero. -/ |
| 14 | |
| 15 | open scoped _root_.Topology |
| 16 | open Filter |
| 17 | |
| 18 | theorem matrix_unit_subgroup_zero_neighborhood |
| 19 | {R I : Type*} [CommRing R] [TopologicalSpace R] [IsTopologicalRing R] |
| 20 | [Fintype I] [DecidableEq I] (G : Subgroup (Matrix I I R)ˣ) |
| 21 | (U : Set G) (hU : U ∈ 𝓝 (1 : G)) : |
| 22 | ∃ V : Set (Matrix I I R × Matrix I I R), V ∈ 𝓝 (0, 0) ∧ |
| 23 | ∀ g : G, (g.val.val - 1, (g⁻¹).val.val - 1) ∈ V → g ∈ U := by |
| 24 | let e : (Matrix I I R × (Matrix I I R)ᵐᵒᵖ) ≃ₜ (Matrix I I R × Matrix I I R) := |
| 25 | (Homeomorph.refl _).prodCongr MulOpposite.opHomeomorph.symm |
| 26 | let c : G → Matrix I I R × Matrix I I R := fun g => e (Units.embedProduct _ g.val) |
| 27 | have hi : Topology.IsInducing c := |
| 28 | e.isInducing.comp (Units.isInducing_embedProduct.comp Topology.IsInducing.subtypeVal) |
| 29 | rw [hi.nhds_eq_comap] at hU |
| 30 | obtain ⟨W, hW, hWU⟩ := mem_comap.mp hU |
| 31 | let shift : Matrix I I R × Matrix I I R → Matrix I I R × Matrix I I R := |
| 32 | fun p => (1 + p.1, 1 + p.2) |
| 33 | have hs : Continuous shift := (continuous_const.add continuous_fst).prodMk |
| 34 | (continuous_const.add continuous_snd) |
| 35 | have hzero : shift (0, 0) = c 1 := by ext i j <;> simp [shift, c, e] |
| 36 | refine ⟨shift ⁻¹' W, hs.continuousAt.preimage_mem_nhds (hzero.symm ▸ hW), ?_⟩ |
| 37 | intro g hg |
| 38 | apply hWU |
| 39 | have he : shift (g.val.val - 1, (g⁻¹).val.val - 1) = c g := by |
| 40 | change (1 + (g.val.val - 1), 1 + ((g⁻¹).val.val - 1)) = (g.val.val, (g⁻¹).val.val) |
| 41 | congr 1 <;> abel |
| 42 | change c g ∈ W |
| 43 | change shift (g.val.val - 1, (g⁻¹).val.val - 1) ∈ W at hg |
| 44 | exact he ▸ hg |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.MatrixUnitNeighborhoods.CM |