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.UniversallyClosed |
| 2 | |
| 3 | /-! # Fiber Containment -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FiberContainment |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A proper family's fibers lie in a prescribed open set over an actual open subset of the base. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X S Y : Scheme.{u}} |
| 16 | |
| 17 | def properFiberContainmentOpen (p : X ⟶ S) [UniversallyClosed p] (f : X ⟶ Y) (U : Y.Opens) : S.Opens := |
| 18 | ⟨(p '' ((f ⁻¹ᵁ U : X.Opens) : Set X)ᶜ)ᶜ, |
| 19 | (p.isClosedMap _ (f ⁻¹ᵁ U).isOpen.isClosed_compl).isOpen_compl⟩ |
| 20 | |
| 21 | theorem mem_properFiberContainmentOpen_iff (p : X ⟶ S) [UniversallyClosed p] |
| 22 | (f : X ⟶ Y) (U : Y.Opens) (s : S) : |
| 23 | s ∈ properFiberContainmentOpen p f U ↔ ∀ x : X, p x = s → f x ∈ U := by |
| 24 | constructor |
| 25 | · intro hs x hx |
| 26 | by_contra h |
| 27 | exact hs ⟨x, h, hx⟩ |
| 28 | · intro hs ⟨x, hx, hxs⟩ |
| 29 | exact hx (hs x hxs) |
| 30 | |
| 31 | theorem properFiberContainmentOpen_preimage_le (p : X ⟶ S) [UniversallyClosed p] |
| 32 | (f : X ⟶ Y) (U : Y.Opens) : p ⁻¹ᵁ properFiberContainmentOpen p f U ≤ f ⁻¹ᵁ U := by |
| 33 | intro x hx |
| 34 | exact (mem_properFiberContainmentOpen_iff p f U (p x)).mp hx x rfl |
| 35 | |
| 36 | theorem le_properFiberContainmentOpen_iff (p : X ⟶ S) [UniversallyClosed p] |
| 37 | (f : X ⟶ Y) (U : Y.Opens) (V : S.Opens) : |
| 38 | V ≤ properFiberContainmentOpen p f U ↔ p ⁻¹ᵁ V ≤ f ⁻¹ᵁ U := by |
| 39 | constructor |
| 40 | · intro h x hx |
| 41 | exact properFiberContainmentOpen_preimage_le p f U (h hx) |
| 42 | · intro h s hs |
| 43 | apply (mem_properFiberContainmentOpen_iff p f U s).mpr |
| 44 | intro x hx |
| 45 | have hpx : p x ∈ V := hx.symm ▸ hs |
| 46 | exact h hpx |
| 47 | |
| 48 | def properFiberContainmentFactor (p : X ⟶ S) [UniversallyClosed p] (f : X ⟶ Y) (U : Y.Opens) : |
| 49 | (p ⁻¹ᵁ properFiberContainmentOpen p f U).toScheme ⟶ U.toScheme := |
| 50 | X.homOfLE (properFiberContainmentOpen_preimage_le p f U) ≫ (f ∣_ U) |
| 51 | |
| 52 | theorem properFiberContainmentFactor_comp (p : X ⟶ S) [UniversallyClosed p] |
| 53 | (f : X ⟶ Y) (U : Y.Opens) : |
| 54 | properFiberContainmentFactor p f U ≫ U.ι = (p ⁻¹ᵁ properFiberContainmentOpen p f U).ι ≫ f := by |
| 55 | unfold properFiberContainmentFactor |
| 56 | rw [Category.assoc, morphismRestrict_ι, ← Category.assoc, X.homOfLE_ι] |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FiberContainment |