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.SourcePropertyOpenLocus |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 3 | |
| 4 | /-! # Source Property Base Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.SourcePropertyBaseOpen |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! For a proper family, removing the image of the complement of a local source-property locus gives an actual open base carrying that property. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (P : MorphismProperty Scheme.{u}) [IsZariskiLocalAtSource P] |
| 17 | variable {X S : Scheme.{u}} (f : X ⟶ S) [IsProper f] |
| 18 | |
| 19 | def properSourcePropertyBaseOpen : S.Opens := |
| 20 | ⟨(f '' (SourcePropertyOpenLocus.sourcePropertyOpenLocus P f : Set X)ᶜ)ᶜ, |
| 21 | (f.isClosedMap _ (SourcePropertyOpenLocus.sourcePropertyOpenLocus P f).isOpen.isClosed_compl).isOpen_compl⟩ |
| 22 | |
| 23 | omit [IsZariskiLocalAtSource P] in |
| 24 | theorem properSourcePropertyBaseOpen_preimage : |
| 25 | f ⁻¹ᵁ properSourcePropertyBaseOpen P f ≤ SourcePropertyOpenLocus.sourcePropertyOpenLocus P f := by |
| 26 | intro x hx |
| 27 | by_contra h |
| 28 | exact hx ⟨x, h, rfl⟩ |
| 29 | |
| 30 | theorem properSourcePropertyBaseOpen_restrict [P.IsStableUnderBaseChange] : |
| 31 | P (f ∣_ properSourcePropertyBaseOpen P f) := by |
| 32 | have hs : P ((f ⁻¹ᵁ properSourcePropertyBaseOpen P f).ι ≫ f) := |
| 33 | (SourcePropertyOpenLocus.sourcePropertyOpenLocus_iff P f _).mpr (properSourcePropertyBaseOpen_preimage P f) |
| 34 | have hc : P ((f ∣_ properSourcePropertyBaseOpen P f) ≫ (properSourcePropertyBaseOpen P f).ι) := by |
| 35 | rw [morphismRestrict_ι] |
| 36 | exact hs |
| 37 | have hpb : IsPullback (𝟙 (f ⁻¹ᵁ properSourcePropertyBaseOpen P f).toScheme) |
| 38 | (f ∣_ properSourcePropertyBaseOpen P f) |
| 39 | ((f ∣_ properSourcePropertyBaseOpen P f) ≫ (properSourcePropertyBaseOpen P f).ι) |
| 40 | (properSourcePropertyBaseOpen P f).ι := |
| 41 | IsPullback.of_horiz_isIso_mono ⟨Category.id_comp _⟩ |
| 42 | exact MorphismProperty.of_isPullback (P := P) hpb hc |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.SourcePropertyBaseOpen |