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.Quotients.FiniteDescent.SectionBase |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.Frames |
| 3 | import Mathlib.AlgebraicGeometry.Fiber |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 5 | |
| 6 | /-! # Section Triviality -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.SectionTriviality.Construction.SectionTrivialityOpen |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! For a fixed section of a line bundle in a proper family, the fibers on |
| 13 | which that section is a frame form an open subset of the base. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.Frames |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {X S : Scheme.{u}} (f : X ⟶ S) [IsProper f] |
| 21 | variable (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L.sheaf) |
| 22 | |
| 23 | /-- Exclude the proper image of the zero locus of the chosen section. -/ |
| 24 | def baseOpen : S.Opens := |
| 25 | ⟨(f '' (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s : Set X)ᶜ)ᶜ, |
| 26 | (f.isClosedMap _ (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).isOpen.isClosed_compl).isOpen_compl⟩ |
| 27 | |
| 28 | theorem mem_iff (y : S) : |
| 29 | y ∈ baseOpen f L s ↔ IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (f.fiberι y) s) := by |
| 30 | rw [AbelianModuli.HilbertConstruction.Section.Frames.isIso_iff_sectionNonvanishing_eq_top, SectionBase.Construction.SectionBaseChange.nonvanishing_pullback] |
| 31 | constructor |
| 32 | · intro hy |
| 33 | apply top_unique |
| 34 | intro x _ |
| 35 | change f.fiberι y x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s |
| 36 | by_contra hx |
| 37 | apply hy |
| 38 | refine ⟨f.fiberι y x, hx, ?_⟩ |
| 39 | have h := (Set.ext_iff.mp (f.range_fiberι y) _).mp (Set.mem_range_self x) |
| 40 | exact h |
| 41 | · intro h |
| 42 | rintro ⟨x, hx, hxy⟩ |
| 43 | have hr : x ∈ Set.range (f.fiberι y) := by |
| 44 | rw [f.range_fiberι y] |
| 45 | exact hxy |
| 46 | obtain ⟨z, rfl⟩ := hr |
| 47 | have hz : z ∈ f.fiberι y ⁻¹ᵁ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s := by rw [h]; trivial |
| 48 | exact hx hz |
| 49 | |
| 50 | theorem isIso_restrict : IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (f ⁻¹ᵁ baseOpen f L s).ι s) := by |
| 51 | apply (AbelianModuli.HilbertConstruction.Section.Frames.isIso_iff_sectionNonvanishing_eq_top _).mpr |
| 52 | rw [SectionBase.Construction.SectionBaseChange.nonvanishing_pullback] |
| 53 | apply top_unique |
| 54 | intro x _ |
| 55 | change x.1 ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s |
| 56 | by_contra hx |
| 57 | exact x.2 ⟨x.1, hx, rfl⟩ |
| 58 | |
| 59 | /-- Once a fiberwise frame has been lifted to a global section, properness |
| 60 | extends that frame over a neighborhood of the fiber. -/ |
| 61 | theorem exists_open (y : S) (hy : IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (f.fiberι y) s)) : |
| 62 | ∃ V : S.Opens, y ∈ V ∧ IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (f ⁻¹ᵁ V).ι s) := |
| 63 | ⟨baseOpen f L s, (mem_iff f L s y).mpr hy, isIso_restrict f L s⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.SectionTriviality.Construction.SectionTrivialityOpen |