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.Family.FramedSectionEvaluation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.NonvanishingBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Rational.PointGlobalEvaluation |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.SpectrumLineBundleFrames |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.RingSectionBasis |
| 6 | |
| 7 | /-! # Line Bundle Evaluation -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Rational.LineBundleEvaluation |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A frame of the actual line-bundle fiber gives a coefficient-linear |
| 14 | evaluation functional on global sections. Its kernel is precisely the |
| 15 | sections vanishing at the rational point. -/ |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | universe u |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | variable {K : Type u} [Field K] {X : Scheme.{u}} |
| 21 | variable (p : X ⟶ Spec (.of K)) (L : Line.Bundles.LineBundle X) |
| 22 | variable (x : Spec (.of K) ⟶ X) (hx : x ≫ p = 𝟙 _) |
| 23 | |
| 24 | def rationalLineBundleSectionValue (a : Line.Bundles.structureModule X ⟶ L.sheaf) : K := |
| 25 | PointGlobalEvaluation.rationalPointGlobalEvaluation (𝟙 (Spec (.of K))) (𝟙 (Spec (.of K))) (Category.id_comp _) |
| 26 | (Frame.Coordinates.structureModuleEndValue (Spec (.of K)) |
| 27 | (Ample.LineBundles.pullbackSection x a ≫ (Local.SpectrumLineBundleFrames.localSpectrumLineBundleIso (L.pullback x)).hom)) |
| 28 | |
| 29 | theorem rationalLineBundleSectionValue_add (a b : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 30 | rationalLineBundleSectionValue L x (a + b) = |
| 31 | rationalLineBundleSectionValue L x a + rationalLineBundleSectionValue L x b := by |
| 32 | unfold rationalLineBundleSectionValue |
| 33 | erw [Section.NonvanishingAddition.pullbackSection_add, Preadditive.add_comp, map_add] |
| 34 | rfl |
| 35 | |
| 36 | include hx in |
| 37 | theorem rationalLineBundleSectionValue_scalar (r : K) (a : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 38 | rationalLineBundleSectionValue L x (Scalar.SectionValues.scalarSection (Coefficient.ModulePresheaf.schemeCoefficientMap p r) a) = |
| 39 | r * rationalLineBundleSectionValue L x a := by |
| 40 | let E := Local.SpectrumLineBundleFrames.localSpectrumLineBundleIso (L.pullback x) |
| 41 | let ε := PointGlobalEvaluation.rationalPointGlobalEvaluation (𝟙 (Spec (.of K))) (𝟙 (Spec (.of K))) (Category.id_comp _) |
| 42 | have h := congrArg ε (Family.FramedSectionEvaluation.familyFramedSectionValue_scalar p L x hx E |
| 43 | ((Scheme.ΓSpecIso (.of K)).inv r) a) |
| 44 | rw [map_mul] at h |
| 45 | have hc : ε ((Scheme.ΓSpecIso (.of K)).inv r) = r := |
| 46 | PointGlobalEvaluation.rationalPointGlobalEvaluation_coefficient (𝟙 (Spec (.of K))) (𝟙 (Spec (.of K))) |
| 47 | (Category.id_comp _) r |
| 48 | rw [hc] at h |
| 49 | exact h |
| 50 | |
| 51 | theorem rationalLineBundleSectionValue_eq_zero (a : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 52 | rationalLineBundleSectionValue L x a = 0 ↔ |
| 53 | x (IsLocalRing.closedPoint K) ∉ Ample.LineBundles.sectionNonvanishing a := by |
| 54 | unfold rationalLineBundleSectionValue |
| 55 | rw [PointGlobalEvaluation.rationalPointGlobalEvaluation_eq_zero, ← Scalar.Nonvanishing.sectionNonvanishing_scalar, |
| 56 | Ample.Powers.sectionNonvanishing_comp_iso, LineBundle.NonvanishingBaseChange.sectionNonvanishing_lineBundle_baseChange x L a] |
| 57 | rfl |
| 58 | |
| 59 | def rationalLineBundleEvaluation : |
| 60 | (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj L.sheaf →ₗ[K] K where |
| 61 | toFun v := rationalLineBundleSectionValue L x |
| 62 | ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf).symm v) |
| 63 | map_add' v w := by |
| 64 | erw [map_add] |
| 65 | exact rationalLineBundleSectionValue_add L x _ _ |
| 66 | map_smul' r v := by |
| 67 | have he : (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf).symm (r • v) = |
| 68 | Scalar.SectionValues.scalarSection (Coefficient.ModulePresheaf.schemeCoefficientMap p r) |
| 69 | ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf).symm v) := by |
| 70 | apply (Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf).injective |
| 71 | erw [AddEquiv.apply_symm_apply, Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv_scalar, |
| 72 | AddEquiv.apply_symm_apply] |
| 73 | rw [he] |
| 74 | exact rationalLineBundleSectionValue_scalar p L x hx r _ |
| 75 | |
| 76 | theorem rationalLineBundleEvaluation_eq_zero |
| 77 | (v : (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj L.sheaf) : |
| 78 | rationalLineBundleEvaluation p L x hx v = 0 ↔ |
| 79 | x (IsLocalRing.closedPoint K) ∉ Ample.LineBundles.sectionNonvanishing |
| 80 | ((Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf).symm v) := |
| 81 | rationalLineBundleSectionValue_eq_zero L x _ |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Rational.LineBundleEvaluation |