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.ComplexMultiplication.CM.IntegralPolarization |
| 2 | import Mathlib.RingTheory.Localization.Integer |
| 3 | |
| 4 | /-! # Integral Lattice -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.IntegralLattice.CM.Abelian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Clearing a general rational polarization on the integer span of a rational basis. -/ |
| 11 | |
| 12 | variable {U ι : Type*} [AddCommGroup U] [Module ℚ U] |
| 13 | |
| 14 | theorem integer_bilin_on_span {K V : Type*} [Field K] [CharZero K] |
| 15 | [AddCommGroup V] [Module K V] (B : LinearMap.BilinForm K V) (s : Set V) |
| 16 | (hB : ∀ x ∈ s, ∀ y ∈ s, IsLocalization.IsInteger ℤ (B x y)) : |
| 17 | ∀ x ∈ Submodule.span ℤ s, ∀ y ∈ Submodule.span ℤ s, |
| 18 | IsLocalization.IsInteger ℤ (B x y) := by |
| 19 | intro x hx |
| 20 | induction hx using Submodule.span_induction with |
| 21 | | mem x hx => |
| 22 | intro y hy |
| 23 | induction hy using Submodule.span_induction with |
| 24 | | mem y hy => exact hB x hx y hy |
| 25 | | zero => simpa using (IsLocalization.isInteger_zero (R := ℤ) (S := K)) |
| 26 | | add y z _ _ hy hz => |
| 27 | simpa only [map_add] using IsLocalization.isInteger_add hy hz |
| 28 | | smul n y _ hy => |
| 29 | simpa only [map_zsmul] using (IsLocalization.isInteger_smul (a := n) hy) |
| 30 | | zero => |
| 31 | intro y _ |
| 32 | simpa using (IsLocalization.isInteger_zero (R := ℤ) (S := K)) |
| 33 | | add x z _ _ hx hz => |
| 34 | intro y hy |
| 35 | simpa only [map_add, LinearMap.add_apply] using |
| 36 | IsLocalization.isInteger_add (hx y hy) (hz y hy) |
| 37 | | smul n x _ hx => |
| 38 | intro y hy |
| 39 | simpa only [map_zsmul, LinearMap.smul_apply] using |
| 40 | (IsLocalization.isInteger_smul (a := n) (hx y hy)) |
| 41 | |
| 42 | theorem exists_positive_integral_basis_scale [Finite ι] |
| 43 | (B : LinearMap.BilinForm ℚ U) (b : Module.Basis ι ℚ U) : |
| 44 | ∃ q : ℚ, 0 < q ∧ |
| 45 | ∀ x ∈ Submodule.span ℤ (Set.range b), |
| 46 | ∀ y ∈ Submodule.span ℤ (Set.range b), |
| 47 | IsLocalization.IsInteger ℤ ((q • B) x y) := by |
| 48 | obtain ⟨d, hd⟩ := IsLocalization.exist_integer_multiples_of_finite |
| 49 | (nonZeroDivisors ℤ) (fun ij : ι × ι => B (b ij.1) (b ij.2)) |
| 50 | have hd0 : (d : ℤ) ≠ 0 := mem_nonZeroDivisors_iff_ne_zero.mp d.property |
| 51 | let q : ℚ := ((d : ℤ) : ℚ) ^ 2 |
| 52 | refine ⟨q, sq_pos_of_ne_zero (Int.cast_ne_zero.mpr hd0), ?_⟩ |
| 53 | apply integer_bilin_on_span |
| 54 | rintro x ⟨i, rfl⟩ y ⟨j, rfl⟩ |
| 55 | have hi := IsLocalization.isInteger_smul (a := (d : ℤ)) (hd (i, j)) |
| 56 | change IsLocalization.IsInteger ℤ |
| 57 | (((d : ℤ) : ℚ) * (((d : ℤ) : ℚ) * B (b i) (b j))) at hi |
| 58 | change IsLocalization.IsInteger ℤ (q * B (b i) (b j)) |
| 59 | simpa only [q, pow_two, mul_assoc] using hi |
| 60 | |
| 61 | /-- Every rational polarization becomes integral on the chosen full rational lattice. -/ |
| 62 | theorem exists_integral_polarization [Finite ι] |
| 63 | {H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U} (P : ComplexMultiplication.CM.Polarization.WeightOnePolarization H) |
| 64 | (b : Module.Basis ι ℚ U) : |
| 65 | ∃ P' : ComplexMultiplication.CM.Polarization.WeightOnePolarization H, |
| 66 | ∀ x ∈ Submodule.span ℤ (Set.range b), |
| 67 | ∀ y ∈ Submodule.span ℤ (Set.range b), |
| 68 | IsLocalization.IsInteger ℤ (P'.form x y) := by |
| 69 | obtain ⟨q, hq, hint⟩ := exists_positive_integral_basis_scale P.form b |
| 70 | exact ⟨P.positiveScale q hq, hint⟩ |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.IntegralLattice.CM.Abelian |