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.HomCohomologyNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.CoefficientLifts |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.Purity |
| 4 | |
| 5 | /-! # Coefficient Evaluation -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.CoefficientEvaluation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite projective coefficient evaluation on the actual sections of |
| 12 | native dual cohomology sheaves. Original augmented chain maps induce the |
| 13 | literal coefficient pullback in this normalized identification. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | universe u |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.Resolution.CohomologyMaps OAI.NumberTheory.PadicHodge.IntegralComparison.Quotient.CoefficientEvaluation |
| 21 | |
| 22 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 23 | (N : X.Modules) [N.IsQuasicoherent] |
| 24 | (K L : ChainComplex X.Modules ℕ) |
| 25 | [∀ q, (K.X q).IsQuasicoherent] [∀ q, (L.X q).IsQuasicoherent] |
| 26 | [∀ q, ((LinearResolutionPurity.internalComplex N K).X q).IsQuasicoherent] |
| 27 | [∀ q, ((LinearResolutionPurity.internalComplex N L).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 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 32 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (L.X q))] |
| 33 | (Q : Type u) [CommRing Q] [Algebra Γ(X, U) Q] |
| 34 | (hQ : Function.Surjective (algebraMap Γ(X, U) Q)) |
| 35 | (C : Type u) [AddCommGroup C] [Module Q C] [Module Γ(X, U) C] |
| 36 | [IsScalarTower Γ(X, U) Q C] [Module.Finite Q C] [Module.Projective Q C] |
| 37 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(X, U) Q) |
| 38 | (eM' : (AffineOpen.InternalHom.sections U hU).obj M' ≅ ModuleCat.of Γ(X, U) C) |
| 39 | |
| 40 | abbrev scalarResolution := CoefficientLifts.resolution U hU K M ε (ModuleCat.of Γ(X, U) Q) eM |
| 41 | abbrev coefficientResolution := CoefficientLifts.resolution U hU L M' ε' |
| 42 | (ModuleCat.of Γ(X, U) C) eM' |
| 43 | |
| 44 | variable (n : ℕ) |
| 45 | (e : Quotient.CoefficientEvaluation.group Γ(X, U) ((AffineOpen.InternalHom.sections U hU).obj N) n (scalarResolution U hU K M ε Q eM) ≅ |
| 46 | ModuleCat.of Γ(X, U) Q) |
| 47 | (V : Type u) [AddCommGroup V] [Module Q V] [Module Γ(X, U) V] [IsScalarTower Γ(X, U) Q V] |
| 48 | (eV : Quotient.CoefficientEvaluation.group Γ(X, U) ((AffineOpen.InternalHom.sections U hU).obj N) n (scalarResolution U hU K M ε Q eM) ≅ |
| 49 | ModuleCat.of Γ(X, U) V) |
| 50 | |
| 51 | def equiv : |
| 52 | ((ModuleExactSections.sections U).obj |
| 53 | ((LinearResolutionPurity.internalComplex N L).homology n)) ≃ₗ[Γ(X, U)] (C →ₗ[Q] V) := |
| 54 | (AffinePrincipal.Cohomology.Comparison.comparison U hU N L n).toLinearEquiv.trans |
| 55 | (ProjectiveCoefficient.Purity.equiv Γ(X, U) Q hQ ((AffineOpen.InternalHom.sections U hU).obj N) n |
| 56 | (scalarResolution U hU K M ε Q eM) e C (coefficientResolution U hU L M' ε' C eM') V eV) |
| 57 | |
| 58 | def scalarIso : |
| 59 | (ModuleExactSections.sections U).obj |
| 60 | ((LinearResolutionPurity.internalComplex N K).homology n) ≅ ModuleCat.of Γ(X, U) V := |
| 61 | AffinePrincipal.Cohomology.Comparison.comparison U hU N K n ≪≫ eV |
| 62 | |
| 63 | variable (f : M ⟶ M') (a : K ⟶ L) |
| 64 | (ha : a ≫ ε' = ε ≫ (ChainComplex.single₀ X.Modules).map f) |
| 65 | (v : Q →ₗ[Q] C) |
| 66 | (hv : (AffineOpen.InternalHom.sections U hU).map f ≫ eM'.hom = eM.hom ≫ ModuleCat.ofHom (v.restrictScalars Γ(X, U))) |
| 67 | |
| 68 | include ha hv in |
| 69 | omit [N.IsQuasicoherent] in |
| 70 | theorem coefficient_map |
| 71 | (z : Γ((LinearResolutionPurity.internalComplex N L).homology n, U)) : |
| 72 | (scalarIso U hU N K M ε Q eM n V eV).hom |
| 73 | ((ModuleExactSections.sections U).map |
| 74 | (HomologicalComplex.homologyMap (HomCohomologyNaturality.nativeMap N K L a) n) z) = |
| 75 | equiv U hU N K L M M' ε ε' Q hQ C eM eM' n e V eV z (v 1) := by |
| 76 | have hn := HomCohomologyNaturality.naturality U hU N K L a n |
| 77 | have hx := ConcreteCategory.congr_hom hn z |
| 78 | have hl := CoefficientLifts.augmentation U hU K M ε (ModuleCat.of Γ(X, U) Q) eM |
| 79 | L M' ε' (ModuleCat.of Γ(X, U) C) eM' f a ha |
| 80 | (ModuleCat.ofHom (v.restrictScalars Γ(X, U))) hv |
| 81 | have hm := Resolution.CohomologyMaps.map_eq |
| 82 | (Resolution.CohomologyMaps.homFunctor Γ(X, U) ((AffineOpen.InternalHom.sections U hU).obj N)) |
| 83 | (scalarResolution U hU K M ε Q eM) (coefficientResolution U hU L M' ε' C eM') |
| 84 | (ModuleCat.ofHom (v.restrictScalars Γ(X, U))) |
| 85 | (HomCohomologyNaturality.chartMap U hU K L a) hl n |
| 86 | have he := ProjectiveCoefficient.Purity.coefficient_map Γ(X, U) Q hQ |
| 87 | ((AffineOpen.InternalHom.sections U hU).obj N) n (scalarResolution U hU K M ε Q eM) e C |
| 88 | (coefficientResolution U hU L M' ε' C eM') V eV v |
| 89 | ((AffinePrincipal.Cohomology.Comparison.comparison U hU N L n).hom z) |
| 90 | rw [hm] at he |
| 91 | exact (congrArg (fun x => eV.hom x) hx).trans he |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.CoefficientEvaluation |