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.Sheaves |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ProductBaseChange |
| 3 | |
| 4 | /-! # Binary Tensor Id -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.BinaryTensorId.Construction.BinaryTensorMap |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Functorial maps of the actual binary tensor sheaf and tensor products of sections. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.MonoidalCategory |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} |
| 17 | |
| 18 | local instance : MonoidalCategory X.PresheafOfModules := |
| 19 | PresheafOfModulesOfCommRing.monoidalCategory (R := X.presheaf) |
| 20 | |
| 21 | def map {M M' N N' : X.Modules} (f : M ⟶ M') (g : N ⟶ N') : |
| 22 | AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N ⟶ AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M' N' := |
| 23 | (PresheafOfModules.sheafification (𝟙 X.ringCatSheaf.obj)).map (f.val ⊗ₘ g.val) |
| 24 | |
| 25 | theorem map_id (M N : X.Modules) : BinaryTensorMap.map (𝟙 M) (𝟙 N) = 𝟙 (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N) := by |
| 26 | change (PresheafOfModules.sheafification (𝟙 X.ringCatSheaf.obj)).map |
| 27 | (𝟙 M.val ⊗ₘ 𝟙 N.val) = _ |
| 28 | rw [id_tensorHom_id] |
| 29 | exact (PresheafOfModules.sheafification (𝟙 X.ringCatSheaf.obj)).map_id _ |
| 30 | |
| 31 | theorem map_comp {M₁ M₂ M₃ N₁ N₂ N₃ : X.Modules} |
| 32 | (f : M₁ ⟶ M₂) (f' : M₂ ⟶ M₃) (g : N₁ ⟶ N₂) (g' : N₂ ⟶ N₃) : |
| 33 | BinaryTensorMap.map (f ≫ f') (g ≫ g') = BinaryTensorMap.map f g ≫ BinaryTensorMap.map f' g' := by |
| 34 | change (PresheafOfModules.sheafification (𝟙 X.ringCatSheaf.obj)).map |
| 35 | ((f.val ≫ f'.val) ⊗ₘ (g.val ≫ g'.val)) = _ |
| 36 | rw [← tensorHom_comp_tensorHom, Functor.map_comp] |
| 37 | rfl |
| 38 | |
| 39 | instance map_isIso {M M' N N' : X.Modules} (f : M ⟶ M') (g : N ⟶ N') |
| 40 | [IsIso f] [IsIso g] : IsIso (BinaryTensorMap.map f g) := by |
| 41 | refine ⟨⟨BinaryTensorMap.map (inv f) (inv g), ?_, ?_⟩⟩ |
| 42 | · rw [← BinaryTensorMap.map_comp, IsIso.hom_inv_id, IsIso.hom_inv_id, BinaryTensorMap.map_id] |
| 43 | · rw [← BinaryTensorMap.map_comp, IsIso.inv_hom_id, IsIso.inv_hom_id, BinaryTensorMap.map_id] |
| 44 | |
| 45 | theorem map_iso {M M' N N' : X.Modules} (e : M ≅ M') (e' : N ≅ N') : |
| 46 | BinaryTensorMap.map e.hom e'.hom = (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleCongr e e').hom := rfl |
| 47 | |
| 48 | def tensorSection {M N : X.Modules} (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) (t : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ N) : |
| 49 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule M N := |
| 50 | (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModuleUnitLeftIso (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)).inv ≫ BinaryTensorMap.map s t |
| 51 | |
| 52 | instance section_isIso {M N : X.Modules} (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) |
| 53 | (t : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ N) [IsIso s] [IsIso t] : IsIso (tensorSection s t) := by |
| 54 | dsimp [tensorSection] |
| 55 | infer_instance |
| 56 | |
| 57 | theorem section_postcomp {M M' N N' : X.Modules} |
| 58 | (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) (t : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ N) (f : M ⟶ M') (g : N ⟶ N') : |
| 59 | tensorSection (s ≫ f) (t ≫ g) = tensorSection s t ≫ BinaryTensorMap.map f g := by |
| 60 | simp only [tensorSection, BinaryTensorMap.map_comp, Category.assoc] |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.BinaryTensorId.Construction.BinaryTensorMap |