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.ProductConstantIs |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.Seesaw |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CartesianProductIs |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductIntegral |
| 5 | |
| 6 | /-! # Product Constant Trivial -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductConstantTrivial |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Seesaw for a product of two constant projective integral families over |
| 13 | a connected affine base: two trivial axes and one trivial fiber force |
| 14 | triviality of the whole line bundle. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace Construction.ProductConstantSeesaw |
| 23 | |
| 24 | variable {K : Type u} [Field K] [IsAlgClosed K] {A B X Y S : Scheme.{u}} |
| 25 | variable [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 26 | variable [A.IsSeparated] [B.IsSeparated] [X.IsSeparated] [Y.IsSeparated] |
| 27 | variable (a : A ⟶ Spec (.of K)) (b : B ⟶ Spec (.of K)) |
| 28 | variable [IsIntegral A] [IsIntegral B] [IsProper a] [IsProper b] [ConnectedSpace S] |
| 29 | variable (f : X ⟶ S) (g : Y ⟶ S) [(pullback f g).IsSeparated] |
| 30 | variable [IsProper f] [IsProper g] [Flat f] [Flat g] |
| 31 | variable [GeometricallyIntegral f] [GeometricallyIntegral g] |
| 32 | variable (p : X ⟶ A) (q : Y ⟶ B) (t : S ⟶ Spec (.of K)) |
| 33 | variable (hp : IsPullback p f a t) (hq : IsPullback q g b t) |
| 34 | variable (PA : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (Over.mk a)) |
| 35 | variable (PB : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (Over.mk b)) |
| 36 | variable (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (Over.mk (pullback.fst f g ≫ f))) |
| 37 | variable {ι κ : Type u} [LinearOrder ι] [Fintype ι] [LinearOrder κ] [Fintype κ] |
| 38 | variable (U : ι → A.Opens) (V : κ → B.Opens) |
| 39 | variable (hU : ∀ i, IsAffineOpen (U i)) (hV : ∀ j, IsAffineOpen (V j)) |
| 40 | variable (hcU : iSup U = ⊤) (hcV : iSup V = ⊤) |
| 41 | variable (sX : S ⟶ X) (hsX : sX ≫ f = 𝟙 _) (sY : S ⟶ Y) (hsY : sY ≫ g = 𝟙 _) |
| 42 | variable (i₀ : ι) (hi₀ : ⊤ ≤ sX ⁻¹ᵁ (p ⁻¹ᵁ U i₀)) |
| 43 | variable (j₀ : κ) (hj₀ : ⊤ ≤ sY ⁻¹ᵁ (q ⁻¹ᵁ V j₀)) |
| 44 | variable (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (pullback f g)) |
| 45 | variable (eX : (L.pullback (ProductBaseAxes.Construction.ProductBaseChangeAxes.left f g sY hsY)).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 46 | variable (eY : (L.pullback (ProductBaseAxes.Construction.ProductBaseChangeAxes.right f g sX hsX)).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) |
| 47 | |
| 48 | include hp hq PA PB P hU hV hcU hcV hi₀ hj₀ eX eY |
| 49 | |
| 50 | theorem trivial (x₀ : S) |
| 51 | (he : Nonempty ((L.pullback ((pullback.fst f g ≫ f).fiberι x₀)).sheaf ≅ |
| 52 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule ((pullback.fst f g ≫ f).fiber x₀))) : |
| 53 | Nonempty (L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (pullback f g)) := by |
| 54 | have hI := ProductIntegral.Construction.ProductIntegralFibers.integral f g |
| 55 | have hall := ProductConstantIs.Construction.ProductConstantTrivialityLocus.all_fibers a b f g p q t hp hq PA PB P |
| 56 | U V hU hV hcU hcV sX hsX sY hsY i₀ hi₀ j₀ hj₀ L eX eY hI x₀ he |
| 57 | have hn (x : S) : ∃ W : S.Opens, x ∈ W ∧ Nonempty |
| 58 | ((L.pullback ((pullback.fst f g ≫ f) ⁻¹ᵁ W).ι).sheaf ≅ |
| 59 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule ((pullback.fst f g ≫ f) ⁻¹ᵁ W).toScheme) := by |
| 60 | have := hI x |
| 61 | exact ProductConstantOpen.Construction.ProductConstantFrameNeighborhood.exists_open a b f g p q t hp hq PA PB P |
| 62 | U V hU hV hcU hcV sX hsX sY hsY i₀ hi₀ j₀ hj₀ L eX eY x (hall x) |
| 63 | let r := sX ≫ ProductBaseAxes.Construction.ProductBaseChangeAxes.left f g sY hsY |
| 64 | have hr : r ≫ (pullback.fst f g ≫ f) = 𝟙 S := by |
| 65 | rw [Category.assoc, ProductBaseAxes.Construction.ProductBaseChangeAxes.left_over, hsX] |
| 66 | let er : (Scheme.Modules.pullback r).obj L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule S := |
| 67 | ((Scheme.Modules.pullbackComp sX (ProductBaseAxes.Construction.ProductBaseChangeAxes.left f g sY hsY)).app L.sheaf).symm ≪≫ |
| 68 | (Scheme.Modules.pullback sX).mapIso eX ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso sX |
| 69 | exact ⟨Seesaw.Construction.SeesawDescent.trivial (pullback.fst f g ≫ f) L.sheaf |
| 70 | (CartesianProductIs.Construction.CartesianProductFunctions.product_restricted_unit a p f t hp b q g hq) hn r hr er⟩ |
| 71 | |
| 72 | end Construction.ProductConstantSeesaw |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductConstantTrivial |