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.AbelianScheme.CartierDuality.CharacterGroupOf |
| 2 | import Mathlib.Algebra.Category.Grp.Ulift |
| 3 | |
| 4 | /-! # Commutative Sheaves Ab -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CommutativeSheavesAb |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # CartierDuality: actual commutative fppf sheaves and their character sheaves |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | attribute [local instance] Over.cartesianMonoidalCategory |
| 18 | |
| 19 | universe u v w |
| 20 | |
| 21 | namespace Construction |
| 22 | |
| 23 | namespace CommutativeSheaves |
| 24 | |
| 25 | variable {C : Type u} [Category.{v} C] |
| 26 | |
| 27 | /-- The internal group Hom into a commutative-group presheaf, with |
| 28 | pointwise multiplication and the actual restriction maps. -/ |
| 29 | def internalHom (F : Cᵒᵖ ⥤ GrpCat.{w}) (K : Cᵒᵖ ⥤ CommGrpCat.{w}) : |
| 30 | Cᵒᵖ ⥤ CommGrpCat.{max u v w} where |
| 31 | obj T := CommGrpCat.of ((presheafHom F (K ⋙ forget₂ CommGrpCat GrpCat)).obj T) |
| 32 | map f := CommGrpCat.ofHom |
| 33 | { toFun := (presheafHom F (K ⋙ forget₂ CommGrpCat GrpCat)).map f |
| 34 | map_one' := rfl |
| 35 | map_mul' _ _ := rfl } |
| 36 | map_id T := by |
| 37 | apply CommGrpCat.hom_ext |
| 38 | apply MonoidHom.ext |
| 39 | intro χ |
| 40 | exact (presheafHom F (K ⋙ forget₂ CommGrpCat GrpCat)).map_id_apply T χ |
| 41 | map_comp f g := by |
| 42 | apply CommGrpCat.hom_ext |
| 43 | apply MonoidHom.ext |
| 44 | intro χ |
| 45 | exact (presheafHom F (K ⋙ forget₂ CommGrpCat GrpCat)).map_comp_apply f g χ |
| 46 | |
| 47 | /-- Internal group Hom is a sheaf whenever its target is a sheaf. -/ |
| 48 | def internalHomSheaf (J : GrothendieckTopology C) (F : Cᵒᵖ ⥤ GrpCat.{w}) |
| 49 | (K : Sheaf J CommGrpCat.{w}) : Sheaf J CommGrpCat.{max u v w} := |
| 50 | ⟨internalHom F K.obj, |
| 51 | Presheaf.isSheaf_of_isSheaf_comp J (internalHom F K.obj) (forget CommGrpCat) |
| 52 | (Presheaf.IsSheaf.hom (F := F) (G := K.obj ⋙ forget₂ CommGrpCat GrpCat) |
| 53 | ((sheafCompose J (forget₂ CommGrpCat GrpCat)).obj K).property)⟩ |
| 54 | |
| 55 | /-- Restriction in the source is a morphism of the actual internal-Hom |
| 56 | commutative-group presheaves. -/ |
| 57 | def restriction {F H : Cᵒᵖ ⥤ GrpCat.{w}} (a : H ⟶ F) (K : Cᵒᵖ ⥤ CommGrpCat.{w}) : |
| 58 | internalHom F K ⟶ internalHom H K where |
| 59 | app T := CommGrpCat.ofHom |
| 60 | { toFun := fun χ => Functor.whiskerLeft (Over.forget T.unop).op a ≫ χ |
| 61 | map_one' := rfl |
| 62 | map_mul' _ _ := rfl } |
| 63 | naturality := by |
| 64 | intro T U f |
| 65 | apply CommGrpCat.hom_ext |
| 66 | apply MonoidHom.ext |
| 67 | intro χ |
| 68 | apply NatTrans.ext |
| 69 | rfl |
| 70 | |
| 71 | /-- Character restriction along an identity is the identity. -/ |
| 72 | theorem restriction_id (F : Cᵒᵖ ⥤ GrpCat.{w}) (K : Cᵒᵖ ⥤ CommGrpCat.{w}) : |
| 73 | restriction (𝟙 F) K = 𝟙 (internalHom F K) := by |
| 74 | apply NatTrans.ext |
| 75 | funext T |
| 76 | apply CommGrpCat.hom_ext |
| 77 | apply MonoidHom.ext |
| 78 | intro χ |
| 79 | exact Category.id_comp χ |
| 80 | |
| 81 | /-- Character restriction reverses composition. -/ |
| 82 | theorem restriction_comp {F H L : Cᵒᵖ ⥤ GrpCat.{w}} (a : H ⟶ F) (b : L ⟶ H) |
| 83 | (K : Cᵒᵖ ⥤ CommGrpCat.{w}) : |
| 84 | restriction (b ≫ a) K = restriction a K ≫ restriction b K := by |
| 85 | apply NatTrans.ext |
| 86 | funext T |
| 87 | apply CommGrpCat.hom_ext |
| 88 | apply MonoidHom.ext |
| 89 | intro χ |
| 90 | exact Category.assoc (Functor.whiskerLeft (Over.forget T.unop).op b) |
| 91 | (Functor.whiskerLeft (Over.forget T.unop).op a) χ |
| 92 | |
| 93 | end CommutativeSheaves |
| 94 | |
| 95 | namespace Schemes |
| 96 | |
| 97 | /-- Commutative group sheaves on the big fppf site. The value universe |
| 98 | also contains the natural transformations defining their character sheaves. -/ |
| 99 | abbrev FppfAb (S : Scheme.{u}) := Sheaf (Scheme.fppfTopology.over S) CommGrpCat.{u + 1} |
| 100 | |
| 101 | /-- Small commutative-group-valued scheme points satisfy fppf descent. -/ |
| 102 | def commGroupPointSheaf (S : Scheme.{u}) (G : Grp (Over S)) [IsCommMonObj G.X] : |
| 103 | Sheaf (Scheme.fppfTopology.over S) CommGrpCat.{u} := |
| 104 | ⟨CharacterGroupSheaf.Construction.Schemes.commGroupPoints S G, |
| 105 | Presheaf.isSheaf_of_isSheaf_comp (Scheme.fppfTopology.over S) (CharacterGroupSheaf.Construction.Schemes.commGroupPoints S G) |
| 106 | (forget₂ CommGrpCat GrpCat) (CharacterSheaf.Construction.Schemes.groupPoints_isSheaf S G)⟩ |
| 107 | |
| 108 | /-- The actual represented commutative fppf sheaf in the common value universe. -/ |
| 109 | def representedFppfAb (S : Scheme.{u}) (G : Grp (Over S)) [IsCommMonObj G.X] : FppfAb S := |
| 110 | (sheafCompose (Scheme.fppfTopology.over S) CommGrpCat.uliftFunctor.{u + 1, u}).obj |
| 111 | (commGroupPointSheaf S G) |
| 112 | |
| 113 | /-- The multiplicative-group sheaf on the big fppf site. -/ |
| 114 | def multiplicativeFppfAb (S : Scheme.{u}) : FppfAb S := |
| 115 | representedFppfAb S (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) |
| 116 | |
| 117 | /-- The Cartier character sheaf of an arbitrary commutative fppf |
| 118 | sheaf. Its definition assumes no representability or duality theorem. -/ |
| 119 | def cartierDualSheaf {S : Scheme.{u}} (G : FppfAb S) : FppfAb S := |
| 120 | CommutativeSheaves.internalHomSheaf (Scheme.fppfTopology.over S) |
| 121 | (G.obj ⋙ forget₂ CommGrpCat GrpCat) (multiplicativeFppfAb S) |
| 122 | |
| 123 | /-- The character construction is contravariant on all commutative |
| 124 | fppf sheaves, independently of finite locally free representability. -/ |
| 125 | def cartierDualSheafFunctor (S : Scheme.{u}) : (FppfAb S)ᵒᵖ ⥤ FppfAb S where |
| 126 | obj G := cartierDualSheaf G.unop |
| 127 | map a := ⟨CommutativeSheaves.restriction |
| 128 | (Functor.whiskerRight a.unop.hom (forget₂ CommGrpCat GrpCat)) (multiplicativeFppfAb S).obj⟩ |
| 129 | map_id G := by |
| 130 | apply (sheafToPresheaf (Scheme.fppfTopology.over S) CommGrpCat.{u + 1}).map_injective |
| 131 | exact CommutativeSheaves.restriction_id (G.unop.obj ⋙ forget₂ CommGrpCat GrpCat) |
| 132 | (multiplicativeFppfAb S).obj |
| 133 | map_comp a b := by |
| 134 | apply (sheafToPresheaf (Scheme.fppfTopology.over S) CommGrpCat.{u + 1}).map_injective |
| 135 | exact CommutativeSheaves.restriction_comp |
| 136 | (Functor.whiskerRight a.unop.hom (forget₂ CommGrpCat GrpCat)) |
| 137 | (Functor.whiskerRight b.unop.hom (forget₂ CommGrpCat GrpCat)) (multiplicativeFppfAb S).obj |
| 138 | |
| 139 | end Schemes |
| 140 | |
| 141 | end Construction |
| 142 | |
| 143 | end |
| 144 | |
| 145 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CommutativeSheavesAb |