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 OAI.AlgebraicGeometry.AbelianScheme.TateComparison.EndTorsionFree |
| 2 | import Mathlib.RingTheory.Localization.BaseChange |
| 3 | |
| 4 | /-! # Rational End Arithmetic -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RationalEndArithmetic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Rational algebraic endomorphisms admit actual positive integer |
| 11 | denominator clearings. Torsion-freeness makes the integral inclusion faithful. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | theorem rationalTensor_positive_denominator (M : Type*) [AddCommGroup M] |
| 17 | (x : ℚ ⊗[ℤ] M) : ∃ (n : ℕ), 0 < n ∧ ∃ a : M, n • x = 1 ⊗ₜ[ℤ] a := by |
| 18 | let f := TensorProduct.mk ℤ ℚ M 1 |
| 19 | obtain ⟨⟨a, m⟩, hm⟩ := IsLocalizedModule.surj (nonZeroDivisors ℤ) f x |
| 20 | have hm0 : (m : ℤ) ≠ 0 := mem_nonZeroDivisors_iff_ne_zero.mp m.property |
| 21 | refine ⟨(m : ℤ).natAbs ^ 2, pow_pos (Int.natAbs_pos.mpr hm0) _, (m : ℤ) • a, ?_⟩ |
| 22 | change _ = f ((m : ℤ) • a) |
| 23 | change (m : ℤ) • x = f a at hm |
| 24 | rw [f.map_smul, ← hm] |
| 25 | change _ = (m : ℤ) • ((m : ℤ) • x) |
| 26 | rw [← mul_smul] |
| 27 | have he : (((m : ℤ).natAbs ^ 2 : ℕ) : ℤ) = (m : ℤ) * (m : ℤ) := by |
| 28 | rw [Nat.cast_pow, Int.natCast_natAbs, sq_abs, pow_two] |
| 29 | rw [← he] |
| 30 | exact (Nat.cast_smul_eq_nsmul ℤ _ x).symm |
| 31 | |
| 32 | theorem rationalTensor_one_injective (M : Type*) [AddCommGroup M] |
| 33 | [IsAddTorsionFree M] : Function.Injective (TensorProduct.mk ℤ ℚ M 1) := by |
| 34 | intro a b hab |
| 35 | obtain ⟨m, hm⟩ := IsLocalizedModule.exists_of_eq (S := nonZeroDivisors ℤ) |
| 36 | (f := TensorProduct.mk ℤ ℚ M 1) hab |
| 37 | have hm0 : (m : ℤ) ≠ 0 := mem_nonZeroDivisors_iff_ne_zero.mp m.property |
| 38 | change (m : ℤ) • a = (m : ℤ) • b at hm |
| 39 | exact zsmul_right_injective hm0 hm |
| 40 | |
| 41 | variable {S : Scheme} (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 42 | |
| 43 | theorem rationalEnd_positive_denominator (x : End.RationalEnd A) : |
| 44 | ∃ (n : ℕ), 0 < n ∧ ∃ a : End.IntegralEnd A, n • x = End.endToRational A a := |
| 45 | rationalTensor_positive_denominator (End.IntegralEnd A) x |
| 46 | |
| 47 | theorem endToRational_injective [IsAddTorsionFree (End.IntegralEnd A)] : |
| 48 | Function.Injective (End.endToRational A) := rationalTensor_one_injective (End.IntegralEnd A) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RationalEndArithmetic |