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.Resolution.Blowups.ChartFlatBaseChange |
| 2 | import Mathlib.RingTheory.TensorProduct.Quotient |
| 3 | |
| 4 | /-! # Flat Quotient Regularity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.FlatQuotientRegularity.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Flat base change preserves regularity modulo an ideal and therefore transverse ideal quotients. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | theorem flat_extended_quotient_module {R S : Type u} [CommRing R] [CommRing S] [Algebra R S] |
| 15 | [Module.Flat R S] (I : Ideal R) : Module.Flat (R ⧸ I) (S ⧸ I.map (algebraMap R S)) := by |
| 16 | let e := Algebra.TensorProduct.quotIdealMapEquivQuotTensor S I |
| 17 | exact Module.Flat.of_linearEquiv e.toLinearEquiv |
| 18 | |
| 19 | theorem flat_extended_quotient_regular {R S : Type u} [CommRing R] [CommRing S] [Algebra R S] |
| 20 | [Module.Flat R S] (I : Ideal R) (c : R) (hc : IsRegular (Ideal.Quotient.mk I c)) : |
| 21 | IsRegular (Ideal.Quotient.mk (I.map (algebraMap R S)) (algebraMap R S c)) := by |
| 22 | let : Module.Flat (R ⧸ I) (S ⧸ I.map (algebraMap R S)) := flat_extended_quotient_module I |
| 23 | exact ChartFlatBaseChange.Construction.flat_algebraMap_regular (S := S ⧸ I.map (algebraMap R S)) (Ideal.Quotient.mk I c) hc |
| 24 | |
| 25 | theorem ideal_colon_eq_of_quotient_regular {R : Type u} [CommRing R] |
| 26 | (I : Ideal R) (c : R) (hc : IsRegular (Ideal.Quotient.mk I c)) : I.colon (Ideal.span {c} : Set R) = I := by |
| 27 | apply le_antisymm |
| 28 | · intro a ha |
| 29 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 30 | apply hc.right |
| 31 | change Ideal.Quotient.mk I a * Ideal.Quotient.mk I c = 0 * Ideal.Quotient.mk I c |
| 32 | rw [zero_mul, ← map_mul] |
| 33 | exact Ideal.Quotient.eq_zero_iff_mem.mpr (Ideal.mem_colon_span_singleton.mp ha) |
| 34 | · exact Ideal.le_colon |
| 35 | |
| 36 | theorem flat_map_colon_eq_of_quotient_regular {R S : Type u} [CommRing R] [CommRing S] [Algebra R S] |
| 37 | [Module.Flat R S] (I : Ideal R) (c : R) (hc : IsRegular (Ideal.Quotient.mk I c)) : |
| 38 | (I.map (algebraMap R S)).colon (Ideal.span {algebraMap R S c} : Set S) = I.map (algebraMap R S) := |
| 39 | ideal_colon_eq_of_quotient_regular _ _ (flat_extended_quotient_regular I c hc) |
| 40 | |
| 41 | theorem quotient_regular_of_ideal_colon_eq {R : Type u} [CommRing R] |
| 42 | (I : Ideal R) (c : R) (h : I.colon (Ideal.span {c} : Set R) = I) : |
| 43 | IsRegular (Ideal.Quotient.mk I c) := by |
| 44 | have hinj : Function.Injective (fun x : R ⧸ I => x * Ideal.Quotient.mk I c) := by |
| 45 | intro x y hxy |
| 46 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 47 | obtain ⟨b, rfl⟩ := Ideal.Quotient.mk_surjective y |
| 48 | change Ideal.Quotient.mk I a * Ideal.Quotient.mk I c = |
| 49 | Ideal.Quotient.mk I b * Ideal.Quotient.mk I c at hxy |
| 50 | apply Ideal.Quotient.eq.mpr |
| 51 | have hm : (a - b) * c ∈ I := by |
| 52 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 53 | rw [map_mul, map_sub, sub_mul, hxy, sub_self] |
| 54 | have hc : a - b ∈ I.colon (Ideal.span {c} : Set R) := Ideal.mem_colon_span_singleton.mpr hm |
| 55 | exact h ▸ hc |
| 56 | refine ⟨?_, hinj⟩ |
| 57 | intro x y hxy |
| 58 | exact hinj (by simpa only [mul_comm] using hxy) |
| 59 | |
| 60 | theorem flat_map_colon_self {R S : Type u} [CommRing R] [CommRing S] [Algebra R S] |
| 61 | [Module.Flat R S] (I : Ideal R) (c : R) (h : I.colon (Ideal.span {c} : Set R) = I) : |
| 62 | (I.map (algebraMap R S)).colon (Ideal.span {algebraMap R S c} : Set S) = I.map (algebraMap R S) := |
| 63 | flat_map_colon_eq_of_quotient_regular I c (quotient_regular_of_ideal_colon_eq I c h) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Resolution.Blowups.FlatQuotientRegularity.Construction |