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.ClosedImmersion |
| 2 | import Mathlib.AlgebraicGeometry.Limits |
| 3 | |
| 4 | /-! # Disjoint Closed Coproduct -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.DisjointClosedCoproduct |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finitely many disjoint closed immersions form a closed immersion |
| 11 | from their actual scheme coproduct. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.Topology |
| 14 | |
| 15 | variable {I : Type} [Finite I] {X : I → Scheme.{0}} {Y : Scheme.{0}} |
| 16 | (f : ∀ i, X i ⟶ Y) [∀ i, IsClosedImmersion (f i)] |
| 17 | |
| 18 | theorem finite_disjoint_closed_sigmaDesc |
| 19 | (hd : Pairwise (fun i j => Disjoint (Set.range (f i)) (Set.range (f j)))) : |
| 20 | IsClosedImmersion (Sigma.desc f) := by |
| 21 | have : SurjectiveOnStalks (Sigma.desc f) := |
| 22 | IsZariskiLocalAtSource.sigmaDesc (P := @SurjectiveOnStalks) (fun i => inferInstance) |
| 23 | have hinj : Function.Injective (Sigma.desc f) := by |
| 24 | intro x y h |
| 25 | obtain ⟨⟨i, x⟩, rfl⟩ := (sigmaMk X).surjective x |
| 26 | obtain ⟨⟨j, y⟩, rfl⟩ := (sigmaMk X).surjective y |
| 27 | simp only [sigmaMk_mk, ← Scheme.Hom.comp_apply, Sigma.ι_comp_desc] at h ⊢ |
| 28 | obtain rfl : i = j := by |
| 29 | by_contra hij |
| 30 | exact Set.disjoint_left.mp (hd hij) (Set.mem_range_self x) ⟨y, h.symm⟩ |
| 31 | exact congrArg (Sigma.ι X i) ((f i).isClosedEmbedding.injective h) |
| 32 | have hc : IsClosedMap (Sigma.desc f) := by |
| 33 | intro Z hZ |
| 34 | have him : (Sigma.desc f) '' Z = ⋃ i, (f i) '' ((Sigma.ι X i) ⁻¹' Z) := by |
| 35 | ext y |
| 36 | constructor |
| 37 | · rintro ⟨x, hx, rfl⟩ |
| 38 | obtain ⟨⟨i, x⟩, rfl⟩ := (sigmaMk X).surjective x |
| 39 | refine Set.mem_iUnion.mpr ⟨i, x, ?_, ?_⟩ |
| 40 | · change Sigma.ι X i x ∈ Z |
| 41 | simpa only [sigmaMk_mk] using hx |
| 42 | · simp only [sigmaMk_mk, ← Scheme.Hom.comp_apply, Sigma.ι_comp_desc] |
| 43 | · intro hy |
| 44 | obtain ⟨i, x, hx, rfl⟩ := Set.mem_iUnion.mp hy |
| 45 | exact ⟨Sigma.ι X i x, hx, by rw [← Scheme.Hom.comp_apply, Sigma.ι_comp_desc]⟩ |
| 46 | rw [him] |
| 47 | exact isClosed_iUnion_of_finite (fun i => (f i).isClosedEmbedding.isClosedMap _ |
| 48 | (hZ.preimage (Sigma.ι X i).continuous)) |
| 49 | exact ⟨IsClosedEmbedding.of_continuous_injective_isClosedMap (Sigma.desc f).continuous hinj hc⟩ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.DisjointClosedCoproduct |