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.ProperFunctionsEq |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ReducedSectionsEq |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorSection |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PicardPullbackId |
| 5 | |
| 6 | /-! # Section Pair -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.SectionPair.Construction.SectionPairTriviality |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Two nonzero sections of inverse line bundles on a proper integral |
| 13 | scheme force both line bundles to be trivial. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {K : Type u} [Field K] (X : Over (Spec (.of K))) |
| 20 | variable [IsProper X.hom] [IsIntegral X.left] |
| 21 | |
| 22 | omit [IsProper X.hom] in |
| 23 | theorem nonempty_nonvanishing (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X.left) |
| 24 | (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X.left ⟶ L.sheaf) (hs : s ≠ 0) : |
| 25 | (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s : Set X.left).Nonempty := by |
| 26 | by_contra h |
| 27 | exact hs (ReducedSectionsEq.Construction.ReducedSections.section_eq_zero_of_nonvanishing_eq_bot L s |
| 28 | ((TopologicalSpace.Opens.not_nonempty_iff_eq_bot _).mp h)) |
| 29 | |
| 30 | theorem isIso_of_pair (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X.left) |
| 31 | (e : (L.tensor M).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X.left) |
| 32 | (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X.left ⟶ L.sheaf) (t : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X.left ⟶ M.sheaf) |
| 33 | (hs : s ≠ 0) (ht : t ≠ 0) : IsIso s := by |
| 34 | let a : End (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X.left) := BinaryTensorId.Construction.BinaryTensorMap.tensorSection s t ≫ e.hom |
| 35 | have he : AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing a = AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s ⊓ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing t := |
| 36 | (AbelianModuli.HilbertConstruction.Ample.Powers.sectionNonvanishing_comp_iso _ e).trans (TensorSection.Construction.TensorSectionLocus.nonvanishing s t) |
| 37 | have ha : (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing a : Set X.left).Nonempty := by |
| 38 | rw [he] |
| 39 | exact nonempty_preirreducible_inter (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).isOpen |
| 40 | (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing t).isOpen (nonempty_nonvanishing X L s hs) |
| 41 | (nonempty_nonvanishing X M t ht) |
| 42 | have hu : IsUnit (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X.left a) := by |
| 43 | apply (ProperFunctionsEq.Construction.ProperFunctions.section_eq_zero_or_isUnit X _).resolve_left |
| 44 | intro hz |
| 45 | obtain ⟨x, hx⟩ := ha |
| 46 | rw [AbelianModuli.HilbertConstruction.Scalar.Nonvanishing.sectionNonvanishing_scalar, hz, X.left.basicOpen_zero] at hx |
| 47 | exact hx.elim |
| 48 | have : IsIso a := (AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEnd_isIso_iff a).mpr hu |
| 49 | have htop : AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing a = ⊤ := (AbelianModuli.HilbertConstruction.Section.Frames.isIso_iff_sectionNonvanishing_eq_top a).mp this |
| 50 | apply (AbelianModuli.HilbertConstruction.Section.Frames.isIso_iff_sectionNonvanishing_eq_top s).mpr |
| 51 | apply top_unique |
| 52 | exact htop.symm.trans_le (he.le.trans inf_le_left) |
| 53 | |
| 54 | omit [IsProper X.hom] [IsIntegral X.left] in |
| 55 | theorem exists_nonzero_section (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X.left) [Nontrivial Γ(L.sheaf, ⊤)] : |
| 56 | ∃ s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X.left ⟶ L.sheaf, s ≠ 0 := by |
| 57 | obtain ⟨z, hz⟩ := exists_ne (0 : Γ(L.sheaf, ⊤)) |
| 58 | refine ⟨(AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv L.sheaf).symm z, ?_⟩ |
| 59 | intro h |
| 60 | apply hz |
| 61 | have he := congrArg (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv L.sheaf) h |
| 62 | have hzero : AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv L.sheaf 0 = 0 := rfl |
| 63 | exact (Equiv.apply_symm_apply _ _).symm.trans (he.trans hzero) |
| 64 | |
| 65 | theorem trivial_of_sections (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X.left) |
| 66 | (e : (L.tensor M).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X.left) |
| 67 | [Nontrivial Γ(L.sheaf, ⊤)] [Nontrivial Γ(M.sheaf, ⊤)] : |
| 68 | Nonempty (L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X.left) := by |
| 69 | obtain ⟨s, hs⟩ := exists_nonzero_section X L |
| 70 | obtain ⟨t, ht⟩ := exists_nonzero_section X M |
| 71 | have := isIso_of_pair X L M e s t hs ht |
| 72 | exact ⟨(asIso s).symm⟩ |
| 73 | |
| 74 | theorem nontrivial_sections_of_trivial (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X.left) |
| 75 | (e : L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X.left) : Nontrivial Γ(L.sheaf, ⊤) := by |
| 76 | have : Nontrivial Γ(X.left, ⊤) := (ProperFunctionsEq.Construction.ProperFunctions.globalSections_isField X).toField.toNontrivial |
| 77 | let i := (SheafOfModules.evaluation X.left.ringCatSheaf (.op ⊤)).mapIso e |
| 78 | exact i.toLinearEquiv.nontrivial_congr.mpr |
| 79 | (show Nontrivial Γ(X.left, ⊤) from inferInstance) |
| 80 | |
| 81 | theorem pair_iff (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X.left) |
| 82 | (e : (L.tensor M).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X.left) : |
| 83 | Nonempty (L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X.left) ↔ |
| 84 | Nontrivial Γ(L.sheaf, ⊤) ∧ Nontrivial Γ(M.sheaf, ⊤) := by |
| 85 | constructor |
| 86 | · rintro ⟨h⟩ |
| 87 | have hM : M.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X.left := |
| 88 | (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleUnitLeftIso M.sheaf).symm ≪≫ |
| 89 | AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr h.symm (Iso.refl M.sheaf) ≪≫ e |
| 90 | exact ⟨nontrivial_sections_of_trivial X L h, nontrivial_sections_of_trivial X M hM⟩ |
| 91 | · rintro ⟨hL, hM⟩ |
| 92 | exact trivial_of_sections X L M e |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.SectionPair.Construction.SectionPairTriviality |