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.TensorPower.Presheaf |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Presheaf.Sheafification |
| 3 | |
| 4 | /-! # Power Sheaf -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Existence of sheaf tensor powers with the actual multilinear universal property. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} {L P Q : X.Modules} {n : ℕ} |
| 17 | |
| 18 | section |
| 19 | |
| 20 | /-- A morphism from the tensor presheaf gives a natural multilinear map on sections. -/ |
| 21 | def Tensor.Powers.SheafMultilinearMap.ofTensorPowerPresheafHom (f : TensorPower.Presheaf.tensorPowerPresheaf L n ⟶ P.val) : Tensor.Powers.SheafMultilinearMap L n P where |
| 22 | app U := (show PiTensorProduct Γ(X, U) (fun _ : Fin n => Γ(L, U)) →ₗ[Γ(X, U)] Γ(P, U) |
| 23 | from (f.app (.op U)).hom).compMultilinearMap (PiTensorProduct.tprod Γ(X, U)) |
| 24 | naturality {U V} h s := |
| 25 | (PresheafOfModules.naturality_apply f h.op (PiTensorProduct.tprod Γ(X, U) s)).symm.trans |
| 26 | (congrArg (fun a => f.app (.op V) a) (TensorPower.Presheaf.tensorPowerRestriction_tprod L n h.op s)) |
| 27 | |
| 28 | /-- A natural multilinear section map extends uniquely to the tensor presheaf. -/ |
| 29 | def Tensor.Powers.SheafMultilinearMap.toTensorPowerPresheafHom (β : Tensor.Powers.SheafMultilinearMap L n P) : TensorPower.Presheaf.tensorPowerPresheaf L n ⟶ P.val where |
| 30 | app U := (ModuleCat.ofHom (PiTensorProduct.lift (β.app U.unop)) : |
| 31 | ModuleCat.of Γ(X, U.unop) (PiTensorProduct Γ(X, U.unop) (fun _ : Fin n => Γ(L, U.unop))) ⟶ |
| 32 | ModuleCat.of Γ(X, U.unop) Γ(P, U.unop)) |
| 33 | naturality {U V} h := by |
| 34 | let Qr : ModuleCat Γ(X, U.unop) := |
| 35 | (ModuleCat.restrictScalars (X.presheaf.map h).hom).obj (ModuleCat.of Γ(X, V.unop) Γ(P, V.unop)) |
| 36 | let : Module Γ(X, U.unop) Qr := Qr.isModule |
| 37 | apply ModuleCat.hom_ext |
| 38 | apply PiTensorProduct.ext (R := Γ(X, U.unop)) (s := fun _ : Fin n => Γ(L, U.unop)) (E := Qr) |
| 39 | apply MultilinearMap.ext |
| 40 | intro s |
| 41 | exact (congrArg (PiTensorProduct.lift (β.app V.unop)) |
| 42 | (TensorPower.Presheaf.tensorPowerRestriction_tprod L n h s)).trans |
| 43 | ((PiTensorProduct.lift.tprod (φ := β.app V.unop) (TensorPower.Presheaf.tensorPowerVectorMap L h s)).trans |
| 44 | ((β.naturality h.unop s).symm.trans |
| 45 | (congrArg (fun a => P.presheaf.map h a) (PiTensorProduct.lift.tprod (φ := β.app U.unop) s).symm))) |
| 46 | |
| 47 | /-- Universal maps out of the tensor presheaf are exactly natural multilinear maps. -/ |
| 48 | def Tensor.Powers.SheafMultilinearMap.tensorPowerPresheafHomEquiv (L P : X.Modules) (n : ℕ) : |
| 49 | (TensorPower.Presheaf.tensorPowerPresheaf L n ⟶ P.val) ≃ Tensor.Powers.SheafMultilinearMap L n P where |
| 50 | toFun := Tensor.Powers.SheafMultilinearMap.ofTensorPowerPresheafHom |
| 51 | invFun := Tensor.Powers.SheafMultilinearMap.toTensorPowerPresheafHom |
| 52 | left_inv f := by |
| 53 | apply PresheafOfModules.hom_ext |
| 54 | intro U |
| 55 | apply ModuleCat.hom_ext |
| 56 | exact PiTensorProduct.lift.apply_symm_apply |
| 57 | (show PiTensorProduct Γ(X, U.unop) (fun _ : Fin n => Γ(L, U.unop)) →ₗ[Γ(X, U.unop)] |
| 58 | Γ(P, U.unop) from (f.app U).hom) |
| 59 | right_inv β := by |
| 60 | apply Tensor.Powers.SheafMultilinearMap.ext |
| 61 | intro U |
| 62 | exact PiTensorProduct.lift.symm_apply_apply (β.app U) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | /-- The tensor power of a sheaf of modules, obtained by sheafifying the tensor presheaf. -/ |
| 67 | def TensorPower.PowerSheaf.tensorPowerModule (L : X.Modules) (n : ℕ) : X.Modules := |
| 68 | (PresheafOfModules.sheafification (𝟙 X.ringCatSheaf.obj)).obj (TensorPower.Presheaf.tensorPowerPresheaf L n) |
| 69 | |
| 70 | /-- The tensor-power sheaf has the multilinear universal property. -/ |
| 71 | def TensorPower.PowerSheaf.tensorPowerHomEquiv (L P : X.Modules) (n : ℕ) : |
| 72 | (TensorPower.PowerSheaf.tensorPowerModule L n ⟶ P) ≃ Tensor.Powers.SheafMultilinearMap L n P := |
| 73 | ((PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).homEquiv |
| 74 | (TensorPower.Presheaf.tensorPowerPresheaf L n) P).trans (Tensor.Powers.SheafMultilinearMap.tensorPowerPresheafHomEquiv L P n) |
| 75 | |
| 76 | /-- The universal correspondence commutes with postcomposition. -/ |
| 77 | theorem TensorPower.PowerSheaf.tensorPowerHomEquiv_postcomp (f : TensorPower.PowerSheaf.tensorPowerModule L n ⟶ P) (h : P ⟶ Q) : |
| 78 | TensorPower.PowerSheaf.tensorPowerHomEquiv L Q n (f ≫ h) = (TensorPower.PowerSheaf.tensorPowerHomEquiv L P n f).postcomp h := by |
| 79 | have he := (PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).homEquiv_naturality_right f h |
| 80 | change Tensor.Powers.SheafMultilinearMap.ofTensorPowerPresheafHom |
| 81 | ((PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).homEquiv |
| 82 | (TensorPower.Presheaf.tensorPowerPresheaf L n) Q (f ≫ h)) = _ |
| 83 | rw [he] |
| 84 | ext U s |
| 85 | rfl |
| 86 | |
| 87 | /-- Every module sheaf has an actual tensor power of every natural degree. -/ |
| 88 | theorem TensorPower.PowerSheaf.tensorPowerModule_isTensorPower (L : X.Modules) (n : ℕ) : |
| 89 | Tensor.Powers.IsTensorPower L n (TensorPower.PowerSheaf.tensorPowerModule L n) := by |
| 90 | let β := TensorPower.PowerSheaf.tensorPowerHomEquiv L (TensorPower.PowerSheaf.tensorPowerModule L n) n (𝟙 _) |
| 91 | refine ⟨β, fun Q => ?_⟩ |
| 92 | have he (f : TensorPower.PowerSheaf.tensorPowerModule L n ⟶ Q) : β.postcomp f = TensorPower.PowerSheaf.tensorPowerHomEquiv L Q n f := |
| 93 | (TensorPower.PowerSheaf.tensorPowerHomEquiv_postcomp (𝟙 _) f).symm.trans |
| 94 | (congrArg (TensorPower.PowerSheaf.tensorPowerHomEquiv L Q n) (Category.id_comp f)) |
| 95 | exact ⟨fun f g h => (TensorPower.PowerSheaf.tensorPowerHomEquiv L Q n).injective |
| 96 | ((he f).symm.trans (h.trans (he g))), fun γ => |
| 97 | ⟨(TensorPower.PowerSheaf.tensorPowerHomEquiv L Q n).symm γ, |
| 98 | (he _).trans ((TensorPower.PowerSheaf.tensorPowerHomEquiv L Q n).apply_symm_apply γ)⟩⟩ |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |