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.CharacterGroupSheaf |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.RepresentabilityDescent |
| 3 | |
| 4 | /-! # Group Representatives -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.GroupRepresentatives |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # CartierDuality: native commutative group representatives of 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 |
| 20 | |
| 21 | namespace Construction.Schemes |
| 22 | |
| 23 | /-- A finite locally free commutative group scheme representing the |
| 24 | actual character functor, with an isomorphism retaining the group laws. -/ |
| 25 | structure CharacterGroupRepresentation (S : Scheme.{u}) (G : Grp (Over S)) where |
| 26 | dual : Grp (Over S) |
| 27 | commutative : IsCommMonObj dual.X |
| 28 | finite : IsFinite dual.X.hom |
| 29 | flat : Flat dual.X.hom |
| 30 | finitelyPresented : LocallyOfFinitePresentation dual.X.hom |
| 31 | pointsIso : yonedaGrp.obj dual ≅ |
| 32 | CharacterGroupSheaf.Construction.Schemes.nativeCharacterCommGroupPresheaf S G ⋙ forget₂ CommGrpCat GrpCat |
| 33 | |
| 34 | /-- A scheme representing characters inherits their pointwise |
| 35 | commutative group structure. The original geometric representative is |
| 36 | retained, so finiteness and local freeness are unchanged. -/ |
| 37 | def characterGroupRepresentationOfRepresentable (S : Scheme.{u}) (G : Grp (Over S)) |
| 38 | (h : CharacterFunctor.Construction.Schemes.FiniteLocallyFreeRepresentable (CharacterSheaf.Construction.Schemes.characterSheaf S G)) : |
| 39 | CharacterGroupRepresentation S G := by |
| 40 | let X := Classical.choose h |
| 41 | have hX := Classical.choose_spec h |
| 42 | let e := Classical.choice hX.2.2.2 |
| 43 | let rBig := (Functor.RepresentableBy.equivUliftYonedaIso |
| 44 | (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj X).symm ((sheafToPresheaf _ _).mapIso e) |
| 45 | let rSmall : (SmallCharacters.Construction.Schemes.nativeCharacterPresheaf S G).RepresentableBy X := |
| 46 | Functor.representableByUliftFunctorEquiv |
| 47 | (rBig.ofIso (SmallCharacters.Construction.Schemes.nativeCharacterPresheafIso S G).symm) |
| 48 | let F := CharacterGroupSheaf.Construction.Schemes.nativeCharacterCommGroupPresheaf S G |
| 49 | let : CommGrpObj X := CommGrpObj.ofRepresentableBy X F rSmall |
| 50 | refine |
| 51 | { dual := Grp.mk X |
| 52 | commutative := inferInstance |
| 53 | finite := hX.1 |
| 54 | flat := hX.2.1 |
| 55 | finitelyPresented := hX.2.2.1 |
| 56 | pointsIso := ?_ } |
| 57 | exact yonedaGrpObjIsoOfRepresentableBy X (F ⋙ forget₂ CommGrpCat GrpCat) rSmall |
| 58 | |
| 59 | /-- Forgetting the group structure of a character representative |
| 60 | recovers a representation of the native character presheaf. -/ |
| 61 | def CharacterGroupRepresentation.nativeRepresentableBy {S : Scheme.{u}} |
| 62 | {G : Grp (Over S)} (D : CharacterGroupRepresentation S G) : |
| 63 | (SmallCharacters.Construction.Schemes.nativeCharacterPresheaf S G).RepresentableBy D.dual.X := |
| 64 | Functor.representableByEquiv.symm |
| 65 | (Functor.isoWhiskerRight D.pointsIso (forget GrpCat)) |
| 66 | |
| 67 | /-- The group representative also represents the original big-site |
| 68 | character sheaf, with its actual restriction maps. -/ |
| 69 | def CharacterGroupRepresentation.sheafIso {S : Scheme.{u}} |
| 70 | {G : Grp (Over S)} (D : CharacterGroupRepresentation S G) : |
| 71 | CharacterFunctor.Construction.Schemes.pointSheaf S D.dual.X ≅ CharacterSheaf.Construction.Schemes.characterSheaf S G := |
| 72 | (fullyFaithfulSheafToPresheaf _ _).preimageIso |
| 73 | ((Functor.RepresentableBy.equivUliftYonedaIso (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj D.dual.X) |
| 74 | ((Functor.representableByUliftFunctorEquiv.symm D.nativeRepresentableBy).ofIso |
| 75 | (SmallCharacters.Construction.Schemes.nativeCharacterPresheafIso S G))) |
| 76 | |
| 77 | end Construction.Schemes |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.GroupRepresentatives |