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.StructureCech |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductSliceCechMaps |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PointedProductCechBoundary |
| 4 | |
| 5 | /-! # Product Axis -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductAxis |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual structure-sheaf Cech restriction maps to the two rational-point |
| 12 | axes jointly detect boundaries in degree one on a proper integral product. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 17 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace Construction.ProductAxisCechDetection |
| 22 | |
| 23 | variable {K : Type u} [Field K] {X Y : Scheme.{u}} |
| 24 | (f : X ⟶ Spec (.of K)) (g : Y ⟶ Spec (.of K)) |
| 25 | {ι κ : Type u} (U : ι → X.Opens) (V : κ → Y.Opens) |
| 26 | |
| 27 | abbrev source := OpenCechShortComplex.Construction.CubeCech.openModuleCechShortComplex |
| 28 | (BaseModule.Construction.BaseModuleSheaf.sheaf (pullback.fst f g ≫ f) (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (pullback f g))) |
| 29 | (CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V) |
| 30 | |
| 31 | def left (s : Spec (.of K) ⟶ Y) (hs : s ≫ g = 𝟙 _) |
| 32 | (j : κ) (hj : ⊤ ≤ s ⁻¹ᵁ V j) : |
| 33 | source f g U V ⟶ OpenCechShortComplex.Construction.CubeCech.openModuleCechShortComplex (BaseModule.Construction.BaseModuleSheaf.sheaf f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) U := |
| 34 | StructureCech.Construction.StructureCechPullback.map (CubeProductSlices.Construction.CubeCech.productSliceLeft f g s hs) (pullback.fst f g ≫ f) f |
| 35 | (CubeProductSliceLinear.Construction.CubeCech.productSliceLeft_over f g s hs) (CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V) U (fun i => ⟨i, j⟩) |
| 36 | (fun i => CubeProductSlices.Construction.CubeCech.productSliceLeft_rectangle_preimage f g s hs (U i) (V j) hj) |
| 37 | |
| 38 | def right (s : Spec (.of K) ⟶ X) (hs : s ≫ f = 𝟙 _) |
| 39 | (i : ι) (hi : ⊤ ≤ s ⁻¹ᵁ U i) : |
| 40 | source f g U V ⟶ OpenCechShortComplex.Construction.CubeCech.openModuleCechShortComplex (BaseModule.Construction.BaseModuleSheaf.sheaf g (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y)) V := |
| 41 | StructureCech.Construction.StructureCechPullback.map (CubeProductRightSlice.Construction.CubeCech.productSliceRight f g s hs) (pullback.fst f g ≫ f) g |
| 42 | (CubeProductRightSlice.Construction.CubeCech.productSliceRight_over f g s hs) (CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V) V (fun j => ⟨i, j⟩) |
| 43 | (fun j => CubeProductRightSlice.Construction.CubeCech.productSliceRight_rectangle_preimage f g s hs (U i) (V j) hi) |
| 44 | |
| 45 | theorem left_apply (s : Spec (.of K) ⟶ Y) (hs : s ≫ g = 𝟙 _) |
| 46 | (j : κ) (hj : ⊤ ≤ s ⁻¹ᵁ V j) (z : (source f g U V).X₂) : |
| 47 | (left f g U V s hs j hj).τ₂ z = ProductSliceCechMaps.Construction.CubeCech.productLeftSliceCech1 f g U V s hs j hj z := by |
| 48 | funext i i' |
| 49 | exact (StructureCech.Construction.StructureCechPullback.middle_apply (CubeProductSlices.Construction.CubeCech.productSliceLeft f g s hs) |
| 50 | (pullback.fst f g ≫ f) f (CubeProductSliceLinear.Construction.CubeCech.productSliceLeft_over f g s hs) |
| 51 | (CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V) U (fun i => ⟨i, j⟩) |
| 52 | (fun i => CubeProductSlices.Construction.CubeCech.productSliceLeft_rectangle_preimage f g s hs (U i) (V j) hj) z i i').trans |
| 53 | (CubeRelativeSectionsNaturality.Construction.CubeCech.relativeSectionsMap_apply (pullback.fst f g ≫ f) f (CubeProductSlices.Construction.CubeCech.productSliceLeft f g s hs) |
| 54 | (CubeProductSliceLinear.Construction.CubeCech.productSliceLeft_over f g s hs) _ _ _ _).symm |
| 55 | |
| 56 | theorem right_apply (s : Spec (.of K) ⟶ X) (hs : s ≫ f = 𝟙 _) |
| 57 | (i : ι) (hi : ⊤ ≤ s ⁻¹ᵁ U i) (z : (source f g U V).X₂) : |
| 58 | (right f g U V s hs i hi).τ₂ z = ProductSliceCechMaps.Construction.CubeCech.productRightSliceCech1 f g U V s hs i hi z := by |
| 59 | funext j j' |
| 60 | exact (StructureCech.Construction.StructureCechPullback.middle_apply (CubeProductRightSlice.Construction.CubeCech.productSliceRight f g s hs) |
| 61 | (pullback.fst f g ≫ f) g (CubeProductRightSlice.Construction.CubeCech.productSliceRight_over f g s hs) |
| 62 | (CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V) V (fun j => ⟨i, j⟩) |
| 63 | (fun j => CubeProductRightSlice.Construction.CubeCech.productSliceRight_rectangle_preimage f g s hs (U i) (V j) hi) z j j').trans |
| 64 | (CubeRelativeSectionsNaturality.Construction.CubeCech.relativeSectionsMap_apply (pullback.fst f g ≫ f) g (CubeProductRightSlice.Construction.CubeCech.productSliceRight f g s hs) |
| 65 | (CubeProductRightSlice.Construction.CubeCech.productSliceRight_over f g s hs) _ _ _ _).symm |
| 66 | |
| 67 | theorem boundary [IsIntegral X] [IsIntegral Y] |
| 68 | [UniversallyClosed f] [UniversallyClosed g] |
| 69 | [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] |
| 70 | (hU : ∀ i, IsAffineOpen (U i)) (hV : ∀ j, IsAffineOpen (V j)) |
| 71 | (hUU : ∀ i i', IsAffineOpen (U i ⊓ U i')) |
| 72 | (hVV : ∀ j j', IsAffineOpen (V j ⊓ V j')) |
| 73 | (sX : Spec (.of K) ⟶ X) (hsX : sX ≫ f = 𝟙 _) |
| 74 | (sY : Spec (.of K) ⟶ Y) (hsY : sY ≫ g = 𝟙 _) |
| 75 | (i₀ : ι) (hi₀ : ⊤ ≤ sX ⁻¹ᵁ U i₀) (j₀ : κ) (hj₀ : ⊤ ≤ sY ⁻¹ᵁ V j₀) |
| 76 | (hcoverU : iSup U = ⊤) (hcoverV : iSup V = ⊤) |
| 77 | (z : (source f g U V).X₂) (hz : (source f g U V).g z = 0) |
| 78 | (hl : (left f g U V sY hsY j₀ hj₀).τ₂ z ∈ |
| 79 | (OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 (BaseModule.Construction.BaseModuleSheaf.sheaf f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) U).range) |
| 80 | (hr : (right f g U V sX hsX i₀ hi₀).τ₂ z ∈ |
| 81 | (OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 (BaseModule.Construction.BaseModuleSheaf.sheaf g (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y)) V).range) : |
| 82 | z ∈ (source f g U V).f.hom.range := by |
| 83 | obtain ⟨x, hx⟩ := hl |
| 84 | obtain ⟨y, hy⟩ := hr |
| 85 | have hc : CubeOpenCechCocycles.Construction.CubeCech.IsOpenCechCocycle (CubeRelativeModuleSheaf.Construction.CubeCech.structureSheafAsBaseFieldSheaf (pullback.fst f g ≫ f)) |
| 86 | (CubeProductCechCocycles.Construction.CubeCech.rectangleOpenCover f g U V) z := |
| 87 | (OpenCechShortComplex.Construction.CubeCech.openModuleCechD1_eq_zero_iff _ _ z).mp hz |
| 88 | obtain ⟨t, ht⟩ := PointedProductCechBoundary.Construction.CubeCech.properProductCech_boundary_of_rational_axes f g U V hU hV hUU hVV |
| 89 | sX hsX sY hsY i₀ hi₀ j₀ hj₀ hcoverU hcoverV z hc x y |
| 90 | (fun i i' => (ProductSliceCechMaps.Construction.CubeCech.productLeftSliceCech1_apply f g U V sY hsY j₀ hj₀ z i i').symm.trans |
| 91 | (congrFun (congrFun ((left_apply f g U V sY hsY j₀ hj₀ z).symm.trans hx.symm) i) i')) |
| 92 | (fun j j' => (ProductSliceCechMaps.Construction.CubeCech.productRightSliceCech1_apply f g U V sX hsX i₀ hi₀ z j j').symm.trans |
| 93 | (congrFun (congrFun ((right_apply f g U V sX hsX i₀ hi₀ z).symm.trans hy.symm) j) j')) |
| 94 | exact ⟨t, ht⟩ |
| 95 | |
| 96 | end Construction.ProductAxisCechDetection |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductAxis |