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.AbelianModuli.HilbertConstruction.Coefficient.SectionCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ZeroSections |
| 3 | |
| 4 | /-! # Scalar Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.ScalarSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Scalar multiplication of actual sections agrees with the coefficient action on their global values and cannot enlarge their nonvanishing opens. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) |
| 17 | |
| 18 | def coefficientScalarSection {M : X.Modules} (c : K) (s : Line.Bundles.structureModule X ⟶ M) : |
| 19 | Line.Bundles.structureModule X ⟶ M := (Global.Sections.structureModuleEndRingEquiv X).symm (ModulePresheaf.schemeCoefficientMap p c) ≫ s |
| 20 | |
| 21 | theorem coefficientScalarSection_value {M : X.Modules} (c : K) (s : Line.Bundles.structureModule X ⟶ M) : |
| 22 | (show (GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M from Global.Sections.moduleSectionHomEquiv M (coefficientScalarSection p c s)) = |
| 23 | c • (show (GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M from Global.Sections.moduleSectionHomEquiv M s) := by |
| 24 | have ha : ((Global.Sections.structureModuleEndRingEquiv X).symm (ModulePresheaf.schemeCoefficientMap p c)).app ⊤ |
| 25 | (1 : Γ(X, ⊤)) = ModulePresheaf.schemeCoefficientMap p c := (Global.Sections.structureModuleEndRingEquiv X).apply_symm_apply _ |
| 26 | change s.app ⊤ (((Global.Sections.structureModuleEndRingEquiv X).symm (ModulePresheaf.schemeCoefficientMap p c)).app ⊤ (1 : Γ(X, ⊤))) = |
| 27 | (X.presheaf.map (𝟙 (.op (⊤ : X.Opens))) (ModulePresheaf.schemeCoefficientMap p c)) • s.app ⊤ (1 : Γ(X, ⊤)) |
| 28 | rw [ha, X.presheaf.map_id] |
| 29 | exact (congrArg (s.app ⊤) (mul_one (ModulePresheaf.schemeCoefficientMap p c))).symm.trans |
| 30 | (s.app_smul (ModulePresheaf.schemeCoefficientMap p c) (1 : Γ(X, ⊤))) |
| 31 | |
| 32 | theorem coefficientScalarSection_nonvanishing_le (L : Line.Bundles.LineBundle X) (c : K) |
| 33 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 34 | Ample.LineBundles.sectionNonvanishing (coefficientScalarSection p c s) ≤ Ample.LineBundles.sectionNonvanishing s := by |
| 35 | by_cases hc : c = 0 |
| 36 | · subst c |
| 37 | have he : coefficientScalarSection p 0 s = 0 := by |
| 38 | simp only [coefficientScalarSection, map_zero, zero_comp] |
| 39 | rw [he, L.sectionNonvanishing_zero] |
| 40 | exact bot_le |
| 41 | · have ha : IsUnit ((Global.Sections.structureModuleEndRingEquiv X).symm (ModulePresheaf.schemeCoefficientMap p c)) := |
| 42 | ((isUnit_iff_ne_zero.mpr hc).map (ModulePresheaf.schemeCoefficientMap p)).map (Global.Sections.structureModuleEndRingEquiv X).symm.toRingHom |
| 43 | have : IsIso ((Global.Sections.structureModuleEndRingEquiv X).symm (ModulePresheaf.schemeCoefficientMap p c)) := |
| 44 | (isUnit_iff_isIso _).mp ha |
| 45 | exact (Section.SectionRestriction.sectionNonvanishing_sourceIso (asIso ((Global.Sections.structureModuleEndRingEquiv X).symm (ModulePresheaf.schemeCoefficientMap p c))) s).le |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.ScalarSections |