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.RepresentationTheory.Theta.Geometric.AwayLattice |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.LatticeCoordinates |
| 3 | |
| 4 | /-! # Localized Lattice Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.LocalizedLatticeMaps.TestTransport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A linear map preserves the lattice with q inverted if and only |
| 11 | if it sends the original integral lattice into that localization. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | variable {V J : Type*} [AddCommGroup V] (L : Submodule ℤ V) (q : ℕ) |
| 16 | |
| 17 | def powerLocalizedLattice : Submodule ℤ V := |
| 18 | Submodule.span ℤ {x | ∃ n : ℕ, (q : ℤ) ^ n • x ∈ L} |
| 19 | |
| 20 | theorem mem_powerLocalizedLattice (x : V) : |
| 21 | x ∈ powerLocalizedLattice L q ↔ ∃ n : ℕ, (q : ℤ) ^ n • x ∈ L := |
| 22 | RepresentationTheory.Theta.Geometric.AwayLattice.mem_power_localized_lattice q L x |
| 23 | |
| 24 | theorem lattice_le_powerLocalizedLattice : L ≤ powerLocalizedLattice L q := by |
| 25 | intro x hx |
| 26 | exact (mem_powerLocalizedLattice L q x).mpr ⟨0, by simpa using hx⟩ |
| 27 | |
| 28 | theorem powerLocalizedLattice_map_iff (f : V →ₗ[ℤ] V) : |
| 29 | (∀ x ∈ powerLocalizedLattice L q, f x ∈ powerLocalizedLattice L q) ↔ |
| 30 | ∀ x ∈ L, f x ∈ powerLocalizedLattice L q := by |
| 31 | constructor |
| 32 | · exact fun h x hx => h x (lattice_le_powerLocalizedLattice L q hx) |
| 33 | · intro h x hx |
| 34 | obtain ⟨n, hn⟩ := (mem_powerLocalizedLattice L q x).mp hx |
| 35 | obtain ⟨m, hm⟩ := (mem_powerLocalizedLattice L q _).mp (h _ hn) |
| 36 | refine (mem_powerLocalizedLattice L q _).mpr ⟨m + n, ?_⟩ |
| 37 | rw [map_smul] at hm |
| 38 | simpa only [pow_add, mul_smul] using hm |
| 39 | |
| 40 | variable [Fintype J] (b : Module.Basis J ℤ L) |
| 41 | |
| 42 | theorem linearMap_lattice_mem_iff_basis (M : Submodule ℤ V) (f : V →ₗ[ℤ] V) : |
| 43 | (∀ x ∈ L, f x ∈ M) ↔ ∀ j, f (b j).val ∈ M := by |
| 44 | constructor |
| 45 | · exact fun h j => h _ (b j).property |
| 46 | · intro h x hx |
| 47 | have he : (∑ j, b.equivFun ⟨x, hx⟩ j • (b j).val) = x := by |
| 48 | simpa only [Submodule.coe_sum, Submodule.coe_smul] using |
| 49 | congrArg (fun z : L => z.val) (b.sum_equivFun ⟨x, hx⟩) |
| 50 | rw [← he, map_sum] |
| 51 | apply M.sum_mem |
| 52 | intro j _ |
| 53 | rw [map_smul] |
| 54 | exact M.smul_mem _ (h j) |
| 55 | |
| 56 | theorem powerLocalizedLattice_map_iff_basis (f : V →ₗ[ℤ] V) : |
| 57 | (∀ x ∈ powerLocalizedLattice L q, f x ∈ powerLocalizedLattice L q) ↔ |
| 58 | ∀ j, f (b j).val ∈ powerLocalizedLattice L q := |
| 59 | (powerLocalizedLattice_map_iff L q f).trans |
| 60 | (linearMap_lattice_mem_iff_basis L b (powerLocalizedLattice L q) f) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.LocalizedLatticeMaps.TestTransport |