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.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.AmbientCechTensor |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.CechFunctorNaturality |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.TensorHomologyNaturality |
| 4 | |
| 5 | /-! # Ambient Cech Naturality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.AmbientCechNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Shrinking a parameter open gives a commuting square of the actual ambient Cech tensor maps. The target map is the native abelian-sheaf factor restriction. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.AlgebraicGeometry Opposite |
| 13 | open scoped TensorProduct |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y P : Scheme.{u}} {R : Type u} [CommRing R] |
| 17 | variable (a : P ⟶ X) (b : P ⟶ Y) (cX : R →+* Γ(X, ⊤)) (cY : R →+* Γ(Y, ⊤)) |
| 18 | variable (hc : a.appTop.hom.comp cX = b.appTop.hom.comp cY) (M : X.Modules) (N : Y.Modules) |
| 19 | |
| 20 | def nativeAmbientExternalComparisonPresheafMap (U : Y.Opens) : |
| 21 | Coefficient.ModulePresheaf.coefficientModulePresheaf cX M ⋙ |
| 22 | (Module.TensorFunctor.ModuleTensorFunctor.tensor ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U)) ⋙ Module.ProductForget.moduleForget R) ⟶ |
| 23 | AmbientOpenFactorSections.ambientOpenFactorSectionPresheaf a (b ⁻¹ᵁ U) |
| 24 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) |
| 25 | ((Scheme.Modules.pullback b).obj N))) := |
| 26 | (Functor.associator (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M) |
| 27 | (Module.TensorFunctor.ModuleTensorFunctor.tensor ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U))) (Module.ProductForget.moduleForget R)).inv ≫ |
| 28 | AmbientExternalPresheafMap.nativeAmbientExternalSectionMap a b cX cY hc M N U |
| 29 | |
| 30 | theorem nativeAmbientExternalComparisonPresheafMap_restrict |
| 31 | {U U' : Y.Opens} (hU : U' ≤ U) : |
| 32 | nativeAmbientExternalComparisonPresheafMap a b cX cY hc M N U ≫ |
| 33 | Functor.whiskerLeft (Opens.map a.base).op |
| 34 | ((Cech.SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction |
| 35 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) |
| 36 | ((Scheme.Modules.pullback b).obj N))) |
| 37 | (leOfHom ((Opens.map b.base).map (homOfLE hU)))).hom) = |
| 38 | Functor.whiskerLeft (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M) |
| 39 | (Functor.whiskerRight (Module.TensorHomologyNaturality.ModuleTensorFunctor.scalarMap |
| 40 | (((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).map (homOfLE hU).op).hom)) (Module.ProductForget.moduleForget R)) ≫ |
| 41 | nativeAmbientExternalComparisonPresheafMap a b cX cY hc M N U' := by |
| 42 | apply NatTrans.ext |
| 43 | funext V |
| 44 | apply ConcreteCategory.hom_ext |
| 45 | intro z |
| 46 | let ρ := ((Cech.SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction |
| 47 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) |
| 48 | ((Scheme.Modules.pullback b).obj N))) |
| 49 | (leOfHom ((Opens.map b.base).map (homOfLE hU)))).hom.app (op (a ⁻¹ᵁ V.unop))).hom |
| 50 | let σ := ((AmbientExternalPresheafMap.nativeAmbientExternalSectionMap a b cX cY hc M N U).app V).hom |
| 51 | let σ' := ((AmbientExternalPresheafMap.nativeAmbientExternalSectionMap a b cX cY hc M N U').app V).hom |
| 52 | let α := (((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).map (homOfLE hU).op).hom.rTensor |
| 53 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf cX M).obj V)).toAddMonoidHom |
| 54 | let l := ρ.comp σ |
| 55 | let r := σ'.comp α |
| 56 | change l z = r z |
| 57 | induction z using TensorProduct.inductionOn with |
| 58 | | tmul n m => |
| 59 | change ρ (σ (n ⊗ₜ[R] m)) = σ' |
| 60 | ((((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).map (homOfLE hU).op).hom.rTensor |
| 61 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf cX M).obj V)) (n ⊗ₜ[R] m)) |
| 62 | simpa only [LinearMap.rTensor_tmul] using |
| 63 | AmbientExternalPresheafMap.nativeAmbientExternalSectionMap_parameter_restrict a b cX cY hc M N V.unop hU n m |
| 64 | | add x y hx hy => |
| 65 | exact (l.map_add x y).trans ((congrArg₂ (· + ·) hx hy).trans (r.map_add x y).symm) |
| 66 | |
| 67 | theorem nativeAmbientExternalCechTensorMap_restrict |
| 68 | {U U' : Y.Opens} (hU : U' ≤ U) {ι : Type u} [Finite ι] (V : ι → X.Opens) : |
| 69 | AmbientCechTensor.nativeAmbientExternalCechTensorMap a b cX cY hc M N U V ≫ |
| 70 | (cechComplexFunctor V).map (Functor.whiskerLeft (Opens.map a.base).op |
| 71 | ((Cech.SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction |
| 72 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) |
| 73 | ((Scheme.Modules.pullback b).obj N))) |
| 74 | (leOfHom ((Opens.map b.base).map (homOfLE hU)))).hom)) = |
| 75 | (NatTrans.mapHomologicalComplex |
| 76 | (Functor.whiskerRight (Module.TensorHomologyNaturality.ModuleTensorFunctor.scalarMap |
| 77 | (((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).map (homOfLE hU).op).hom)) (Module.ProductForget.moduleForget R)) (.up ℕ)).app |
| 78 | (CoefficientCechComplex.coefficientCechComplex cX M V) ≫ |
| 79 | AmbientCechTensor.nativeAmbientExternalCechTensorMap a b cX cY hc M N U' V := by |
| 80 | let A := (Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U) |
| 81 | let A' := (Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U') |
| 82 | let τ := Functor.whiskerRight (Module.TensorHomologyNaturality.ModuleTensorFunctor.scalarMap |
| 83 | (((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).map (homOfLE hU).op).hom)) (Module.ProductForget.moduleForget R) |
| 84 | let σ := nativeAmbientExternalComparisonPresheafMap a b cX cY hc M N U |
| 85 | let σ' := nativeAmbientExternalComparisonPresheafMap a b cX cY hc M N U' |
| 86 | let ρ := Functor.whiskerLeft (Opens.map a.base).op |
| 87 | ((Cech.SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction |
| 88 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) |
| 89 | ((Scheme.Modules.pullback b).obj N))) |
| 90 | (leOfHom ((Opens.map b.base).map (homOfLE hU)))).hom) |
| 91 | have h : σ ≫ ρ = Functor.whiskerLeft (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M) τ ≫ σ' := |
| 92 | nativeAmbientExternalComparisonPresheafMap_restrict a b cX cY hc M N hU |
| 93 | change ((HilbertConstruction.Finite.CechFunctorComparison.finiteCechFunctorIso (Module.TensorFunctor.ModuleTensorFunctor.tensor A ⋙ Module.ProductForget.moduleForget R) |
| 94 | (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M) V).hom ≫ (cechComplexFunctor V).map σ) ≫ |
| 95 | (cechComplexFunctor V).map ρ = |
| 96 | (NatTrans.mapHomologicalComplex τ (.up ℕ)).app (CoefficientCechComplex.coefficientCechComplex cX M V) ≫ |
| 97 | ((HilbertConstruction.Finite.CechFunctorComparison.finiteCechFunctorIso (Module.TensorFunctor.ModuleTensorFunctor.tensor A' ⋙ Module.ProductForget.moduleForget R) |
| 98 | (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M) V).hom ≫ (cechComplexFunctor V).map σ') |
| 99 | let F : (X.Opensᵒᵖ ⥤ AddCommGrpCat.{u}) ⥤ CochainComplex AddCommGrpCat.{u} ℕ := |
| 100 | cechComplexFunctor V |
| 101 | let e := HilbertConstruction.Finite.CechFunctorComparison.finiteCechFunctorIso (Module.TensorFunctor.ModuleTensorFunctor.tensor A ⋙ Module.ProductForget.moduleForget R) |
| 102 | (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M) V |
| 103 | let e' := HilbertConstruction.Finite.CechFunctorComparison.finiteCechFunctorIso (Module.TensorFunctor.ModuleTensorFunctor.tensor A' ⋙ Module.ProductForget.moduleForget R) |
| 104 | (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M) V |
| 105 | let m := (NatTrans.mapHomologicalComplex τ (.up ℕ)).app (CoefficientCechComplex.coefficientCechComplex cX M V) |
| 106 | let τ' := Functor.whiskerLeft (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M) τ |
| 107 | have h₁ : (e.hom ≫ F.map σ) ≫ F.map ρ = e.hom ≫ F.map (σ ≫ ρ) := |
| 108 | (Category.assoc _ _ _).trans (congrArg (fun k => e.hom ≫ k) (F.map_comp σ ρ).symm) |
| 109 | have h₂ : e.hom ≫ F.map (σ ≫ ρ) = e.hom ≫ F.map (τ' ≫ σ') := |
| 110 | congrArg (fun k => e.hom ≫ F.map k) h |
| 111 | have h₃ : e.hom ≫ F.map (τ' ≫ σ') = (e.hom ≫ F.map τ') ≫ F.map σ' := |
| 112 | (congrArg (fun k => e.hom ≫ k) (F.map_comp τ' σ')).trans (Category.assoc _ _ _).symm |
| 113 | have hn : e.hom ≫ F.map τ' = m ≫ e'.hom := |
| 114 | (HilbertConstruction.Finite.CechFunctorNaturality.finiteCechFunctorIso_functor_naturality τ (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M) V).symm |
| 115 | exact h₁.trans (h₂.trans (h₃.trans |
| 116 | ((congrArg (fun k => k ≫ F.map σ') hn).trans (Category.assoc _ _ _)))) |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.AmbientCechNaturality |