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 Mathlib.LinearAlgebra.Matrix.Determinant.Basic |
| 2 | import Mathlib.NumberTheory.Padics.PadicIntegers |
| 3 | |
| 4 | /-! # Determinant Divisibility -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.DeterminantDivisibility.IntegralDeterminantDivisibility |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Divisibility of integral Frobenius columns supplies the determinant valuation bound used for a Hodge lattice. -/ |
| 11 | |
| 12 | variable {R ι : Type*} [CommRing R] [Fintype ι] [DecidableEq ι] |
| 13 | |
| 14 | theorem product_dvd_det (M : Matrix ι ι R) (d : ι → R) |
| 15 | (h : ∀ i j, d j ∣ M i j) : (∏ j, d j) ∣ M.det := by |
| 16 | choose N hN using h |
| 17 | have hM : M = Matrix.of (fun i j => d j * N i j) := Matrix.ext hN |
| 18 | erw [hM, Matrix.det_mul_row d (Matrix.of N)] |
| 19 | exact dvd_mul_right _ _ |
| 20 | |
| 21 | theorem power_dvd_det (M : Matrix ι ι R) (p : R) (s : Finset ι) |
| 22 | (h : ∀ j ∈ s, ∀ i, p ∣ M i j) : p ^ s.card ∣ M.det := by |
| 23 | classical |
| 24 | have hd : ∀ i j, (if j ∈ s then p else 1) ∣ M i j := by |
| 25 | intro i j |
| 26 | split_ifs with hj |
| 27 | · exact h j hj i |
| 28 | · exact one_dvd _ |
| 29 | simpa using product_dvd_det M (fun j => if j ∈ s then p else 1) hd |
| 30 | |
| 31 | theorem padic_valuation_ge (p : ℕ) [Fact p.Prime] (M : Matrix ι ι ℤ_[p]) |
| 32 | (s : Finset ι) (hM : M.det ≠ 0) (h : ∀ j ∈ s, ∀ i, (p : ℤ_[p]) ∣ M i j) : |
| 33 | (s.card : ℤ) ≤ Padic.valuation (M.det : ℚ_[p]) := by |
| 34 | have hd := power_dvd_det M (p : ℤ_[p]) s h |
| 35 | have hv : s.card ≤ M.det.valuation := by |
| 36 | apply (PadicInt.mem_span_pow_iff_le_valuation M.det hM s.card).mp |
| 37 | exact Ideal.mem_span_singleton.mpr hd |
| 38 | rw [PadicInt.valuation_coe] |
| 39 | exact_mod_cast hv |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.DeterminantDivisibility.IntegralDeterminantDivisibility |