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.AbelianScheme.IsogenyQuotient.GlobalTraceBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FiberContainment |
| 3 | import Mathlib.AlgebraicGeometry.Fiber |
| 4 | |
| 5 | /-! # Proper Frame Neighborhood -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ProperFrameNeighborhood.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A section which is a frame on one fiber of a proper family is a |
| 12 | frame over a neighborhood of that fiber. The neighborhood is the |
| 13 | complement of the actual proper image of its vanishing locus. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FiberContainment |
| 18 | |
| 19 | universe u |
| 20 | variable {X S : Scheme.{u}} (p : X ⟶ S) [UniversallyClosed p] |
| 21 | {L : X.Modules} (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L) |
| 22 | |
| 23 | def sectionFrameNeighborhood : S.Opens := AbelianModuli.HilbertConstruction.Proper.FiberContainment.properFiberContainmentOpen p (𝟙 X) (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z) |
| 24 | |
| 25 | theorem mem_sectionFrameNeighborhood_iff (s : S) : |
| 26 | s ∈ sectionFrameNeighborhood p z ↔ ∀ x : X, p x = s → x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z := |
| 27 | AbelianModuli.HilbertConstruction.Proper.FiberContainment.mem_properFiberContainmentOpen_iff p (𝟙 X) (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z) s |
| 28 | |
| 29 | theorem sectionFrameNeighborhood_isIso : |
| 30 | IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (p ⁻¹ᵁ sectionFrameNeighborhood p z).ι z) := by |
| 31 | apply (AbelianModuli.HilbertConstruction.Section.Frames.isIso_iff_sectionNonvanishing_eq_top _).mpr |
| 32 | rw [AbelianModuli.HilbertConstruction.Section.Nonvanishing.sectionNonvanishing_pullback] |
| 33 | ext x |
| 34 | exact iff_true_intro (AbelianModuli.HilbertConstruction.Proper.FiberContainment.properFiberContainmentOpen_preimage_le p (𝟙 X) (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z) x.property) |
| 35 | |
| 36 | theorem mem_sectionFrameNeighborhood_of_fiber_isIso (M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 37 | (w : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M.sheaf) (s : S) |
| 38 | [IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (p.fiberι s) w)] : s ∈ sectionFrameNeighborhood p w := by |
| 39 | apply (mem_sectionFrameNeighborhood_iff p w s).mpr |
| 40 | intro x hx |
| 41 | have hr : x ∈ Set.range (p.fiberι s) := (p.range_fiberι s).symm ▸ hx |
| 42 | obtain ⟨y, rfl⟩ := hr |
| 43 | have h := AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing_of_isIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (p.fiberι s) w) |
| 44 | rw [AbelianModuli.HilbertConstruction.LineBundle.NonvanishingBaseChange.sectionNonvanishing_lineBundle_baseChange (p.fiberι s) M w] at h |
| 45 | exact (congrArg (fun U : (p.fiber s).Opens => y ∈ U) h).mpr trivial |
| 46 | |
| 47 | theorem mem_sectionFrameNeighborhood_of_baseChange_isIso |
| 48 | (M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (w : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M.sheaf) |
| 49 | {T : Scheme.{u}} (t : T ⟶ S) (s : S) (hs : s ∈ Set.range t) |
| 50 | [IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (pullback.fst p t) w)] : s ∈ sectionFrameNeighborhood p w := by |
| 51 | apply (mem_sectionFrameNeighborhood_iff p w s).mpr |
| 52 | intro x hx |
| 53 | have hp : p x ∈ Set.range t := hx.symm ▸ hs |
| 54 | have hr : x ∈ Set.range (pullback.fst p t) := |
| 55 | (Scheme.Pullback.range_fst (f := p) (g := t)).symm ▸ hp |
| 56 | obtain ⟨y, rfl⟩ := hr |
| 57 | have h := AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing_of_isIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (pullback.fst p t) w) |
| 58 | rw [AbelianModuli.HilbertConstruction.LineBundle.NonvanishingBaseChange.sectionNonvanishing_lineBundle_baseChange (pullback.fst p t) M w] at h |
| 59 | exact (congrArg (fun U : (pullback p t).Opens => y ∈ U) h).mpr trivial |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ProperFrameNeighborhood.Construction |