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.FormalGeometry.Completion.GroundPoleEq |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineRationalExists |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorSection |
| 4 | |
| 5 | /-! # Ground Affine Complement -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.GroundAffineComplement |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finite family of rational functions determines one effective pole divisor. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | namespace Construction.GroundFinitePoleDivisor |
| 18 | |
| 19 | theorem exists_lineBundle {K : Type u} [Field K] |
| 20 | {X : Scheme.{u}} [IsIntegral X] (f : X ⟶ Spec (.of K)) [Smooth f] [GeometricallyIntegral f] |
| 21 | (T : Finset X.functionField) : |
| 22 | ∃ (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L.sheaf), |
| 23 | ∀ x : X, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s ↔ |
| 24 | ∀ r ∈ T, ∃ a : X.presheaf.stalk x, algebraMap _ X.functionField a = r := by |
| 25 | classical |
| 26 | induction T using Finset.induction with |
| 27 | | empty => |
| 28 | refine ⟨AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X, 𝟙 (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X), ?_⟩ |
| 29 | intro x |
| 30 | change x ∈ @AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing X (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (𝟙 _) ↔ _ |
| 31 | rw [AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing_of_isIso (𝟙 (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X))] |
| 32 | simp |
| 33 | | @insert r T hr ih => |
| 34 | obtain ⟨L, s, hs⟩ := ih |
| 35 | let M := GroundPoleLine.Construction.GroundPoleLineBundle.lineBundle f r |
| 36 | let t := GroundPoleLine.Construction.GroundPoleLineBundle.canonicalSection f r |
| 37 | refine ⟨M.tensor L, Quotients.FiniteDescent.BinaryTensorId.Construction.BinaryTensorMap.tensorSection t s, ?_⟩ |
| 38 | intro x |
| 39 | change x ∈ @AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing X (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M.sheaf L.sheaf) |
| 40 | (Quotients.FiniteDescent.BinaryTensorId.Construction.BinaryTensorMap.tensorSection t s) ↔ _ |
| 41 | rw [Quotients.FiniteDescent.TensorSection.Construction.TensorSectionLocus.nonvanishing (L := M) (M := L) t s] |
| 42 | change (x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing t ∧ x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) ↔ _ |
| 43 | rw [hs x, GroundPoleEq.Construction.GroundPoleSection.mem_nonvanishing_iff_regular f r x] |
| 44 | simp only [Finset.mem_insert, forall_eq_or_imp] |
| 45 | |
| 46 | end Construction.GroundFinitePoleDivisor |
| 47 | |
| 48 | namespace Construction.GroundAffineComplementDivisor |
| 49 | |
| 50 | theorem exists_lineBundle {K : Type u} [Field K] |
| 51 | {X : Scheme.{u}} [IsIntegral X] [X.IsSeparated] |
| 52 | (f : X ⟶ Spec (.of K)) [Smooth f] [GeometricallyIntegral f] (U : X.affineOpens) [Nonempty U.1] : |
| 53 | ∃ (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L.sheaf), AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s = U.1 := by |
| 54 | obtain ⟨T, hT⟩ := Quotients.FiniteDescent.AffineRationalExists.Construction.AffineRationalCoordinates.exists_finset f U |
| 55 | obtain ⟨L, s, hs⟩ := GroundFinitePoleDivisor.exists_lineBundle f T |
| 56 | refine ⟨L, s, ?_⟩ |
| 57 | apply SetLike.ext |
| 58 | intro x |
| 59 | exact (hs x).trans (hT x).symm |
| 60 | |
| 61 | end Construction.GroundAffineComplementDivisor |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.GroundAffineComplement |