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.Picard.Homomorphisms.BilinearSheafification |
| 2 | |
| 3 | /-! # Tensor Sheafification -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Sheafification commutes with the actual tensor product of module presheaves. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X : Scheme.{u}} {M N : X.PresheafOfModules} {P Q : X.Modules} |
| 19 | |
| 20 | def PresheafTensorHom.Construction.PresheafBilinearMap.postcomp (b : PresheafTensorHom.Construction.PresheafBilinearMap M N P) (f : P ⟶ Q) : |
| 21 | PresheafTensorHom.Construction.PresheafBilinearMap M N Q where |
| 22 | app U := (b.app U).compr₂ (AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.homApp f U) |
| 23 | naturality {_U _V} h m n := |
| 24 | (ConcreteCategory.congr_hom (f.mapPresheaf.naturality h.op) (b.app _ m n)).symm.trans |
| 25 | (congrArg (fun s => f.app _ s) (b.naturality h m n)) |
| 26 | |
| 27 | def TensorSheafification.Construction.presheafBilinearOfTensorHom |
| 28 | (f : PresheafOfModulesOfCommRing.Monoidal.tensorObj (R := X.presheaf) M N ⟶ P.val) : |
| 29 | PresheafTensorHom.Construction.PresheafBilinearMap M N P where |
| 30 | app U := TensorProduct.curry (f.app (.op U)).hom |
| 31 | naturality h m n := (PresheafOfModules.naturality_apply f h.op (m ⊗ₜ n)).symm |
| 32 | |
| 33 | def TensorSheafification.Construction.presheafBilinearToTensorHom (b : PresheafTensorHom.Construction.PresheafBilinearMap M N P) : |
| 34 | PresheafOfModulesOfCommRing.Monoidal.tensorObj (R := X.presheaf) M N ⟶ P.val where |
| 35 | app U := ModuleCat.ofHom (TensorProduct.lift (b.app U.unop)) |
| 36 | naturality {_U _V} h := ModuleCat.MonoidalCategory.tensor_ext |
| 37 | (fun m n => (b.naturality h.unop m n).symm) |
| 38 | |
| 39 | def TensorSheafification.Construction.presheafTensorHomEquiv (M N : X.PresheafOfModules) (P : X.Modules) : |
| 40 | (PresheafOfModulesOfCommRing.Monoidal.tensorObj (R := X.presheaf) M N ⟶ P.val) ≃ |
| 41 | PresheafTensorHom.Construction.PresheafBilinearMap M N P where |
| 42 | toFun := TensorSheafification.Construction.presheafBilinearOfTensorHom |
| 43 | invFun := TensorSheafification.Construction.presheafBilinearToTensorHom |
| 44 | left_inv f := by |
| 45 | apply PresheafOfModules.hom_ext |
| 46 | intro U |
| 47 | apply ModuleCat.MonoidalCategory.tensor_ext |
| 48 | intro m n |
| 49 | rfl |
| 50 | right_inv b := by ext U m n; rfl |
| 51 | |
| 52 | def TensorSheafification.Construction.sheafBilinearPresheafEquiv (M N P : X.Modules) : |
| 53 | AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap M N P ≃ PresheafTensorHom.Construction.PresheafBilinearMap M.val N.val P where |
| 54 | toFun b := { app := b.app, naturality := b.naturality } |
| 55 | invFun b := { app := b.app, naturality := b.naturality } |
| 56 | left_inv b := by cases b; rfl |
| 57 | right_inv b := by cases b; rfl |
| 58 | |
| 59 | def TensorSheafification.Construction.sheafifiedTensorHomEquiv (M N : X.PresheafOfModules) (P : X.Modules) : |
| 60 | (BilinearSheafification.Construction.moduleSheafify (PresheafOfModulesOfCommRing.Monoidal.tensorObj (R := X.presheaf) M N) ⟶ P) ≃ |
| 61 | PresheafTensorHom.Construction.PresheafBilinearMap M N P := |
| 62 | ((PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).homEquiv _ P).trans |
| 63 | (TensorSheafification.Construction.presheafTensorHomEquiv M N P) |
| 64 | |
| 65 | theorem TensorSheafification.Construction.sheafifiedTensorHomEquiv_postcomp |
| 66 | (f : BilinearSheafification.Construction.moduleSheafify (PresheafOfModulesOfCommRing.Monoidal.tensorObj (R := X.presheaf) M N) ⟶ P) (h : P ⟶ Q) : |
| 67 | TensorSheafification.Construction.sheafifiedTensorHomEquiv M N Q (f ≫ h) = (TensorSheafification.Construction.sheafifiedTensorHomEquiv M N P f).postcomp h := by |
| 68 | change TensorSheafification.Construction.presheafBilinearOfTensorHom |
| 69 | ((PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).homEquiv _ Q (f ≫ h)) = _ |
| 70 | rw [Adjunction.homEquiv_naturality_right] |
| 71 | ext U m n |
| 72 | rfl |
| 73 | |
| 74 | def TensorSheafification.Construction.tensorSheafifyComparison (M N : X.PresheafOfModules) : |
| 75 | BilinearSheafification.Construction.moduleSheafify (PresheafOfModulesOfCommRing.Monoidal.tensorObj (R := X.presheaf) M N) ⟶ |
| 76 | AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (BilinearSheafification.Construction.moduleSheafify M) (BilinearSheafification.Construction.moduleSheafify N) := |
| 77 | (TensorSheafification.Construction.sheafifiedTensorHomEquiv M N _).symm |
| 78 | (BilinearSheafification.Construction.bilinearSheafifyEquiv M N _ (TensorSheafification.Construction.sheafBilinearPresheafEquiv _ _ _ |
| 79 | (TensorAssociativity.Construction.tensorModuleBilinear (BilinearSheafification.Construction.moduleSheafify M) (BilinearSheafification.Construction.moduleSheafify N)))) |
| 80 | |
| 81 | theorem TensorSheafification.Construction.tensorSheafifyComparison_homEquiv (M N : X.PresheafOfModules) |
| 82 | (f : AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (BilinearSheafification.Construction.moduleSheafify M) (BilinearSheafification.Construction.moduleSheafify N) ⟶ P) : |
| 83 | TensorSheafification.Construction.sheafifiedTensorHomEquiv M N P (TensorSheafification.Construction.tensorSheafifyComparison M N ≫ f) = |
| 84 | BilinearSheafification.Construction.bilinearSheafifyEquiv M N P (TensorSheafification.Construction.sheafBilinearPresheafEquiv _ _ _ |
| 85 | (AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv _ _ _ f)) := by |
| 86 | rw [TensorSheafification.Construction.sheafifiedTensorHomEquiv_postcomp, TensorSheafification.Construction.tensorSheafifyComparison, Equiv.apply_symm_apply, |
| 87 | BilinearSheafification.Construction.bilinearSheafifyEquiv_apply, BilinearSheafification.Construction.bilinearSheafifyEquiv_apply, TensorAssociativity.Construction.tensorModuleBilinear_postcomp] |
| 88 | ext U m n |
| 89 | rfl |
| 90 | |
| 91 | instance TensorSheafification.Construction.tensorSheafifyComparison_isIso (M N : X.PresheafOfModules) : |
| 92 | IsIso (TensorSheafification.Construction.tensorSheafifyComparison M N) := by |
| 93 | rw [isIso_iff_coyoneda_map_bijective] |
| 94 | intro P |
| 95 | let e := (AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv (BilinearSheafification.Construction.moduleSheafify M) (BilinearSheafification.Construction.moduleSheafify N) P).trans |
| 96 | ((TensorSheafification.Construction.sheafBilinearPresheafEquiv _ _ P).trans |
| 97 | ((BilinearSheafification.Construction.bilinearSheafifyEquiv M N P).trans (TensorSheafification.Construction.sheafifiedTensorHomEquiv M N P).symm)) |
| 98 | have he : (fun f : AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (BilinearSheafification.Construction.moduleSheafify M) (BilinearSheafification.Construction.moduleSheafify N) ⟶ P => |
| 99 | TensorSheafification.Construction.tensorSheafifyComparison M N ≫ f) = e := by |
| 100 | funext f |
| 101 | apply (TensorSheafification.Construction.sheafifiedTensorHomEquiv M N P).injective |
| 102 | exact (TensorSheafification.Construction.tensorSheafifyComparison_homEquiv M N f).trans |
| 103 | ((TensorSheafification.Construction.sheafifiedTensorHomEquiv M N P).apply_symm_apply _).symm |
| 104 | change Function.Bijective (fun f => TensorSheafification.Construction.tensorSheafifyComparison M N ≫ f) |
| 105 | rw [he] |
| 106 | exact e.bijective |
| 107 | |
| 108 | def TensorSheafification.Construction.tensorSheafifyIso (M N : X.PresheafOfModules) : |
| 109 | BilinearSheafification.Construction.moduleSheafify (PresheafOfModulesOfCommRing.Monoidal.tensorObj (R := X.presheaf) M N) ≅ |
| 110 | AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule (BilinearSheafification.Construction.moduleSheafify M) (BilinearSheafification.Construction.moduleSheafify N) := |
| 111 | asIso (TensorSheafification.Construction.tensorSheafifyComparison M N) |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.Picard.Homomorphisms |