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.ProductConstantOpen |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.OpenFrame |
| 3 | import Mathlib.Topology.Connected.Clopen |
| 4 | |
| 5 | /-! # Product Constant Is -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductConstantIs.Construction.ProductConstantTrivialityLocus |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The trivial-fiber locus for a line bundle trivial on both constant |
| 12 | product axes is clopen. A single trivial fiber fills a connected base. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {K : Type u} [Field K] {A B X Y S : Scheme.{u}} |
| 19 | variable [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 20 | variable [A.IsSeparated] [B.IsSeparated] [X.IsSeparated] [Y.IsSeparated] |
| 21 | variable (a : A ⟶ Spec (.of K)) (b : B ⟶ Spec (.of K)) |
| 22 | variable (f : X ⟶ S) (g : Y ⟶ S) [(pullback f g).IsSeparated] |
| 23 | variable [IsProper f] [IsProper g] [Flat f] [Flat g] |
| 24 | variable [GeometricallyIntegral f] [GeometricallyIntegral g] |
| 25 | variable (p : X ⟶ A) (q : Y ⟶ B) (t : S ⟶ Spec (.of K)) |
| 26 | variable (hp : IsPullback p f a t) (hq : IsPullback q g b t) |
| 27 | variable (PA : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (Over.mk a)) |
| 28 | variable (PB : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (Over.mk b)) |
| 29 | variable (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (Over.mk (pullback.fst f g ≫ f))) |
| 30 | variable {ι κ : Type u} [LinearOrder ι] [Fintype ι] [LinearOrder κ] [Fintype κ] |
| 31 | variable (U : ι → A.Opens) (V : κ → B.Opens) |
| 32 | variable (hU : ∀ i, IsAffineOpen (U i)) (hV : ∀ j, IsAffineOpen (V j)) |
| 33 | variable (hcU : iSup U = ⊤) (hcV : iSup V = ⊤) |
| 34 | variable (sX : S ⟶ X) (hsX : sX ≫ f = 𝟙 _) (sY : S ⟶ Y) (hsY : sY ≫ g = 𝟙 _) |
| 35 | variable (i₀ : ι) (hi₀ : ⊤ ≤ sX ⁻¹ᵁ (p ⁻¹ᵁ U i₀)) |
| 36 | variable (j₀ : κ) (hj₀ : ⊤ ≤ sY ⁻¹ᵁ (q ⁻¹ᵁ V j₀)) |
| 37 | variable (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (pullback f g)) |
| 38 | variable (eX : (L.pullback (ProductBaseAxes.Construction.ProductBaseChangeAxes.left f g sY hsY)).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 39 | variable (eY : (L.pullback (ProductBaseAxes.Construction.ProductBaseChangeAxes.right f g sX hsX)).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) |
| 40 | |
| 41 | variable (hI : ∀ x : S, IsIntegral ((pullback.fst f g ≫ f).fiber x)) |
| 42 | |
| 43 | include hp hq PA PB P hU hV hcU hcV hi₀ hj₀ eX eY hI |
| 44 | |
| 45 | theorem isOpen : IsOpen (ProjectiveTriviality.Construction.ProjectiveTrivialityClosed.locus (pullback.fst f g ≫ f) L) := by |
| 46 | apply OpenFrame.Construction.OpenFrameFibers.isOpen_of_neighborhoods |
| 47 | intro x hx |
| 48 | have := hI x |
| 49 | exact ProductConstantOpen.Construction.ProductConstantFrameNeighborhood.exists_open a b f g p q t hp hq PA PB P |
| 50 | U V hU hV hcU hcV sX hsX sY hsY i₀ hi₀ j₀ hj₀ L eX eY x hx |
| 51 | |
| 52 | theorem isClopen : IsClopen (ProjectiveTriviality.Construction.ProjectiveTrivialityClosed.locus (pullback.fst f g ≫ f) L) := |
| 53 | ⟨ProjectiveTriviality.Construction.ProjectiveTrivialityClosed.isClosed (pullback.fst f g ≫ f) L P hI, |
| 54 | isOpen a b f g p q t hp hq PA PB P U V hU hV hcU hcV |
| 55 | sX hsX sY hsY i₀ hi₀ j₀ hj₀ L eX eY hI⟩ |
| 56 | |
| 57 | theorem all_fibers [ConnectedSpace S] (x₀ : S) |
| 58 | (he : Nonempty ((L.pullback ((pullback.fst f g ≫ f).fiberι x₀)).sheaf ≅ |
| 59 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule ((pullback.fst f g ≫ f).fiber x₀))) : |
| 60 | ∀ x : S, Nonempty ((L.pullback ((pullback.fst f g ≫ f).fiberι x)).sheaf ≅ |
| 61 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule ((pullback.fst f g ≫ f).fiber x)) := by |
| 62 | have hall := (isClopen a b f g p q t hp hq PA PB P U V hU hV hcU hcV |
| 63 | sX hsX sY hsY i₀ hi₀ j₀ hj₀ L eX eY hI).eq_univ ⟨x₀, he⟩ |
| 64 | intro x |
| 65 | exact show x ∈ ProjectiveTriviality.Construction.ProjectiveTrivialityClosed.locus (pullback.fst f g ≫ f) L from |
| 66 | hall.symm ▸ Set.mem_univ x |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductConstantIs.Construction.ProductConstantTrivialityLocus |