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 Mathlib.AlgebraicGeometry.ResidueField |
| 2 | |
| 3 | /-! # Residue Detection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineOpen.ResidueDetection |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An open subset of an affine scheme is the whole scheme exactly when every residue-field point factors through it. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem affineResiduePoint_image (R : CommRingCat.{u}) (p : PrimeSpectrum R) : |
| 16 | (Spec.map (CommRingCat.ofHom (algebraMap R p.asIdeal.ResidueField))) |
| 17 | (⊥ : PrimeSpectrum p.asIdeal.ResidueField) = p := by |
| 18 | apply PrimeSpectrum.ext |
| 19 | change RingHom.ker (algebraMap R p.asIdeal.ResidueField) = p.asIdeal |
| 20 | exact p.asIdeal.ker_algebraMap_residueField |
| 21 | |
| 22 | theorem affineOpen_eq_top_iff_residuePoints (R : CommRingCat.{u}) (U : (Spec R).Opens) : |
| 23 | U = ⊤ ↔ ∀ p : PrimeSpectrum R, |
| 24 | (Spec.map (CommRingCat.ofHom (algebraMap R p.asIdeal.ResidueField))) ⁻¹ᵁ U = ⊤ := by |
| 25 | constructor |
| 26 | · intro h p |
| 27 | rw [h, Scheme.Hom.preimage_top] |
| 28 | · intro h |
| 29 | apply top_unique |
| 30 | intro p _ |
| 31 | change PrimeSpectrum R at p |
| 32 | have hp : (⊥ : PrimeSpectrum p.asIdeal.ResidueField) ∈ |
| 33 | (Spec.map (CommRingCat.ofHom (algebraMap R p.asIdeal.ResidueField))) ⁻¹ᵁ U := by |
| 34 | rw [h p] |
| 35 | trivial |
| 36 | change (Spec.map (CommRingCat.ofHom (algebraMap R p.asIdeal.ResidueField))) |
| 37 | (⊥ : PrimeSpectrum p.asIdeal.ResidueField) ∈ U at hp |
| 38 | rwa [affineResiduePoint_image] at hp |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineOpen.ResidueDetection |