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.GroundAffineComplement |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SymmetricAffine |
| 3 | |
| 4 | /-! # Ground Symmetric Section -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.GroundSymmetricSection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An affine neighborhood of the rational identity supplies a symmetric |
| 11 | line bundle and an affine nonvanishing section over the ground field. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | theorem ground_symmetric_affine_section |
| 23 | {K : Type u} [Field K] |
| 24 | (A : Over (Spec (CommRingCat.of K))) [GrpObj A] |
| 25 | [Smooth A.hom] [IsProper A.hom] [GeometricallyIntegral A.hom] : |
| 26 | ∃ (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left ⟶ L.sheaf), |
| 27 | (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s : Set A.left).Nonempty ∧ IsAffineOpen (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s) ∧ |
| 28 | Nonempty ((L.pullback (GrpObj.inv (X := A)).left).sheaf ≅ L.sheaf) := by |
| 29 | have : IsIntegral A.left := GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 30 | have : A.left.IsSeparated := ⟨by |
| 31 | rw [← terminal.comp_from A.hom] |
| 32 | infer_instance⟩ |
| 33 | let j : A.left ≅ A.left := (Over.forget (Spec (CommRingCat.of K))).mapIso (asIso (GrpObj.inv (X := A))) |
| 34 | have hj : j.hom ≫ j.hom = 𝟙 A.left := congrArg Over.Hom.left (GrpObj.inv_comp_inv A) |
| 35 | let x : A.left := (MonObj.one (X := A)).left (IsLocalRing.closedPoint K) |
| 36 | have hjx : j.hom x = x := by |
| 37 | have h : (MonObj.one (X := A)) ≫ GrpObj.inv = MonObj.one := by simp |
| 38 | exact congrArg (fun a : Spec (CommRingCat.of K) ⟶ A.left => a (IsLocalRing.closedPoint K)) |
| 39 | (congrArg Over.Hom.left h) |
| 40 | obtain ⟨_, ⟨U, hU, rfl⟩, hx, _⟩ := A.left.isBasis_affineOpens.exists_subset_of_mem_open |
| 41 | (Set.mem_univ x) isOpen_univ |
| 42 | have : Nonempty U := ⟨⟨x, hx⟩⟩ |
| 43 | obtain ⟨L, s, hs⟩ := GroundAffineComplement.Construction.GroundAffineComplementDivisor.exists_lineBundle A.hom ⟨U, hU⟩ |
| 44 | let M := L.tensor (L.pullback j.hom) |
| 45 | let t : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left ⟶ M.sheaf := Quotients.FiniteDescent.BinaryTensorId.Construction.BinaryTensorMap.tensorSection s (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection j.hom s) |
| 46 | have ht : AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing t = U ⊓ j.hom ⁻¹ᵁ U := by |
| 47 | have h₁ := Quotients.FiniteDescent.TensorSection.Construction.TensorSectionLocus.nonvanishing (L := L) (M := L.pullback j.hom) |
| 48 | s (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection j.hom s) |
| 49 | have h₂ := Quotients.FiniteDescent.SectionBase.Construction.SectionBaseChange.nonvanishing_pullback j.hom L s |
| 50 | exact h₁.trans (congrArg₂ (fun V W : A.left.Opens => V ⊓ W) hs |
| 51 | (h₂.trans (congrArg (fun V => j.hom ⁻¹ᵁ V) hs))) |
| 52 | have hc : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (M.pullback j.hom) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf M := by |
| 53 | let q := AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf L |
| 54 | change Quotients.FiniteDescent.PicardPullbackId.Construction.PicardPullback.map j.hom (q * Quotients.FiniteDescent.PicardPullbackId.Construction.PicardPullback.map j.hom q) = q * Quotients.FiniteDescent.PicardPullbackId.Construction.PicardPullback.map j.hom q |
| 55 | rw [map_mul] |
| 56 | have hh : Quotients.FiniteDescent.PicardPullbackId.Construction.PicardPullback.map j.hom (Quotients.FiniteDescent.PicardPullbackId.Construction.PicardPullback.map j.hom q) = q := by |
| 57 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass j.hom (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass j.hom q) = q |
| 58 | rw [← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, hj, AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_id] |
| 59 | rw [hh, mul_comm] |
| 60 | have hix : x ∈ j.hom ⁻¹ᵁ U := by |
| 61 | change j.hom x ∈ U |
| 62 | rwa [hjx] |
| 63 | refine ⟨M, t, ⟨x, ht.symm ▸ ⟨hx, hix⟩⟩, ?_, Quotient.exact hc⟩ |
| 64 | rw [ht] |
| 65 | exact hU.inf (hU.preimage j.hom) |
| 66 | |
| 67 | end Construction |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.GroundSymmetricSection |