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.IntegralLineBundleMonomorphisms |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.QuotientFiniteType |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.CohomologyEulerAdditivity |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.EulerShifts |
| 5 | |
| 6 | /-! # Section Cokernel Euler -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.SectionCokernelEuler |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual cokernel of multiplication by a generically nonvanishing section has Euler characteristic equal to the difference of the two line-bundle Euler characteristics. For tensor powers, this is the first difference of the original Euler sequence. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | variable {K : Type u} [Field K] {X : Scheme.{u}} [IsIntegral X] |
| 16 | variable (p : X ⟶ Spec (.of K)) [IsProper p] (L M : Line.Bundles.LineBundle X) |
| 17 | |
| 18 | theorem lineBundleSectionCokernel_euler |
| 19 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) [Nonempty (Ample.LineBundles.sectionNonvanishing s)] : |
| 20 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (cokernel (SectionMultiplication.lineBundleSectionMultiply L M s)) = |
| 21 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (L.tensor M).sheaf - |
| 22 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p M.sheaf := by |
| 23 | have : M.sheaf.IsFiniteType := M.isFiniteType |
| 24 | have : (L.tensor M).sheaf.IsFiniteType := (L.tensor M).isFiniteType |
| 25 | have : M.sheaf.IsQuasicoherent := M.isQuasicoherent |
| 26 | have : (L.tensor M).sheaf.IsQuasicoherent := (L.tensor M).isQuasicoherent |
| 27 | let f := SectionMultiplication.lineBundleSectionMultiply L M s |
| 28 | have : Mono f := IntegralLineBundleMonomorphisms.lineBundleSectionMultiply_mono L M s |
| 29 | have : (cokernel f).IsQuasicoherent := Quasicoherent.Cokernels.module_quasicoherent_cokernel f |
| 30 | have : (cokernel f).IsFiniteType := Quasicoherent.QuotientFiniteType.quasicoherent_cokernel_finiteType f |
| 31 | let S : ShortComplex X.Modules := |
| 32 | ShortComplex.mk f (cokernel.π f) (cokernel.condition f) |
| 33 | have hS : S.ShortExact := ⟨ShortComplex.cokernelSequence_exact f⟩ |
| 34 | have h := Proper.CohomologyEulerAdditivity.proper_coherent_euler_additive p hS |
| 35 | change CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (L.tensor M).sheaf = |
| 36 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p M.sheaf + |
| 37 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (cokernel f) at h |
| 38 | change CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (cokernel f) = _ |
| 39 | omega |
| 40 | |
| 41 | omit [AlgebraicGeometry.IsIntegral X] [IsProper p] in |
| 42 | theorem lineBundle_tensor_succ_euler (m : ℕ) : |
| 43 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (L.tensor (L.tensorPower m)).sheaf = |
| 44 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (L.tensorPower (m + 1)).sheaf := by |
| 45 | have h : Line.Bundles.LineBundle.classOf (L.tensor (L.tensorPower m)) = |
| 46 | Line.Bundles.LineBundle.classOf (L.tensorPower (m + 1)) := by |
| 47 | rw [Line.Bundles.LineBundle.classOf_tensor, Line.Bundles.LineBundle.classOf_tensorPower, |
| 48 | Line.Bundles.LineBundle.classOf_tensorPower, pow_succ'] |
| 49 | exact congrArg (EulerShifts.lineBundleClassEuler p) h |
| 50 | |
| 51 | theorem lineBundleSectionCokernel_tensorPower_euler |
| 52 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) [Nonempty (Ample.LineBundles.sectionNonvanishing s)] (m : ℕ) : |
| 53 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p |
| 54 | (cokernel (SectionMultiplication.lineBundleSectionMultiply L (L.tensorPower m) s)) = |
| 55 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (L.tensorPower (m + 1)).sheaf - |
| 56 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (L.tensorPower m).sheaf := by |
| 57 | rw [lineBundleSectionCokernel_euler p L (L.tensorPower m) s, |
| 58 | lineBundle_tensor_succ_euler p L m] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.SectionCokernelEuler |