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.AbelianModuli.HilbertConstruction.Constant.CharacterSheafQuasicoherence |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.FromOpenSectionBases |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TameCharacters |
| 4 | |
| 5 | /-! # Character Line Bundles -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.CharacterLineBundles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual character sheaves of a constant tame torsor are line bundles, with local frames constructed from the proved section bases. This includes the exact ordered full-level group. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | variable {K : Type u} [Field K] {S : Scheme.{u}} (c : K →+* Γ(S, ⊤)) |
| 15 | (G : Type u) [CommGroup G] [Fintype G] |
| 16 | |
| 17 | def constantCharacterLineBundle [HasEnoughRootsOfUnity K (Monoid.exponent G)] |
| 18 | (χ : G →* Kˣ) (hG : (Fintype.card G : K) ≠ 0) : Line.Bundles.LineBundle S := by |
| 19 | letI := CharacterSheafQuasicoherence.constantCharacterSheaf_quasicoherent c G χ |
| 20 | exact LineBundle.FromOpenSectionBases.lineBundleFromOpenSectionBases (CharacterSheafSections.constantCharacterSheaf c G χ) |
| 21 | (CharacterSheafSections.constantCharacterSheafSectionsEquiv c G χ hG) |
| 22 | |
| 23 | theorem constantCharacterLineBundle_sheaf [HasEnoughRootsOfUnity K (Monoid.exponent G)] |
| 24 | (χ : G →* Kˣ) (hG : (Fintype.card G : K) ≠ 0) : |
| 25 | (constantCharacterLineBundle c G χ hG).sheaf = CharacterSheafSections.constantCharacterSheaf c G χ := rfl |
| 26 | |
| 27 | def fullLevelConstantCharacterLineBundle [IsAlgClosed K] (g N : ℕ) [NeZero N] |
| 28 | (hN : (N : K) ≠ 0) (χ : ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N)) →* Kˣ) : Line.Bundles.LineBundle S := by |
| 29 | have hG := TameCharacters.fullLevelCharacter_order_nonzero K g N hN |
| 30 | have := TameCharacters.tameFiniteAbelian_hasEnoughRoots K _ hG |
| 31 | exact constantCharacterLineBundle c _ χ hG |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.CharacterLineBundles |