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.IntersectionTheory.ProjectionFormula.Regular.SequenceDimensionVanishing |
| 2 | |
| 3 | /-! # Spectrum Rank -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.SpectrumRank |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A strictly decreasing dimension function on an ambient spectrum |
| 10 | gives a finite rank on an embedded local spectrum after subtracting |
| 11 | its value at the closed point. This rank bounds native quotient dimensions. -/ |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | open _root_.Order |
| 16 | |
| 17 | theorem dimension_le_rank (R : Type u) [CommRing R] |
| 18 | (ρ : PrimeSpectrum R → ℕ) (hρ : StrictAnti ρ) (p : PrimeSpectrum R) : |
| 19 | ringKrullDim (R ⧸ p.asIdeal) ≤ (ρ p : WithBot ℕ∞) := by |
| 20 | have h : coheight p ≤ (ρ p : ℕ∞) := by |
| 21 | simpa only [coheight_toDual, height_nat] using |
| 22 | coheight_le_coheight_apply_of_strictMono (fun q => OrderDual.toDual (ρ q)) hρ p |
| 23 | rw [ringKrullDim_quotient] |
| 24 | change krullDim (Set.Ici p) ≤ _ |
| 25 | rw [← coheight_eq_krullDim_Ici] |
| 26 | exact WithBot.coe_le_coe.mpr h |
| 27 | |
| 28 | variable (R : Type u) (S : Type v) [CommRing R] [CommRing S] [IsLocalRing S] |
| 29 | (f : R →+* S) (hf : StrictMono (PrimeSpectrum.comap f)) |
| 30 | (δ : PrimeSpectrum R → ℕ) (hδ : StrictAnti δ) |
| 31 | |
| 32 | def rank (p : PrimeSpectrum S) : ℕ := |
| 33 | δ (PrimeSpectrum.comap f p) - δ (PrimeSpectrum.comap f (IsLocalRing.closedPoint S)) |
| 34 | |
| 35 | include hf hδ |
| 36 | |
| 37 | theorem closed_le (p : PrimeSpectrum S) : |
| 38 | δ (PrimeSpectrum.comap f (IsLocalRing.closedPoint S)) ≤ δ (PrimeSpectrum.comap f p) := by |
| 39 | apply hδ.antitone |
| 40 | apply hf.monotone |
| 41 | exact IsLocalRing.le_maximalIdeal p.isPrime.ne_top |
| 42 | |
| 43 | theorem strict : StrictAnti (rank R S f δ) := by |
| 44 | intro p q hpq |
| 45 | have h := hδ (hf hpq) |
| 46 | have hc := closed_le R S f hf δ hδ q |
| 47 | unfold rank |
| 48 | omega |
| 49 | |
| 50 | theorem dimension (p : PrimeSpectrum S) : |
| 51 | ringKrullDim (S ⧸ p.asIdeal) ≤ |
| 52 | (δ (PrimeSpectrum.comap f p) - δ (PrimeSpectrum.comap f (IsLocalRing.closedPoint S)) : ℕ) := |
| 53 | dimension_le_rank S (rank R S f δ) (strict R S f hf δ hδ) p |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.SpectrumRank |