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.HilbertScheme.Presentations.Proper.AmplePowerVanishing |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorPower |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.InvertibleTensorCoherent |
| 5 | |
| 6 | /-! # Ample All Powers Vanishing -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Proper.AmpleAllPowersVanishing |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Serre vanishing holds for every sufficiently large actual tensor |
| 13 | power, using finitely many residue classes of the embedding degree. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry MonoidalCategory |
| 18 | |
| 19 | namespace Cohomology |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | local instance (X : Scheme.{u}) : MonoidalCategory X.Modules := SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory X |
| 24 | |
| 25 | theorem ample_tensorPowers_eventually_vanishing |
| 26 | {X S : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 27 | (f : X ⟶ S) [IsProper f] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (hL : L.IsAmple) |
| 28 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 29 | ∃ b : ℕ, ∀ n : ℕ, b ≤ n → ∀ q : ℕ, 0 < q → |
| 30 | Subsingleton (SheafCohomology.AffineH.Projective.H (M ⊗ (L.tensorPower n).sheaf) q) := by |
| 31 | classical |
| 32 | obtain ⟨d, hd, hstep⟩ := AmplePowerVanishing.Cohomology.ample_tensorPowers_vanishing_step f L hL |
| 33 | let F (k : Fin d) : X.Modules := M ⊗ (L.tensorPower k.val).sheaf |
| 34 | have hv (k : Fin d) : ∃ b : ℕ, ∀ n : ℕ, b ≤ n → ∀ q : ℕ, 0 < q → |
| 35 | Subsingleton (SheafCohomology.AffineH.Projective.H (F k ⊗ (L.tensorPower (n * d)).sheaf) q) := by |
| 36 | have hK := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible (L.tensorPower k.val) |
| 37 | have : (F k).IsQuasicoherent := hK.tensorObj_isQuasicoherent |
| 38 | have : (F k).IsFiniteType := hK.tensorObj_isFiniteType |
| 39 | exact hstep (F k) |
| 40 | choose b hb using hv |
| 41 | let B := Finset.univ.sup b |
| 42 | refine ⟨B * d, fun n hn q hq => ?_⟩ |
| 43 | let k : Fin d := ⟨n % d, Nat.mod_lt n hd⟩ |
| 44 | have hk : b k ≤ n / d := |
| 45 | (Finset.le_sup (f := b) (Finset.mem_univ k)).trans ((Nat.le_div_iff_mul_le hd).mpr hn) |
| 46 | have : Subsingleton (SheafCohomology.AffineH.Projective.H (F k ⊗ (L.tensorPower (n / d * d)).sheaf) q) := |
| 47 | hb k (n / d) hk q hq |
| 48 | have he : k.val + n / d * d = n := by |
| 49 | change n % d + n / d * d = n |
| 50 | rw [Nat.mul_comm (n / d) d] |
| 51 | exact Nat.mod_add_div n d |
| 52 | let eP : (L.tensorPower k.val).sheaf ⊗ (L.tensorPower (n / d * d)).sheaf ≅ |
| 53 | (L.tensorPower n).sheaf := |
| 54 | SheafCohomology.Projective.TensorSections.monoidalTensorObjIso _ _ ≪≫ (Quotients.FiniteDescent.TensorPower.Construction.TensorPowerAddition.iso L.sheaf k.val (n / d * d)).symm ≪≫ |
| 55 | eqToIso (congrArg (fun m => (L.tensorPower m).sheaf) he) |
| 56 | let e : F k ⊗ (L.tensorPower (n / d * d)).sheaf ≅ M ⊗ (L.tensorPower n).sheaf := |
| 57 | α_ M (L.tensorPower k.val).sheaf (L.tensorPower (n / d * d)).sheaf ≪≫ |
| 58 | (Iso.refl M ⊗ᵢ eP) |
| 59 | exact (ConcreteCategory.bijective_of_isIso ((SheafCohomology.AffineH.Projective.zariskiFunctor X q).map e.inv)).injective.subsingleton |
| 60 | |
| 61 | end Cohomology |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Proper.AmpleAllPowersVanishing |