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.PELModuli.IntegralModel.BasicOpenSectionNonvanishing |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Open.ImageAmpleness |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.AffinePullback |
| 4 | |
| 5 | /-! # Base Ampleness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Affine.BaseAmpleness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Ampleness near every base point is global ampleness over an affine |
| 12 | base. The proof extends actual sections on principal opens. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem isAmple_of_basicOpen_neighborhoods |
| 21 | {X : Scheme.{u}} [X.IsSeparated] [CompactSpace X] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 22 | (h : ∀ x : X, ∃ r : Γ(X, ⊤), x ∈ X.basicOpen r ∧ |
| 23 | (L.pullback (X.basicOpen r).ι).IsAmple) : L.IsAmple := by |
| 24 | apply L.isAmple_iff_tensorPower.mpr |
| 25 | refine ⟨isCompact_univ, fun x => ?_⟩ |
| 26 | obtain ⟨r, hxr, hL⟩ := h x |
| 27 | let U := X.basicOpen r |
| 28 | obtain ⟨n, hn, t, ht, ha⟩ := ((L.pullback U.ι).isAmple_iff_tensorPower.mp hL).2 ⟨x, hxr⟩ |
| 29 | let e : ((L.pullback U.ι).tensorPower n).sheaf ≅ |
| 30 | (BasicOpenSectionLifts.restrictedLineBundle (L.tensorPower n) U).sheaf := |
| 31 | (L.powerBaseChangeIso U.ι n).symm ≪≫ |
| 32 | ((Scheme.Modules.restrictFunctorIsoPullback U.ι).app (L.tensorPower n).sheaf).symm |
| 33 | obtain ⟨q, hq⟩ := BasicOpenSectionNonvanishing.exists_global_section_nonvanishing_eq_basicOpen_image (L.tensorPower n) r (t ≫ e.hom) |
| 34 | rw [AbelianModuli.HilbertConstruction.Ample.Powers.sectionNonvanishing_comp_iso] at hq |
| 35 | refine ⟨n, hn, q, ?_, ?_⟩ |
| 36 | · rw [hq] |
| 37 | exact ⟨⟨x, hxr⟩, ht, rfl⟩ |
| 38 | · rw [hq] |
| 39 | exact ha.image_of_isOpenImmersion U.ι |
| 40 | |
| 41 | theorem isAmple_of_affine_base_neighborhoods |
| 42 | {X S : Scheme.{u}} [X.IsSeparated] [CompactSpace X] [IsAffine S] |
| 43 | (f : X ⟶ S) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 44 | (h : ∀ x : S, ∃ U : S.Opens, x ∈ U ∧ (L.pullback (f ⁻¹ᵁ U).ι).IsAmple) : |
| 45 | L.IsAmple := by |
| 46 | apply isAmple_of_basicOpen_neighborhoods L |
| 47 | intro x |
| 48 | obtain ⟨U, hxU, hL⟩ := h (f x) |
| 49 | obtain ⟨r, hr, hxr⟩ := (isAffineOpen_top S).exists_basicOpen_le ⟨f x, hxU⟩ (by trivial) |
| 50 | let a := f.appTop r |
| 51 | let V := f ⁻¹ᵁ U |
| 52 | have ha : x ∈ X.basicOpen a := by |
| 53 | rw [← f.preimage_basicOpen_top] |
| 54 | exact hxr |
| 55 | have hsub : X.basicOpen a ≤ V := by |
| 56 | rw [← f.preimage_basicOpen_top] |
| 57 | exact f.preimage_mono hr |
| 58 | let W := V.toScheme.basicOpen (V.ι.appTop a) |
| 59 | have hW : ((L.pullback V.ι).pullback W.ι).IsAmple := hL.pullback_of_isAffineHom W.ι |
| 60 | have he : V.ι ''ᵁ W = X.basicOpen a := by |
| 61 | rw [show W = V.ι ⁻¹ᵁ X.basicOpen a from (V.ι.preimage_basicOpen_top a).symm, |
| 62 | Scheme.Hom.image_preimage_eq_opensRange_inf, Scheme.Opens.opensRange_ι, |
| 63 | inf_eq_right.mpr hsub] |
| 64 | have ham := Open.ImageAmpleness.isAmple_on_open_image V.ι L W hW |
| 65 | rw [he] at ham |
| 66 | exact ⟨a, ha, ham⟩ |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Affine.BaseAmpleness |