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.ProductConstantTrivial |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CartesianFamily |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.RationalFiber |
| 4 | |
| 5 | /-! # Cartesian Product Trivial -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CartesianProductTrivial |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Seesaw for Cartesian product families, with projectivity and integral |
| 12 | fibers supplied by the original factors and their affine section covers. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.CartesianProductSeesaw |
| 21 | |
| 22 | variable {K : Type u} [Field K] [IsAlgClosed K] {A B X Y S : Scheme.{u}} |
| 23 | variable [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] [ConnectedSpace S] |
| 24 | variable (a : A ⟶ Spec (.of K)) (b : B ⟶ Spec (.of K)) |
| 25 | variable [IsProper a] [IsProper b] [GeometricallyIntegral a] [GeometricallyIntegral b] |
| 26 | variable (DA : AffineSectionOf.Construction.AffineSectionCover.Data A) (DB : AffineSectionOf.Construction.AffineSectionCover.Data B) |
| 27 | variable (f : X ⟶ S) (g : Y ⟶ S) (p : X ⟶ A) (q : Y ⟶ B) (t : S ⟶ Spec (.of K)) |
| 28 | variable (hp : IsPullback p f a t) (hq : IsPullback q g b t) |
| 29 | variable {ι κ : Type u} [LinearOrder ι] [Fintype ι] [LinearOrder κ] [Fintype κ] |
| 30 | variable (U : ι → A.Opens) (V : κ → B.Opens) |
| 31 | variable (hU : ∀ i, IsAffineOpen (U i)) (hV : ∀ j, IsAffineOpen (V j)) |
| 32 | variable (hcU : iSup U = ⊤) (hcV : iSup V = ⊤) |
| 33 | variable (sX : S ⟶ X) (hsX : sX ≫ f = 𝟙 _) (sY : S ⟶ Y) (hsY : sY ≫ g = 𝟙 _) |
| 34 | variable (i₀ : ι) (hi₀ : ⊤ ≤ sX ⁻¹ᵁ (p ⁻¹ᵁ U i₀)) |
| 35 | variable (j₀ : κ) (hj₀ : ⊤ ≤ sY ⁻¹ᵁ (q ⁻¹ᵁ V j₀)) |
| 36 | variable (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (pullback f g)) |
| 37 | variable (eX : (L.pullback (ProductBaseAxes.Construction.ProductBaseChangeAxes.left f g sY hsY)).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 38 | variable (eY : (L.pullback (ProductBaseAxes.Construction.ProductBaseChangeAxes.right f g sX hsX)).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) |
| 39 | |
| 40 | include DA DB hp hq hU hV hcU hcV hi₀ hj₀ eX eY |
| 41 | |
| 42 | theorem trivial (s : Spec (.of K) ⟶ S) (hs : s ≫ t = 𝟙 _) |
| 43 | (he : (L.pullback (pullback.fst (pullback.fst f g ≫ f) s)).sheaf ≅ |
| 44 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (pullback (pullback.fst f g ≫ f) s)) : |
| 45 | Nonempty (L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (pullback f g)) := by |
| 46 | have : IsIntegral A := GeometricallyIntegral.isIntegral_of_subsingleton a |
| 47 | have : IsIntegral B := GeometricallyIntegral.isIntegral_of_subsingleton b |
| 48 | have : IsProper f := MorphismProperty.of_isPullback hp ‹IsProper a› |
| 49 | have : IsProper g := MorphismProperty.of_isPullback hq ‹IsProper b› |
| 50 | have : Flat f := MorphismProperty.of_isPullback hp (inferInstance : Flat a) |
| 51 | have : Flat g := MorphismProperty.of_isPullback hq (inferInstance : Flat b) |
| 52 | have : GeometricallyIntegral f := MorphismProperty.of_isPullback hp ‹GeometricallyIntegral a› |
| 53 | have : GeometricallyIntegral g := MorphismProperty.of_isPullback hq ‹GeometricallyIntegral b› |
| 54 | have : A.IsSeparated := CartesianFamily.Construction.CartesianFamilyProjective.separated a |
| 55 | have : B.IsSeparated := CartesianFamily.Construction.CartesianFamilyProjective.separated b |
| 56 | have : X.IsSeparated := CartesianFamily.Construction.CartesianFamilyProjective.separated f |
| 57 | have : Y.IsSeparated := CartesianFamily.Construction.CartesianFamilyProjective.separated g |
| 58 | have : (pullback f g).IsSeparated := CartesianFamily.Construction.CartesianFamilyProjective.separated (pullback.fst f g ≫ f) |
| 59 | exact ProductConstantTrivial.Construction.ProductConstantSeesaw.trivial a b f g p q t hp hq |
| 60 | (DA.projectivePresentation a) (DB.projectivePresentation b) |
| 61 | (CartesianFamily.Construction.CartesianFamilyProjective.presentation a b f g p q t hp hq DA DB) |
| 62 | U V hU hV hcU hcV sX hsX sY hsY i₀ hi₀ j₀ hj₀ L eX eY |
| 63 | (RationalPoint.Construction.RationalPointResidue.point s) |
| 64 | ⟨RationalFiber.Construction.RationalFiberTriviality.iso (pullback.fst f g ≫ f) t s hs L.sheaf he⟩ |
| 65 | |
| 66 | end Construction.CartesianProductSeesaw |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CartesianProductTrivial |