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.Picard.PicardSheaf |
| 2 | |
| 3 | /-! # Family Maps -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Picard.FamilyMaps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The relative Picard presheaf is contravariant in the family scheme as well as in the test scheme. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.MonoidalCategory |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {S : Scheme.{u}} {X Y Z : Over S} |
| 16 | |
| 17 | /-- A map of families induces maps of their total spaces over every test scheme. -/ |
| 18 | def familySchemeMap (f : X ⟶ Y) : PicardSheaf.familySchemeFunctor X ⟶ PicardSheaf.familySchemeFunctor Y where |
| 19 | app T := (𝟙 T ⊗ₘ f).left |
| 20 | naturality T U h := by |
| 21 | change (h ⊗ₘ 𝟙 X).left ≫ (𝟙 U ⊗ₘ f).left = (𝟙 T ⊗ₘ f).left ≫ (h ⊗ₘ 𝟙 Y).left |
| 22 | have he : (h ⊗ₘ 𝟙 X) ≫ (𝟙 U ⊗ₘ f) = (𝟙 T ⊗ₘ f) ≫ (h ⊗ₘ 𝟙 Y) := by |
| 23 | simp only [tensorHom_comp_tensorHom, Category.comp_id, Category.id_comp] |
| 24 | exact congrArg Over.Hom.left he |
| 25 | |
| 26 | /-- Pull back line-bundle classes along a morphism of the represented families. -/ |
| 27 | def relativePicardPresheafMap (f : X ⟶ Y) : PicardSheaf.relativePicardPresheaf Y ⟶ PicardSheaf.relativePicardPresheaf X := |
| 28 | Functor.whiskerRight (NatTrans.op (familySchemeMap f)) Line.Bundles.lineBundleClassFunctor |
| 29 | |
| 30 | theorem relativePicardPresheafMap_apply (f : X ⟶ Y) (T : Over S) |
| 31 | (q : (PicardSheaf.relativePicardPresheaf Y).obj (.op T)) : |
| 32 | (relativePicardPresheafMap f).app (.op T) q = Line.Bundles.LineBundle.pullbackClass (𝟙 T ⊗ₘ f).left q := rfl |
| 33 | |
| 34 | theorem relativePicardPresheafMap_id (X : Over S) : relativePicardPresheafMap (𝟙 X) = 𝟙 _ := by |
| 35 | apply NatTrans.ext |
| 36 | funext T |
| 37 | apply ConcreteCategory.ext_apply |
| 38 | intro q |
| 39 | change Line.Bundles.LineBundle.pullbackClass (𝟙 T.unop ⊗ₘ 𝟙 X).left q = q |
| 40 | have he : (𝟙 T.unop ⊗ₘ 𝟙 X).left = 𝟙 (T.unop ⊗ X).left := |
| 41 | congrArg Over.Hom.left (id_tensorHom_id _ _) |
| 42 | exact (congrArg (fun f => Line.Bundles.LineBundle.pullbackClass f q) he).trans (Line.Bundles.LineBundle.pullbackClass_id q) |
| 43 | |
| 44 | theorem relativePicardPresheafMap_comp (f : X ⟶ Y) (h : Y ⟶ Z) : |
| 45 | relativePicardPresheafMap (f ≫ h) = relativePicardPresheafMap h ≫ relativePicardPresheafMap f := by |
| 46 | apply NatTrans.ext |
| 47 | funext T |
| 48 | apply ConcreteCategory.ext_apply |
| 49 | intro q |
| 50 | change Line.Bundles.LineBundle.pullbackClass (𝟙 T.unop ⊗ₘ (f ≫ h)).left q = |
| 51 | Line.Bundles.LineBundle.pullbackClass (𝟙 T.unop ⊗ₘ f).left (Line.Bundles.LineBundle.pullbackClass (𝟙 T.unop ⊗ₘ h).left q) |
| 52 | have he : (𝟙 T.unop ⊗ₘ (f ≫ h)).left = |
| 53 | (𝟙 T.unop ⊗ₘ f).left ≫ (𝟙 T.unop ⊗ₘ h).left := by |
| 54 | have hc : (𝟙 T.unop ⊗ₘ f) ≫ (𝟙 T.unop ⊗ₘ h) = 𝟙 T.unop ⊗ₘ (f ≫ h) := by |
| 55 | simp only [tensorHom_comp_tensorHom, Category.id_comp] |
| 56 | exact (congrArg Over.Hom.left hc).symm |
| 57 | exact (congrArg (fun f => Line.Bundles.LineBundle.pullbackClass f q) he).trans (Line.Bundles.LineBundle.pullbackClass_comp _ _ q) |
| 58 | |
| 59 | /-- An isomorphism of family schemes induces an isomorphism of relative Picard presheaves. -/ |
| 60 | def relativePicardPresheafIso (e : X ≅ Y) : PicardSheaf.relativePicardPresheaf Y ≅ PicardSheaf.relativePicardPresheaf X where |
| 61 | hom := relativePicardPresheafMap e.hom |
| 62 | inv := relativePicardPresheafMap e.inv |
| 63 | hom_inv_id := (relativePicardPresheafMap_comp e.inv e.hom).symm.trans |
| 64 | ((congrArg relativePicardPresheafMap e.inv_hom_id).trans (relativePicardPresheafMap_id Y)) |
| 65 | inv_hom_id := (relativePicardPresheafMap_comp e.hom e.inv).symm.trans |
| 66 | ((congrArg relativePicardPresheafMap e.hom_inv_id).trans (relativePicardPresheafMap_id X)) |
| 67 | |
| 68 | /-- The relative Picard sheaf is invariant under isomorphism of its family scheme. -/ |
| 69 | def relativePicardFamilyIso (e : X ≅ Y) : PicardSheaf.relativePicardSheaf Y ≅ PicardSheaf.relativePicardSheaf X := |
| 70 | (presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).mapIso (relativePicardPresheafIso e) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Picard.FamilyMaps |