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.Characters |
| 2 | import Mathlib.AlgebraicGeometry.Limits |
| 3 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 4 | import Mathlib.CategoryTheory.Sites.SheafHom |
| 5 | import Mathlib.CategoryTheory.Sites.SubcanonicalOver |
| 6 | import Mathlib.Algebra.Category.Grp.Limits |
| 7 | import Mathlib.CategoryTheory.Sites.Limits |
| 8 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Equalizers |
| 9 | |
| 10 | /-! # Character Sheaf -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterSheaf.Construction.Schemes |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! |
| 17 | # CartierDuality: the actual fppf character sheaf |
| 18 | |
| 19 | The multiplicative group is obtained from its integral Hopf-algebra model. |
| 20 | The character sheaf is the internal Hom of group-valued functors of points. |
| 21 | Neither definition includes representability or perfect-duality assumptions. |
| 22 | -/ |
| 23 | |
| 24 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 25 | |
| 26 | universe u |
| 27 | |
| 28 | /-- The multiplicative group over an arbitrary scheme. -/ |
| 29 | def multiplicativeGroupOver (S : Scheme.{u}) : Grp (Over S) := |
| 30 | (Over.pullback (specULiftZIsTerminal.from S)).mapGrp.obj |
| 31 | (Characters.Construction.multiplicativeGroupScheme (ULift.{u} ℤ)) |
| 32 | |
| 33 | /-- The group-valued functor of points satisfies fppf descent. -/ |
| 34 | theorem groupPoints_isSheaf (S : Scheme.{u}) (G : Grp (Over S)) : |
| 35 | Presheaf.IsSheaf (Scheme.fppfTopology.over S) (yonedaGrp.obj G) := by |
| 36 | apply Presheaf.isSheaf_of_isSheaf_comp (Scheme.fppfTopology.over S) |
| 37 | (yonedaGrp.obj G) (forget GrpCat) |
| 38 | let : (yonedaGrp.obj G ⋙ forget GrpCat).IsRepresentable := |
| 39 | ⟨G.X, ⟨yonedaGrpObjRepresentableBy G.X⟩⟩ |
| 40 | rw [isSheaf_iff_isSheaf_of_type] |
| 41 | exact GrothendieckTopology.Subcanonical.isSheaf_of_isRepresentable _ |
| 42 | |
| 43 | /-- The fppf character functor, with values in the universe of natural |
| 44 | transformations on the big site. -/ |
| 45 | def characterSheaf (S : Scheme.{u}) (G : Grp (Over S)) : |
| 46 | Sheaf (Scheme.fppfTopology.over S) (Type (u + 1)) := |
| 47 | ⟨presheafHom (yonedaGrp.obj G) (yonedaGrp.obj (multiplicativeGroupOver S)), |
| 48 | Presheaf.IsSheaf.hom (F := yonedaGrp.obj G) |
| 49 | (G := yonedaGrp.obj (multiplicativeGroupOver S)) |
| 50 | (groupPoints_isSheaf S (multiplicativeGroupOver S))⟩ |
| 51 | |
| 52 | /-- A section over T is a natural group homomorphism on all schemes over T. -/ |
| 53 | theorem characterSheaf_sections (S : Scheme.{u}) (G : Grp (Over S)) (T : Over S) : |
| 54 | (characterSheaf S G).obj.obj (Opposite.op T) = |
| 55 | ((Over.forget T).op ⋙ yonedaGrp.obj G ⟶ |
| 56 | (Over.forget T).op ⋙ yonedaGrp.obj (multiplicativeGroupOver S)) := rfl |
| 57 | |
| 58 | /-- The trivial natural group homomorphism. -/ |
| 59 | def trivialGroupNatTrans {C : Type*} [Category* C] (F G : C ⥤ GrpCat.{u}) : F ⟶ G where |
| 60 | app X := GrpCat.ofHom (1 : F.obj X →* G.obj X) |
| 61 | naturality := by intro X Y f; ext x; simp |
| 62 | |
| 63 | /-- Restriction of characters along a group-scheme homomorphism. -/ |
| 64 | def characterRestriction {S : Scheme.{u}} {H G : Grp (Over S)} (i : H ⟶ G) : |
| 65 | characterSheaf S G ⟶ characterSheaf S H := |
| 66 | ⟨{ |
| 67 | app T := ↾(fun χ => |
| 68 | Functor.whiskerLeft (Over.forget T.unop).op (yonedaGrp.map i) ≫ χ) |
| 69 | naturality := by intro X Y f; ext χ; rfl |
| 70 | }⟩ |
| 71 | |
| 72 | /-- The constant map to the trivial character, in the same codomain as |
| 73 | the restriction map. -/ |
| 74 | def characterTrivialRestriction {S : Scheme.{u}} (G H : Grp (Over S)) : |
| 75 | characterSheaf S G ⟶ characterSheaf S H := |
| 76 | ⟨{ |
| 77 | app T := ↾(fun _ => trivialGroupNatTrans |
| 78 | ((Over.forget T.unop).op ⋙ yonedaGrp.obj H) |
| 79 | ((Over.forget T.unop).op ⋙ yonedaGrp.obj (multiplicativeGroupOver S))) |
| 80 | naturality := by intro X Y f; ext χ; rfl |
| 81 | }⟩ |
| 82 | |
| 83 | /-- The sheaf of characters trivial on H. This is the actual equalizer, |
| 84 | defined before any assertion of finite locally free representability. -/ |
| 85 | def annihilatorSheaf {S : Scheme.{u}} {H G : Grp (Over S)} (i : H ⟶ G) : |
| 86 | Sheaf (Scheme.fppfTopology.over S) (Type (u + 1)) := |
| 87 | equalizer (characterRestriction i) (characterTrivialRestriction G H) |
| 88 | |
| 89 | /-- A character-valued morphism factors uniquely through the annihilator |
| 90 | precisely when its restriction is trivial. -/ |
| 91 | theorem annihilatorSheaf_universal_property |
| 92 | {S : Scheme.{u}} {H G : Grp (Over S)} (i : H ⟶ G) |
| 93 | (F : Sheaf (Scheme.fppfTopology.over S) (Type (u + 1))) |
| 94 | (f : F ⟶ characterSheaf S G) |
| 95 | (hf : f ≫ characterRestriction i = f ≫ characterTrivialRestriction G H) : |
| 96 | ∃! g : F ⟶ annihilatorSheaf i, |
| 97 | g ≫ equalizer.ι (characterRestriction i) (characterTrivialRestriction G H) = f := by |
| 98 | refine ⟨equalizer.lift f hf, equalizer.lift_ι f hf, ?_⟩ |
| 99 | intro g hg |
| 100 | apply equalizer.hom_ext |
| 101 | exact hg.trans (equalizer.lift_ι f hf).symm |
| 102 | |
| 103 | /-- Restriction to the site over any test scheme preserves equalizers. -/ |
| 104 | instance slicePullback_preservesEqualizers (S : Scheme.{u}) (T : Over S) : |
| 105 | PreservesLimitsOfShape WalkingParallelPair |
| 106 | ((Scheme.fppfTopology.over S).overPullback (Type (u + 1)) T) where |
| 107 | preservesLimit := by |
| 108 | intro K |
| 109 | let J := Scheme.fppfTopology.over S |
| 110 | let F := J.overPullback (Type (u + 1)) T |
| 111 | have : PreservesLimitsOfShape WalkingParallelPair |
| 112 | (F ⋙ sheafToPresheaf (J.over T) (Type (u + 1))) := |
| 113 | preservesLimitsOfShape_of_natIso |
| 114 | ((Over.forget T).sheafPushforwardContinuousCompSheafToPresheafIso |
| 115 | (Type (u + 1)) (J.over T) J).symm |
| 116 | exact preservesLimit_of_reflects_of_preserves F |
| 117 | (sheafToPresheaf (J.over T) (Type (u + 1))) |
| 118 | |
| 119 | /-- The annihilator construction commutes with restriction to every |
| 120 | relative test site, including those obtained from special fibers. -/ |
| 121 | def annihilatorSheaf_sliceIso |
| 122 | {S : Scheme.{u}} {H G : Grp (Over S)} (i : H ⟶ G) (T : Over S) : |
| 123 | ((Scheme.fppfTopology.over S).overPullback (Type (u + 1)) T).obj |
| 124 | (annihilatorSheaf i) ≅ |
| 125 | equalizer |
| 126 | (((Scheme.fppfTopology.over S).overPullback (Type (u + 1)) T).map |
| 127 | (characterRestriction i)) |
| 128 | (((Scheme.fppfTopology.over S).overPullback (Type (u + 1)) T).map |
| 129 | (characterTrivialRestriction G H)) := |
| 130 | PreservesEqualizer.iso _ _ _ |
| 131 | |
| 132 | end |
| 133 | |
| 134 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterSheaf.Construction.Schemes |