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.MixedKoszulCokernelEuler |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coherent.Annihilator |
| 3 | |
| 4 | /-! # Mixed Koszul Cokernel Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MixedKoszulCokernelSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual mixed Koszul cokernel vanishes wherever one of its |
| 11 | sections is a frame. Its coherent annihilator is therefore supported |
| 12 | on the common zero set. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} |
| 17 | |
| 18 | theorem mixedKoszulCokernel_restrict_isZero |
| 19 | (M : X.Modules) (bs : List (LineBundleKoszulComplex.LineBundleSection X)) (b : LineBundleKoszulComplex.LineBundleSection X) (hb : b ∈ bs) : |
| 20 | IsZero ((MixedKoszulCokernelEuler.mixedKoszulCokernel M bs).restrict (Ample.LineBundles.sectionNonvanishing b.2).ι) := by |
| 21 | let U := Ample.LineBundles.sectionNonvanishing b.2 |
| 22 | let R := Scheme.Modules.restrictFunctor U.ι |
| 23 | let C := LineBundleKoszulComplex.mixedLineBundleKoszulComplex M bs |
| 24 | have : PreservesLimits R := Module.RestrictionLimits.moduleRestrictFunctor_preservesLimits U.ι |
| 25 | have : PreservesColimits R := |
| 26 | preservesColimits_of_natIso (Scheme.Modules.restrictFunctorIsoPullback U.ι).symm |
| 27 | have : R.Additive := Functor.additive_of_preserves_binary_products R |
| 28 | let D := (R.mapHomologicalComplex (.up ℤ)).obj C |
| 29 | have hs : IsIso ((Scheme.Modules.pullback U.ι).map b.2) := |
| 30 | (Section.Nonvanishing.isIso_pullbackSection_iff U.ι b.2).mp inferInstance |
| 31 | have hc := LineBundleKoszulComplex.mixedLineBundleKoszulComplex_pullback_contractible M bs U.ι ⟨b, hb, hs⟩ |
| 32 | let e := (NatIso.mapHomologicalComplex (Scheme.Modules.restrictFunctorIsoPullback U.ι) (.up ℤ)).app C |
| 33 | have hacy : D.Acyclic := Module.ComplexLocalExactness.cochain_acyclic_of_contractible D (MappingConeContractions.cochainContractible_of_iso e hc) |
| 34 | have h₁ : IsZero (D.X 1) := R.map_isZero |
| 35 | (LineBundleKoszulComplex.mixedLineBundleKoszulComplex_isZero_X M bs 1 (Or.inr (by omega))) |
| 36 | let S := D.sc' (-1) 0 1 |
| 37 | have hexa : S.Exact := |
| 38 | ShortComplex.exact_of_iso (D.isoSc' (-1) 0 1 (by simp) (by simp)) (hacy 0) |
| 39 | have : Epi (R.map (C.d (-1) 0)) := |
| 40 | (S.exact_iff_epi (h₁.eq_of_tgt _ _)).mp hexa |
| 41 | exact (PreservesCokernel.iso R (C.d (-1) 0)).isZero_iff.mpr |
| 42 | (isZero_cokernel_of_epi (R.map (C.d (-1) 0))) |
| 43 | |
| 44 | theorem mixedKoszulCokernel_support_le |
| 45 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] (bs : List (LineBundleKoszulComplex.LineBundleSection X)) : |
| 46 | letI := (MixedKoszulCokernelEuler.mixedKoszulCokernel_coherent M bs).1 |
| 47 | letI := (MixedKoszulCokernelEuler.mixedKoszulCokernel_coherent M bs).2 |
| 48 | ((Coherent.Annihilator.coherentAnnihilator (MixedKoszulCokernelEuler.mixedKoszulCokernel M bs)).support : Set X) ⊆ MixedKoszulGeometricSupport.mixedSectionZeroSet bs := by |
| 49 | have := (MixedKoszulCokernelEuler.mixedKoszulCokernel_coherent M bs).1 |
| 50 | have := (MixedKoszulCokernelEuler.mixedKoszulCokernel_coherent M bs).2 |
| 51 | intro x hx b hb hxb |
| 52 | have hn := (Coherent.Annihilator.coherentAnnihilator_mem_support_iff (MixedKoszulCokernelEuler.mixedKoszulCokernel M bs) x).mp hx |
| 53 | exact hn ((Module.VanishingOpen.mem_moduleVanishingOpen (MixedKoszulCokernelEuler.mixedKoszulCokernel M bs) x).mpr |
| 54 | ⟨Ample.LineBundles.sectionNonvanishing b.2, hxb, mixedKoszulCokernel_restrict_isZero M bs b hb⟩) |
| 55 | |
| 56 | theorem mixedKoszulCokernel_support_finite |
| 57 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] (bs : List (LineBundleKoszulComplex.LineBundleSection X)) |
| 58 | (hf : (MixedKoszulGeometricSupport.mixedSectionZeroSet bs).Finite) : |
| 59 | letI := (MixedKoszulCokernelEuler.mixedKoszulCokernel_coherent M bs).1 |
| 60 | letI := (MixedKoszulCokernelEuler.mixedKoszulCokernel_coherent M bs).2 |
| 61 | (((Coherent.Annihilator.coherentAnnihilator (MixedKoszulCokernelEuler.mixedKoszulCokernel M bs)).support : Set X)).Finite := |
| 62 | hf.subset (mixedKoszulCokernel_support_le M bs) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MixedKoszulCokernelSupport |