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.Structure.ModuleTensorComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.ModuleTensorComparison |
| 3 | |
| 4 | /-! # Structure Module Tensor Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.StructureModuleTensorComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! For the structure module, the tensor comparison is an isomorphism on every affine open after affine base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem affineOpen_structureModuleTensorComparison_isIso |
| 17 | {S X Y P : Scheme.{u}} [IsAffine S] [IsAffine Y] |
| 18 | {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 19 | (H : IsPullback a b f g) (U : X.Opens) (hU : IsAffineOpen U) : |
| 20 | IsIso ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H (Line.Bundles.structureModule X)).app (.op U)) := by |
| 21 | let N := (AlgebraSectionModules.commAlgToModules Γ(S, ⊤)).obj (TensorSectionComparison.morphismGlobalAlgebra g) |
| 22 | let α := (Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H (Line.Bundles.structureModule X)).app (.op U) |
| 23 | let β := (TensorSectionComparison.baseChangeTensorSectionComparison H).app (.op U) |
| 24 | let e := (Coefficient.StructureModuleComparison.coefficientStructureModuleComponent f.appTop.hom U).toModuleIso |
| 25 | let d := (Structure.ModuleTensorTarget.baseChangedStructureModuleSectionsIso a f.appTop.hom).app (.op U) |
| 26 | have h : α ≫ d.hom = (N ◁ e.hom) ≫ β := by |
| 27 | apply ModuleCat.hom_ext |
| 28 | apply TensorProduct.ext' |
| 29 | intro c r |
| 30 | exact Structure.ModuleTensorComparison.structureModuleTensorComparison_tmul a f.appTop.hom (TensorSectionComparison.morphismGlobalAlgebra g) b.appTop.hom |
| 31 | (TensorSectionComparison.cartesianGlobalCoefficient_compatibility H) U c r |
| 32 | have : IsIso β := TensorSectionComparison.affineOpen_tensorComparison_isIso H U hU |
| 33 | have hi : IsIso ((N ◁ e.hom) ≫ β) := inferInstance |
| 34 | have : IsIso (α ≫ d.hom) := (congrArg IsIso h).mpr hi |
| 35 | exact (isIso_comp_right_iff α d.hom).mp this |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.StructureModuleTensorComparison |