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.PolynomialTranslation |
| 2 | import Mathlib.RingTheory.Unramified.LocalRing |
| 3 | import Mathlib.RingTheory.Etale.Basic |
| 4 | |
| 5 | /-! # Local Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Etale.LocalCoordinates.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Generators of the maximal ideal at a point of an étale polynomial neighborhood. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial |
| 14 | |
| 15 | variable {σ R : Type*} [CommRing R] |
| 16 | |
| 17 | /-- The polynomial point ideal is generated by the centered coordinates. -/ |
| 18 | theorem polynomialPointIdeal_eq_span_coordinates (x : σ → R) : |
| 19 | PolynomialTranslation.Construction.polynomialPointIdeal x = Ideal.span (Set.range (fun i => X i - C (x i))) := by |
| 20 | have he : (PolynomialTranslation.Construction.polynomialTranslate (-x)).toRingHom.comp (PolynomialTranslation.Construction.polynomialTranslate x).toRingHom = |
| 21 | RingHom.id (MvPolynomial σ R) := by |
| 22 | change ((PolynomialTranslation.Construction.polynomialTranslate (-x)).comp (PolynomialTranslation.Construction.polynomialTranslate x)).toRingHom = _ |
| 23 | rw [PolynomialTranslation.Construction.polynomialTranslate_add, neg_add_cancel, PolynomialTranslation.Construction.polynomialTranslate_zero] |
| 24 | rfl |
| 25 | have h := congrArg (fun I : Ideal (MvPolynomial σ R) => I.map (PolynomialTranslation.Construction.polynomialTranslate (-x)).toRingHom) |
| 26 | (PolynomialTranslation.Construction.polynomialPointIdeal_map_translate x) |
| 27 | rw [Ideal.map_map, he, Ideal.map_id] at h |
| 28 | rw [h, Ideal.map_span, ← Set.range_comp] |
| 29 | apply congrArg (fun f : σ → MvPolynomial σ R => Ideal.span (Set.range f)) |
| 30 | funext i |
| 31 | simp [sub_eq_add_neg] |
| 32 | |
| 33 | variable {K S : Type*} [Field K] [CommRing S] |
| 34 | [Algebra (MvPolynomial σ K) S] [Algebra.Etale (MvPolynomial σ K) S] |
| 35 | |
| 36 | /-- Unramifiedness makes the polynomial point ideal generate the maximal |
| 37 | ideal in the actual local ring of any point above it. -/ |
| 38 | theorem etale_local_maximalIdeal_eq_map_point (x : σ → K) (q : Ideal S) [q.IsPrime] |
| 39 | [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] : |
| 40 | (PolynomialTranslation.Construction.polynomialPointIdeal x).map (algebraMap (MvPolynomial σ K) (Localization.AtPrime q)) = |
| 41 | IsLocalRing.maximalIdeal (Localization.AtPrime q) := by |
| 42 | let : (PolynomialTranslation.Construction.polynomialPointIdeal x).IsPrime := RingHom.ker_isPrime (eval x) |
| 43 | let : Algebra (Localization.AtPrime (PolynomialTranslation.Construction.polynomialPointIdeal x)) (Localization.AtPrime q) := |
| 44 | Localization.AtPrime.algebraOfLiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x) q |
| 45 | let : IsScalarTower (MvPolynomial σ K) (Localization.AtPrime (PolynomialTranslation.Construction.polynomialPointIdeal x)) |
| 46 | (Localization.AtPrime q) := inferInstance |
| 47 | exact ((Algebra.isUnramifiedAt_iff_map_eq (MvPolynomial σ K) (PolynomialTranslation.Construction.polynomialPointIdeal x) q).mp inferInstance).2 |
| 48 | |
| 49 | /-- Centered polynomial coordinates generate the actual local maximal |
| 50 | ideal after an étale ambient map. -/ |
| 51 | theorem etale_local_maximalIdeal_eq_span_coordinates (x : σ → K) (q : Ideal S) [q.IsPrime] |
| 52 | [q.LiesOver (PolynomialTranslation.Construction.polynomialPointIdeal x)] : |
| 53 | IsLocalRing.maximalIdeal (Localization.AtPrime q) = |
| 54 | Ideal.span (Set.range (fun i => |
| 55 | algebraMap (MvPolynomial σ K) (Localization.AtPrime q) (X i - C (x i)))) := by |
| 56 | rw [← etale_local_maximalIdeal_eq_map_point x q, polynomialPointIdeal_eq_span_coordinates, |
| 57 | Ideal.map_span, ← Set.range_comp] |
| 58 | rfl |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Resolution.Blowups.Etale.LocalCoordinates.Construction |