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.ArithmeticGeometry.Models.SpreadingOut.Image |
| 2 | |
| 3 | /-! # Local Closure -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.LocalClosure.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Closed conditions on an open ambient chart persist under reduced |
| 10 | schematic closure. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem range_morphism_restrict |
| 17 | {X Y : Scheme.{u}} (f : X ⟶ Y) (U : Y.Opens) : |
| 18 | Set.range (f ∣_ U) = U.ι ⁻¹' Set.range f := by |
| 19 | ext y |
| 20 | constructor |
| 21 | · rintro ⟨x, rfl⟩ |
| 22 | exact ⟨x.val, (morphismRestrict_base_coe f U x).symm⟩ |
| 23 | · rintro ⟨x, hx⟩ |
| 24 | let z : (f ⁻¹ᵁ U).toScheme := ⟨x, by |
| 25 | change f x ∈ U |
| 26 | rw [hx] |
| 27 | exact y.property⟩ |
| 28 | refine ⟨z, Subtype.ext ?_⟩ |
| 29 | exact (morphismRestrict_base_coe f U z).trans hx |
| 30 | |
| 31 | theorem image_restrict_range_eq_closure |
| 32 | {X Y : Scheme.{u}} (f : X ⟶ Y) [QuasiCompact f] (U : Y.Opens) : |
| 33 | Set.range (f.imageι ∣_ U) = closure (Set.range (f ∣_ U)) := by |
| 34 | rw [range_morphism_restrict, range_morphism_restrict, |
| 35 | Scheme.IdealSheafData.range_subschemeι, Scheme.Hom.support_ker] |
| 36 | exact U.ι.isOpenEmbedding.isOpenMap.preimage_closure_eq_closure_preimage |
| 37 | U.ι.continuous (Set.range f) |
| 38 | |
| 39 | /-- A reduced schematic closure satisfies each closed condition that the |
| 40 | original scheme satisfies on a chosen open ambient chart. -/ |
| 41 | theorem image_restrict_factors_through_closed |
| 42 | {X Y : Scheme.{u}} (f : X ⟶ Y) [QuasiCompact f] [IsReduced X] |
| 43 | (U : Y.Opens) {Z : Scheme.{u}} (i : Z ⟶ U.toScheme) [IsClosedImmersion i] |
| 44 | (h : Set.range (f ∣_ U) ⊆ Set.range i) : |
| 45 | ∃ l : (f.imageι ⁻¹ᵁ U).toScheme ⟶ Z, l ≫ i = f.imageι ∣_ U := by |
| 46 | have : IsReduced f.image := Image.Construction.schematic_image_reduced f |
| 47 | apply Image.Construction.reduced_factors_through_closed_immersion |
| 48 | rw [image_restrict_range_eq_closure] |
| 49 | exact closure_minimal h i.isClosedEmbedding.isClosed_range |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.ArithmeticGeometry.Models.SpreadingOut.LocalClosure.Construction |