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.ZeroDimensionalCoefficientCenter |
| 2 | import Mathlib.RingTheory.Localization.Away.Basic |
| 3 | |
| 4 | /-! # Idempotent Quotient Center -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.IdempotentQuotientCenter.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Two principal neighborhoods for centers inside a zero-dimensional reduced hypersurface. -/ |
| 11 | |
| 12 | variable {R : Type*} [CommRing R] |
| 13 | |
| 14 | /-- Lifting the idempotent generator of the quotient center gives two ambient |
| 15 | generators, with their product relation lying in the hypersurface equation. -/ |
| 16 | theorem zero_dimensional_hypersurface_center_generators (z : R) |
| 17 | [IsNoetherianRing (R ⧸ Ideal.span {z})] [IsReduced (R ⧸ Ideal.span {z})] |
| 18 | (hd : ringKrullDim (R ⧸ Ideal.span {z}) ≤ 0) (I : Ideal R) (hz : z ∈ I) : |
| 19 | ∃ r ∈ I, I = Ideal.span {r} ⊔ Ideal.span {z} ∧ r * (1 - r) ∈ Ideal.span {z} := by |
| 20 | let q := Ideal.Quotient.mk (Ideal.span {z}) |
| 21 | obtain ⟨e, he, hC⟩ := ZeroDimensionalCoefficientCenter.Construction.zero_dimensional_ideal_idempotent_generator hd (I.map q) |
| 22 | have heC : e ∈ I.map q := hC.symm ▸ Ideal.mem_span_singleton_self e |
| 23 | obtain ⟨r, hr, hqr⟩ := (Ideal.mem_map_iff_of_surjective q Ideal.Quotient.mk_surjective).mp heC |
| 24 | have hrel : r * (1 - r) ∈ Ideal.span {z} := by |
| 25 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 26 | change q (r * (1 - r)) = 0 |
| 27 | rw [map_mul, map_sub, map_one, hqr, mul_sub, mul_one, he.eq, sub_self] |
| 28 | refine ⟨r, hr, ?_, hrel⟩ |
| 29 | apply le_antisymm |
| 30 | · intro x hx |
| 31 | have hqx : q x ∈ Ideal.span {e} := hC ▸ Ideal.mem_map_of_mem q hx |
| 32 | obtain ⟨c, hc⟩ := Ideal.mem_span_singleton.mp hqx |
| 33 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective c |
| 34 | have hdiff : x - r * a ∈ Ideal.span {z} := by |
| 35 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 36 | change q (x - r * a) = 0 |
| 37 | rw [map_sub, map_mul, hqr, hc, sub_self] |
| 38 | have hrmul : r * a ∈ Ideal.span {r} := Ideal.mul_mem_right a _ (Ideal.mem_span_singleton_self r) |
| 39 | have hsum := (Ideal.span {r} ⊔ Ideal.span {z}).add_mem |
| 40 | ((show Ideal.span {z} ≤ Ideal.span {r} ⊔ Ideal.span {z} from le_sup_right) hdiff) |
| 41 | ((show Ideal.span {r} ≤ Ideal.span {r} ⊔ Ideal.span {z} from le_sup_left) hrmul) |
| 42 | simpa only [sub_add_cancel] using hsum |
| 43 | · exact sup_le ((Ideal.span_singleton_le_iff_mem I).mpr hr) |
| 44 | ((Ideal.span_singleton_le_iff_mem I).mpr hz) |
| 45 | |
| 46 | /-- On the open where the lifted idempotent is invertible, the center ideal |
| 47 | is the unit ideal. -/ |
| 48 | theorem center_map_away_member_eq_top (I : Ideal R) (r : R) (hr : r ∈ I) : |
| 49 | I.map (algebraMap R (Localization.Away r)) = ⊤ := by |
| 50 | apply Ideal.eq_top_of_isUnit_mem _ (Ideal.mem_map_of_mem _ hr) |
| 51 | exact IsLocalization.Away.algebraMap_isUnit r |
| 52 | |
| 53 | /-- On the complementary principal neighborhood, the hypersurface equation |
| 54 | alone generates the center. -/ |
| 55 | theorem idempotent_quotient_center_map_complement (I : Ideal R) (r z : R) |
| 56 | (hI : I = Ideal.span {r} ⊔ Ideal.span {z}) (hrel : r * (1 - r) ∈ Ideal.span {z}) : |
| 57 | I.map (algebraMap R (Localization.Away (1 - r))) = |
| 58 | Ideal.span {algebraMap R (Localization.Away (1 - r)) z} := by |
| 59 | let S := Localization.Away (1 - r) |
| 60 | let f := algebraMap R S |
| 61 | have hunit : IsUnit (f (1 - r)) := IsLocalization.Away.algebraMap_isUnit (1 - r) |
| 62 | obtain ⟨u, hu⟩ := hunit |
| 63 | have hprod : f r * f (1 - r) ∈ Ideal.span {f z} := by |
| 64 | have h := Ideal.mem_map_of_mem f hrel |
| 65 | simpa only [map_mul, Ideal.map_span, Set.image_singleton] using h |
| 66 | have hr : f r ∈ Ideal.span {f z} := by |
| 67 | have h := (Ideal.span {f z}).mul_mem_right (↑u⁻¹ : S) hprod |
| 68 | rw [← hu, mul_assoc, Units.mul_inv, mul_one] at h |
| 69 | exact h |
| 70 | rw [hI, Ideal.map_sup, Ideal.map_span, Ideal.map_span, Set.image_singleton, Set.image_singleton] |
| 71 | exact sup_eq_right.mpr ((Ideal.span_singleton_le_iff_mem _).mpr hr) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Resolution.Blowups.IdempotentQuotientCenter.Construction |