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.External.SectionTensorMap |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.UnitRight |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Structure.ModuleTensorTarget |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.ModuleTensorComparison |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.TensorSectionValues |
| 6 | |
| 7 | /-! # Section Structure Parameter -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.SectionStructureParameter |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! With the structure module as parameter, the canonical external section pairing is the native scalar tensor comparison, after the explicit right-unit identification. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | open scoped TensorProduct |
| 16 | universe u |
| 17 | |
| 18 | def parameterStructureSectionsEquiv {S Y : Scheme.{u}} (g : Y ⟶ S) : |
| 19 | (Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom (Line.Bundles.structureModule Y)).obj (op ⊤) ≃ₗ[Γ(S, ⊤)] |
| 20 | Affine.TensorSectionComparison.morphismGlobalAlgebra g where |
| 21 | toFun x := x |
| 22 | invFun x := x |
| 23 | left_inv _ := rfl |
| 24 | right_inv _ := rfl |
| 25 | map_add' _ _ := rfl |
| 26 | map_smul' r x := by |
| 27 | change Γ(Y, ⊤) at x |
| 28 | change Y.presheaf.map (𝟙 (op (⊤ : Y.Opens))) (g.appTop r) * x = g.appTop r * x |
| 29 | simp only [Y.presheaf.map_id, CommRingCat.id_apply] |
| 30 | |
| 31 | def externalStructureParameterIso {Y P : Scheme.{u}} (b : P ⟶ Y) (M : P.Modules) : |
| 32 | Tensor.ProductSheaf.tensorModule M ((Scheme.Modules.pullback b).obj (Line.Bundles.structureModule Y)) ≅ M := |
| 33 | Tensor.Bifunctor.tensorModuleMapIso (Iso.refl M) (Line.Bundles.structureModulePullbackIso b) ≪≫ Tensor.UnitRight.tensorModuleUnitRightIso M |
| 34 | |
| 35 | def externalStructureParameterSectionsIso |
| 36 | {R : Type u} [CommRing R] {X Y P : Scheme.{u}} |
| 37 | (a : P ⟶ X) (b : P ⟶ Y) (cX : R →+* Γ(X, ⊤)) (M : X.Modules) (V : X.Opens) : |
| 38 | (Coefficient.ModulePresheaf.coefficientModulePresheaf cX ((Scheme.Modules.pushforward a).obj |
| 39 | (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) |
| 40 | ((Scheme.Modules.pullback b).obj (Line.Bundles.structureModule Y))))).obj (op V) ≅ |
| 41 | (Coefficient.ModulePresheaf.coefficientModulePresheaf cX ((Scheme.Modules.pushforward a).obj |
| 42 | ((Scheme.Modules.pullback a).obj M))).obj (op V) := |
| 43 | ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor cX).mapIso ((Scheme.Modules.pushforward a).mapIso |
| 44 | (externalStructureParameterIso b ((Scheme.Modules.pullback a).obj M)))).app (op V) |
| 45 | |
| 46 | variable {S X Y P : Scheme.{u}} {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 47 | variable (H : IsPullback a b f g) (M : X.Modules) |
| 48 | |
| 49 | theorem externalSectionTensorMap_structure_tmul (V : X.Opens) |
| 50 | (n : (Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom (Line.Bundles.structureModule Y)).obj (op ⊤)) |
| 51 | (m : (Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom M).obj (op V)) : |
| 52 | (externalStructureParameterIso b ((Scheme.Modules.pullback a).obj M)).hom.app (a ⁻¹ᵁ V) |
| 53 | (SectionTensorMap.externalSectionTensorMap a b f.appTop.hom g.appTop.hom |
| 54 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm M (Line.Bundles.structureModule Y) V (n ⊗ₜ[Γ(S, ⊤)] m)) = |
| 55 | Module.SectionTensorComparison.moduleSectionTensorComparisonApp (B := Affine.TensorSectionComparison.morphismGlobalAlgebra g) a f.appTop.hom M b.appTop.hom |
| 56 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H) V |
| 57 | (parameterStructureSectionsEquiv g n ⊗ₜ[Γ(S, ⊤)] m) := by |
| 58 | let W := a ⁻¹ᵁ V |
| 59 | let Ma := (Scheme.Modules.pullback a).obj M |
| 60 | let Nb := (Scheme.Modules.pullback b).obj (Line.Bundles.structureModule Y) |
| 61 | let u : Γ(Ma, W) := ((Scheme.Modules.pullbackPushforwardAdjunction a).unit.app M).app V m |
| 62 | let v : Γ(Nb, ⊤) := |
| 63 | ((Scheme.Modules.pullbackPushforwardAdjunction b).unit.app (Line.Bundles.structureModule Y)).app ⊤ n |
| 64 | have hu : (Line.Bundles.structureModulePullbackIso b).hom.app ⊤ v = b.appTop n := |
| 65 | Structure.ModuleTensorTarget.baseChangedStructureModuleSectionsIso_unit b g.appTop.hom ⊤ n |
| 66 | have hr : (Line.Bundles.structureModulePullbackIso b).hom.app W (Nb.presheaf.map W.leTop.op v) = |
| 67 | P.presheaf.map W.leTop.op ((Line.Bundles.structureModulePullbackIso b).hom.app ⊤ v) := |
| 68 | ConcreteCategory.congr_hom ((Line.Bundles.structureModulePullbackIso b).hom.mapPresheaf.naturality W.leTop.op) v |
| 69 | have hb := hr.trans (congrArg (P.presheaf.map W.leTop.op) hu) |
| 70 | have ht := congrArg |
| 71 | (fun β : Bilinear.Sheaves.SheafBilinearMap Ma Nb (Tensor.ProductSheaf.tensorModule Ma (Line.Bundles.structureModule P)) => |
| 72 | β.app W u (Nb.presheaf.map W.leTop.op v)) |
| 73 | (Tensor.Bifunctor.tensorModuleMap_spec (𝟙 Ma) (Line.Bundles.structureModulePullbackIso b).hom) |
| 74 | change (Tensor.Bifunctor.tensorModuleMap (𝟙 Ma) (Line.Bundles.structureModulePullbackIso b).hom).app W |
| 75 | ((Tensor.Bifunctor.tensorBilinear Ma Nb).app W u (Nb.presheaf.map W.leTop.op v)) = |
| 76 | (Tensor.Bifunctor.tensorBilinear Ma (Line.Bundles.structureModule P)).app W u |
| 77 | ((Line.Bundles.structureModulePullbackIso b).hom.app W (Nb.presheaf.map W.leTop.op v)) at ht |
| 78 | have hp : (externalStructureParameterIso b Ma).hom.app W |
| 79 | ((Tensor.Bifunctor.tensorBilinear Ma Nb).app W u (Nb.presheaf.map W.leTop.op v)) = |
| 80 | P.presheaf.map W.leTop.op (b.appTop n) • u := |
| 81 | (congrArg ((Tensor.UnitRight.tensorModuleUnitRightIso Ma).hom.app W) ht).trans |
| 82 | ((Tensor.UnitRight.tensorModuleUnitRightIso_pairing Ma W u |
| 83 | ((Line.Bundles.structureModulePullbackIso b).hom.app W (Nb.presheaf.map W.leTop.op v))).trans |
| 84 | (congrArg (fun z : Γ(P, W) => z • u) hb)) |
| 85 | have he := SectionTensorMap.externalSectionTensorMap_tmul a b f.appTop.hom g.appTop.hom |
| 86 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm M (Line.Bundles.structureModule Y) V n m |
| 87 | exact ((congrArg ((externalStructureParameterIso b Ma).hom.app W) he).trans hp).trans |
| 88 | (Module.TensorSectionValues.moduleSectionTensorComparisonApp_value (B := Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 89 | a f.appTop.hom M b.appTop.hom (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H) V |
| 90 | (parameterStructureSectionsEquiv g n) m).symm |
| 91 | |
| 92 | theorem externalSectionTensorMap_structure_comparison (V : X.Opens) : |
| 93 | ModuleCat.ofHom (SectionTensorMap.externalSectionTensorMap a b f.appTop.hom g.appTop.hom |
| 94 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm M (Line.Bundles.structureModule Y) V) ≫ |
| 95 | (externalStructureParameterSectionsIso a b f.appTop.hom M V).hom = |
| 96 | ModuleCat.ofHom ((parameterStructureSectionsEquiv g).toLinearMap.rTensor |
| 97 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf f.appTop.hom M).obj (op V))) ≫ |
| 98 | ModuleCat.ofHom (Module.SectionTensorComparison.moduleSectionTensorComparisonApp (B := Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 99 | a f.appTop.hom M b.appTop.hom (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H) V) := by |
| 100 | apply ModuleCat.hom_ext |
| 101 | apply TensorProduct.ext' |
| 102 | intro n m |
| 103 | exact externalSectionTensorMap_structure_tmul H M V n m |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.SectionStructureParameter |