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.PELModuli.IntegralModel.Projective.Neighborhoods |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.DisjointOpenCoverFinite |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective |
| 4 | import Mathlib.Algebra.CharZero.Infinite |
| 5 | |
| 6 | /-! # Partition Affine -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Projective.PartitionAffine |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A finite disjoint open cover by projective varieties gives affine |
| 13 | neighborhoods of all finite subsets of the actual scheme. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective |
| 18 | |
| 19 | theorem projective_partition_finite_set_affine {I : Type} [Finite I] |
| 20 | (V : I → Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) {X : Scheme.{0}} |
| 21 | (f : ∀ i, (V i).carrier ⟶ X) [∀ i, IsOpenImmersion (f i)] |
| 22 | (hd : Pairwise (fun i j => Disjoint (Set.range (f i)) (Set.range (f j)))) |
| 23 | (hcover : (⋃ i, Set.range (f i)) = Set.univ) |
| 24 | (F : Set X) (hF : F.Finite) : |
| 25 | ∃ U : X.Opens, IsAffineOpen U ∧ F ⊆ U := by |
| 26 | classical |
| 27 | have hlocal (i : I) : ∃ U : (V i).carrier.Opens, |
| 28 | IsAffineOpen U ∧ (f i) ⁻¹' F ⊆ U := |
| 29 | Neighborhoods.finite_set_affine_neighborhood_of_projective_embedding (K := ℂ) |
| 30 | (V i).ambientDimension (V i).embedding ((f i) ⁻¹' F) |
| 31 | (hF.preimage (f i).isOpenEmbedding.injective.injOn) |
| 32 | choose U hU hFU using hlocal |
| 33 | let W (i : I) : X.Opens := (f i) ''ᵁ U i |
| 34 | have hW (i : I) : IsAffineOpen (W i) := (hU i).image_of_isOpenImmersion (f i) |
| 35 | have hdis : Pairwise (fun i j => Disjoint (W i) (W j)) := by |
| 36 | intro i j hij |
| 37 | apply Opens.coe_disjoint.mp |
| 38 | exact (hd hij).mono (Set.image_subset_range _ _) (Set.image_subset_range _ _) |
| 39 | refine ⟨⨆ i, W i, IsAffineOpen.iSup_of_disjoint hW hdis, ?_⟩ |
| 40 | intro x hx |
| 41 | have hxcover : x ∈ ⋃ i, Set.range (f i) := by rw [hcover]; trivial |
| 42 | obtain ⟨i, y, rfl⟩ := Set.mem_iUnion.mp hxcover |
| 43 | exact Opens.mem_iSup.mpr ⟨i, y, hFU i hx, rfl⟩ |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Projective.PartitionAffine |