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.Morphisms.Smooth |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 3 | |
| 4 | /-! # Proper Local Base Smoothness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.ProperLocalBaseSmoothness.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A closed map to the spectrum of a local ring has no nonempty closed |
| 11 | subset avoiding the closed fiber. Thus an open smooth locus containing |
| 12 | that entire fiber is the whole source. -/ |
| 13 | |
| 14 | open Set _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem open_eq_univ_of_closed_fiber {R X : Type*} [CommRing R] [IsLocalRing R] |
| 17 | [TopologicalSpace X] (f : X → PrimeSpectrum R) (hf : IsClosedMap f) |
| 18 | (U : Set X) (hU : IsOpen U) |
| 19 | (hfiber : ∀ x, f x = IsLocalRing.closedPoint R → x ∈ U) : U = univ := by |
| 20 | apply Set.eq_univ_of_forall |
| 21 | intro x |
| 22 | by_contra hx |
| 23 | have hc : IsClosed (f '' Uᶜ) := hf Uᶜ hU.isClosed_compl |
| 24 | have hm : IsLocalRing.closedPoint R ∈ f '' Uᶜ := |
| 25 | (IsLocalRing.specializes_closedPoint (f x)).mem_closed hc ⟨x, hx, rfl⟩ |
| 26 | obtain ⟨y, hy, he⟩ := hm |
| 27 | exact hy (hfiber y he) |
| 28 | |
| 29 | theorem scheme_smooth_of_entire_closed_fiber {R : Type} [CommRing R] [IsLocalRing R] |
| 30 | {X : Scheme} (f : X ⟶ Spec (CommRingCat.of R)) [UniversallyClosed f] [LocallyOfFinitePresentation f] |
| 31 | (hfiber : ∀ x : X, f x = IsLocalRing.closedPoint R → x ∈ f.smoothLocus) : Smooth f := by |
| 32 | apply Scheme.Hom.smoothLocus_eq_top_iff.mp |
| 33 | apply TopologicalSpace.Opens.ext |
| 34 | exact open_eq_univ_of_closed_fiber f f.isClosedMap f.smoothLocus f.smoothLocus.isOpen hfiber |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.ProperLocalBaseSmoothness.Geometric |