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 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.MatrixToLatticeCongruence |
| 3 | |
| 4 | /-! # Lattice Congruence Depth -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LatticeCongruenceDepth |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original full integral lattice supplies its own fixed matrix |
| 11 | congruence depth. Coordinate and basis denominator conditions are proved |
| 12 | from finite generation and rational spanning, rather than added as data. |
| 13 | -/ |
| 14 | |
| 15 | variable {E : Type*} [Field E] [NumberField E] |
| 16 | |
| 17 | theorem exists_lattice_depth_for_integral_matrix_congruence |
| 18 | (Λ : Submodule ℤ (Fin 3 → E)) |
| 19 | (hO : ∀ a : NumberField.RingOfIntegers E, ∀ x ∈ Λ, (a : E) • x ∈ Λ) |
| 20 | (hfg : Λ.FG) (hspan : Submodule.span ℚ (Λ : Set (Fin 3 → E)) = ⊤) |
| 21 | (N : ℕ) (hN : 0 < N) : |
| 22 | ∃ ℓ : ℕ, 0 < ℓ ∧ N ∣ ℓ ∧ |
| 23 | ∀ (D : ℕ) (f : (Fin 3 → E) →ₗ[E] (Fin 3 → E)) |
| 24 | (A : Matrix (Fin 3) (Fin 3) (NumberField.RingOfIntegers E)), |
| 25 | (∀ i j, (D : E) * (LinearMap.toMatrix' f i j - |
| 26 | (1 : Matrix (Fin 3) (Fin 3) E) i j) = (ℓ : E) * (A i j : E)) → |
| 27 | ∀ x ∈ Λ, ∃ y ∈ Λ, (D : E) • (f x - x) = (N : E) • y := by |
| 28 | obtain ⟨d, hd, hbasis⟩ := LatticeDenominators.common_integer_multiple_mem Λ hspan |
| 29 | (fun j : Fin 3 => Pi.single j (1 : E)) |
| 30 | obtain ⟨c, hc, hcoords⟩ := LatticeDenominators.common_integral_coordinate_multiple Λ hfg |
| 31 | let ℓ : ℕ := N * (d * c).natAbs ^ 2 |
| 32 | have hℓ : 0 < ℓ := |
| 33 | Nat.mul_pos hN (pow_pos (Int.natAbs_pos.mpr (mul_ne_zero hd hc)) 2) |
| 34 | have hlevel : (ℓ : ℤ) = (N : ℤ) * d * c * (d * c) := by |
| 35 | dsimp only [ℓ] |
| 36 | simp only [Nat.cast_mul, Nat.cast_pow, Int.natCast_natAbs, sq_abs] |
| 37 | ring |
| 38 | refine ⟨ℓ, hℓ, ⟨(d * c).natAbs ^ 2, rfl⟩, ?_⟩ |
| 39 | intro D f A hA |
| 40 | exact MatrixToLatticeCongruence.integral_matrix_congruence_on_lattice Λ hO d c hbasis hcoords |
| 41 | D ℓ N (d * c) hlevel f A hA |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LatticeCongruenceDepth |