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.NumberTheory.ArithmeticGroups.Lattices.DifferentialDerivationCore |
| 2 | import Mathlib.RingTheory.Ideal.MinimalPrime.Localization |
| 3 | |
| 4 | /-! # Differential Prime -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.DifferentialPrime |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The differential core of a prime ideal in characteristic zero is |
| 11 | prime. Minimal primes over a radical differential ideal are preserved by |
| 12 | its derivations. This will prove irreducibility of the algebraic hull. -/ |
| 13 | |
| 14 | theorem minimalPrime_mul_mem_radical_ideal |
| 15 | {A : Type*} [CommRing A] {I P : Ideal A} (hI : I.IsRadical) |
| 16 | (hP : I.IsMinimalPrime P) {x : A} (hx : x ∈ P) : |
| 17 | ∃ y ∉ P, x * y ∈ I := by |
| 18 | let : P.IsPrime := hP.isPrime |
| 19 | have hle : P.map (algebraMap A (Localization.AtPrime P)) ≤ |
| 20 | (I.map (algebraMap A (Localization.AtPrime P))).radical := by |
| 21 | rw [Ideal.radical_eq_sInf, le_sInf_iff] |
| 22 | rintro Q ⟨hIQ, hQ⟩ |
| 23 | obtain ⟨hprime, hQP⟩ := |
| 24 | ((IsLocalization.AtPrime.orderIsoOfPrime (Localization.AtPrime P) P) ⟨Q, hQ⟩).2 |
| 25 | rw [Ideal.map_le_iff_le_comap] at hIQ ⊢ |
| 26 | exact hP.2 ⟨hprime, hIQ⟩ hQP |
| 27 | obtain ⟨m, hm⟩ := hle (Ideal.mem_map_of_mem _ hx) |
| 28 | rw [IsLocalization.mem_map_algebraMap_iff (M := P.primeCompl)] at hm |
| 29 | obtain ⟨⟨a, b⟩, hm⟩ := hm |
| 30 | rw [← map_pow, ← map_mul, IsLocalization.eq_iff_exists P.primeCompl] at hm |
| 31 | obtain ⟨t, ht⟩ := hm |
| 32 | refine ⟨t.val * b.val, (t * b).property, ?_⟩ |
| 33 | apply hI |
| 34 | refine ⟨m + 1, ?_⟩ |
| 35 | have he : (x * (t.val * b.val)) ^ (m + 1) = |
| 36 | (t.val ^ m * b.val ^ m * x * t.val) * a.val := by |
| 37 | rw [mul_assoc, ← ht] |
| 38 | ring |
| 39 | rw [he] |
| 40 | exact I.mul_mem_left _ a.property |
| 41 | |
| 42 | theorem derivation_preserves_minimalPrime |
| 43 | {k A : Type*} [Field k] [CommRing A] [Algebra k A] |
| 44 | (D : Derivation k A A) {I P : Ideal A} (hI : I.IsRadical) |
| 45 | (hD : ∀ x ∈ I, D x ∈ I) (hP : I.IsMinimalPrime P) {x : A} (hx : x ∈ P) : |
| 46 | D x ∈ P := by |
| 47 | obtain ⟨y, hy, hxy⟩ := minimalPrime_mul_mem_radical_ideal hI hP hx |
| 48 | have hsum : x * D y + y * D x ∈ P := by |
| 49 | simpa only [Derivation.leibniz, smul_eq_mul] using hP.le (hD (x * y) hxy) |
| 50 | have hm := P.sub_mem hsum (P.mul_mem_right (D y) hx) |
| 51 | rw [add_sub_cancel_left] at hm |
| 52 | exact (hP.isPrime.mem_or_mem hm).resolve_left hy |
| 53 | |
| 54 | theorem differentialCore_isPrime |
| 55 | {k A : Type*} [Field k] [CharZero k] [CommRing A] [Algebra k A] |
| 56 | (S : Set (Derivation k A A)) (P : Ideal A) [P.IsPrime] : |
| 57 | (ArithmeticGroups.Lattices.DifferentialDerivationCore.Construction.differentialCore S P).IsPrime := by |
| 58 | let C := ArithmeticGroups.Lattices.DifferentialDerivationCore.Construction.differentialCore S P |
| 59 | have hC : C.IsRadical := ArithmeticGroups.Lattices.DifferentialDerivationCore.Construction.differentialCore_isRadical S P |
| 60 | (inferInstance : P.IsPrime).isRadical |
| 61 | obtain ⟨Q, hQ, hQP⟩ := Ideal.exists_minimalPrimes_le |
| 62 | (ArithmeticGroups.Lattices.DifferentialDerivationCore.Construction.differentialCore_le S P) |
| 63 | have hQC : Q ≤ C := by |
| 64 | apply ArithmeticGroups.Lattices.DifferentialDerivationCore.Construction.le_differentialCore S P Q hQP |
| 65 | intro D hD x hx |
| 66 | exact derivation_preserves_minimalPrime D hC |
| 67 | (fun _ hz => ArithmeticGroups.Lattices.DifferentialDerivationCore.Construction.differentialCore_derivation S P D hD hz) hQ hx |
| 68 | have he : C = Q := le_antisymm hQ.le hQC |
| 69 | change C.IsPrime |
| 70 | rw [he] |
| 71 | exact hQ.isPrime |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.Quaternion.Arithmetic.DifferentialPrime |