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.PELModuli.CMPoints.CoordinateLattice |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.ScalarCoordinates |
| 3 | |
| 4 | /-! # Coordinate Lattice Quotients -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.CoordinateLatticeQuotients |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A full O_E-stable lattice in arbitrary finite rank becomes a free module of the prescribed rank |
| 11 | modulo all powers of every sufficiently large prime. The bound and |
| 12 | equivalences are constructed by clearing actual lattice denominators. -/ |
| 13 | |
| 14 | variable {E : Type*} [Field E] [NumberField E] [Algebra ℚ E] |
| 15 | {r : ℕ} (Λ : Submodule ℤ (Fin r → E)) (hΛ : CoordinateLattice.FullStableCoordinateLattice Λ) |
| 16 | |
| 17 | theorem exists_coordinate_quotient_bound : |
| 18 | ∃ D : ℕ, 0 < D ∧ ∀ q : ℕ, q.Prime → D < q → ∀ n : ℕ, |
| 19 | Nonempty (ScalarQuotientMk.ScalarQuotient (NumberField.RingOfIntegers E) (CoordinateLattice.stableCoordinateLattice Λ hΛ) |
| 20 | (q ^ n) ≃ₗ[NumberField.RingOfIntegers E] |
| 21 | (Fin r → NumberField.RingOfIntegers E ⧸ |
| 22 | Ideal.span ({(q ^ n : NumberField.RingOfIntegers E)} : Set (NumberField.RingOfIntegers E)))) := by |
| 23 | obtain ⟨c, hc, f, g, hgf, hfg⟩ := CoordinateLattice.exists_coordinate_lattice_comparison Λ hΛ |
| 24 | have hcpos : 0 < c.natAbs := Int.natAbs_pos.mpr hc |
| 25 | refine ⟨c.natAbs, hcpos, fun q hq hbound n => ?_⟩ |
| 26 | have hcop := hq.coprime_pow_of_not_dvd (m := n) |
| 27 | (show ¬ q ∣ c.natAbs from fun hd => (not_le_of_gt hbound) (Nat.le_of_dvd hcpos hd)) |
| 28 | have hicop : IsCoprime c (q ^ n : ℤ) := |
| 29 | Int.isCoprime_iff_gcd_eq_one.mpr (by |
| 30 | simpa only [Int.gcd_def, Int.natAbs_pow, Int.natAbs_natCast] using hcop) |
| 31 | have hcopE : IsCoprime (c : NumberField.RingOfIntegers E) |
| 32 | (q ^ n : NumberField.RingOfIntegers E) := by |
| 33 | have h := hicop.map (Int.castRingHom (NumberField.RingOfIntegers E)) |
| 34 | change IsCoprime (c : NumberField.RingOfIntegers E) |
| 35 | ((q ^ n : ℤ) : NumberField.RingOfIntegers E) at h |
| 36 | simpa only [Int.cast_pow, Int.cast_natCast] using h |
| 37 | let e := ScalarQuotientMk.scalarQuotientEquiv (q ^ n : NumberField.RingOfIntegers E) |
| 38 | (c : NumberField.RingOfIntegers E) hcopE f g |
| 39 | (fun x => (hgf x).trans (Int.cast_smul_eq_zsmul _ c x).symm) |
| 40 | (fun x => (hfg x).trans (Int.cast_smul_eq_zsmul _ c x).symm) |
| 41 | exact ⟨e.symm.trans (ScalarCoordinates.scalarCoordinateEquiv _)⟩ |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.CoordinateLatticeQuotients |