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.NumberTheory.PadicHodge.IntegralComparison.Independent.QuasicoherentKernels |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Independent.AffineOpenSections |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.ExactFunctor |
| 4 | |
| 5 | /-! # Module Exact Sections -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ModuleExactSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual affine section functors preserve cokernels of quasicoherent modules. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 18 | |
| 19 | abbrev sections : X.Modules ⥤ ModuleCat.{u} Γ(X, U) := |
| 20 | SheafOfModules.evaluation X.ringCatSheaf (op U) |
| 21 | |
| 22 | instance additive : (sections U).Additive where |
| 23 | map_add := rfl |
| 24 | |
| 25 | instance preservesFiniteLimits : PreservesFiniteLimits (sections U) := |
| 26 | SheafOfModules.Finite.evaluationPreservesFiniteLimits X.ringCatSheaf (op U) |
| 27 | |
| 28 | include hU |
| 29 | |
| 30 | theorem map_epi {M N : X.Modules} [M.IsQuasicoherent] [N.IsQuasicoherent] |
| 31 | (f : M ⟶ N) [Epi f] : Epi ((sections U).map f) := by |
| 32 | exact Independent.AffineOpenSections.map_epi U hU f |
| 33 | |
| 34 | theorem map_exact (S : ShortComplex X.Modules) |
| 35 | [S.X₁.IsQuasicoherent] [S.X₂.IsQuasicoherent] (hS : S.Exact) : |
| 36 | (S.map (sections U)).Exact := by |
| 37 | let F := sections U |
| 38 | let T := ShortComplex.mk (Abelian.image.ι S.f) S.g (Abelian.image_ι_comp_eq_zero S.zero) |
| 39 | have hT : T.Exact := (S.exact_iff_exact_image_ι).mp hS |
| 40 | have hTF : (T.map F).Exact := |
| 41 | hT.map_of_mono_of_preservesKernel F inferInstance inferInstance |
| 42 | let : (Abelian.image S.f).IsQuasicoherent := Independent.QuasicoherentKernels.image S.f |
| 43 | have : Epi (F.map (Abelian.factorThruImage S.f)) := map_epi U hU _ |
| 44 | let φ : S.map F ⟶ T.map F := |
| 45 | { τ₁ := F.map (Abelian.factorThruImage S.f) |
| 46 | τ₂ := 𝟙 _ |
| 47 | τ₃ := 𝟙 _ |
| 48 | comm₁₂ := by |
| 49 | change F.map (Abelian.factorThruImage S.f) ≫ F.map (Abelian.image.ι S.f) = F.map S.f ≫ 𝟙 _ |
| 50 | rw [← F.map_comp, Abelian.image.fac, Category.comp_id] } |
| 51 | have : Epi φ.τ₁ := (map_epi U hU (Abelian.factorThruImage S.f)) |
| 52 | have : IsIso φ.τ₂ := by change IsIso (𝟙 (F.obj S.X₂)); infer_instance |
| 53 | have : Mono φ.τ₃ := by change Mono (𝟙 (F.obj S.X₃)); infer_instance |
| 54 | exact (ShortComplex.exact_iff_of_epi_of_isIso_of_mono φ).mpr hTF |
| 55 | |
| 56 | theorem preservesCokernel {M N : X.Modules} [M.IsQuasicoherent] [N.IsQuasicoherent] |
| 57 | (f : M ⟶ N) : PreservesColimit (parallelPair f 0) (sections U) := by |
| 58 | let : (cokernel f).IsQuasicoherent := Independent.QuasicoherentCokernels.quasicoherent f |
| 59 | refine preservesColimit_of_preserves_colimit_cocone (cokernelIsCokernel f) ?_ |
| 60 | refine (CokernelCofork.isColimitMapCoconeEquiv _ (sections U)).symm ?_ |
| 61 | let S := ShortComplex.mk f (cokernel.π f) (cokernel.condition f) |
| 62 | have hS : (S.map (sections U)).Exact := map_exact U hU S (ShortComplex.cokernelSequence_exact f) |
| 63 | have : Epi (S.map (sections U)).g := map_epi U hU (cokernel.π f) |
| 64 | exact hS.gIsCokernel |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ModuleExactSections |