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.HodgeConjecture.HeckeCycles.PairedTranslateCover |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.TranslateLineSquare |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineComplement |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorSection |
| 5 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SectionBase |
| 6 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SchemeSmooth |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.ProjectivePresentation |
| 8 | |
| 9 | /-! # Group Projectivity -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GroupProjectivity.CM |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Construct an ample line bundle and an actual projective embedding |
| 16 | on a proper smooth connected commutative group. Opposite translated |
| 17 | sections of one affine divisor are sections of its square and give |
| 18 | affine neighborhoods covering the original group. -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 22 | open scoped _root_.CategoryTheory.MonObj |
| 23 | |
| 24 | variable {K : Type} [Field K] [IsAlgClosed K] |
| 25 | (A : Over (Spec (.of K))) [GrpObj A] [IsCommMonObj A] |
| 26 | [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 27 | |
| 28 | local notation "Point" => 𝟙_ (Over (Spec (CommRingCat.of K))) ⟶ A |
| 29 | |
| 30 | def squareSection (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left ⟶ L.sheaf) |
| 31 | (b : Point) : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left ⟶ (L.tensorPower 2).sheaf := |
| 32 | Quotients.FiniteDescent.BinaryTensorId.Construction.BinaryTensorMap.tensorSection |
| 33 | (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (Quotients.FiniteDescent.GroupAffine.Construction.GroupAffineNeighborhood.translate A b).hom s) |
| 34 | (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (Quotients.FiniteDescent.GroupAffine.Construction.GroupAffineNeighborhood.translate A b⁻¹).hom s) ≫ |
| 35 | (Classical.choice (TranslateLineSquare.CM.square_iso A L b)).inv |
| 36 | |
| 37 | theorem squareSection_nonvanishing |
| 38 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left ⟶ L.sheaf) (b : Point) : |
| 39 | AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (squareSection A L s b) = |
| 40 | PairedTranslateCover.CM.pairedOpen A (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) b := by |
| 41 | let e := Classical.choice (TranslateLineSquare.CM.square_iso A L b) |
| 42 | have he := AbelianModuli.HilbertConstruction.Ample.Powers.sectionNonvanishing_comp_iso |
| 43 | (Quotients.FiniteDescent.BinaryTensorId.Construction.BinaryTensorMap.tensorSection |
| 44 | (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (Quotients.FiniteDescent.GroupAffine.Construction.GroupAffineNeighborhood.translate A b).hom s) |
| 45 | (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (Quotients.FiniteDescent.GroupAffine.Construction.GroupAffineNeighborhood.translate A b⁻¹).hom s)) e.symm |
| 46 | have ht := Quotients.FiniteDescent.TensorSection.Construction.TensorSectionLocus.nonvanishing |
| 47 | (L := L.pullback (Quotients.FiniteDescent.GroupAffine.Construction.GroupAffineNeighborhood.translate A b).hom) |
| 48 | (M := L.pullback (Quotients.FiniteDescent.GroupAffine.Construction.GroupAffineNeighborhood.translate A b⁻¹).hom) |
| 49 | (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (Quotients.FiniteDescent.GroupAffine.Construction.GroupAffineNeighborhood.translate A b).hom s) |
| 50 | (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection (Quotients.FiniteDescent.GroupAffine.Construction.GroupAffineNeighborhood.translate A b⁻¹).hom s) |
| 51 | exact he.trans (ht.trans (congrArg₂ (fun U V : A.left.Opens => U ⊓ V) |
| 52 | (Quotients.FiniteDescent.SectionBase.Construction.SectionBaseChange.nonvanishing_pullback (Quotients.FiniteDescent.GroupAffine.Construction.GroupAffineNeighborhood.translate A b).hom L s) |
| 53 | (Quotients.FiniteDescent.SectionBase.Construction.SectionBaseChange.nonvanishing_pullback (Quotients.FiniteDescent.GroupAffine.Construction.GroupAffineNeighborhood.translate A b⁻¹).hom L s))) |
| 54 | |
| 55 | theorem square_ample (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left ⟶ L.sheaf) |
| 56 | (ha : IsAffineOpen (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s)) |
| 57 | (hne : ((AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s : A.left.Opens) : Set A.left).Nonempty) : |
| 58 | (L.tensorPower 2).IsAmple := by |
| 59 | have : CompactSpace A.left := QuasiCompact.compactSpace_of_compactSpace A.hom |
| 60 | have : A.left.IsSeparated := ⟨by |
| 61 | rw [← CategoryTheory.Limits.terminal.comp_from A.hom] |
| 62 | infer_instance⟩ |
| 63 | refine ⟨isCompact_univ, fun x => ?_⟩ |
| 64 | obtain ⟨b, hb⟩ := PairedTranslateCover.CM.covers A (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) hne x |
| 65 | refine ⟨1, Nat.zero_lt_one, L.tensorPower 2, AbelianModuli.HilbertConstruction.Tensor.Powers.isTensorPower_one _, squareSection A L s b, ?_, ?_⟩ |
| 66 | · rwa [squareSection_nonvanishing] |
| 67 | · rw [squareSection_nonvanishing] |
| 68 | exact PairedTranslateCover.CM.affine A _ ha b |
| 69 | |
| 70 | theorem exists_ample : ∃ L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left, L.IsAmple := by |
| 71 | have : IsReduced A.left := Quotients.FiniteDescent.SchemeSmooth.Construction.SchemeSmoothReduced.reduced_of_smooth_field A.hom |
| 72 | have : IrreducibleSpace A.left := Quotients.FiniteDescent.GroupIrreducibleOf.Construction.GroupIrreducible.irreducibleSpace_of_connected_group A |
| 73 | have : IsIntegral A.left := isIntegral_of_irreducibleSpace_of_isReduced A.left |
| 74 | have : A.left.IsSeparated := ⟨by |
| 75 | rw [← CategoryTheory.Limits.terminal.comp_from A.hom] |
| 76 | infer_instance⟩ |
| 77 | let x : A.left := (MonObj.one (X := A)).left (IsLocalRing.closedPoint K) |
| 78 | obtain ⟨U, hU, hx, _⟩ := TopologicalSpace.Opens.isBasis_iff_nbhd.mp A.left.isBasis_affineOpens |
| 79 | (show x ∈ (⊤ : A.left.Opens) from trivial) |
| 80 | let : Nonempty U := ⟨⟨x, hx⟩⟩ |
| 81 | obtain ⟨L, s, hs⟩ := Quotients.FiniteDescent.AffineComplement.Construction.AffineComplementDivisor.exists_lineBundle A.hom ⟨U, hU⟩ |
| 82 | refine ⟨L.tensorPower 2, square_ample A L s ?_ ?_⟩ |
| 83 | · rwa [hs] |
| 84 | · rw [hs] |
| 85 | exact ⟨x, hx⟩ |
| 86 | |
| 87 | theorem projective : Nonempty (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation A) := by |
| 88 | obtain ⟨L, hL⟩ := exists_ample A |
| 89 | exact hL.exists_projectivePresentation A.hom |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GroupProjectivity.CM |