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.AbelianModuli.HilbertConstruction.Noetherian.ConnectedComponents |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 3 | |
| 4 | /-! # Affine Neighborhoods -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Connected.AffineNeighborhoods |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every point of a locally Noetherian scheme has a connected Noetherian affine open neighborhood, obtained from a closed connected component of an affine chart. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem noetherianConnectedComponentOpen_affine |
| 15 | (X : Scheme.{u}) [IsNoetherian X] [IsAffine X] (x : X) : |
| 16 | IsAffine (Noetherian.ConnectedComponents.noetherianConnectedComponentOpen X x).toScheme := by |
| 17 | let U := Noetherian.ConnectedComponents.noetherianConnectedComponentOpen X x |
| 18 | have hU : IsClosed (U : Set X) := isClosed_connectedComponent |
| 19 | have : IsClosedImmersion U.ι := IsClosedImmersion.of_isPreimmersion U.ι |
| 20 | (U.range_ι.symm ▸ hU) |
| 21 | exact isAffine_of_isAffineHom U.ι |
| 22 | |
| 23 | theorem exists_connected_affine_openNeighborhood |
| 24 | (S : Scheme.{u}) [IsLocallyNoetherian S] (x : S) : |
| 25 | ∃ (Y : Scheme.{u}) (f : Y ⟶ S), IsOpenImmersion f ∧ IsAffine Y ∧ IsNoetherian Y ∧ |
| 26 | ConnectedSpace Y ∧ x ∈ Set.range f := by |
| 27 | obtain ⟨_, ⟨U : S.Opens, hU, rfl⟩, hx, _⟩ := |
| 28 | S.isBasis_affineOpens.exists_subset_of_mem_open (Set.mem_univ x) isOpen_univ |
| 29 | have : IsAffine U.toScheme := hU |
| 30 | have : IsNoetherianRing Γ(U.toScheme, ⊤) := |
| 31 | IsLocallyNoetherian.component_noetherian ⟨⊤, isAffineOpen_top _⟩ |
| 32 | have : IsNoetherian U.toScheme := |
| 33 | (isNoetherian_iff_of_finite_iSup_eq_top |
| 34 | (S := fun _ : Unit => (⟨⊤, isAffineOpen_top U.toScheme⟩ : U.toScheme.affineOpens)) (by simp)).mpr |
| 35 | (fun _ => inferInstance) |
| 36 | let y : U.toScheme := ⟨x, hx⟩ |
| 37 | let V := Noetherian.ConnectedComponents.noetherianConnectedComponentOpen U.toScheme y |
| 38 | have : IsAffine V.toScheme := noetherianConnectedComponentOpen_affine U.toScheme y |
| 39 | have hVloc : IsLocallyNoetherian V.toScheme := |
| 40 | @isLocallyNoetherian_of_isOpenImmersion V.toScheme U.toScheme V.ι inferInstance inferInstance |
| 41 | have : IsNoetherian V.toScheme := |
| 42 | { toIsLocallyNoetherian := hVloc, toCompactSpace := inferInstance } |
| 43 | have : ConnectedSpace V.toScheme := Noetherian.ConnectedComponents.noetherianConnectedComponentOpen_connected U.toScheme y |
| 44 | refine ⟨V.toScheme, V.ι ≫ U.ι, inferInstance, inferInstance, inferInstance, inferInstance, ?_⟩ |
| 45 | exact ⟨⟨y, mem_connectedComponent⟩, rfl⟩ |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Connected.AffineNeighborhoods |