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.IdempotentQuotientCenter |
| 2 | |
| 3 | /-! # General Idempotent Quotient Center -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.GeneralIdempotentQuotientCenter.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Open generators for an arbitrary center over a reduced zero-dimensional quotient. -/ |
| 10 | |
| 11 | variable {R : Type*} [CommRing R] |
| 12 | |
| 13 | theorem zero_dimensional_quotient_center_generators (K : Ideal R) |
| 14 | [IsNoetherianRing (R ⧸ K)] [IsReduced (R ⧸ K)] |
| 15 | (hd : ringKrullDim (R ⧸ K) ≤ 0) (I : Ideal R) (hK : K ≤ I) : |
| 16 | ∃ r ∈ I, I = Ideal.span {r} ⊔ K ∧ r * (1 - r) ∈ K := by |
| 17 | let q := Ideal.Quotient.mk (K) |
| 18 | obtain ⟨e, he, hC⟩ := ZeroDimensionalCoefficientCenter.Construction.zero_dimensional_ideal_idempotent_generator hd (I.map q) |
| 19 | have heC : e ∈ I.map q := hC.symm ▸ Ideal.mem_span_singleton_self e |
| 20 | obtain ⟨r, hr, hqr⟩ := (Ideal.mem_map_iff_of_surjective q Ideal.Quotient.mk_surjective).mp heC |
| 21 | have hrel : r * (1 - r) ∈ K := by |
| 22 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 23 | change q (r * (1 - r)) = 0 |
| 24 | rw [map_mul, map_sub, map_one, hqr, mul_sub, mul_one, he.eq, sub_self] |
| 25 | refine ⟨r, hr, ?_, hrel⟩ |
| 26 | apply le_antisymm |
| 27 | · intro x hx |
| 28 | have hqx : q x ∈ Ideal.span {e} := hC ▸ Ideal.mem_map_of_mem q hx |
| 29 | obtain ⟨c, hc⟩ := Ideal.mem_span_singleton.mp hqx |
| 30 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective c |
| 31 | have hdiff : x - r * a ∈ K := by |
| 32 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 33 | change q (x - r * a) = 0 |
| 34 | rw [map_sub, map_mul, hqr, hc, sub_self] |
| 35 | have hrmul : r * a ∈ Ideal.span {r} := Ideal.mul_mem_right a _ (Ideal.mem_span_singleton_self r) |
| 36 | have hsum := (Ideal.span {r} ⊔ K).add_mem |
| 37 | ((show K ≤ Ideal.span {r} ⊔ K from le_sup_right) hdiff) |
| 38 | ((show Ideal.span {r} ≤ Ideal.span {r} ⊔ K from le_sup_left) hrmul) |
| 39 | simpa only [sub_add_cancel] using hsum |
| 40 | · exact sup_le ((Ideal.span_singleton_le_iff_mem I).mpr hr) |
| 41 | hK |
| 42 | |
| 43 | theorem idempotent_general_quotient_center_map_complement (I K : Ideal R) (r : R) |
| 44 | (hI : I = Ideal.span {r} ⊔ K) (hrel : r * (1 - r) ∈ K) : |
| 45 | I.map (algebraMap R (Localization.Away (1 - r))) = |
| 46 | K.map (algebraMap R (Localization.Away (1 - r))) := by |
| 47 | let S := Localization.Away (1 - r) |
| 48 | let f := algebraMap R S |
| 49 | obtain ⟨u, hu⟩ := IsLocalization.Away.algebraMap_isUnit (R := R) (S := S) (1 - r) |
| 50 | have hprod : f r * f (1 - r) ∈ K.map f := by |
| 51 | simpa only [map_mul] using Ideal.mem_map_of_mem f hrel |
| 52 | have hr : f r ∈ K.map f := by |
| 53 | have h := (K.map f).mul_mem_right (↑u⁻¹ : S) hprod |
| 54 | rw [← hu, mul_assoc, Units.mul_inv, mul_one] at h |
| 55 | exact h |
| 56 | rw [hI, Ideal.map_sup, Ideal.map_span, Set.image_singleton] |
| 57 | exact sup_eq_right.mpr ((Ideal.span_singleton_le_iff_mem _).mpr hr) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Resolution.Blowups.GeneralIdempotentQuotientCenter.Construction |