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.ScalarSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntegralLineBundleRestrictions |
| 3 | |
| 4 | /-! # Ratio Section Proportionality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.RatioSectionProportionality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A scalar ratio on a nonempty frame open of an integral scheme forces the two global sections to be proportional over the coefficient field. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {K : Type u} [Field K] {X : Scheme.{u}} [IsIntegral X] |
| 17 | |
| 18 | theorem sectionCoordinateLinear_injective (p : X ⟶ Spec (.of K)) (L : Line.Bundles.LineBundle X) |
| 19 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) (U : X.Opens) (hU : U ≤ Ample.LineBundles.sectionNonvanishing s) |
| 20 | [Nonempty U] : Function.Injective (Coefficient.SectionCoordinates.sectionCoordinateLinear p s U hU) := |
| 21 | (Coefficient.SectionCoordinates.coefficientFrameCoordinateEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) U |
| 22 | (Section.LocalLinearFrames.sectionLocalFrameEquiv s U hU).symm).injective.comp (L.restriction_injective U.leTop.le) |
| 23 | |
| 24 | omit [IsIntegral X] in |
| 25 | theorem sectionComponentRatio_self {M : X.Modules} (s : Line.Bundles.structureModule X ⟶ M) |
| 26 | (U : X.Opens) (hU : U ≤ Ample.LineBundles.sectionNonvanishing s) : Section.ComponentRatios.sectionComponentRatio s s U hU = 1 := by |
| 27 | apply (Section.LocalLinearFrames.sectionLocalFrameEquiv s U hU).injective |
| 28 | exact ((Section.LocalLinearFrames.sectionLocalFrameEquiv s U hU).apply_symm_apply _).trans |
| 29 | (Section.LocalLinearFrames.sectionLocalFrameEquiv_apply s U hU 1).symm |
| 30 | |
| 31 | theorem section_eq_scalar_of_ratio (p : X ⟶ Spec (.of K)) (L : Line.Bundles.LineBundle X) |
| 32 | (s t : Line.Bundles.structureModule X ⟶ L.sheaf) (U : X.Opens) (hU : U ≤ Ample.LineBundles.sectionNonvanishing s) |
| 33 | [Nonempty U] (c : K) |
| 34 | (hc : algebraMap K (Coefficient.AlgebraPresheaf.coefficientAlgebraSections (Coefficient.ModulePresheaf.schemeCoefficientMap p) U) c = |
| 35 | Section.ComponentRatios.sectionComponentRatio s t U hU) : t = Coefficient.ScalarSections.coefficientScalarSection p c s := by |
| 36 | apply (Global.Sections.moduleSectionHomEquiv L.sheaf).injective |
| 37 | apply sectionCoordinateLinear_injective p L s U hU |
| 38 | let φ := Coefficient.SectionCoordinates.sectionCoordinateLinear p s U hU |
| 39 | have hself : φ (Global.Sections.moduleSectionHomEquiv L.sheaf s) = 1 := |
| 40 | (Coefficient.SectionCoordinates.sectionCoordinateLinear_value p s s U hU).trans (sectionComponentRatio_self s U hU) |
| 41 | have hscalar : φ (Global.Sections.moduleSectionHomEquiv L.sheaf (Coefficient.ScalarSections.coefficientScalarSection p c s)) = |
| 42 | c • (1 : Coefficient.AlgebraPresheaf.coefficientAlgebraSections (Coefficient.ModulePresheaf.schemeCoefficientMap p) U) := |
| 43 | (congrArg φ (Coefficient.ScalarSections.coefficientScalarSection_value p c s)).trans |
| 44 | ((φ.map_smul c _).trans (congrArg (fun z : Coefficient.AlgebraPresheaf.coefficientAlgebraSections (Coefficient.ModulePresheaf.schemeCoefficientMap p) U => c • z) hself)) |
| 45 | apply (Coefficient.SectionCoordinates.sectionCoordinateLinear_value p s t U hU).trans |
| 46 | apply Eq.trans _ hscalar.symm |
| 47 | simpa only [Algebra.smul_def, mul_one] using hc.symm |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.RatioSectionProportionality |