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.AbelianModuli.HilbertConstruction.PointwiseGeneratingPower |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.GeometricAmpleness |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.PowerBaseChange |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.PowerStability |
| 5 | |
| 6 | /-! # Pointwise Geometric Projectivity -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! For a proper scheme over an affine base, geometric fiber ampleness and pointwise nonvanishing sections of positive powers imply ampleness and projectivity. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {S X : Scheme.{u}} [IsAffine S] (f : X ⟶ S) [IsProper f] (L : Line.Bundles.LineBundle X) |
| 19 | variable (hL : ∀ (K : Type u) [Field K] [IsAlgClosed K] (b : Spec (.of K) ⟶ S), |
| 20 | (L.pullback (Limits.pullback.fst f b)).IsAmple) |
| 21 | variable (h : ∀ x : X, ∃ (n : ℕ) (_ : 0 < n) (s : Line.Bundles.structureModule X ⟶ (L.tensorPower n).sheaf), |
| 22 | x ∈ Ample.LineBundles.sectionNonvanishing s) |
| 23 | |
| 24 | include hL h |
| 25 | |
| 26 | theorem Line.Bundles.LineBundle.isAmple_of_geometric_fibers_of_pointwise_sections : L.IsAmple := by |
| 27 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 28 | obtain ⟨d, hd, n, s, hs⟩ := L.exists_generating_power_of_pointwise h |
| 29 | have ha : (L.tensorPower d).IsAmple := by |
| 30 | apply (L.tensorPower d).isAmple_of_geometric_fibers_of_generating_sections f s hs |
| 31 | intro K _ _ b |
| 32 | exact ((hL K b).tensorPower d hd).of_iso (L.powerBaseChangeIso (Limits.pullback.fst f b) d).symm |
| 33 | exact ha.of_tensorPower d hd |
| 34 | |
| 35 | def Line.Bundles.LineBundle.projectivePresentation_of_geometric_fibers_of_pointwise_sections : Projective.ProjectivePresentations.ProjectivePresentation (Over.mk f) := |
| 36 | (L.isAmple_of_geometric_fibers_of_pointwise_sections f hL h).projectivePresentation f |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |