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.CartesianProductTrivial |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.BaseChanged |
| 3 | |
| 4 | /-! # Open Cartesian -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.OpenCartesian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On every affine open of an integral base containing the chosen |
| 11 | rational point, product seesaw gives a frame for the whole inverse image. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace Construction.OpenCartesianProductSeesaw |
| 20 | |
| 21 | variable {K : Type u} [Field K] [IsAlgClosed K] {A B X Y S : Scheme.{u}} |
| 22 | variable [IsIntegral S] [IsLocallyNoetherian S] |
| 23 | variable (a : A ⟶ Spec (.of K)) (b : B ⟶ Spec (.of K)) |
| 24 | variable [IsProper a] [IsProper b] [GeometricallyIntegral a] [GeometricallyIntegral b] |
| 25 | variable (DA : AffineSectionOf.Construction.AffineSectionCover.Data A) (DB : AffineSectionOf.Construction.AffineSectionCover.Data B) |
| 26 | variable (f : X ⟶ S) (g : Y ⟶ S) (p : X ⟶ A) (q : Y ⟶ B) (t : S ⟶ Spec (.of K)) |
| 27 | variable (hp : IsPullback p f a t) (hq : IsPullback q g b t) |
| 28 | variable {ι κ : Type u} [LinearOrder ι] [Fintype ι] [LinearOrder κ] [Fintype κ] |
| 29 | variable (U : ι → A.Opens) (V : κ → B.Opens) |
| 30 | variable (hU : ∀ i, IsAffineOpen (U i)) (hV : ∀ j, IsAffineOpen (V j)) |
| 31 | variable (hcU : iSup U = ⊤) (hcV : iSup V = ⊤) |
| 32 | variable (sX : S ⟶ X) (hsX : sX ≫ f = 𝟙 _) (sY : S ⟶ Y) (hsY : sY ≫ g = 𝟙 _) |
| 33 | variable (i₀ : ι) (hi₀ : ⊤ ≤ sX ⁻¹ᵁ (p ⁻¹ᵁ U i₀)) |
| 34 | variable (j₀ : κ) (hj₀ : ⊤ ≤ sY ⁻¹ᵁ (q ⁻¹ᵁ V j₀)) |
| 35 | variable (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (pullback f g)) |
| 36 | variable (eX : (L.pullback (ProductBaseAxes.Construction.ProductBaseChangeAxes.left f g sY hsY)).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 37 | variable (eY : (L.pullback (ProductBaseAxes.Construction.ProductBaseChangeAxes.right f g sX hsX)).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) |
| 38 | variable (s : Spec (.of K) ⟶ S) (hs : s ≫ t = 𝟙 _) |
| 39 | variable (he : (L.pullback (pullback.fst (pullback.fst f g ≫ f) s)).sheaf ≅ |
| 40 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (pullback (pullback.fst f g ≫ f) s)) |
| 41 | |
| 42 | include DA DB hp hq hU hV hcU hcV hi₀ hj₀ eX eY hs he |
| 43 | |
| 44 | theorem frame (W : S.Opens) (hW : IsAffineOpen W) (hsW : RationalPoint.Construction.RationalPointResidue.point s ∈ W) : |
| 45 | Nonempty ((L.pullback ((pullback.fst f g ≫ f) ⁻¹ᵁ W).ι).sheaf ≅ |
| 46 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule ((pullback.fst f g ≫ f) ⁻¹ᵁ W).toScheme) := by |
| 47 | have : IsAffine W.toScheme := hW |
| 48 | have : Nonempty W.toScheme := ⟨⟨RationalPoint.Construction.RationalPointResidue.point s, hsW⟩⟩ |
| 49 | have : IsIntegral W.toScheme := isIntegral_of_isOpenImmersion W.ι |
| 50 | have : IsLocallyNoetherian W.toScheme := isLocallyNoetherian_of_isOpenImmersion W.ι |
| 51 | have : IsNoetherianRing Γ(W.toScheme, ⊤) := |
| 52 | IsLocallyNoetherian.component_noetherian ⟨⊤, isAffineOpen_top W.toScheme⟩ |
| 53 | let f' := pullback.snd f W.ι |
| 54 | let g' := pullback.snd g W.ι |
| 55 | let p' := pullback.fst f W.ι |
| 56 | let q' := pullback.fst g W.ι |
| 57 | let hx := IsPullback.of_hasPullback f W.ι |
| 58 | let hy := IsPullback.of_hasPullback g W.ι |
| 59 | let m := ProductBaseLift.Construction.ProductBaseChangeSquare.map f g f' g' p' q' W.ι hx hy |
| 60 | let hm := ProductBaseLift.Construction.ProductBaseChangeSquare.isPullback f g f' g' p' q' W.ι hx hy |
| 61 | let L' := L.pullback m |
| 62 | let sx := ProductBaseAxes.Construction.ProductBaseChangeAxes.baseSection f f' p' W.ι hx sX hsX |
| 63 | let sy := ProductBaseAxes.Construction.ProductBaseChangeAxes.baseSection g g' q' W.ι hy sY hsY |
| 64 | have hsx : sx ≫ f' = 𝟙 _ := ProductBaseAxes.Construction.ProductBaseChangeAxes.section_over f f' p' W.ι hx sX hsX |
| 65 | have hsy : sy ≫ g' = 𝟙 _ := ProductBaseAxes.Construction.ProductBaseChangeAxes.section_over g g' q' W.ι hy sY hsY |
| 66 | have hix : ⊤ ≤ sx ⁻¹ᵁ ((p' ≫ p) ⁻¹ᵁ U i₀) := by |
| 67 | change ⊤ ≤ ((sx ≫ p') ≫ p) ⁻¹ᵁ U i₀ |
| 68 | rw [show sx ≫ p' = W.ι ≫ sX from hx.lift_fst _ _ _] |
| 69 | exact fun x _ => hi₀ (show W.ι x ∈ (⊤ : S.Opens) from trivial) |
| 70 | have hjy : ⊤ ≤ sy ⁻¹ᵁ ((q' ≫ q) ⁻¹ᵁ V j₀) := by |
| 71 | change ⊤ ≤ ((sy ≫ q') ≫ q) ⁻¹ᵁ V j₀ |
| 72 | rw [show sy ≫ q' = W.ι ≫ sY from hy.lift_fst _ _ _] |
| 73 | exact fun x _ => hj₀ (show W.ι x ∈ (⊤ : S.Opens) from trivial) |
| 74 | let ex : (L'.pullback (ProductBaseAxes.Construction.ProductBaseChangeAxes.left f' g' sy hsy)).sheaf ≅ |
| 75 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (pullback f W.ι) := |
| 76 | BaseChanged.Construction.BaseChangedBundleFrames.axis (ProductBaseAxes.Construction.ProductBaseChangeAxes.left f g sY hsY) m p' |
| 77 | (ProductBaseAxes.Construction.ProductBaseChangeAxes.left f' g' sy hsy) |
| 78 | (ProductBaseAxes.Construction.ProductBaseChangeAxes.left_square f g f' g' p' q' W.ι hx hy sY hsY).symm L.sheaf eX |
| 79 | let ey : (L'.pullback (ProductBaseAxes.Construction.ProductBaseChangeAxes.right f' g' sx hsx)).sheaf ≅ |
| 80 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (pullback g W.ι) := |
| 81 | BaseChanged.Construction.BaseChangedBundleFrames.axis (ProductBaseAxes.Construction.ProductBaseChangeAxes.right f g sX hsX) m q' |
| 82 | (ProductBaseAxes.Construction.ProductBaseChangeAxes.right f' g' sx hsx) |
| 83 | (ProductBaseAxes.Construction.ProductBaseChangeAxes.right_square f g f' g' p' q' W.ι hx hy sX hsX).symm L.sheaf eY |
| 84 | have hrs : Set.range s ⊆ Set.range W.ι := by |
| 85 | rw [Scheme.Opens.range_ι] |
| 86 | rintro _ ⟨z, rfl⟩ |
| 87 | have hz : z = IsLocalRing.closedPoint K := Subsingleton.elim _ _ |
| 88 | exact hz ▸ hsW |
| 89 | let s' := IsOpenImmersion.lift W.ι s hrs |
| 90 | have hs' : s' ≫ W.ι = s := IsOpenImmersion.lift_fac _ _ _ |
| 91 | have hs't : s' ≫ (W.ι ≫ t) = 𝟙 _ := by rw [← Category.assoc, hs', hs] |
| 92 | let er : (L'.pullback (pullback.fst (pullback.fst f' g' ≫ f') s')).sheaf ≅ |
| 93 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (pullback (pullback.fst f' g' ≫ f') s') := |
| 94 | BaseChanged.Construction.BaseChangedBundleFrames.fiber m (pullback.fst f g ≫ f) (pullback.fst f' g' ≫ f') |
| 95 | W.ι hm s' s hs' L.sheaf he |
| 96 | obtain ⟨e⟩ := CartesianProductTrivial.Construction.CartesianProductSeesaw.trivial a b DA DB f' g' (p' ≫ p) (q' ≫ q) (W.ι ≫ t) |
| 97 | (hx.paste_horiz hp) (hy.paste_horiz hq) U V hU hV hcU hcV |
| 98 | sx hsx sy hsy i₀ hix j₀ hjy L' ex ey s' hs't er |
| 99 | exact ⟨BaseChanged.Construction.BaseChangedBundleFrames.openFrame m (pullback.fst f g ≫ f) W |
| 100 | (pullback.fst f' g' ≫ f') hm L.sheaf e⟩ |
| 101 | |
| 102 | end Construction.OpenCartesianProductSeesaw |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.OpenCartesian |