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.AmbientExternalSectionPairing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AmbientOpenFactorSections |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.TensorFunctor |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.CosimplicialForget |
| 5 | |
| 6 | /-! # Ambient External Presheaf Map -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AmbientExternalPresheafMap |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The ambient tensor pairing maps into sections of the actual Cech open factor. Its parameter-restriction law is expressed using the native abelian-sheaf factor restriction, so no separate lift of that map to scheme modules is required. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.AlgebraicGeometry Opposite |
| 14 | open scoped TensorProduct |
| 15 | universe u |
| 16 | |
| 17 | variable {X Y P : Scheme.{u}} {R : Type u} [CommRing R] |
| 18 | variable (a : P ⟶ X) (b : P ⟶ Y) |
| 19 | variable (cX : R →+* Γ(X, ⊤)) (cY : R →+* Γ(Y, ⊤)) |
| 20 | variable (hc : a.appTop.hom.comp cX = b.appTop.hom.comp cY) |
| 21 | variable (M : X.Modules) (N : Y.Modules) |
| 22 | |
| 23 | def ambientExternalTensorPresheafMap (U : Y.Opens) : |
| 24 | Coefficient.ModulePresheaf.coefficientModulePresheaf cX M ⋙ |
| 25 | Module.TensorFunctor.ModuleTensorFunctor.tensor ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U)) ⟶ |
| 26 | (AmbientOpenFactorSections.ambientIntersectionOpenFunctor a (b ⁻¹ᵁ U)).op ⋙ |
| 27 | Coefficient.ModulePresheaf.coefficientModulePresheaf (a.appTop.hom.comp cX) |
| 28 | (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) ((Scheme.Modules.pullback b).obj N)) where |
| 29 | app V := ModuleCat.ofHom |
| 30 | (X := (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M ⋙ |
| 31 | Module.TensorFunctor.ModuleTensorFunctor.tensor ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U))).obj V) |
| 32 | (Y := ((AmbientOpenFactorSections.ambientIntersectionOpenFunctor a (b ⁻¹ᵁ U)).op ⋙ |
| 33 | Coefficient.ModulePresheaf.coefficientModulePresheaf (a.appTop.hom.comp cX) |
| 34 | (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) ((Scheme.Modules.pullback b).obj N))).obj V) |
| 35 | (AmbientExternalSectionPairing.ambientExternalSectionTensorMap a b cX cY hc M N V.unop U) |
| 36 | naturality V W i := by |
| 37 | apply ModuleCat.hom_ext |
| 38 | apply TensorProduct.ext' |
| 39 | intro n m |
| 40 | have h := AmbientExternalSectionPairing.ambientExternalSectionTensorMap_naturality a b cX cY hc M N |
| 41 | (leOfHom i.unop) (show U ≤ U from le_rfl) n m |
| 42 | have hid : (Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).map |
| 43 | (homOfLE (show U ≤ U from le_rfl)).op n = n := by |
| 44 | change (Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).map (𝟙 (op U)) n = n |
| 45 | exact ConcreteCategory.congr_hom ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).map_id (op U)) n |
| 46 | rw [hid] at h |
| 47 | exact h |
| 48 | |
| 49 | def nativeAmbientExternalSectionMap (U : Y.Opens) : |
| 50 | (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M ⋙ |
| 51 | Module.TensorFunctor.ModuleTensorFunctor.tensor ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U))) ⋙ Module.ProductForget.moduleForget R ⟶ |
| 52 | AmbientOpenFactorSections.ambientOpenFactorSectionPresheaf a (b ⁻¹ᵁ U) |
| 53 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) |
| 54 | ((Scheme.Modules.pullback b).obj N))) := |
| 55 | Functor.whiskerRight (ambientExternalTensorPresheafMap a b cX cY hc M N U) (Module.ProductForget.moduleForget R) ≫ |
| 56 | (Functor.associator (AmbientOpenFactorSections.ambientIntersectionOpenFunctor a (b ⁻¹ᵁ U)).op |
| 57 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (a.appTop.hom.comp cX) |
| 58 | (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) ((Scheme.Modules.pullback b).obj N))) |
| 59 | (Module.ProductForget.moduleForget R)).hom ≫ |
| 60 | (Functor.isoWhiskerLeft (AmbientOpenFactorSections.ambientIntersectionOpenFunctor a (b ⁻¹ᵁ U)).op |
| 61 | (CoefficientCech.CosimplicialForget.coefficientModulePresheafForgetIso (a.appTop.hom.comp cX) |
| 62 | (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) ((Scheme.Modules.pullback b).obj N)))).hom ≫ |
| 63 | (AmbientOpenFactorSections.ambientOpenFactorSectionsIso a (b ⁻¹ᵁ U) |
| 64 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) |
| 65 | ((Scheme.Modules.pullback b).obj N)))).inv |
| 66 | |
| 67 | theorem nativeAmbientExternalSectionMap_tmul (V : X.Opens) (U : Y.Opens) |
| 68 | (n : (Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U)) |
| 69 | (m : (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M).obj (op V)) : |
| 70 | (Cech.SheafFactorRestriction.IntrinsicCech.cechOpenFactorSectionsIso |
| 71 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) |
| 72 | ((Scheme.Modules.pullback b).obj N))) (b ⁻¹ᵁ U) (a ⁻¹ᵁ V)).hom |
| 73 | ((nativeAmbientExternalSectionMap a b cX cY hc M N U).app (op V) (n ⊗ₜ[R] m)) = |
| 74 | AmbientExternalSectionPairing.ambientExternalSectionTensorMap a b cX cY hc M N V U (n ⊗ₜ[R] m) := by |
| 75 | let e := Cech.SheafFactorRestriction.IntrinsicCech.cechOpenFactorSectionsIso |
| 76 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) |
| 77 | ((Scheme.Modules.pullback b).obj N))) (b ⁻¹ᵁ U) (a ⁻¹ᵁ V) |
| 78 | let x := AmbientExternalSectionPairing.ambientExternalSectionTensorMap a b cX cY hc M N V U (n ⊗ₜ[R] m) |
| 79 | change e.hom (e.inv x) = x |
| 80 | exact ConcreteCategory.congr_hom e.inv_hom_id x |
| 81 | |
| 82 | theorem nativeAmbientExternalSectionMap_parameter_restrict |
| 83 | (V : X.Opens) {U U' : Y.Opens} (hU : U' ≤ U) |
| 84 | (n : (Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op U)) |
| 85 | (m : (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M).obj (op V)) : |
| 86 | (Cech.SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction |
| 87 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) |
| 88 | ((Scheme.Modules.pullback b).obj N))) |
| 89 | (leOfHom ((Opens.map b.base).map (homOfLE hU)))).hom.app (op (a ⁻¹ᵁ V)) |
| 90 | ((nativeAmbientExternalSectionMap a b cX cY hc M N U).app (op V) (n ⊗ₜ[R] m)) = |
| 91 | (nativeAmbientExternalSectionMap a b cX cY hc M N U').app (op V) |
| 92 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).map (homOfLE hU).op n ⊗ₜ[R] m) := by |
| 93 | let F : P.carrier.Sheaf AddCommGrpCat.{u} := UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) |
| 94 | ((Scheme.Modules.pullback b).obj N)) |
| 95 | let e := Cech.SheafFactorRestriction.IntrinsicCech.cechOpenFactorSectionsIso F (b ⁻¹ᵁ U') (a ⁻¹ᵁ V) |
| 96 | have hi : Function.Injective e.hom := |
| 97 | (AddCommGrpCat.mono_iff_injective e.hom).mp inferInstance |
| 98 | apply hi |
| 99 | let hB : b ⁻¹ᵁ U' ≤ b ⁻¹ᵁ U := leOfHom ((Opens.map b.base).map (homOfLE hU)) |
| 100 | have hmap := Cech.SheafFactorRestriction.IntrinsicCech.cechTermFactorRestriction_sections_mapIso F hB (a ⁻¹ᵁ V) |
| 101 | ((nativeAmbientExternalSectionMap a b cX cY hc M N U).app (op V) (n ⊗ₜ[R] m)) |
| 102 | have hleft := nativeAmbientExternalSectionMap_tmul a b cX cY hc M N V U n m |
| 103 | have hright := nativeAmbientExternalSectionMap_tmul a b cX cY hc M N V U' |
| 104 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).map (homOfLE hU).op n) m |
| 105 | have h := AmbientExternalSectionPairing.ambientExternalSectionTensorMap_naturality a b cX cY hc M N |
| 106 | (show V ≤ V from le_rfl) hU n m |
| 107 | have hid : (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M).map |
| 108 | (homOfLE (show V ≤ V from le_rfl)).op m = m := by |
| 109 | change (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M).map (𝟙 (op V)) m = m |
| 110 | exact ConcreteCategory.congr_hom ((Coefficient.ModulePresheaf.coefficientModulePresheaf cX M).map_id (op V)) m |
| 111 | rw [hid] at h |
| 112 | exact hmap.trans ((congrArg (F.obj.map (homOfLE (inf_le_inf_left (a ⁻¹ᵁ V) hB)).op) hleft).trans |
| 113 | (h.symm.trans hright.symm)) |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AmbientExternalPresheafMap |