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.CommutativeSheavesAb |
| 2 | |
| 3 | /-! # Sheaf Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SheafBaseChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # CartierDuality: base change of commutative fppf sheaves and their actual characters |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | attribute [local instance] Over.cartesianMonoidalCategory |
| 17 | |
| 18 | universe u v w |
| 19 | |
| 20 | namespace Construction |
| 21 | |
| 22 | namespace CommutativeSheaves |
| 23 | |
| 24 | variable {C : Type u} [Category.{v} C] {C' : Type u} [Category.{v} C'] |
| 25 | |
| 26 | /-- Restriction to a functor inducing equivalences on all slices |
| 27 | preserves the actual internal Hom as a commutative-group presheaf. -/ |
| 28 | def internalHomWhiskerIso (H : C' ⥤ C) (F : Cᵒᵖ ⥤ GrpCat.{w}) (K : Cᵒᵖ ⥤ CommGrpCat.{w}) |
| 29 | [∀ X : C', (Over.post (X := X) H).IsEquivalence] : |
| 30 | H.op ⋙ CommutativeSheavesAb.Construction.CommutativeSheaves.internalHom F K ≅ CommutativeSheavesAb.Construction.CommutativeSheaves.internalHom (H.op ⋙ F) (H.op ⋙ K) := by |
| 31 | let c := CharacterBaseChange.Construction.Slices.presheafHomWhiskerMap H F (K ⋙ forget₂ CommGrpCat GrpCat) |
| 32 | let hc : IsIso c := CharacterBaseChange.Construction.Slices.presheafHomWhiskerMap_isIso H F (K ⋙ forget₂ CommGrpCat GrpCat) |
| 33 | exact CharacterGroupOf.Construction.CharacterGroupBaseChange.commGroupIsoOfTypeIso (@asIso _ _ _ _ c hc) |
| 34 | (CharacterGroupOf.Construction.CharacterGroupBaseChange.whiskerMap_mul H F K) |
| 35 | |
| 36 | /-- Natural isomorphisms of source and target give the expected |
| 37 | isomorphism of actual commutative character groups. -/ |
| 38 | def internalHomCongr {F F' : Cᵒᵖ ⥤ GrpCat.{w}} {K K' : Cᵒᵖ ⥤ CommGrpCat.{w}} |
| 39 | (a : F ≅ F') (b : K ≅ K') : CommutativeSheavesAb.Construction.CommutativeSheaves.internalHom F K ≅ CommutativeSheavesAb.Construction.CommutativeSheaves.internalHom F' K' := |
| 40 | CharacterGroupOf.Construction.CharacterGroupBaseChange.commGroupIsoOfTypeIso |
| 41 | (CharacterBaseChange.Construction.Slices.presheafHomCongr a (Functor.isoWhiskerRight b (forget₂ CommGrpCat GrpCat))) |
| 42 | (CharacterGroupOf.Construction.CharacterGroupBaseChange.congr_mul a (Functor.isoWhiskerRight b (forget₂ CommGrpCat GrpCat))) |
| 43 | |
| 44 | end CommutativeSheaves |
| 45 | |
| 46 | namespace Schemes |
| 47 | |
| 48 | /-- Scheme-theoretic base change on the big fppf category of |
| 49 | commutative-group sheaves. -/ |
| 50 | abbrev baseChangeFppfAb {S T : Scheme.{u}} (f : T ⟶ S) : CommutativeSheavesAb.Construction.Schemes.FppfAb S ⥤ CommutativeSheavesAb.Construction.Schemes.FppfAb T := |
| 51 | Scheme.fppfTopology.overMapPullback CommGrpCat.{u + 1} f |
| 52 | |
| 53 | /-- Native group isomorphisms induce the corresponding isomorphisms |
| 54 | of commutative fppf sheaves in the common universe. -/ |
| 55 | def representedFppfAbIso {S : Scheme.{u}} {G H : Grp (Over S)} |
| 56 | [IsCommMonObj G.X] [IsCommMonObj H.X] (e : G ≅ H) : |
| 57 | CommutativeSheavesAb.Construction.Schemes.representedFppfAb S G ≅ CommutativeSheavesAb.Construction.Schemes.representedFppfAb S H := |
| 58 | (sheafCompose (Scheme.fppfTopology.over S) CommGrpCat.uliftFunctor.{u + 1, u}).mapIso |
| 59 | ((fullyFaithfulSheafToPresheaf _ _).preimageIso |
| 60 | ((CommGrpCat.fullyFaithfulForget₂ToGrp.whiskeringRight (Over S)ᵒᵖ).preimageIso |
| 61 | (yonedaGrp.mapIso e))) |
| 62 | |
| 63 | /-- The represented sheaf isomorphism acts by the original native |
| 64 | group-scheme isomorphism on every point. -/ |
| 65 | theorem representedFppfAbIso_apply {S : Scheme.{u}} {G H : Grp (Over S)} |
| 66 | [IsCommMonObj G.X] [IsCommMonObj H.X] (e : G ≅ H) (U : Over S) (x : U ⟶ G.X) : |
| 67 | (representedFppfAbIso e).hom.hom.app (Opposite.op U) (ULift.up x) = |
| 68 | ULift.up (x ≫ e.hom.hom.hom) := rfl |
| 69 | |
| 70 | /-- Formation of the represented commutative fppf sheaf commutes with |
| 71 | native pullback of the group scheme. -/ |
| 72 | def representedFppfAbBaseChangeIso {S T : Scheme.{u}} (f : T ⟶ S) (G : Grp (Over S)) |
| 73 | [IsCommMonObj G.X] : |
| 74 | (baseChangeFppfAb f).obj (CommutativeSheavesAb.Construction.Schemes.representedFppfAb S G) ≅ |
| 75 | @CommutativeSheavesAb.Construction.Schemes.representedFppfAb T ((Over.pullback f).mapGrp.obj G) |
| 76 | (Functor.isCommMonObj_obj (F := Over.pullback f) (M := G.X)) := |
| 77 | (fullyFaithfulSheafToPresheaf _ _).preimageIso |
| 78 | (Functor.isoWhiskerRight |
| 79 | ((CommGrpCat.fullyFaithfulForget₂ToGrp.whiskeringRight (Over T)ᵒᵖ).preimageIso |
| 80 | (X := (Over.map f).op ⋙ CharacterGroupSheaf.Construction.Schemes.commGroupPoints S G) |
| 81 | (Y := @CharacterGroupSheaf.Construction.Schemes.commGroupPoints T ((Over.pullback f).mapGrp.obj G) |
| 82 | (Functor.isCommMonObj_obj (F := Over.pullback f) (M := G.X))) |
| 83 | (CharacterBaseChange.Construction.Schemes.pullbackGroupPointIso f G)) CommGrpCat.uliftFunctor.{u + 1, u}) |
| 84 | |
| 85 | /-- The multiplicative fppf sheaf has its canonical arbitrary-base-change isomorphism. -/ |
| 86 | def multiplicativeFppfAbBaseChangeIso {S T : Scheme.{u}} (f : T ⟶ S) : |
| 87 | (baseChangeFppfAb f).obj (CommutativeSheavesAb.Construction.Schemes.multiplicativeFppfAb S) ≅ CommutativeSheavesAb.Construction.Schemes.multiplicativeFppfAb T := by |
| 88 | let hc : IsCommMonObj ((Over.pullback f).mapGrp.obj (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S)).X := |
| 89 | Functor.isCommMonObj_obj (F := Over.pullback f) (M := (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X) |
| 90 | exact representedFppfAbBaseChangeIso f (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S) ≪≫ |
| 91 | @representedFppfAbIso T _ _ hc (CharacterGroupSheaf.Construction.Schemes.multiplicativeGroupOver_commutative T) |
| 92 | (SliceCharacters.Construction.Schemes.multiplicativeGroup_pullbackIso f) |
| 93 | |
| 94 | /-- The actual Cartier-dual character sheaf commutes with arbitrary |
| 95 | base change for every commutative fppf sheaf. -/ |
| 96 | def sheafDualBaseChangeIso {S T : Scheme.{u}} (f : T ⟶ S) (G : CommutativeSheavesAb.Construction.Schemes.FppfAb S) : |
| 97 | (baseChangeFppfAb f).obj (CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf G) ≅ |
| 98 | CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf ((baseChangeFppfAb f).obj G) := |
| 99 | (fullyFaithfulSheafToPresheaf _ _).preimageIso |
| 100 | (CommutativeSheaves.internalHomWhiskerIso (Over.map f) |
| 101 | (G.obj ⋙ forget₂ CommGrpCat GrpCat) (CommutativeSheavesAb.Construction.Schemes.multiplicativeFppfAb S).obj ≪≫ |
| 102 | CommutativeSheaves.internalHomCongr (Iso.refl _) |
| 103 | ((sheafToPresheaf _ _).mapIso (multiplicativeFppfAbBaseChangeIso f))) |
| 104 | |
| 105 | end Schemes |
| 106 | |
| 107 | end Construction |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SheafBaseChange |