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.CoefficientRestriction |
| 2 | |
| 3 | /-! # Refinement Coefficient Map -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.RefinementCoefficientMap |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual coefficient maps formed through a common augmented |
| 10 | resolution induce the canonical coefficient pullback on affine Ext. |
| 11 | The identity side is cancelled using genuine resolution homotopy |
| 12 | invariance. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.Resolution.CohomologyMaps OAI.NumberTheory.PadicHodge.IntegralComparison.Quotient.CoefficientEvaluation |
| 22 | |
| 23 | def identityIso {R : Type u} [CommRing R] (T D : ModuleCat.{u} R) |
| 24 | (P Q : ProjectiveResolution D) (n : ℕ) : |
| 25 | Resolution.CohomologyMaps.cohomology (Resolution.CohomologyMaps.homFunctor R T) Q n ≅ Resolution.CohomologyMaps.cohomology (Resolution.CohomologyMaps.homFunctor R T) P n where |
| 26 | hom := Resolution.CohomologyMaps.map (Resolution.CohomologyMaps.homFunctor R T) P Q (𝟙 D) n |
| 27 | inv := Resolution.CohomologyMaps.map (Resolution.CohomologyMaps.homFunctor R T) Q P (𝟙 D) n |
| 28 | hom_inv_id := by rw [← Resolution.CohomologyMaps.map_comp, Category.id_comp, Resolution.CohomologyMaps.map_id] |
| 29 | inv_hom_id := by rw [← Resolution.CohomologyMaps.map_comp, Category.id_comp, Resolution.CohomologyMaps.map_id] |
| 30 | |
| 31 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 32 | (N : X.Modules) [N.IsQuasicoherent] |
| 33 | (K L : ChainComplex X.Modules ℕ) |
| 34 | [∀ q, (K.X q).IsQuasicoherent] [∀ q, (L.X q).IsQuasicoherent] |
| 35 | [∀ q, ((LinearResolutionPurity.internalComplex N K).X q).IsQuasicoherent] |
| 36 | [∀ q, ((LinearResolutionPurity.internalComplex N L).X q).IsQuasicoherent] |
| 37 | (M M' : X.Modules) [M.IsQuasicoherent] [M'.IsQuasicoherent] |
| 38 | (ε : K ⟶ (ChainComplex.single₀ X.Modules).obj M) [QuasiIso ε] |
| 39 | (ε' : L ⟶ (ChainComplex.single₀ X.Modules).obj M') [QuasiIso ε'] |
| 40 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 41 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (L.X q))] |
| 42 | (D D' : ModuleCat Γ(X, U)) |
| 43 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ D) (eM' : (AffineOpen.InternalHom.sections U hU).obj M' ≅ D') |
| 44 | (f : M ⟶ M') (a : K ⟶ L) |
| 45 | (ha : a ≫ ε' = ε ≫ (ChainComplex.single₀ X.Modules).map f) |
| 46 | (v : D ⟶ D') (hv : (AffineOpen.InternalHom.sections U hU).map f ≫ eM'.hom = eM.hom ≫ v) |
| 47 | |
| 48 | include ha hv in |
| 49 | omit [N.IsQuasicoherent] in |
| 50 | theorem comparison_map (n : ℕ) |
| 51 | (z : Γ((LinearResolutionPurity.internalComplex N L).homology n, U)) : |
| 52 | (AffinePrincipal.Cohomology.Comparison.comparison U hU N K n).hom |
| 53 | ((ModuleExactSections.sections U).map |
| 54 | (HomologicalComplex.homologyMap (HomCohomologyNaturality.nativeMap N K L a) n) z) = |
| 55 | Resolution.CohomologyMaps.map (Resolution.CohomologyMaps.homFunctor Γ(X, U) ((AffineOpen.InternalHom.sections U hU).obj N)) |
| 56 | (CoefficientLifts.resolution U hU K M ε D eM) |
| 57 | (CoefficientLifts.resolution U hU L M' ε' D' eM') v n |
| 58 | ((AffinePrincipal.Cohomology.Comparison.comparison U hU N L n).hom z) := by |
| 59 | have hl := CoefficientLifts.augmentation U hU K M ε D eM L M' ε' D' eM' f a ha v hv |
| 60 | have hm := Resolution.CohomologyMaps.map_eq |
| 61 | (Resolution.CohomologyMaps.homFunctor Γ(X, U) ((AffineOpen.InternalHom.sections U hU).obj N)) |
| 62 | (CoefficientLifts.resolution U hU K M ε D eM) |
| 63 | (CoefficientLifts.resolution U hU L M' ε' D' eM') v |
| 64 | (HomCohomologyNaturality.chartMap U hU K L a) hl n |
| 65 | rw [hm] |
| 66 | exact ConcreteCategory.congr_hom (HomCohomologyNaturality.naturality U hU N K L a n) z |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.RefinementCoefficientMap |