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.Bilinear.BilinearRestriction |
| 2 | |
| 3 | /-! # Bifunctor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.Bifunctor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Functorial maps on the actual tensor product of module sheaves. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} |
| 16 | |
| 17 | def tensorBilinear (M N : X.Modules) : Bilinear.Sheaves.SheafBilinearMap M N (ProductSheaf.tensorModule M N) := |
| 18 | Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv M N _ (𝟙 _) |
| 19 | |
| 20 | theorem tensorBilinear_postcomp {M N P : X.Modules} (f : ProductSheaf.tensorModule M N ⟶ P) : |
| 21 | (tensorBilinear M N).postcomp f = Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv M N P f := by |
| 22 | exact (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv_postcomp (𝟙 _) f).symm.trans |
| 23 | (congrArg (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv M N P) (Category.id_comp f)) |
| 24 | |
| 25 | def tensorModuleMap {M M' N N' : X.Modules} (f : M ⟶ M') (g : N ⟶ N') : |
| 26 | ProductSheaf.tensorModule M N ⟶ ProductSheaf.tensorModule M' N' := |
| 27 | (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv M N _).symm ((tensorBilinear M' N').precomp f g) |
| 28 | |
| 29 | theorem tensorModuleMap_spec {M M' N N' : X.Modules} (f : M ⟶ M') (g : N ⟶ N') : |
| 30 | (tensorBilinear M N).postcomp (tensorModuleMap f g) = |
| 31 | (tensorBilinear M' N').precomp f g := |
| 32 | (tensorBilinear_postcomp _).trans (Equiv.apply_symm_apply _ _) |
| 33 | |
| 34 | theorem tensorModuleMap_id (M N : X.Modules) : |
| 35 | tensorModuleMap (𝟙 M) (𝟙 N) = 𝟙 (ProductSheaf.tensorModule M N) := by |
| 36 | apply (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv M N _).injective |
| 37 | exact (Equiv.apply_symm_apply _ _).trans (Bilinear.Sheaves.SheafBilinearMap.precomp_id _) |
| 38 | |
| 39 | theorem tensorModuleMap_comp {M M' M'' N N' N'' : X.Modules} |
| 40 | (f : M ⟶ M') (g : N ⟶ N') (f' : M' ⟶ M'') (g' : N' ⟶ N'') : |
| 41 | tensorModuleMap f g ≫ tensorModuleMap f' g' = tensorModuleMap (f ≫ f') (g ≫ g') := by |
| 42 | apply (Bilinear.Sheaves.SheafBilinearMap.tensorHomEquiv M N _).injective |
| 43 | rw [← tensorBilinear_postcomp, Bilinear.Sheaves.SheafBilinearMap.postcomp_comp, tensorModuleMap_spec, |
| 44 | ← Bilinear.Sheaves.SheafBilinearMap.precomp_postcomp, tensorModuleMap_spec, |
| 45 | Bilinear.Sheaves.SheafBilinearMap.precomp_comp, ← tensorModuleMap_spec, tensorBilinear_postcomp] |
| 46 | |
| 47 | def tensorModuleMapIso {M M' N N' : X.Modules} (e : M ≅ M') (f : N ≅ N') : |
| 48 | ProductSheaf.tensorModule M N ≅ ProductSheaf.tensorModule M' N' where |
| 49 | hom := tensorModuleMap e.hom f.hom |
| 50 | inv := tensorModuleMap e.inv f.inv |
| 51 | hom_inv_id := by rw [tensorModuleMap_comp, e.hom_inv_id, f.hom_inv_id, tensorModuleMap_id] |
| 52 | inv_hom_id := by rw [tensorModuleMap_comp, e.inv_hom_id, f.inv_hom_id, tensorModuleMap_id] |
| 53 | |
| 54 | instance tensorModuleMap_isIso {M M' N N' : X.Modules} (f : M ⟶ M') (g : N ⟶ N') |
| 55 | [IsIso f] [IsIso g] : IsIso (tensorModuleMap f g) := |
| 56 | (tensorModuleMapIso (asIso f) (asIso g)).isIso_hom |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.Bifunctor |