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.NeighborhoodCoefficientOrder |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coordinate.Regularity |
| 3 | import Mathlib.RingTheory.KrullDimension.NonZeroDivisors |
| 4 | |
| 5 | /-! # Hypersurface Dimension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.HypersurfaceDimension.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Dimension reduction for the actual derivative hypersurface neighborhood. -/ |
| 12 | |
| 13 | variable {A B : Type*} [CommRing A] [CommRing B] [Algebra A B] |
| 14 | |
| 15 | /-- Localization cannot increase Krull dimension: contraction embeds |
| 16 | chains of prime ideals into chains in the original ring. -/ |
| 17 | theorem localization_ringKrullDim_le (M : Submonoid A) [IsLocalization M B] : |
| 18 | ringKrullDim B ≤ ringKrullDim A := by |
| 19 | apply Order.krullDim_le_of_strictMono (PrimeSpectrum.comap (algebraMap A B)) |
| 20 | intro p q hpq |
| 21 | exact (IsLocalization.orderEmbedding M B).strictMono hpq |
| 22 | |
| 23 | variable {k : Type*} [CommRing k] [Algebra k A] [Algebra ℚ A] [IsNoetherianRing A] |
| 24 | |
| 25 | /-- The hypersurface equation is a non-zero-divisor on the chosen |
| 26 | ambient neighborhood, including when the original algebra is not integral. -/ |
| 27 | theorem differentialHypersurfaceNeighborhood_equation_regular (D : Derivation k A A) (z : A) : |
| 28 | IsRegular (algebraMap A (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) z) := by |
| 29 | apply Coordinate.Regularity.Construction.coordinate_isRegular (NeighborhoodCoefficientOrder.Construction.normalizedNeighborhoodDerivation D z) |
| 30 | exact NeighborhoodCoefficientOrder.Construction.normalizedNeighborhoodDerivation_equation D z |
| 31 | |
| 32 | /-- Passing to the actual hypersurface drops dimension by at least one. -/ |
| 33 | theorem differentialHypersurfaceNeighborhood_dimension_drop (D : Derivation k A A) (z : A) : |
| 34 | ringKrullDim (DifferentialHypersurfaceNeighborhood.Construction.differentialHypersurfaceNeighborhood D z) + 1 ≤ |
| 35 | ringKrullDim (DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) := |
| 36 | ringKrullDim_quotient_succ_le_of_nonZeroDivisor |
| 37 | (differentialHypersurfaceNeighborhood_equation_regular D z).mem_nonZeroDivisors |
| 38 | |
| 39 | /-- The dimension bound also holds relative to the original ambient algebra. -/ |
| 40 | theorem differentialHypersurfaceNeighborhood_dimension_bound (D : Derivation k A A) (z : A) : |
| 41 | ringKrullDim (DifferentialHypersurfaceNeighborhood.Construction.differentialHypersurfaceNeighborhood D z) + 1 ≤ ringKrullDim A := |
| 42 | (differentialHypersurfaceNeighborhood_dimension_drop D z).trans |
| 43 | (localization_ringKrullDim_le (B := DifferentialHypersurfaceNeighborhood.Construction.derivationNeighborhood D z) (Submonoid.powers (D z))) |
| 44 | |
| 45 | /-- A natural-number bound on ambient dimension decreases by one, |
| 46 | giving the dimension parameter for induction on the hypersurface. -/ |
| 47 | theorem differentialHypersurfaceNeighborhood_dimension_induction (D : Derivation k A A) |
| 48 | (z : A) (d : ℕ) (hd : ringKrullDim A ≤ (d + 1 : ℕ)) : |
| 49 | ringKrullDim (DifferentialHypersurfaceNeighborhood.Construction.differentialHypersurfaceNeighborhood D z) ≤ d := by |
| 50 | have h := (differentialHypersurfaceNeighborhood_dimension_bound D z).trans hd |
| 51 | rw [Nat.cast_add, Nat.cast_one] at h |
| 52 | exact ENat.WithBot.add_le_add_one_right_iff.mp h |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.Resolution.Blowups.HypersurfaceDimension.Construction |