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.Etale.LocalDomain |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.LocalContainmentNeighborhood |
| 3 | |
| 4 | /-! # Neighborhood -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Integral.Neighborhood.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual integral affine neighborhoods at points with domain local rings. -/ |
| 11 | |
| 12 | section |
| 13 | |
| 14 | variable {R : Type*} [CommRing R] [IsNoetherianRing R] |
| 15 | |
| 16 | /-- A domain local ring on a Noetherian affine scheme has an actual |
| 17 | principal integral neighborhood. The localization kernel is finitely generated, |
| 18 | so it can be killed on one principal open containing the chosen point. -/ |
| 19 | theorem exists_domain_principal_neighborhood (q : Ideal R) [q.IsPrime] |
| 20 | [IsDomain (Localization.AtPrime q)] : |
| 21 | ∃ f ∉ q, IsDomain (Localization.Away f) := by |
| 22 | let T := Localization.AtPrime q |
| 23 | let P := RingHom.ker (algebraMap R T) |
| 24 | have hP : P.map (algebraMap R T) = (⊥ : Ideal R).map (algebraMap R T) := by |
| 25 | rw [Ideal.map_bot] |
| 26 | rw [Ideal.map_eq_bot_iff_le_ker] |
| 27 | obtain ⟨f, hf, hmap⟩ := LocalContainmentNeighborhood.Construction.exists_neighborhood_ideal_equality P ⊥ q |
| 28 | (IsNoetherian.noetherian P) (IsNoetherian.noetherian (⊥ : Ideal R)) hP |
| 29 | let A := Localization.Away f |
| 30 | have hunit : IsUnit (algebraMap R T f) := IsLocalization.map_units T (⟨f, hf⟩ : q.primeCompl) |
| 31 | let φ : A →+* T := IsLocalization.Away.lift (g := algebraMap R T) f hunit |
| 32 | have hφ : Function.Injective φ := by |
| 33 | apply (RingHom.injective_iff_ker_eq_bot φ).mpr |
| 34 | apply bot_unique |
| 35 | intro x hx |
| 36 | change φ x = 0 at hx |
| 37 | obtain ⟨⟨r, s⟩, he⟩ := IsLocalization.surj (Submonoid.powers f) x |
| 38 | have hr : algebraMap R T r = 0 := by |
| 39 | have h := congrArg φ he |
| 40 | rw [map_mul, hx, zero_mul] at h |
| 41 | exact (IsLocalization.Away.lift_eq f hunit r).symm.trans h.symm |
| 42 | have hrA : algebraMap R A r = 0 := by |
| 43 | have h := Ideal.mem_map_of_mem (algebraMap R A) (show r ∈ P from hr) |
| 44 | rw [hmap, Ideal.map_bot] at h |
| 45 | exact (Submodule.mem_bot A).mp h |
| 46 | have hzero : x * algebraMap R A s.val = 0 := he.trans hrA |
| 47 | apply (Ideal.unit_mul_mem_iff_mem (⊥ : Ideal A) (IsLocalization.map_units A s)).mp |
| 48 | change algebraMap R A s.val * x = 0 |
| 49 | rw [mul_comm] |
| 50 | exact hzero |
| 51 | exact ⟨f, hf, hφ.isDomain φ⟩ |
| 52 | |
| 53 | end |
| 54 | |
| 55 | variable {σ k R : Type*} [Field k] [IsAlgClosed k] [CommRing R] [Finite σ] |
| 56 | [Algebra (MvPolynomial σ k) R] [Algebra.Etale (MvPolynomial σ k) R] |
| 57 | |
| 58 | /-- The integral neighborhood retains the actual étale polynomial |
| 59 | coordinates and contains the specified closed point. -/ |
| 60 | theorem exists_integral_etale_principal_neighborhood (q : Ideal R) [q.IsMaximal] : |
| 61 | ∃ f ∉ q, Algebra.Etale (MvPolynomial σ k) (Localization.Away f) ∧ |
| 62 | IsDomain (Localization.Away f) := by |
| 63 | let : IsNoetherianRing R := Algebra.FiniteType.isNoetherianRing (MvPolynomial σ k) R |
| 64 | let : IsDomain (Localization.AtPrime q) := Blowups.Etale.LocalDomain.Construction.etale_closed_localRing_isDomain (σ := σ) (K := k) q |
| 65 | obtain ⟨f, hf, hdomain⟩ := exists_domain_principal_neighborhood q |
| 66 | let : Algebra.Etale R (Localization.Away f) := Algebra.Etale.of_isLocalizationAway f |
| 67 | exact ⟨f, hf, Algebra.Etale.comp (MvPolynomial σ k) R (Localization.Away f), hdomain⟩ |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.Resolution.Blowups.Integral.Neighborhood.Construction |