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.HodgeConjecture.CMExtraction.PadicAwayRationals |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.LatticeCoordinates |
| 3 | import OAI.RepresentationTheory.Theta.Geometric.AwayLattice |
| 4 | |
| 5 | /-! # Away Lattice Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.AwayLatticeCoordinates.TestTransport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original lattice with q inverted is characterized in the same |
| 12 | integral basis by integrality at every other rational prime. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | open _root_.Module |
| 17 | |
| 18 | variable {V J : Type*} [AddCommGroup V] [Module ℚ V] |
| 19 | [Fintype J] (L : Submodule ℤ V) [Submodule.IsLattice ℚ L] (b : Basis J ℤ L) |
| 20 | (q : ℕ) [Fact q.Prime] |
| 21 | |
| 22 | omit [Fact q.Prime] in |
| 23 | theorem awayLattice_integer_coordinates (x : V) : |
| 24 | x ∈ Submodule.span ℤ {y | ∃ n : ℕ, (q : ℤ) ^ n • y ∈ L} ↔ |
| 25 | ∀ j, ∃ n : ℕ, ∃ z : ℤ, (z : ℚ) = (q : ℚ) ^ n * (b.extendOfIsLattice ℚ).equivFun x j := by |
| 26 | constructor |
| 27 | · intro hx j |
| 28 | obtain ⟨n, hn⟩ := (RepresentationTheory.Theta.Geometric.AwayLattice.mem_power_localized_lattice q L x).mp hx |
| 29 | obtain ⟨z, hz⟩ := (LatticeCoordinates.TestTransport.lattice_mem_iff_integer_coordinates L b _).mp hn j |
| 30 | refine ⟨n, z, ?_⟩ |
| 31 | simpa only [map_zsmul, Pi.smul_apply, zsmul_eq_mul, Int.cast_pow, Int.cast_natCast] using hz |
| 32 | · intro hx |
| 33 | have hs (j : J) : (b.extendOfIsLattice ℚ).equivFun x j • (b j).val ∈ |
| 34 | Submodule.span ℤ {y | ∃ n : ℕ, (q : ℤ) ^ n • y ∈ L} := by |
| 35 | obtain ⟨n, z, hz⟩ := hx j |
| 36 | apply Submodule.subset_span |
| 37 | refine ⟨n, ?_⟩ |
| 38 | rw [← Int.cast_smul_eq_zsmul ℚ, smul_smul, Int.cast_pow, Int.cast_natCast, ← hz, |
| 39 | Int.cast_smul_eq_zsmul] |
| 40 | exact L.smul_mem z (b j).property |
| 41 | have hsum := Submodule.sum_mem (t := Finset.univ) (Submodule.span ℤ {y | ∃ n : ℕ, (q : ℤ) ^ n • y ∈ L}) |
| 42 | (fun j _ => hs j) |
| 43 | have he : (∑ j, (b.extendOfIsLattice ℚ).equivFun x j • (b j).val) = x := by |
| 44 | simpa only [Basis.extendOfIsLattice_apply] using (b.extendOfIsLattice ℚ).sum_equivFun x |
| 45 | exact he ▸ hsum |
| 46 | |
| 47 | theorem awayLattice_padic_coordinates (x : V) : |
| 48 | x ∈ Submodule.span ℤ {y | ∃ n : ℕ, (q : ℤ) ^ n • y ∈ L} ↔ |
| 49 | ∀ j, ∀ (p : ℕ) [Fact p.Prime], p ≠ q → |
| 50 | ‖((b.extendOfIsLattice ℚ).equivFun x j : Padic p)‖ ≤ 1 := by |
| 51 | rw [awayLattice_integer_coordinates L b q x] |
| 52 | exact forall_congr' (fun j => (PadicAwayRationals.TestTransport.rational_integral_away_iff q _).symm) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.AwayLatticeCoordinates.TestTransport |