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.Affine.FiniteProjectivePurity |
| 2 | |
| 3 | /-! # Coefficient Purity -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Zero.CoefficientPurity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An actual projective resolution of the zero coefficient module |
| 10 | has zero ordinary-Hom cohomology, including on native affine sections. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Resolution.CohomologyMaps OAI.NumberTheory.PadicHodge.IntegralComparison.Quotient.CoefficientEvaluation |
| 18 | |
| 19 | theorem cohomology (R : Type u) [CommRing R] (M N : ModuleCat.{u} R) |
| 20 | (P : ProjectiveResolution M) (hM : IsZero M) (n : ℕ) : IsZero (Quotient.CoefficientEvaluation.group R N n P) := by |
| 21 | apply (IsZero.iff_id_eq_zero _).mpr |
| 22 | have h := congrArg (fun f => Resolution.CohomologyMaps.map (Resolution.CohomologyMaps.homFunctor R N) P P f n) (hM.eq_of_src (𝟙 M) 0) |
| 23 | simpa only [Resolution.CohomologyMaps.map_id, Resolution.CohomologyMaps.map_zero] using h |
| 24 | |
| 25 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.LinearHom |
| 26 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 27 | (N : X.Modules) (K : ChainComplex X.Modules ℕ) |
| 28 | [∀ i, (K.X i).IsQuasicoherent] |
| 29 | (M : X.Modules) [M.IsQuasicoherent] |
| 30 | (ε : K ⟶ (ChainComplex.single₀ X.Modules).obj M) [QuasiIso ε] |
| 31 | [∀ i, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X i))] |
| 32 | (C : Type u) [AddCommGroup C] [Module Γ(X, U) C] |
| 33 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(X, U) C) |
| 34 | |
| 35 | include ε eM in |
| 36 | theorem linear_exactAt (hC : IsZero (ModuleCat.of Γ(X, U) C)) (n : ℕ) : |
| 37 | ((((AffineOpen.LinearHom.sectionHom U N).mapHomologicalComplex (ComplexShape.down ℕ).symm).obj K.op)).ExactAt n := by |
| 38 | rw [HomologicalComplex.exactAt_iff_isZero_homology] |
| 39 | apply (HomologicalComplex.homologyMapIso |
| 40 | (Affine.LinearResolutionPurity.sectionComplexIso U hU N K) n).isZero_iff.mpr |
| 41 | exact cohomology Γ(X, U) (ModuleCat.of Γ(X, U) C) ((AffineOpen.InternalHom.sections U hU).obj N) |
| 42 | (Affine.FiniteProjectivePurity.resolution U hU K M ε C eM) hC n |
| 43 | |
| 44 | include ε eM in |
| 45 | theorem exactAt (hC : IsZero (ModuleCat.of Γ(X, U) C)) (n : ℕ) : |
| 46 | (Affine.LocalExactness.sectionComplex |
| 47 | (Affine.LinearResolutionPurity.internalComplex N K) U).ExactAt n := by |
| 48 | let J := (((AffineOpen.LinearHom.sectionHom U N).mapHomologicalComplex (ComplexShape.down ℕ).symm).obj K.op) |
| 49 | have h : J.ExactAt n := linear_exactAt U hU N K M ε C eM hC n |
| 50 | rw [HomologicalComplex.exactAt_iff_isZero_homology] at h ⊢ |
| 51 | let G := forget₂ (ModuleCat Γ(X, U)) AddCommGrpCat |
| 52 | exact ((J.sc n).mapHomologyIso G).isZero_iff.mpr (G.map_isZero h) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Zero.CoefficientPurity |