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.AbelianModuli.ReferenceFamily.LatticeDenominators |
| 2 | |
| 3 | /-! # Level Matrices -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.LevelMatrices |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Deep congruences on the specified integral lattice become integral |
| 10 | matrix congruences in the standard E-coordinates, after one fixed |
| 11 | nonzero denominator is cleared. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | variable {E : Type*} [Field E] [NumberField E] [Algebra ℚ E] |
| 16 | |
| 17 | omit [Algebra ℚ E] in |
| 18 | theorem lattice_congruence_coordinates (Λ : Submodule ℤ (Fin 3 → E)) |
| 19 | (d c : ℤ) (hd : d ≠ 0) |
| 20 | (hbasis : ∀ j : Fin 3, d • (Pi.single j (1 : E)) ∈ Λ) |
| 21 | (hcoords : ∀ y ∈ Λ, ∀ i, IsIntegral ℤ (c • y i)) |
| 22 | (N m : ℕ) (k : ℤ) (hN : (N : ℤ) = d * c * m * k) |
| 23 | (g : (Fin 3 → E) ≃ₗ[E] (Fin 3 → E)) |
| 24 | (hg : ∀ x ∈ Λ, ∃ y ∈ Λ, g x - x = (N : ℤ) • y) |
| 25 | (i j : Fin 3) : |
| 26 | ∃ a : E, IsIntegral ℤ a ∧ |
| 27 | (LinearMap.toMatrix' g.toLinearMap) i j - (1 : Matrix (Fin 3) (Fin 3) E) i j = (m : E) * a := by |
| 28 | obtain ⟨y, hy, he⟩ := hg (d • Pi.single j 1) (hbasis j) |
| 29 | have hgsmul : g (d • Pi.single j 1) = d • g (Pi.single j 1) := |
| 30 | (g.toLinearMap.restrictScalars ℤ).map_smul d _ |
| 31 | have he' : d • (g (Pi.single j 1) - Pi.single j 1) = (N : ℤ) • y := by |
| 32 | rw [smul_sub, ← hgsmul] |
| 33 | exact he |
| 34 | have hz := congrArg (fun x : Fin 3 → E => x i) he' |
| 35 | have hz' : (d : E) * (g (Pi.single j 1) i - (Pi.single j 1 : Fin 3 → E) i) = |
| 36 | (N : E) * y i := by |
| 37 | simpa only [Pi.sub_apply, Pi.smul_apply, zsmul_eq_mul, Int.cast_natCast] using hz |
| 38 | refine ⟨k • (c • y i), (hcoords y hy i).smul k, ?_⟩ |
| 39 | change g (Pi.single j 1) i - (1 : Matrix (Fin 3) (Fin 3) E) i j = _ |
| 40 | have hid : (1 : Matrix (Fin 3) (Fin 3) E) i j = (Pi.single j 1 : Fin 3 → E) i := by |
| 41 | simp only [Matrix.one_apply, Pi.single_apply] |
| 42 | rw [hid] |
| 43 | apply mul_left_cancel₀ (show (d : E) ≠ 0 from Int.cast_ne_zero.mpr hd) |
| 44 | rw [hz'] |
| 45 | have hc : (N : E) = (d : E) * (c : E) * (m : E) * (k : E) := by exact_mod_cast hN |
| 46 | rw [hc] |
| 47 | simp only [zsmul_eq_mul] |
| 48 | ring |
| 49 | |
| 50 | /-- Every prescribed coefficient modulus admits a fixed principal |
| 51 | level whose matrices are congruent to identity over the ring of integers. -/ |
| 52 | theorem exists_integral_matrix_congruence_depth (Λ : Submodule ℤ (Fin 3 → E)) |
| 53 | (hfg : Λ.FG) (hspan : Submodule.span ℚ (Λ : Set (Fin 3 → E)) = ⊤) |
| 54 | (m : ℕ) (hm : 0 < m) : |
| 55 | ∃ D : ℕ, 0 < D ∧ ∀ N : ℕ, D ∣ N → |
| 56 | ∀ g : (Fin 3 → E) ≃ₗ[E] (Fin 3 → E), |
| 57 | (∀ x ∈ Λ, ∃ y ∈ Λ, g x - x = (N : ℤ) • y) → |
| 58 | ∀ i j, ∃ a : E, IsIntegral ℤ a ∧ |
| 59 | (LinearMap.toMatrix' g.toLinearMap) i j - |
| 60 | (1 : Matrix (Fin 3) (Fin 3) E) i j = (m : E) * a := by |
| 61 | obtain ⟨d, hd, hbasis⟩ := LatticeDenominators.common_integer_multiple_mem Λ hspan (fun j : Fin 3 => Pi.single j (1 : E)) |
| 62 | obtain ⟨c, hc, hcoords⟩ := LatticeDenominators.common_integral_coordinate_multiple Λ hfg |
| 63 | refine ⟨(d * c * (m : ℤ)).natAbs, Int.natAbs_pos.mpr |
| 64 | (mul_ne_zero (mul_ne_zero hd hc) (by exact_mod_cast hm.ne')), ?_⟩ |
| 65 | intro N hN g hg i j |
| 66 | have hdiv : d * c * (m : ℤ) ∣ (N : ℤ) := Int.natAbs_dvd_natAbs.mp (by |
| 67 | simpa only [Int.natAbs_natCast] using hN) |
| 68 | obtain ⟨k, hk⟩ := hdiv |
| 69 | exact lattice_congruence_coordinates Λ d c hd hbasis hcoords N m k hk g hg i j |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Integral.LevelMatrices |