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.Affine.StructureModuleTensorComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.TensorSheafNaturality |
| 3 | |
| 4 | /-! # Trivial Module Tensor Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TrivialModuleTensorComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A chosen module trivialization transports affine-open invertibility of the tensor comparison from the structure module. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | private theorem isIso_of_isoSquare {C : Type u} [Category.{v} C] {A B A' B' : C} |
| 17 | (f : A ⟶ B) (g : A' ⟶ B') [IsIso g] (a : A ≅ A') (b : B ≅ B') |
| 18 | (h : a.hom ≫ g = f ≫ b.hom) : IsIso f := by |
| 19 | have hf : f = a.hom ≫ g ≫ b.inv := by |
| 20 | apply (cancel_mono b.hom).mp |
| 21 | simpa only [Category.assoc, Iso.inv_hom_id, Category.comp_id] using h.symm |
| 22 | rw [hf] |
| 23 | infer_instance |
| 24 | |
| 25 | theorem affineOpen_trivialModuleTensorComparison_isIso |
| 26 | {S X Y P : Scheme.{u}} [IsAffine S] [IsAffine Y] |
| 27 | {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 28 | (H : IsPullback a b f g) (M : X.Modules) (e : M ≅ Line.Bundles.structureModule X) |
| 29 | (U : X.Opens) (hU : IsAffineOpen U) : |
| 30 | IsIso ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H M).app (.op U)) := by |
| 31 | let F := Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor f.appTop.hom |
| 32 | let T := (AlgebraSectionModules.commAlgToModules Γ(S, ⊤)).obj (Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 33 | let c := (F.mapIso e).app (.op U) |
| 34 | let d := (F.mapIso ((Scheme.Modules.pushforward a).mapIso ((Scheme.Modules.pullback a).mapIso e))).app (.op U) |
| 35 | let α := (Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H M).app (.op U) |
| 36 | let β := (Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison H (Line.Bundles.structureModule X)).app (.op U) |
| 37 | have h : (T ◁ c.hom) ≫ β = α ≫ d.hom := |
| 38 | NatTrans.congr_app (Module.TensorSheafNaturality.moduleSectionTensorComparison_sheaf_natural (B := Affine.TensorSectionComparison.morphismGlobalAlgebra g) |
| 39 | a f.appTop.hom b.appTop.hom (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H) e.hom) (.op U) |
| 40 | have : IsIso β := Affine.StructureModuleTensorComparison.affineOpen_structureModuleTensorComparison_isIso H U hU |
| 41 | exact isIso_of_isoSquare α β ((tensorLeft T).mapIso c) d h |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TrivialModuleTensorComparison |