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 |
| 2 | |
| 3 | /-! # Compact Lattice -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.CompactLattice |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compactness of the period quotient forces the real span of its |
| 10 | integer lattice to be the whole tangent space. -/ |
| 11 | |
| 12 | theorem span_top_of_compact_quotient |
| 13 | {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 14 | (L : Submodule ℤ V) [CompactSpace (V ⧸ L.toAddSubgroup)] : |
| 15 | Submodule.span ℝ (L : Set V) = ⊤ := by |
| 16 | by_contra h |
| 17 | obtain ⟨f, hf, hker⟩ := (Submodule.span ℝ (L : Set V)).exists_le_ker_of_lt_top |
| 18 | (lt_top_iff_ne_top.mpr h) |
| 19 | have hL : L.toAddSubgroup ≤ f.toAddMonoidHom.ker := by |
| 20 | intro x hx |
| 21 | exact hker (Submodule.subset_span hx) |
| 22 | let F : V ⧸ L.toAddSubgroup →+ ℝ := QuotientAddGroup.lift L.toAddSubgroup f.toAddMonoidHom hL |
| 23 | have hcont : Continuous F := continuous_quot_lift _ f.continuous_of_finiteDimensional |
| 24 | obtain ⟨x, hx⟩ := DFunLike.ne_iff.mp hf |
| 25 | change f x ≠ 0 at hx |
| 26 | have hsurj : Function.Surjective F := by |
| 27 | intro y |
| 28 | refine ⟨QuotientAddGroup.mk ((y / f x) • x), ?_⟩ |
| 29 | change f ((y / f x) • x) = y |
| 30 | rw [map_smul, smul_eq_mul, div_mul_cancel₀ y hx] |
| 31 | have hc : IsCompact (Set.univ : Set ℝ) := by |
| 32 | rw [← Set.range_eq_univ.mpr hsurj] |
| 33 | exact isCompact_range hcont |
| 34 | exact (not_compactSpace_iff.mpr (inferInstance : NoncompactSpace ℝ)) (isCompact_univ_iff.mp hc) |
| 35 | |
| 36 | theorem isZLattice_of_compact_quotient |
| 37 | {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 38 | (L : Submodule ℤ V) [DiscreteTopology L] [CompactSpace (V ⧸ L.toAddSubgroup)] : |
| 39 | IsZLattice ℝ L := ⟨span_top_of_compact_quotient L⟩ |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.RepresentationTheory.Theta.Geometric.CompactLattice |