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.RingTheory.Ideal.Quotient.Operations |
| 2 | import Mathlib.Algebra.Regular.SMul |
| 3 | import Mathlib.Algebra.Exact.Basic |
| 4 | |
| 5 | /-! # Regular Quotient Scalar Exactness -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RegularQuotientScalarExactness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Multiplication by a regular element and its complementary power is exact on the actual prime-power quotient. -/ |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable (R : Type u) [CommRing R] (r : R) (hr : IsSMulRegular R r) (n : ℕ) |
| 16 | |
| 17 | abbrev Ring := R ⧸ (Ideal.span {r}) ^ (n + 1) |
| 18 | |
| 19 | def scalar : Ring R r n := Ideal.Quotient.mk ((Ideal.span {r}) ^ (n + 1)) r |
| 20 | |
| 21 | theorem power_zero : scalar R r n ^ (n + 1) = 0 := by |
| 22 | change (Ideal.Quotient.mk ((Ideal.span {r}) ^ (n + 1)) r) ^ (n + 1) = 0 |
| 23 | rw [← map_pow] |
| 24 | exact Ideal.Quotient.eq_zero_iff_mem.mpr (Ideal.pow_mem_pow (Ideal.subset_span (Set.mem_singleton r)) (n + 1)) |
| 25 | |
| 26 | include hr in |
| 27 | theorem exact : Function.Exact |
| 28 | (DistribSMul.toLinearMap (Ring R r n) (Ring R r n) (scalar R r n ^ n)) |
| 29 | (DistribSMul.toLinearMap (Ring R r n) (Ring R r n) (scalar R r n)) := by |
| 30 | let q := Ideal.Quotient.mk ((Ideal.span {r}) ^ (n + 1)) |
| 31 | intro x |
| 32 | constructor |
| 33 | · intro hx |
| 34 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 35 | have hm : r * a ∈ (Ideal.span {r}) ^ (n + 1) := |
| 36 | Ideal.Quotient.eq_zero_iff_mem.mp ((q.map_mul r a).trans hx) |
| 37 | rw [Ideal.span_singleton_pow] at hm |
| 38 | obtain ⟨b, hb⟩ := Ideal.mem_span_singleton.mp hm |
| 39 | have he : a = r ^ n * b := hr (by |
| 40 | change r * a = r * (r ^ n * b) |
| 41 | exact hb.trans (by rw [pow_succ', mul_assoc])) |
| 42 | refine ⟨q b, ?_⟩ |
| 43 | change q r ^ n * q b = q a |
| 44 | exact ((q.map_pow r n).symm ▸ (q.map_mul (r ^ n) b).symm).trans (congrArg q he.symm) |
| 45 | · rintro ⟨y, rfl⟩ |
| 46 | change scalar R r n * (scalar R r n ^ n * y) = 0 |
| 47 | rw [← mul_assoc, ← pow_succ', power_zero, zero_mul] |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RegularQuotientScalarExactness |