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.Framed.MixedKoszulFunctor |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.KoszulGermSupport |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Structure.ModuleStalk |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ScalarKoszul.CoefficientCokernel |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MixedKoszulCokernelEuler |
| 6 | |
| 7 | /-! # Mixed Koszul Cokernel Stalk -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.MixedKoszulCokernelStalk |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! At a common zero, the stalk of the framed mixed Koszul cokernel |
| 14 | is a quotient by a proper ideal in the actual local ring. Hence it is |
| 15 | nonzero, without a reducedness or transversality assumption. -/ |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry IsLocalRing |
| 17 | universe u |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | theorem framedMixedKoszulCokernel_stalk_nonzero |
| 22 | {X : Scheme.{u}} (x : X) (M : X.Modules) (eM : M ≅ Line.Bundles.structureModule X) |
| 23 | (bs : List (LineBundleKoszulComplex.LineBundleSection X)) |
| 24 | (frames : ∀ b ∈ bs, Nonempty (b.1.sheaf ≅ Line.Bundles.structureModule X)) |
| 25 | (hx : x ∈ MixedKoszulGeometricSupport.mixedSectionZeroSet bs) : |
| 26 | ¬ IsZero ((Module.StalkExactness.moduleStalkFunctor x).obj (MixedKoszulCokernelEuler.mixedKoszulCokernel M bs)) := by |
| 27 | classical |
| 28 | let R := X.presheaf.stalk x |
| 29 | let F := Module.StalkExactness.moduleStalkFunctor x |
| 30 | let φ : Γ(X, ⊤) →+* R := (X.presheaf.germ ⊤ x trivial).hom |
| 31 | let ρ : LineBundleKoszulComplex.LineBundleSection X → R := fun b => |
| 32 | if hb : b ∈ bs then φ (Frame.Coordinates.structureModuleEndValue X (b.2 ≫ (Classical.choice (frames b hb)).hom)) else 0 |
| 33 | have hρ : ∀ b ∈ bs, ∃ e : b.1.sheaf ≅ Line.Bundles.structureModule X, |
| 34 | φ (Frame.Coordinates.structureModuleEndValue X (b.2 ≫ e.hom)) = ρ b := by |
| 35 | intro b hb |
| 36 | exact ⟨Classical.choice (frames b hb), by simp only [ρ, dite_eq_left hb]⟩ |
| 37 | let rs := bs.map ρ |
| 38 | have hle : Regular.SequenceBasic.Ideal.ofList rs ≤ maximalIdeal R := by |
| 39 | have hpoint : IsLocalRing.closedPoint R ∈ |
| 40 | PrimeSpectrum.zeroLocus (Regular.SequenceBasic.Ideal.ofList rs : Set R) := by |
| 41 | rw [KoszulGermSupport.framedKoszul_germ_zeroLocus x bs ρ hρ] |
| 42 | change X.fromSpecStalk x (IsLocalRing.closedPoint R) ∈ MixedKoszulGeometricSupport.mixedSectionZeroSet bs |
| 43 | rw [Scheme.fromSpecStalk_closedPoint] |
| 44 | exact hx |
| 45 | exact hpoint |
| 46 | have hproper : Regular.SequenceBasic.Ideal.ofList rs ≠ ⊤ := fun he => |
| 47 | (IsLocalRing.maximalIdeal.isMaximal R).ne_top (top_unique (he ▸ hle)) |
| 48 | let C := LineBundleKoszulComplex.mixedLineBundleKoszulComplex M bs |
| 49 | let eC := MixedKoszulFunctor.framedMixedKoszulFunctorIso F φ (Structure.ModuleStalk.moduleStalkFunctor_globalScalar x) M bs ρ hρ |
| 50 | let eQ := PreservesCokernel.iso F (C.d (-1) 0) ≪≫ ScalarKoszul.CoefficientCokernel.cochainFinalCokernelIso eC |
| 51 | let eV := F.mapIso eM ≪≫ Structure.ModuleStalk.structureModuleStalkIso x |
| 52 | intro hz |
| 53 | exact ScalarKoszul.CoefficientCokernel.scalarKoszulRankOneCokernel_nonzero (F.obj M) eV rs hproper (eQ.isZero_iff.mp hz) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.MixedKoszulCokernelStalk |