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 | |
| 3 | /-! # Tensor Power Sheaf -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.TensorPowerSheaf |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Homomorphisms: tensor powers of module sheaves |
| 11 | |
| 12 | Sheafification of the pointwise tensor power has the required universal |
| 13 | property for actual sheaf-multilinear maps. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.Presheaf |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | namespace Construction |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable {X : Scheme.{u}} (L : X.Modules) (n : ℕ) |
| 26 | |
| 27 | def tensorPowerSheaf : X.Modules := |
| 28 | (PresheafOfModules.sheafification (𝟙 X.ringCatSheaf.obj)).obj (AbelianModuli.HilbertConstruction.TensorPower.Presheaf.tensorPowerPresheaf L n) |
| 29 | |
| 30 | def tensorPowerPresheafToMultilinear (P : X.Modules) |
| 31 | (f : AbelianModuli.HilbertConstruction.TensorPower.Presheaf.tensorPowerPresheaf L n ⟶ P.val) : AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap L n P where |
| 32 | app U := by |
| 33 | let g : PiTensorProduct Γ(X, U) (fun _ : Fin n => Γ(L, U)) →ₗ[Γ(X, U)] Γ(P, U) := |
| 34 | (f.app (.op U)).hom |
| 35 | exact g.compMultilinearMap (PiTensorProduct.tprod Γ(X, U)) |
| 36 | naturality {U V} h s := by |
| 37 | exact (PresheafOfModules.naturality_apply f h.op (PiTensorProduct.tprod Γ(X, U) s)).symm.trans |
| 38 | (congrArg (f.app (.op V)) (AbelianModuli.HilbertConstruction.TensorPower.Presheaf.tensorPowerRestriction_tprod L n h.op s)) |
| 39 | |
| 40 | def multilinearToTensorPowerPresheaf (P : X.Modules) (β : AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap L n P) : |
| 41 | AbelianModuli.HilbertConstruction.TensorPower.Presheaf.tensorPowerPresheaf L n ⟶ P.val where |
| 42 | app U := ModuleCat.ofHom (PiTensorProduct.lift (β.app U.unop)) |
| 43 | naturality {U V} h := by |
| 44 | let Q : ModuleCat Γ(X, U.unop) := |
| 45 | (ModuleCat.restrictScalars (X.presheaf.map h).hom).obj (P.val.obj V) |
| 46 | let : Module Γ(X, U.unop) Q := Q.isModule |
| 47 | apply ModuleCat.hom_ext |
| 48 | apply PiTensorProduct.ext (R := Γ(X, U.unop)) (E := Q) |
| 49 | apply MultilinearMap.ext |
| 50 | intro s |
| 51 | change PiTensorProduct.lift (β.app V.unop) |
| 52 | (AbelianModuli.HilbertConstruction.TensorPower.Presheaf.tensorPowerRestriction L n h (PiTensorProduct.tprod Γ(X, U.unop) s)) = |
| 53 | P.val.map h (PiTensorProduct.lift (β.app U.unop) (PiTensorProduct.tprod Γ(X, U.unop) s)) |
| 54 | rw [AbelianModuli.HilbertConstruction.TensorPower.Presheaf.tensorPowerRestriction_tprod, PiTensorProduct.lift.tprod, PiTensorProduct.lift.tprod] |
| 55 | exact (β.naturality h.unop s).symm |
| 56 | |
| 57 | def tensorPowerPresheafHomEquiv (P : X.Modules) : |
| 58 | (AbelianModuli.HilbertConstruction.TensorPower.Presheaf.tensorPowerPresheaf L n ⟶ P.val) ≃ AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap L n P where |
| 59 | toFun := tensorPowerPresheafToMultilinear L n P |
| 60 | invFun := multilinearToTensorPowerPresheaf L n P |
| 61 | left_inv f := by |
| 62 | apply PresheafOfModules.hom_ext |
| 63 | intro U |
| 64 | apply ModuleCat.hom_ext |
| 65 | apply PiTensorProduct.ext (R := Γ(X, U.unop)) |
| 66 | apply MultilinearMap.ext |
| 67 | intro s |
| 68 | exact PiTensorProduct.lift.tprod (φ := (tensorPowerPresheafToMultilinear L n P f).app U.unop) s |
| 69 | right_inv β := by |
| 70 | ext U s |
| 71 | exact PiTensorProduct.lift.tprod (φ := β.app U) s |
| 72 | |
| 73 | def tensorPowerSheafHomEquiv (P : X.Modules) : |
| 74 | (tensorPowerSheaf L n ⟶ P) ≃ AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap L n P := |
| 75 | ((PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).homEquiv |
| 76 | (AbelianModuli.HilbertConstruction.TensorPower.Presheaf.tensorPowerPresheaf L n) P).trans (tensorPowerPresheafHomEquiv L n P) |
| 77 | |
| 78 | def tensorPowerSheafMultilinear : AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap L n (tensorPowerSheaf L n) := |
| 79 | tensorPowerSheafHomEquiv L n _ (𝟙 _) |
| 80 | |
| 81 | theorem tensorPowerSheafMultilinear_postcomp (P : X.Modules) (f : tensorPowerSheaf L n ⟶ P) : |
| 82 | (tensorPowerSheafMultilinear L n).postcomp f = tensorPowerSheafHomEquiv L n P f := by |
| 83 | let adj := PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj) |
| 84 | have h := adj.homEquiv_naturality_right (𝟙 (tensorPowerSheaf L n)) f |
| 85 | erw [Category.id_comp] at h |
| 86 | ext U s |
| 87 | change f.app U (((adj.homEquiv _ _ (𝟙 (tensorPowerSheaf L n))).app (.op U)) |
| 88 | (PiTensorProduct.tprod Γ(X, U) s)) = |
| 89 | ((adj.homEquiv _ P f).app (.op U)) (PiTensorProduct.tprod Γ(X, U) s) |
| 90 | rw [h] |
| 91 | rfl |
| 92 | |
| 93 | theorem tensorPowerSheaf_isTensorPower : AbelianModuli.HilbertConstruction.Tensor.Powers.IsTensorPower L n (tensorPowerSheaf L n) := by |
| 94 | refine ⟨tensorPowerSheafMultilinear L n, fun P => ?_⟩ |
| 95 | have h : (fun f : tensorPowerSheaf L n ⟶ P => (tensorPowerSheafMultilinear L n).postcomp f) = |
| 96 | tensorPowerSheafHomEquiv L n P := funext (tensorPowerSheafMultilinear_postcomp L n P) |
| 97 | rw [h] |
| 98 | exact (tensorPowerSheafHomEquiv L n P).bijective |
| 99 | |
| 100 | end Construction |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.TensorPowerSheaf |