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.Quotients.FiniteDescent.AffineComplement |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorSection |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SectionBase |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PicardPullbackId |
| 5 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.GroupIrreducibleOf |
| 6 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SchemeSmooth |
| 7 | |
| 8 | /-! # Symmetric Affine -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.SymmetricAffine.Construction.SymmetricAffineSections |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Symmetric line bundles with affine section neighborhoods, constructed |
| 15 | without assuming that the scheme already has an ample bundle. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | theorem exists_of_involution {K : Type u} [Field K] [IsAlgClosed K] |
| 23 | {X : Scheme.{u}} [IsIntegral X] [X.IsSeparated] |
| 24 | (f : X ⟶ Spec (.of K)) [Smooth f] (j : X ≅ X) (hj : j.hom ≫ j.hom = 𝟙 X) |
| 25 | (hAF : ∀ F : Set X, F.Finite → ∃ U : X.Opens, IsAffineOpen U ∧ F ⊆ U) (x : X) : |
| 26 | ∃ (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L.sheaf), |
| 27 | x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s ∧ IsAffineOpen (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) ∧ |
| 28 | Nonempty ((L.pullback j.hom).sheaf ≅ L.sheaf) := by |
| 29 | obtain ⟨U, hU, hFU⟩ := hAF {x, j.hom x} (Set.toFinite _) |
| 30 | have hx : x ∈ U := hFU (by simp) |
| 31 | have hjx : j.hom x ∈ U := hFU (by simp) |
| 32 | have : Nonempty U := ⟨⟨x, hx⟩⟩ |
| 33 | obtain ⟨L, s, hs⟩ := AffineComplement.Construction.AffineComplementDivisor.exists_lineBundle f ⟨U, hU⟩ |
| 34 | let M := L.tensor (L.pullback j.hom) |
| 35 | let t : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M.sheaf := BinaryTensorId.Construction.BinaryTensorMap.tensorSection s (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection j.hom s) |
| 36 | have ht : AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing t = U ⊓ j.hom ⁻¹ᵁ U := by |
| 37 | have h₁ := TensorSection.Construction.TensorSectionLocus.nonvanishing (L := L) (M := L.pullback j.hom) |
| 38 | s (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection j.hom s) |
| 39 | have h₂ := SectionBase.Construction.SectionBaseChange.nonvanishing_pullback j.hom L s |
| 40 | exact h₁.trans (congrArg₂ (fun V W : X.Opens => V ⊓ W) hs |
| 41 | (h₂.trans (congrArg (fun V => j.hom ⁻¹ᵁ V) hs))) |
| 42 | have hc : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (M.pullback j.hom) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf M := by |
| 43 | let q := AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf L |
| 44 | change PicardPullbackId.Construction.PicardPullback.map j.hom (q * PicardPullbackId.Construction.PicardPullback.map j.hom q) = |
| 45 | q * PicardPullbackId.Construction.PicardPullback.map j.hom q |
| 46 | rw [map_mul] |
| 47 | have hh : PicardPullbackId.Construction.PicardPullback.map j.hom (PicardPullbackId.Construction.PicardPullback.map j.hom q) = q := by |
| 48 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass j.hom (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass j.hom q) = q |
| 49 | rw [← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, hj, AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_id] |
| 50 | rw [hh, mul_comm] |
| 51 | refine ⟨M, t, ht.symm ▸ ⟨hx, hjx⟩, ?_, Quotient.exact hc⟩ |
| 52 | rw [ht] |
| 53 | exact hU.inf (hU.preimage j.hom) |
| 54 | |
| 55 | /-- Every point of a proper smooth connected commutative group over an |
| 56 | algebraically closed field has an affine section neighborhood for a line |
| 57 | bundle invariant under inversion. -/ |
| 58 | theorem exists_for_group {K : Type u} [Field K] [IsAlgClosed K] |
| 59 | (A : Over (Spec (.of K))) [GrpObj A] [IsCommMonObj A] |
| 60 | [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] (x : A.left) : |
| 61 | ∃ (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left ⟶ L.sheaf), |
| 62 | x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s ∧ IsAffineOpen (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) ∧ |
| 63 | Nonempty ((L.pullback (GrpObj.inv (X := A)).left).sheaf ≅ L.sheaf) := by |
| 64 | have : IsReduced A.left := SchemeSmooth.Construction.SchemeSmoothReduced.reduced_of_smooth_field A.hom |
| 65 | have : IrreducibleSpace A.left := GroupIrreducibleOf.Construction.GroupIrreducible.irreducibleSpace_of_connected_group A |
| 66 | have : IsIntegral A.left := isIntegral_of_irreducibleSpace_of_isReduced A.left |
| 67 | have : A.left.IsSeparated := ⟨by |
| 68 | rw [← Limits.terminal.comp_from A.hom] |
| 69 | infer_instance⟩ |
| 70 | let j := (Over.forget (Spec (.of K))).mapIso (asIso (GrpObj.inv (X := A))) |
| 71 | have hj : j.hom ≫ j.hom = 𝟙 A.left := congrArg Over.Hom.left (GrpObj.inv_comp_inv A) |
| 72 | exact exists_of_involution A.hom j hj (GroupIrreducibleOf.Construction.GroupIrreducible.exists_affineOpen_of_finite A) x |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.SymmetricAffine.Construction.SymmetricAffineSections |