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.NormalPrincipalAssociated |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PrimeQuotientLocalization |
| 3 | import Mathlib.RingTheory.Regular.IsSMulRegular |
| 4 | |
| 5 | /-! # Normal Principal Regular -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NormalPrincipalRegular |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! In a normal Noetherian domain, a function avoiding the height-one |
| 12 | components of a principal divisor acts regularly on its actual quotient. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable (R : Type*) [CommRing R] [IsDomain R] [IsNoetherianRing R] [IsIntegrallyClosed R] |
| 17 | |
| 18 | theorem regular (f g : R) (hf : f ≠ 0) |
| 19 | (havoid : ∀ (p : Ideal R) [p.IsPrime], p.height = 1 → f ∈ p → g ∉ p) : |
| 20 | IsSMulRegular (R ⧸ Ideal.span {f}) g := by |
| 21 | intro x y hxy |
| 22 | change g • x = g • y at hxy |
| 23 | by_contra hn |
| 24 | have hne : x - y ≠ 0 := sub_ne_zero.mpr hn |
| 25 | obtain ⟨p, hp, hle⟩ := exists_le_isAssociatedPrime_of_isNoetherianRing R _ hne |
| 26 | let := hp.isPrime |
| 27 | have hheight := NormalPrincipalAssociated.height_one R f hf p hp |
| 28 | have hfp : f ∈ p := by |
| 29 | apply hle |
| 30 | rw [Submodule.mem_colon_singleton, Submodule.mem_bot] |
| 31 | exact PrimeQuotientLocalization.annihilated R (Ideal.span {f}) f |
| 32 | (Ideal.subset_span (Set.mem_singleton f)) (x - y) |
| 33 | apply havoid p hheight hfp |
| 34 | apply hle |
| 35 | rw [Submodule.mem_colon_singleton, Submodule.mem_bot, smul_sub, hxy, sub_self] |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NormalPrincipalRegular |