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.AssociatedPrime.Finiteness |
| 2 | import Mathlib.Algebra.Module.Submodule.Union |
| 3 | import Mathlib.Data.Fintype.Sigma |
| 4 | |
| 5 | /-! # Regular Linear Combination -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.RegularLinearCombination.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Over an infinite field, a linear family of coefficients that avoids |
| 12 | each associated prime separately contains a simultaneous non-zero-divisor |
| 13 | on every module in a finite family. -/ |
| 14 | |
| 15 | theorem smul_injective_of_avoids_associatedPrimes |
| 16 | {R M : Type*} [CommRing R] [IsNoetherianRing R] |
| 17 | [AddCommGroup M] [Module R M] (a : R) |
| 18 | (ha : ∀ p ∈ associatedPrimes R M, a ∉ p) : |
| 19 | Function.Injective (fun x : M => a • x) := by |
| 20 | intro x y hxy |
| 21 | change a • x = a • y at hxy |
| 22 | apply sub_eq_zero.mp |
| 23 | by_contra hne |
| 24 | have hz : a • (x - y) = 0 := by rw [smul_sub, hxy, sub_self] |
| 25 | have hm : a ∈ ⋃ p ∈ associatedPrimes R M, (p : Set R) := by |
| 26 | rw [biUnion_associatedPrimes_eq_zero_divisors] |
| 27 | exact ⟨x - y, hne, hz⟩ |
| 28 | obtain ⟨p, hp⟩ := Set.mem_iUnion.mp hm |
| 29 | obtain ⟨hp, ham⟩ := Set.mem_iUnion.mp hp |
| 30 | exact ha p hp ham |
| 31 | |
| 32 | universe u v w z |
| 33 | |
| 34 | theorem exists_simultaneous_regular_linear_combination |
| 35 | {K : Type u} [Field K] [Infinite K] |
| 36 | {V : Type v} [AddCommGroup V] [Module K V] |
| 37 | {ι : Type w} [Finite ι] |
| 38 | (R : ι → Type z) [∀ i, CommRing (R i)] [∀ i, IsNoetherianRing (R i)] |
| 39 | [∀ i, Algebra K (R i)] |
| 40 | (M : ι → Type z) [∀ i, AddCommGroup (M i)] [∀ i, Module (R i) (M i)] |
| 41 | [∀ i, Module.Finite (R i) (M i)] |
| 42 | (a : ∀ i, V →ₗ[K] R i) |
| 43 | (h : ∀ i p, p ∈ associatedPrimes (R i) (M i) → ∃ v : V, a i v ∉ p) : |
| 44 | ∃ v : V, ∀ i, Function.Injective (fun x : M i => a i v • x) := by |
| 45 | classical |
| 46 | let I := Σ i, {p : Ideal (R i) // p ∈ associatedPrimes (R i) (M i)} |
| 47 | let (i : ι) : Fintype {p : Ideal (R i) // p ∈ associatedPrimes (R i) (M i)} := |
| 48 | (associatedPrimes.finite (R i) (M i)).fintype |
| 49 | let : Fintype ι := Fintype.ofFinite ι |
| 50 | have : Finite I := inferInstanceAs (Finite (Σ i, {p : Ideal (R i) // |
| 51 | p ∈ associatedPrimes (R i) (M i)})) |
| 52 | let B : I → Submodule K V := fun t => (t.2.1.restrictScalars K).comap (a t.1) |
| 53 | have hB (t : I) : B t ≠ ⊤ := by |
| 54 | obtain ⟨v, hv⟩ := h t.1 t.2.1 t.2.2 |
| 55 | intro he |
| 56 | exact hv (show v ∈ B t from he.symm ▸ Submodule.mem_top) |
| 57 | obtain ⟨v, hv⟩ := Submodule.exists_forall_notMem_of_forall_ne_top B hB |
| 58 | refine ⟨v, fun i => smul_injective_of_avoids_associatedPrimes (a i v) ?_⟩ |
| 59 | intro p hp |
| 60 | exact hv ⟨i, p, hp⟩ |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.RegularLinearCombination.Construction |