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.HomogeneousGroup |
| 2 | |
| 3 | /-! # Group Functor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.GroupFunctor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A group-valued functor on the existing type-valued Picard sheaf. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | namespace Construction |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {S : Scheme.{u}} |
| 20 | |
| 21 | def picardTypeGroupSheafFunctor (P : (Over S)ᵒᵖ ⥤ CommGrpCat.{u + 1}) : |
| 22 | (Over S)ᵒᵖ ⥤ CommGrpCat.{u + 1} where |
| 23 | obj T := CommGrpCat.of ((sheafify (Scheme.fppfTopology.over S) (P ⋙ forget CommGrpCat)).obj T) |
| 24 | map f := CommGrpCat.ofHom (GroupSheafMaps.Construction.picardTypeSheafifyRestrictHom P f) |
| 25 | map_id T := by |
| 26 | ext q |
| 27 | change GroupSheafMaps.Construction.picardTypeSheafifyRestrictHom P (𝟙 T) q = q |
| 28 | rw [GroupSheafMaps.Construction.picardTypeSheafifyRestrictHom_apply] |
| 29 | exact (sheafify (Scheme.fppfTopology.over S) (P ⋙ forget CommGrpCat)).map_id_apply T q |
| 30 | map_comp f g := by |
| 31 | ext q |
| 32 | change GroupSheafMaps.Construction.picardTypeSheafifyRestrictHom P (f ≫ g) q = |
| 33 | GroupSheafMaps.Construction.picardTypeSheafifyRestrictHom P g (GroupSheafMaps.Construction.picardTypeSheafifyRestrictHom P f q) |
| 34 | rw [GroupSheafMaps.Construction.picardTypeSheafifyRestrictHom_apply, GroupSheafMaps.Construction.picardTypeSheafifyRestrictHom_apply, |
| 35 | GroupSheafMaps.Construction.picardTypeSheafifyRestrictHom_apply] |
| 36 | exact (sheafify (Scheme.fppfTopology.over S) (P ⋙ forget CommGrpCat)).map_comp_apply f g q |
| 37 | |
| 38 | def picardTypeGroupForgetIso (P : (Over S)ᵒᵖ ⥤ CommGrpCat.{u + 1}) : |
| 39 | picardTypeGroupSheafFunctor P ⋙ forget CommGrpCat ≅ |
| 40 | sheafify (Scheme.fppfTopology.over S) (P ⋙ forget CommGrpCat) := |
| 41 | NatIso.ofComponents (fun _ => Iso.refl _) (by |
| 42 | intro T U f |
| 43 | ext q |
| 44 | exact GroupSheafMaps.Construction.picardTypeSheafifyRestrictHom_apply P f q) |
| 45 | |
| 46 | def homogeneousPicardGroupFunctor {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) : |
| 47 | (Over S)ᵒᵖ ⥤ CommGrpCat.{u + 1} := |
| 48 | picardTypeGroupSheafFunctor (HomogeneousGroup.Construction.homogeneousPicardGroupPresheaf A) |
| 49 | |
| 50 | def homogeneousPicardGroupForgetIso {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) : |
| 51 | homogeneousPicardGroupFunctor A ⋙ forget CommGrpCat ≅ A.homogeneousPicardSheaf.obj := |
| 52 | picardTypeGroupForgetIso (HomogeneousGroup.Construction.homogeneousPicardGroupPresheaf A) |
| 53 | |
| 54 | end Construction |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.GroupFunctor |