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.HilbertScheme.Presentations.Closed.PointFlatness |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 3 | |
| 4 | /-! # Closed Fiber Flatness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Proper.ClosedFiberFlatness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! For a proper family over a local base, local spectra above the |
| 11 | closed base point suffice to test flatness everywhere. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem proper_closedPoint_maps_to_closedPoint |
| 18 | (A : CommRingCat.{u}) [IsLocalRing A] {X : Scheme.{u}} |
| 19 | (f : X ⟶ Spec A) [IsProper f] (x : X) (hx : IsClosed ({x} : Set X)) : |
| 20 | f x = IsLocalRing.closedPoint A := by |
| 21 | have hfx : IsClosed ({f x} : Set (Spec A)) := by |
| 22 | simpa only [Set.image_singleton] using f.isClosedMap {x} hx |
| 23 | have hc : IsLocalRing.closedPoint A ∈ closure ({f x} : Set (Spec A)) := |
| 24 | specializes_iff_mem_closure.mp (IsLocalRing.specializes_closedPoint (f x)) |
| 25 | have he : IsLocalRing.closedPoint A = f x := by |
| 26 | simpa only [hfx.closure_eq, Set.mem_singleton_iff] using! hc |
| 27 | exact he.symm |
| 28 | |
| 29 | theorem proper_flat_of_closedFiberStalks |
| 30 | (A : CommRingCat.{u}) [IsLocalRing A] {X : Scheme.{u}} |
| 31 | (f : X ⟶ Spec A) [IsProper f] |
| 32 | (h : ∀ x : X, f x = IsLocalRing.closedPoint A → Flat (X.fromSpecStalk x ≫ f)) : |
| 33 | Flat f := by |
| 34 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 35 | apply Closed.PointFlatness.flat_of_closed_sourceStalks f |
| 36 | intro x hx |
| 37 | exact h x (proper_closedPoint_maps_to_closedPoint A f x hx) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Proper.ClosedFiberFlatness |