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.RefinementCoefficientMap |
| 2 | |
| 3 | /-! # Refinement Coefficient Evaluation -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.RefinementCoefficientEvaluation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Evaluation on coefficient sections agrees with the actual map |
| 10 | obtained from a common augmented resolution. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.Resolution.CohomologyMaps OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.RefinementCoefficientMap |
| 20 | |
| 21 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 22 | (N : X.Modules) [N.IsQuasicoherent] |
| 23 | (K L P : ChainComplex X.Modules ℕ) |
| 24 | [∀ q, (K.X q).IsQuasicoherent] [∀ q, (L.X q).IsQuasicoherent] [∀ q, (P.X q).IsQuasicoherent] |
| 25 | [∀ q, ((LinearResolutionPurity.internalComplex N K).X q).IsQuasicoherent] |
| 26 | [∀ q, ((LinearResolutionPurity.internalComplex N L).X q).IsQuasicoherent] |
| 27 | [∀ q, ((LinearResolutionPurity.internalComplex N P).X q).IsQuasicoherent] |
| 28 | (M M' : X.Modules) [M.IsQuasicoherent] [M'.IsQuasicoherent] |
| 29 | (ε : K ⟶ (ChainComplex.single₀ X.Modules).obj M) [QuasiIso ε] |
| 30 | (ε' : L ⟶ (ChainComplex.single₀ X.Modules).obj M') [QuasiIso ε'] |
| 31 | (ε₀ : P ⟶ (ChainComplex.single₀ X.Modules).obj M) [QuasiIso ε₀] |
| 32 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 33 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (L.X q))] |
| 34 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (P.X q))] |
| 35 | (D D' : ModuleCat Γ(X, U)) |
| 36 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ D) (eM' : (AffineOpen.InternalHom.sections U hU).obj M' ≅ D') |
| 37 | (f : M ⟶ M') (a : P ⟶ K) (b : P ⟶ L) |
| 38 | (ha : a ≫ ε = ε₀) (hb : b ≫ ε' = ε₀ ≫ (ChainComplex.single₀ X.Modules).map f) |
| 39 | (v : D ⟶ D') (hv : (AffineOpen.InternalHom.sections U hU).map f ≫ eM'.hom = eM.hom ≫ v) |
| 40 | (n : ℕ) |
| 41 | (d : (LinearResolutionPurity.internalComplex N L).homology n ⟶ |
| 42 | (LinearResolutionPurity.internalComplex N K).homology n) |
| 43 | (hd : d ≫ HomologicalComplex.homologyMap (HomCohomologyNaturality.nativeMap N P K a) n = |
| 44 | HomologicalComplex.homologyMap (HomCohomologyNaturality.nativeMap N P L b) n) |
| 45 | |
| 46 | include ha hb hv hd in |
| 47 | omit [N.IsQuasicoherent] in |
| 48 | theorem comparison (z : Γ((LinearResolutionPurity.internalComplex N L).homology n, U)) : |
| 49 | (AffinePrincipal.Cohomology.Comparison.comparison U hU N K n).hom |
| 50 | ((ModuleExactSections.sections U).map d z) = |
| 51 | Resolution.CohomologyMaps.map (Resolution.CohomologyMaps.homFunctor Γ(X, U) ((AffineOpen.InternalHom.sections U hU).obj N)) |
| 52 | (CoefficientLifts.resolution U hU K M ε D eM) |
| 53 | (CoefficientLifts.resolution U hU L M' ε' D' eM') v n |
| 54 | ((AffinePrincipal.Cohomology.Comparison.comparison U hU N L n).hom z) := by |
| 55 | let PK := CoefficientLifts.resolution U hU K M ε D eM |
| 56 | let PL := CoefficientLifts.resolution U hU L M' ε' D' eM' |
| 57 | let P₀ := CoefficientLifts.resolution U hU P M ε₀ D eM |
| 58 | let F := Resolution.CohomologyMaps.homFunctor Γ(X, U) ((AffineOpen.InternalHom.sections U hU).obj N) |
| 59 | apply (ConcreteCategory.bijective_of_isIso (RefinementCoefficientMap.identityIso ((AffineOpen.InternalHom.sections U hU).obj N) D P₀ PK n).hom).injective |
| 60 | have ha' : a ≫ ε = ε₀ ≫ (ChainComplex.single₀ X.Modules).map (𝟙 M) := by simpa using ha |
| 61 | have hv' : (AffineOpen.InternalHom.sections U hU).map (𝟙 M) ≫ eM.hom = eM.hom ≫ 𝟙 D := by simp |
| 62 | have hA := RefinementCoefficientMap.comparison_map U hU N P K M M ε₀ ε D D eM eM (𝟙 M) a ha' (𝟙 D) hv' n |
| 63 | ((ModuleExactSections.sections U).map d z) |
| 64 | have hB := RefinementCoefficientMap.comparison_map U hU N P L M M' ε₀ ε' D D' eM eM' f b hb v hv n z |
| 65 | have hs := ConcreteCategory.congr_hom |
| 66 | (congrArg (ModuleExactSections.sections U).map hd) z |
| 67 | simp only [CategoryTheory.Functor.map_comp, ModuleCat.comp_apply] at hs |
| 68 | have hc := ConcreteCategory.congr_hom (Resolution.CohomologyMaps.map_comp F P₀ PK PL (𝟙 D) v n) |
| 69 | ((AffinePrincipal.Cohomology.Comparison.comparison U hU N L n).hom z) |
| 70 | simp only [Category.id_comp, ModuleCat.comp_apply] at hc |
| 71 | exact hA.symm.trans ((congrArg (AffinePrincipal.Cohomology.Comparison.comparison U hU N P n).hom hs).trans |
| 72 | (hB.trans hc)) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.RefinementCoefficientEvaluation |