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 | /-! # Affine Point Detection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.AffinePointDetection |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Open subsets are determined by which affine scheme maps land in them. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem opens_eq_of_affine_range_iff {X : Scheme.{u}} (U V : X.Opens) |
| 16 | (h : ∀ (R : CommRingCat.{u}) (x : Spec R ⟶ X), |
| 17 | Set.range x ⊆ (U : Set X) ↔ Set.range x ⊆ (V : Set X)) : U = V := by |
| 18 | apply TopologicalSpace.Opens.ext |
| 19 | apply Set.ext |
| 20 | intro p |
| 21 | have hp := h (X.residueField p) (X.fromSpecResidueField p) |
| 22 | rw [Scheme.range_fromSpecResidueField, Set.singleton_subset_iff, Set.singleton_subset_iff] at hp |
| 23 | exact hp |
| 24 | |
| 25 | end |
| 26 | |
| 27 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.AffinePointDetection |