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.PadicPowerSaturation |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 3 | import Mathlib.LinearAlgebra.Basis.Submodule |
| 4 | |
| 5 | /-! # Lattice Saturation -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.LatticeSaturation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A full rational lattice is recovered by intersecting its q-adic |
| 12 | completed span with its original lattice after inverting q. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | variable {V W I : Type*} [AddCommGroup V] [Module ℚ V] |
| 17 | (q : ℕ) [Fact q.Prime] [AddCommGroup W] [Module ℚ_[q] W] |
| 18 | [Module ℤ_[q] W] [IsScalarTower ℤ_[q] ℚ_[q] W] |
| 19 | (b : Module.Basis I ℚ V) (L : Submodule ℤ V) |
| 20 | (hL : Submodule.span ℤ (Set.range b) = L) |
| 21 | (e : (ℚ_[q] ⊗[ℚ] V) ≃ₗ[ℚ_[q]] W) |
| 22 | |
| 23 | include hL |
| 24 | |
| 25 | theorem completedLattice_coordinate_integral (i : I) (w : W) |
| 26 | (hw : w ∈ Submodule.span ℤ_[q] ((fun v => e (1 ⊗ₜ[ℚ] v)) '' (L : Set V))) : |
| 27 | ((b.baseChange ℚ_[q]).repr (e.symm w)) i ∈ Set.range (algebraMap ℤ_[q] ℚ_[q]) := by |
| 28 | let l : W →ₗ[ℤ_[q]] ℚ_[q] := |
| 29 | (((b.baseChange ℚ_[q]).coord i).comp e.symm.toLinearMap).restrictScalars ℤ_[q] |
| 30 | let J : Submodule ℤ_[q] ℚ_[q] := (Algebra.linearMap ℤ_[q] ℚ_[q]).range |
| 31 | change l w ∈ J |
| 32 | induction hw using Submodule.span_induction with |
| 33 | | mem w hw => |
| 34 | obtain ⟨v, hv, rfl⟩ := hw |
| 35 | have hc := (b.mem_span_iff_repr_mem ℤ v).mp (hL.symm ▸ hv) i |
| 36 | obtain ⟨z, hz⟩ := hc |
| 37 | refine ⟨(z : ℤ_[q]), ?_⟩ |
| 38 | change algebraMap ℤ_[q] ℚ_[q] (z : ℤ_[q]) = |
| 39 | (b.baseChange ℚ_[q]).repr (e.symm (e (1 ⊗ₜ[ℚ] v))) i |
| 40 | rw [LinearEquiv.symm_apply_apply, Module.Basis.baseChange_repr_tmul, ← hz] |
| 41 | simp |
| 42 | | zero => |
| 43 | rw [map_zero] |
| 44 | exact J.zero_mem |
| 45 | | add u v _ _ hu hv => |
| 46 | rw [map_add] |
| 47 | exact J.add_mem hu hv |
| 48 | | smul a u _ hu => |
| 49 | rw [map_smul] |
| 50 | exact J.smul_mem a hu |
| 51 | |
| 52 | theorem completedLattice_rational_coordinate_norm (v : V) |
| 53 | (hv : e (1 ⊗ₜ[ℚ] v) ∈ Submodule.span ℤ_[q] |
| 54 | ((fun x => e (1 ⊗ₜ[ℚ] x)) '' (L : Set V))) (i : I) : |
| 55 | ‖((b.repr v i : ℚ) : ℚ_[q])‖ ≤ 1 := by |
| 56 | obtain ⟨a, ha⟩ := completedLattice_coordinate_integral q b L hL e i _ hv |
| 57 | rw [LinearEquiv.symm_apply_apply, Module.Basis.baseChange_repr_tmul] at ha |
| 58 | have he : (a : ℚ_[q]) = ((b.repr v i : ℚ) : ℚ_[q]) := by simpa using ha |
| 59 | rw [← he] |
| 60 | exact a.property |
| 61 | |
| 62 | theorem completedLattice_power_saturation (v : V) |
| 63 | (hv : e (1 ⊗ₜ[ℚ] v) ∈ Submodule.span ℤ_[q] |
| 64 | ((fun x => e (1 ⊗ₜ[ℚ] x)) '' (L : Set V))) |
| 65 | (hn : ∃ n : ℕ, (q : ℤ) ^ n • v ∈ L) : v ∈ L := by |
| 66 | have hc (x : V) : x ∈ L ↔ ∀ i, b.repr x i ∈ Set.range (algebraMap ℤ ℚ) := by |
| 67 | rw [← hL] |
| 68 | exact b.mem_span_iff_repr_mem ℤ x |
| 69 | apply (hc v).mpr |
| 70 | intro i |
| 71 | obtain ⟨n, hn⟩ := hn |
| 72 | obtain ⟨z, hz⟩ := (hc _).mp hn i |
| 73 | have hz' : (q : ℚ) ^ n * b.repr v i = z := by |
| 74 | rw [map_zsmul, Finsupp.smul_apply] at hz |
| 75 | simpa only [Algebra.algebraMap_eq_smul_one, zsmul_eq_mul, Int.cast_pow, Int.cast_natCast, |
| 76 | mul_one] using hz.symm |
| 77 | obtain ⟨z, hz⟩ := PadicPowerSaturation.rational_power_saturation q (b.repr v i) |
| 78 | (completedLattice_rational_coordinate_norm q b L hL e v hv i) n z hz' |
| 79 | exact ⟨z, hz.symm⟩ |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.RepresentationTheory.Theta.Geometric.LatticeSaturation |