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.FrobeniusKernel.CharacterGroups |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.RepresentedGroups |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.AnnihilatorSheaf |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.BaseChange |
| 5 | import OAI.AlgebraicGeometry.CartierDuality.PolarizedTorsion |
| 6 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.AffineSheafIso |
| 7 | |
| 8 | /-! # Cartier Model -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierModel.Construction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | Construct the actual Cartier group and its restriction maps from CartierDuality's |
| 16 | checked finite Hopf presentation and character-sheaf representation. The |
| 17 | group law is recovered from pointwise character multiplication, so no |
| 18 | group-compatibility or annihilator-representation conclusion is assumed. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 22 | open scoped _root_.CategoryTheory.MonObj IsMulCommutative |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | structure CartierCoordinates (R : CommRingCat.{u}) (G : Grp (Over (Spec R))) where |
| 27 | algebra : CommHopfAlgCat R |
| 28 | finite : Module.Finite R algebra |
| 29 | projective : Module.Projective R algebra |
| 30 | cocommutative : Coalgebra.IsCocomm R algebra |
| 31 | comparison : (hopfSpec R).obj (op algebra) ≅ G |
| 32 | |
| 33 | attribute [instance] CartierCoordinates.finite CartierCoordinates.projective |
| 34 | CartierCoordinates.cocommutative |
| 35 | |
| 36 | /-- The coordinate presentation is extracted from actual finite flat |
| 37 | commutative group-scheme hypotheses using CartierDuality. -/ |
| 38 | def cartierCoordinates (R : CommRingCat.{u}) (G : Grp (Over (Spec R))) |
| 39 | [IsCommMonObj G.X] [IsFinite G.X.hom] [Flat G.X.hom] |
| 40 | [LocallyOfFinitePresentation G.X.hom] : CartierCoordinates R G := |
| 41 | Classical.choice (by |
| 42 | obtain ⟨A, hf, hp, hc, ⟨e⟩⟩ := CartierDuality.PolarizedTorsion.Construction.exists_finiteProjective_commutative_hopfPresentation R G |
| 43 | exact ⟨⟨A, hf, hp, hc, e⟩⟩) |
| 44 | |
| 45 | namespace CartierCoordinates |
| 46 | |
| 47 | variable {R : CommRingCat.{u}} {G H : Grp (Over (Spec R))} |
| 48 | |
| 49 | /-- The representing scheme is the spectrum of the constructed dual Hopf algebra. -/ |
| 50 | abbrev dualScheme (P : CartierCoordinates R G) : Over (Spec R) := |
| 51 | (Spec (.of (CartierDuality.DualAlgebra.Construction.DualCoordinate R P.algebra))).asOver (Spec R) |
| 52 | |
| 53 | /-- CartierDuality's canonical map is an isomorphism on every fppf test scheme. -/ |
| 54 | def characterIso (P : CartierCoordinates R G) : |
| 55 | (BaseChange.Construction.fppfPoints (Spec R)).obj P.dualScheme ≅ CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf (Spec R) G := by |
| 56 | let e := @asIso _ _ _ _ (CartierDuality.CharacterMap.Construction.affineCartierCharacterSheafMap R P.algebra) |
| 57 | (CartierDuality.AffineSheafIso.Construction.affineCartierCharacterSheafMap_isIso R P.algebra) |
| 58 | exact e ≪≫ AnnihilatorSheaf.Construction.characterSheafIso P.comparison |
| 59 | |
| 60 | def characterRepresentation (P : CartierCoordinates R G) : |
| 61 | (CharacterGroups.Construction.characterGroupPresheaf G ⋙ forget GrpCat).RepresentableBy P.dualScheme := |
| 62 | (Functor.RepresentableBy.equivUliftYonedaIso |
| 63 | (CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf (Spec R) G).obj P.dualScheme).symm |
| 64 | ((sheafToPresheaf _ _).mapIso P.characterIso) |
| 65 | |
| 66 | /-- The Cartier group law is constructed from actual multiplication of |
| 67 | characters on the representing scheme. -/ |
| 68 | abbrev dualGroup (P : CartierCoordinates R G) : Grp (Over (Spec R)) := |
| 69 | RepresentedGroups.Construction.representedGroup (CharacterGroups.Construction.characterGroupPresheaf G) P.dualScheme P.characterRepresentation |
| 70 | |
| 71 | def pointsEquiv (P : CartierCoordinates R G) (T : Over (Spec R)) : |
| 72 | (T ⟶ P.dualGroup.X) ≃* CharacterGroups.Construction.CharacterSections G T := |
| 73 | RepresentedGroups.Construction.representedGroupPoints (CharacterGroups.Construction.characterGroupPresheaf G) P.dualScheme P.characterRepresentation T |
| 74 | |
| 75 | instance dualGroup_commutative (P : CartierCoordinates R G) : IsCommMonObj P.dualGroup.X := by |
| 76 | have : ∀ T, IsMulCommutative ((CharacterGroups.Construction.characterGroupPresheaf G).obj T) := fun T => |
| 77 | inferInstanceAs (IsMulCommutative (CharacterGroups.Construction.CharacterSections G T.unop)) |
| 78 | exact RepresentedGroups.Construction.representedGroup_commutative _ _ _ |
| 79 | |
| 80 | theorem dualGroup_finiteLocallyFree (P : CartierCoordinates R G) : |
| 81 | IsFinite P.dualGroup.X.hom ∧ Flat P.dualGroup.X.hom ∧ |
| 82 | LocallyOfFinitePresentation P.dualGroup.X.hom := |
| 83 | CartierDuality.PolarizedTorsion.Construction.dualCoordinateScheme_finiteLocallyFree R P.algebra |
| 84 | |
| 85 | instance dualGroup_finite (P : CartierCoordinates R G) : IsFinite P.dualGroup.X.hom := |
| 86 | P.dualGroup_finiteLocallyFree.1 |
| 87 | |
| 88 | instance dualGroup_flat (P : CartierCoordinates R G) : Flat P.dualGroup.X.hom := |
| 89 | P.dualGroup_finiteLocallyFree.2.1 |
| 90 | |
| 91 | instance dualGroup_finitelyPresented (P : CartierCoordinates R G) : |
| 92 | LocallyOfFinitePresentation P.dualGroup.X.hom := P.dualGroup_finiteLocallyFree.2.2 |
| 93 | |
| 94 | /-- Restricting a character along the chosen subgroup gives an actual |
| 95 | homomorphism of the constructed Cartier group schemes. -/ |
| 96 | def restriction (P : CartierCoordinates R G) (Q : CartierCoordinates R H) (i : H ⟶ G) : |
| 97 | P.dualGroup ⟶ Q.dualGroup := by |
| 98 | let f : P.dualGroup.X ⟶ Q.dualGroup.X := |
| 99 | RepresentedGroups.Construction.representedGroupMap P.characterRepresentation Q.characterRepresentation (CharacterGroups.Construction.characterGroupRestriction i) |
| 100 | have : IsMonHom f := |
| 101 | RepresentedGroups.Construction.representedGroupMap_isMonHom P.characterRepresentation Q.characterRepresentation |
| 102 | (CharacterGroups.Construction.characterGroupRestriction i) |
| 103 | exact Grp.homMk f |
| 104 | |
| 105 | theorem restriction_on_characters (P : CartierCoordinates R G) (Q : CartierCoordinates R H) |
| 106 | (i : H ⟶ G) (T : Over (Spec R)) (x : T ⟶ P.dualGroup.X) : |
| 107 | Q.pointsEquiv T (x ≫ (P.restriction Q i).hom.hom) = |
| 108 | Functor.whiskerLeft (Over.forget T).op (yonedaGrp.map i) ≫ P.pointsEquiv T x := by |
| 109 | exact RepresentedGroups.Construction.representedGroupMap_action P.characterRepresentation Q.characterRepresentation |
| 110 | (CharacterGroups.Construction.characterGroupRestriction i) x |
| 111 | |
| 112 | end CartierCoordinates |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierModel.Construction |