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.CharacterSheaf |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Finite |
| 3 | |
| 4 | /-! # Character Functor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterFunctor.Construction.Schemes |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # CartierDuality: functoriality of character sheaves |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | /-- Restriction along the identity leaves every character unchanged. -/ |
| 19 | theorem characterRestriction_id (S : Scheme.{u}) (G : Grp (Over S)) : |
| 20 | CharacterSheaf.Construction.Schemes.characterRestriction (𝟙 G) = 𝟙 (CharacterSheaf.Construction.Schemes.characterSheaf S G) := by |
| 21 | ext T χ |
| 22 | apply NatTrans.ext |
| 23 | funext U |
| 24 | apply GrpCat.hom_ext |
| 25 | apply MonoidHom.ext |
| 26 | intro x |
| 27 | change χ.app U (x ≫ 𝟙 G.X) = χ.app U x |
| 28 | exact congrArg (fun f => χ.app U f) (Category.comp_id x) |
| 29 | |
| 30 | /-- Restriction along a composite is successive restriction. -/ |
| 31 | theorem characterRestriction_comp {S : Scheme.{u}} {H G K : Grp (Over S)} |
| 32 | (i : H ⟶ G) (j : G ⟶ K) : |
| 33 | CharacterSheaf.Construction.Schemes.characterRestriction (i ≫ j) = CharacterSheaf.Construction.Schemes.characterRestriction j ≫ CharacterSheaf.Construction.Schemes.characterRestriction i := by |
| 34 | ext T χ |
| 35 | apply NatTrans.ext |
| 36 | funext U |
| 37 | apply GrpCat.hom_ext |
| 38 | apply MonoidHom.ext |
| 39 | intro x |
| 40 | change χ.app U (x ≫ (i.hom.hom ≫ j.hom.hom)) = |
| 41 | χ.app U ((x ≫ i.hom.hom) ≫ j.hom.hom) |
| 42 | exact congrArg (fun f => χ.app U f) (Category.assoc x i.hom.hom j.hom.hom).symm |
| 43 | |
| 44 | /-- The fppf character construction is contravariantly functorial in |
| 45 | the source group scheme. -/ |
| 46 | def characterSheafFunctor (S : Scheme.{u}) : |
| 47 | (Grp (Over S))ᵒᵖ ⥤ Sheaf (Scheme.fppfTopology.over S) (Type (u + 1)) where |
| 48 | obj G := CharacterSheaf.Construction.Schemes.characterSheaf S G.unop |
| 49 | map f := CharacterSheaf.Construction.Schemes.characterRestriction f.unop |
| 50 | map_id G := characterRestriction_id S G.unop |
| 51 | map_comp f g := characterRestriction_comp g.unop f.unop |
| 52 | |
| 53 | /-- A group-scheme isomorphism induces an isomorphism of its actual |
| 54 | character sheaves by restriction. -/ |
| 55 | def characterSheafIso {S : Scheme.{u}} {G H : Grp (Over S)} (e : G ≅ H) : |
| 56 | CharacterSheaf.Construction.Schemes.characterSheaf S H ≅ CharacterSheaf.Construction.Schemes.characterSheaf S G := |
| 57 | (characterSheafFunctor S).mapIso e.op |
| 58 | |
| 59 | /-- The fppf sheaf of points of a scheme over S, with the universe lift |
| 60 | used by the character sheaf. -/ |
| 61 | def pointSheaf (S : Scheme.{u}) (X : Over S) : |
| 62 | Sheaf (Scheme.fppfTopology.over S) (Type (u + 1)) := |
| 63 | ⟨uliftYoneda.{u + 1}.obj X, by |
| 64 | rw [isSheaf_iff_isSheaf_of_type] |
| 65 | exact GrothendieckTopology.Subcanonical.isSheaf_of_isRepresentable _⟩ |
| 66 | |
| 67 | /-- Finite locally free representability asks for an actual representing |
| 68 | scheme with a finite, flat, locally finitely presented structure morphism. -/ |
| 69 | def FiniteLocallyFreeRepresentable {S : Scheme.{u}} |
| 70 | (F : Sheaf (Scheme.fppfTopology.over S) (Type (u + 1))) : Prop := |
| 71 | ∃ X : Over S, IsFinite X.hom ∧ Flat X.hom ∧ LocallyOfFinitePresentation X.hom ∧ |
| 72 | Nonempty (pointSheaf S X ≅ F) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterFunctor.Construction.Schemes |