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.AmplePowerVanishing |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorPower |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.InvertibleTensorCoherent |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.FiniteMorphism |
| 6 | |
| 7 | /-! # Ample All Vanishing -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.AmpleAllVanishing |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! Serre vanishing holds for every sufficiently large actual tensor |
| 16 | power, using finitely many residue classes of the embedding degree. -/ |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry MonoidalCategory |
| 21 | |
| 22 | local instance (X : Scheme.{0}) : MonoidalCategory X.Modules := SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory X |
| 23 | |
| 24 | theorem ample_tensorPowers_eventually_vanishing |
| 25 | {X S : Scheme.{0}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 26 | (f : X ⟶ S) [IsProper f] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (hL : L.IsAmple) |
| 27 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 28 | ∃ b : ℕ, ∀ n : ℕ, b ≤ n → ∀ q : ℕ, 0 < q → |
| 29 | Subsingleton (SheafCohomology.AffineH.Projective.H (M ⊗ (L.tensorPower n).sheaf) q) := by |
| 30 | classical |
| 31 | obtain ⟨d, hd, hstep⟩ := AmplePowerVanishing.ample_tensorPowers_vanishing_step f L hL |
| 32 | let F (k : Fin d) : X.Modules := M ⊗ (L.tensorPower k.val).sheaf |
| 33 | have hv (k : Fin d) : ∃ b : ℕ, ∀ n : ℕ, b ≤ n → ∀ q : ℕ, 0 < q → |
| 34 | Subsingleton (SheafCohomology.AffineH.Projective.H (F k ⊗ (L.tensorPower (n * d)).sheaf) q) := by |
| 35 | have hK := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible (L.tensorPower k.val) |
| 36 | have : (F k).IsQuasicoherent := hK.tensorObj_isQuasicoherent |
| 37 | have : (F k).IsFiniteType := hK.tensorObj_isFiniteType |
| 38 | exact hstep (F k) |
| 39 | choose b hb using hv |
| 40 | let B := Finset.univ.sup b |
| 41 | refine ⟨B * d, fun n hn q hq => ?_⟩ |
| 42 | let k : Fin d := ⟨n % d, Nat.mod_lt n hd⟩ |
| 43 | have hk : b k ≤ n / d := |
| 44 | (Finset.le_sup (f := b) (Finset.mem_univ k)).trans ((Nat.le_div_iff_mul_le hd).mpr hn) |
| 45 | have : Subsingleton (SheafCohomology.AffineH.Projective.H (F k ⊗ (L.tensorPower (n / d * d)).sheaf) q) := |
| 46 | hb k (n / d) hk q hq |
| 47 | have he : k.val + n / d * d = n := by |
| 48 | change n % d + n / d * d = n |
| 49 | rw [Nat.mul_comm (n / d) d] |
| 50 | exact Nat.mod_add_div n d |
| 51 | let eP : (L.tensorPower k.val).sheaf ⊗ (L.tensorPower (n / d * d)).sheaf ≅ |
| 52 | (L.tensorPower n).sheaf := |
| 53 | SheafCohomology.Projective.TensorSections.monoidalTensorObjIso _ _ ≪≫ (Quotients.FiniteDescent.TensorPower.Construction.TensorPowerAddition.iso L.sheaf k.val (n / d * d)).symm ≪≫ |
| 54 | eqToIso (congrArg (fun m => (L.tensorPower m).sheaf) he) |
| 55 | let e : F k ⊗ (L.tensorPower (n / d * d)).sheaf ≅ M ⊗ (L.tensorPower n).sheaf := |
| 56 | α_ M (L.tensorPower k.val).sheaf (L.tensorPower (n / d * d)).sheaf ≪≫ |
| 57 | (Iso.refl M ⊗ᵢ eP) |
| 58 | exact (ConcreteCategory.bijective_of_isIso ((SheafCohomology.AffineH.Projective.zariskiFunctor X q).map e.inv)).injective.subsingleton |
| 59 | |
| 60 | end |
| 61 | |
| 62 | section |
| 63 | |
| 64 | /-! All positive cohomology groups of sufficiently high ample powers |
| 65 | vanish on a proper scheme over a noetherian affine base. -/ |
| 66 | |
| 67 | set_option backward.isDefEq.respectTransparency false |
| 68 | set_option backward.isDefEq.respectTransparency.types false |
| 69 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory |
| 70 | |
| 71 | local instance (X : Scheme.{0}) : MonoidalCategory X.Modules := SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory X |
| 72 | |
| 73 | theorem ample_lineBundle_eventually_vanishing |
| 74 | {X S : Scheme.{0}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 75 | (f : X ⟶ S) [IsProper f] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (hL : L.IsAmple) : |
| 76 | ∃ b : ℕ, ∀ n : ℕ, b ≤ n → ∀ q : ℕ, 0 < q → |
| 77 | Subsingleton (SheafCohomology.AffineH.Projective.H (L.tensorPower n).sheaf q) := by |
| 78 | let O := AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X |
| 79 | have : O.IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X) |
| 80 | have : O.IsFinitePresentation := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.finitePresentation (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X) |
| 81 | have : O.IsFiniteType := by |
| 82 | obtain ⟨p, hp⟩ := SheafOfModules.IsFinitePresentation.exists_quasicoherentData O |
| 83 | refine { exists_localGeneratorsData := ⟨p.localGeneratorsData, ?_⟩ } |
| 84 | constructor |
| 85 | intro i |
| 86 | exact (hp.isFinite_presentation i).isFiniteType_generators |
| 87 | obtain ⟨b, hb⟩ := ample_tensorPowers_eventually_vanishing f L hL O |
| 88 | refine ⟨b, fun n hn q hq => ?_⟩ |
| 89 | have : Subsingleton (SheafCohomology.AffineH.Projective.H (O ⊗ (L.tensorPower n).sheaf) q) := hb n hn q hq |
| 90 | let e : O ⊗ (L.tensorPower n).sheaf ≅ (L.tensorPower n).sheaf := |
| 91 | ((SheafCohomology.Projective.TensorSections.monoidalUnitObjIso X).symm ⊗ᵢ Iso.refl _) ≪≫ λ_ _ |
| 92 | exact (ConcreteCategory.bijective_of_isIso ((SheafCohomology.AffineH.Projective.zariskiFunctor X q).map e.inv)).injective.subsingleton |
| 93 | |
| 94 | end |
| 95 | |
| 96 | /-! One constructed positive power of an ample line bundle has both |
| 97 | a finite generating section family and vanishing positive cohomology. -/ |
| 98 | |
| 99 | set_option backward.isDefEq.respectTransparency false |
| 100 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 101 | |
| 102 | theorem ample_exists_power_sections_and_vanishing |
| 103 | {X S : Scheme.{0}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 104 | (f : X ⟶ S) [IsProper f] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (hL : L.IsAmple) : |
| 105 | ∃ (d : ℕ) (_ : 0 < d) (n : ℕ) |
| 106 | (s : Fin (n + 1) → (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.tensorPower d).sheaf)), |
| 107 | (∀ x : X, ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) ∧ |
| 108 | ∀ q : ℕ, 0 < q → Subsingleton (SheafCohomology.AffineH.Projective.H (L.tensorPower d).sheaf q) := by |
| 109 | obtain ⟨d, hd, n, s, hs, _⟩ := hL.projective_section_family |
| 110 | obtain ⟨b, hb⟩ := ample_lineBundle_eventually_vanishing f (L.tensorPower d) |
| 111 | (hL.tensorPower d hd) |
| 112 | let e : ((L.tensorPower d).tensorPower (b + 1)).sheaf ≅ |
| 113 | (L.tensorPower ((b + 1) * d)).sheaf := (L.tensorPowerComposeIso (b + 1) d).symm |
| 114 | let t := fun i : Fin (n + 1) => AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerSection (s i) (b + 1) ≫ e.hom |
| 115 | refine ⟨(b + 1) * d, Nat.mul_pos (Nat.zero_lt_succ b) hd, n, t, ?_, ?_⟩ |
| 116 | · intro x |
| 117 | obtain ⟨i, hi⟩ := hs x |
| 118 | refine ⟨i, ?_⟩ |
| 119 | have he : AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (t i) = AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i) := |
| 120 | (AbelianModuli.HilbertConstruction.Ample.Powers.sectionNonvanishing_comp_iso _ e).trans |
| 121 | (AbelianModuli.HilbertConstruction.Section.PowerLocus.sectionNonvanishing_tensorPowerSection (L := L.tensorPower d) (s i) |
| 122 | (b + 1) (Nat.zero_lt_succ b)) |
| 123 | exact he.symm ▸ hi |
| 124 | · intro q hq |
| 125 | have : Subsingleton (SheafCohomology.AffineH.Projective.H ((L.tensorPower d).tensorPower (b + 1)).sheaf q) := |
| 126 | hb (b + 1) (Nat.le_succ b) q hq |
| 127 | exact (ConcreteCategory.bijective_of_isIso ((SheafCohomology.AffineH.Projective.zariskiFunctor X q).map e.inv)).injective.subsingleton |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.AmpleAllVanishing |