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.RingTheory.Localization.BaseChange |
| 2 | import Mathlib.RingTheory.Localization.FractionRing |
| 3 | |
| 4 | /-! # Rationalization Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.RationalizationDetection.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Clearing denominators and detecting torsion in rationalized abelian groups. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | universe u |
| 15 | variable {G : Type u} [AddCommGroup G] |
| 16 | |
| 17 | theorem rationalization_one_tmul_eq_zero_iff (x : G) : |
| 18 | ((1 : ℚ) ⊗ₜ[ℤ] x : TensorProduct ℤ ℚ G) = 0 ↔ |
| 19 | ∃ n : ℤ, n ≠ 0 ∧ n • x = 0 := by |
| 20 | rw [show ((1 : ℚ) ⊗ₜ[ℤ] x : TensorProduct ℤ ℚ G) = |
| 21 | (TensorProduct.mk ℤ ℚ G 1) x from rfl, |
| 22 | IsLocalizedModule.eq_zero_iff (nonZeroDivisors ℤ)] |
| 23 | constructor |
| 24 | · rintro ⟨n, hn⟩ |
| 25 | exact ⟨n.val, mem_nonZeroDivisors_iff_ne_zero.mp n.property, hn⟩ |
| 26 | · rintro ⟨n, hn, he⟩ |
| 27 | exact ⟨⟨n, mem_nonZeroDivisors_iff_ne_zero.mpr hn⟩, he⟩ |
| 28 | |
| 29 | theorem rationalization_exists_integer_multiple (x : TensorProduct ℤ ℚ G) : |
| 30 | ∃ (n : ℤ) (g : G), n ≠ 0 ∧ n • x = (1 : ℚ) ⊗ₜ[ℤ] g := by |
| 31 | obtain ⟨⟨g, n⟩, hn⟩ := IsLocalizedModule.surj (nonZeroDivisors ℤ) |
| 32 | (TensorProduct.mk ℤ ℚ G 1) x |
| 33 | exact ⟨n.val, g, mem_nonZeroDivisors_iff_ne_zero.mp n.property, hn⟩ |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.RationalizationDetection.Construction |