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.NumberTheory.NumberField.Basic |
| 2 | |
| 3 | /-! # Coefficient Clearing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.CoefficientClearing |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! One positive rational integer clears an arbitrary finite family of |
| 10 | number-field coefficients. In particular, the original form matrix and |
| 11 | fixed reflection vector can be made integral without changing fields. |
| 12 | -/ |
| 13 | |
| 14 | variable (E : Type*) [Field E] [NumberField E] |
| 15 | |
| 16 | theorem finite_coefficients_positive_integer_multiple |
| 17 | {I : Type*} [Fintype I] (x : I → E) : |
| 18 | ∃ d : ℤ, 0 < d ∧ ∃ y : I → NumberField.RingOfIntegers E, |
| 19 | ∀ i, (y i : E) = (d : E) * x i := by |
| 20 | classical |
| 21 | obtain ⟨a, ha, hint⟩ := exists_integral_multiples ℤ ℚ (Finset.univ.image x) |
| 22 | have hi (i : I) : IsIntegral ℤ (a • (a • x i)) := |
| 23 | (hint (x i) (Finset.mem_image.mpr ⟨i, Finset.mem_univ i, rfl⟩)).smul a |
| 24 | refine ⟨a ^ 2, sq_pos_of_ne_zero ha, |
| 25 | fun i => ⟨a • (a • x i), hi i⟩, ?_⟩ |
| 26 | intro i |
| 27 | change a • (a • x i) = ((a ^ 2 : ℤ) : E) * x i |
| 28 | rw [← mul_smul] |
| 29 | simp only [Algebra.smul_def, eq_intCast, pow_two] |
| 30 | |
| 31 | theorem matrix_and_vector_positive_integer_multiple |
| 32 | {I : Type*} [Fintype I] (H : Matrix I I E) (w : I → E) : |
| 33 | ∃ d : ℤ, 0 < d ∧ |
| 34 | ∃ H₀ : Matrix I I (NumberField.RingOfIntegers E), |
| 35 | ∃ w₀ : I → NumberField.RingOfIntegers E, |
| 36 | (∀ i j, (H₀ i j : E) = (d : E) * H i j) ∧ |
| 37 | (∀ i, (w₀ i : E) = (d : E) * w i) := by |
| 38 | let x : (I × I) ⊕ I → E := Sum.elim (fun ij => H ij.1 ij.2) w |
| 39 | obtain ⟨d, hd, y, hy⟩ := finite_coefficients_positive_integer_multiple E x |
| 40 | exact ⟨d, hd, fun i j => y (Sum.inl (i, j)), fun i => y (Sum.inr i), |
| 41 | fun i j => hy (Sum.inl (i, j)), fun i => hy (Sum.inr i)⟩ |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.CoefficientClearing |