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.GlobalSectionGeneration |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineTrivializationOf |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.FieldPoint |
| 4 | |
| 5 | /-! # Generated Line Bundle Frames -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A line bundle generated by its actual global sections has a global |
| 12 | section frame at every point. Detection takes place over the residue field. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem GeneratedLineBundleFrames.Construction.structureModule_field_not_isZero (K : Type u) [Field K] : |
| 21 | ¬ IsZero (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (Spec (CommRingCat.of K))) := by |
| 22 | intro h |
| 23 | let G := SheafOfModules.evaluation (Spec (CommRingCat.of K)).ringCatSheaf (.op ⊤) |
| 24 | let : G.PreservesZeroMorphisms := by |
| 25 | dsimp only [G, SheafOfModules.evaluation] |
| 26 | infer_instance |
| 27 | have : Subsingleton (G.obj (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (Spec (CommRingCat.of K)))) := |
| 28 | ModuleCat.subsingleton_of_isZero (G.map_isZero h) |
| 29 | have h01 : (0 : Γ(Spec (CommRingCat.of K), ⊤)) = 1 := |
| 30 | @Subsingleton.elim (G.obj (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (Spec (CommRingCat.of K)))) _ |
| 31 | (0 : Γ(Spec (CommRingCat.of K), ⊤)) (1 : Γ(Spec (CommRingCat.of K), ⊤)) |
| 32 | let : Field Γ(Spec (CommRingCat.of K), ⊤) := Quotients.FiniteDescent.FieldPoint.Construction.FieldPointPrime.sectionsField K |
| 33 | exact zero_ne_one h01 |
| 34 | |
| 35 | theorem GeneratedLineBundleFrames.Construction.lineBundle_not_isZero {X : Scheme.{u}} [Nonempty X] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) : |
| 36 | ¬ IsZero L.sheaf := by |
| 37 | intro h |
| 38 | let x : X := Classical.choice inferInstance |
| 39 | let f := X.fromSpecResidueField x |
| 40 | obtain ⟨e⟩ := Quotients.FiniteDescent.LineTrivializationOf.Construction.LineTrivialization.pullback_trivial_over_field f L |
| 41 | exact GeneratedLineBundleFrames.Construction.structureModule_field_not_isZero (X.residueField x) |
| 42 | (((Scheme.Modules.pullback f).map_isZero h).of_iso e.symm) |
| 43 | |
| 44 | theorem GlobalSectionGeneration.Construction.SectionsDetectMaps.lineBundle_frames {X : Scheme.{u}} (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 45 | (hL : GlobalSectionGeneration.Construction.SectionsDetectMaps L.sheaf) : Frame.SectionDetection.Construction.HasFrameSections L.sheaf := by |
| 46 | intro x |
| 47 | by_contra h |
| 48 | push Not at h |
| 49 | let f := X.fromSpecResidueField x |
| 50 | let F := Scheme.Modules.pullback f |
| 51 | have hs (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ L.sheaf) : F.map s = 0 := by |
| 52 | have hz : AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection f s = 0 := by |
| 53 | apply Quotients.FiniteDescent.ReducedSectionsEq.Construction.ReducedSections.section_eq_zero_of_nonvanishing_eq_bot (L.pullback f) |
| 54 | rw [Quotients.FiniteDescent.SectionBase.Construction.SectionBaseChange.nonvanishing_pullback] |
| 55 | apply le_antisymm _ bot_le |
| 56 | intro y hy |
| 57 | exact False.elim (h s (by |
| 58 | change f y ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s at hy |
| 59 | simpa only [f, Scheme.fromSpecResidueField_apply] using hy)) |
| 60 | apply (cancel_epi (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).inv).mp |
| 61 | simpa only [AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection, comp_zero] using hz |
| 62 | let U := fun _ : Γ(L.sheaf, ⊤) => AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X |
| 63 | have he : F.map (GlobalSectionGeneration.Construction.globalSectionEvaluation L.sheaf) = 0 := by |
| 64 | apply (isColimitOfPreserves F (coproductIsCoproduct U)).hom_ext |
| 65 | intro i |
| 66 | change F.map (Sigma.ι U i.as) ≫ F.map (GlobalSectionGeneration.Construction.globalSectionEvaluation L.sheaf) = |
| 67 | F.map (Sigma.ι U i.as) ≫ 0 |
| 68 | rw [comp_zero, ← F.map_comp] |
| 69 | simpa only [GlobalSectionGeneration.Construction.globalSectionEvaluation, Sigma.ι_comp_desc] using hs ((AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv L.sheaf).symm i.as) |
| 70 | have : Epi (GlobalSectionGeneration.Construction.globalSectionEvaluation L.sheaf) := hL.evaluation_epi |
| 71 | have hz := IsZero.of_epi_eq_zero (F.map (GlobalSectionGeneration.Construction.globalSectionEvaluation L.sheaf)) he |
| 72 | obtain ⟨e⟩ := Quotients.FiniteDescent.LineTrivializationOf.Construction.LineTrivialization.pullback_trivial_over_field f L |
| 73 | exact GeneratedLineBundleFrames.Construction.structureModule_field_not_isZero (X.residueField x) (hz.of_iso e.symm) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.FormalGeometry.Completion |