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.NumberTheory.PadicHodge.GeometricComparison.LatticeSubspaceEq |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.SplitLattice |
| 3 | |
| 4 | /-! # Lattice Bound -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.LatticeBound.LatticeHodgeBound |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A full integral lattice with Frobenius divisibility bounds the dimension of the rational Hodge step. -/ |
| 11 | |
| 12 | open scoped nonZeroDivisors |
| 13 | |
| 14 | theorem determinant_of_baseChange {R K M V : Type*} [CommRing R] [CommRing K] |
| 15 | [Algebra R K] [AddCommGroup M] [Module R M] [Module.Free R M] [Module.Finite R M] |
| 16 | [AddCommGroup V] [Module R V] [Module K V] [IsScalarTower R K V] |
| 17 | (f : M →ₗ[R] V) (hf : IsBaseChange K f) (F : Module.End R M) (φ : Module.End K V) |
| 18 | (hcomm : ∀ x, f (F x) = φ (f x)) : |
| 19 | φ.det = algebraMap R K F.det := by |
| 20 | have hφ : hf.endHom F = φ := by |
| 21 | apply hf.algHom_ext |
| 22 | intro x |
| 23 | exact (hf.endHom_comp_apply F x).trans (hcomm x) |
| 24 | rw [← hφ] |
| 25 | exact hf.det_endHom K M F |
| 26 | |
| 27 | theorem inequality (p : ℕ) [Fact p.Prime] |
| 28 | {M V : Type*} [AddCommGroup M] [Module ℤ_[p] M] |
| 29 | [Module.Free ℤ_[p] M] [Module.Finite ℤ_[p] M] |
| 30 | [AddCommGroup V] [Module ℤ_[p] V] [Module ℚ_[p] V] [IsScalarTower ℤ_[p] ℚ_[p] V] |
| 31 | (f : M →ₗ[ℤ_[p]] V) [IsLocalizedModule ℤ_[p]⁰ f] |
| 32 | (F : Module.End ℤ_[p] M) (φ : Module.End ℚ_[p] V) (hφ : φ.det ≠ 0) |
| 33 | (hcomm : ∀ x, f (F x) = φ (f x)) (H : Submodule ℚ_[p] V) |
| 34 | (hdiv : ∀ x, f x ∈ H → ∃ y, F x = (p : ℤ_[p]) • y) : |
| 35 | (Module.finrank ℚ_[p] H : ℤ) ≤ Padic.valuation φ.det := by |
| 36 | let P := LatticeSubspaceEq.LatticeSubspace.integralPart f H |
| 37 | let : Module.IsTorsionFree ℤ_[p] (M ⧸ P) := LatticeSubspaceEq.LatticeSubspace.quotient_torsionFree f H |
| 38 | have hdet := determinant_of_baseChange f |
| 39 | (IsLocalizedModule.isBaseChange ℤ_[p]⁰ ℚ_[p] f) F φ hcomm |
| 40 | have hF : F.det ≠ 0 := by |
| 41 | intro hz |
| 42 | apply hφ |
| 43 | rw [hdet, hz, map_zero] |
| 44 | have hv := SplitLattice.SplitLatticeDeterminant.valuation_ge p P F hF (fun x => hdiv x x.property) |
| 45 | rw [LatticeSubspaceEq.LatticeSubspace.finrank_eq f H] at hv |
| 46 | change φ.det = (F.det : ℚ_[p]) at hdet |
| 47 | rwa [← hdet] at hv |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.GeometricComparison.LatticeBound.LatticeHodgeBound |