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.Family.TranslationStructureComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MultiplicationCharacter.CharacterPullback |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.CharacterAveragePullback |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.CharacterAverageIntertwining |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.GlobalSectionsPushforward |
| 6 | |
| 7 | /-! # Character Translation -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Over every test scheme, the actual pulled-back multiplication-character sheaves are isomorphic to their translates by N-fold points. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | universe u |
| 18 | variable {K : Type u} [Field K] {g N : ℕ} [NeZero N] |
| 19 | (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) (level : A.FullLevel N) |
| 20 | |
| 21 | def Abelian.Schemes.AbelianScheme.familyCharacterProjector (T : Over (Spec (.of K))) |
| 22 | (χ : ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N)) →* Kˣ) : |
| 23 | End ((Scheme.Modules.pullback (snd T A.scheme).left).obj (A.multiplicationStructurePushforward N)) := |
| 24 | (Scheme.Modules.pullback (snd T A.scheme).left).map |
| 25 | (A.fullLevelMultiplicationProjector (Coefficient.ModulePresheaf.schemeCoefficientMap A.scheme.hom) level χ) |
| 26 | |
| 27 | theorem Abelian.Schemes.AbelianScheme.familyCharacterProjector_idempotent (T : Over (Spec (.of K))) |
| 28 | (χ : ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N)) →* Kˣ) (hN : (N : K) ≠ 0) : |
| 29 | A.familyCharacterProjector level T χ ≫ A.familyCharacterProjector level T χ = |
| 30 | A.familyCharacterProjector level T χ := by |
| 31 | unfold Abelian.Schemes.AbelianScheme.familyCharacterProjector |
| 32 | rw [← Functor.map_comp, A.fullLevelMultiplicationProjector_idempotent |
| 33 | (Coefficient.ModulePresheaf.schemeCoefficientMap A.scheme.hom) level χ hN] |
| 34 | |
| 35 | theorem Abelian.Schemes.AbelianScheme.familyTranslationComparisonIso_projector {T : Over (Spec (.of K))} (a : T ⟶ A.scheme) |
| 36 | (χ : ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N)) →* Kˣ) : |
| 37 | (Scheme.Modules.pullback (A.translation (a ^ N)).left).map |
| 38 | (A.familyCharacterProjector level T χ) ≫ (A.familyTranslationComparisonIso level a).hom = |
| 39 | (A.familyTranslationComparisonIso level a).hom ≫ A.familyCharacterProjector level T χ := by |
| 40 | let r := (snd T A.scheme).left |
| 41 | let t := (A.translation (a ^ N)).left |
| 42 | let P := Scheme.Modules.pullback r |
| 43 | let F := Scheme.Modules.pullback t |
| 44 | let M := A.multiplicationStructurePushforward N |
| 45 | let ρ := (P.mapEnd M).comp (A.fullLevelStructureRepresentation level) |
| 46 | let σ := (F.mapEnd (P.obj M)).comp ρ |
| 47 | let c := Coefficient.ModulePresheaf.schemeCoefficientMap A.scheme.hom |
| 48 | let cT := r.appTop.hom.comp c |
| 49 | let φ := (A.familyTranslationComparisonIso level a).hom |
| 50 | have hc : cT = Coefficient.ModulePresheaf.schemeCoefficientMap (T ⊗ A.scheme).hom := |
| 51 | (Coefficient.GlobalSectionsPushforward.schemeCoefficientMap_comp r A.scheme.hom).symm.trans |
| 52 | (congrArg Coefficient.ModulePresheaf.schemeCoefficientMap (snd T A.scheme).w) |
| 53 | have ht : t.appTop.hom.comp cT = cT := by |
| 54 | rw [hc, ← Coefficient.GlobalSectionsPushforward.schemeCoefficientMap_comp] |
| 55 | exact congrArg Coefficient.ModulePresheaf.schemeCoefficientMap (A.translation (a ^ N)).w |
| 56 | have hP : A.familyCharacterProjector level T χ = |
| 57 | Sheaf.CharacterAverages.sheafCharacterAverage cT (P.obj M) ρ χ := |
| 58 | Sheaf.CharacterAveragePullback.sheafCharacterAverage_pullback r c M (A.fullLevelStructureRepresentation level) χ |
| 59 | have hFP : F.map (A.familyCharacterProjector level T χ) = |
| 60 | Sheaf.CharacterAverages.sheafCharacterAverage cT (F.obj (P.obj M)) σ χ := |
| 61 | (congrArg (fun p : End (P.obj M) => F.map p) hP).trans |
| 62 | ((Sheaf.CharacterAveragePullback.sheafCharacterAverage_pullback t cT (P.obj M) ρ χ).trans |
| 63 | (congrArg (fun d => Sheaf.CharacterAverages.sheafCharacterAverage d (F.obj (P.obj M)) σ χ) ht)) |
| 64 | exact (congrArg (fun p => p ≫ φ) hFP).trans |
| 65 | ((Sheaf.CharacterAverageIntertwining.sheafCharacterAverage_intertwines cT σ ρ φ |
| 66 | (fun i => A.familyTranslationComparisonIso_intertwines level a i) χ).trans |
| 67 | (congrArg (fun p => φ ≫ p) hP.symm)) |
| 68 | |
| 69 | def Abelian.Schemes.AbelianScheme.familyCharacterTranslationIso {T : Over (Spec (.of K))} (a : T ⟶ A.scheme) |
| 70 | (χ : ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N)) →* Kˣ) (hN : (N : K) ≠ 0) : |
| 71 | (Scheme.Modules.pullback (A.translation (a ^ N)).left).obj |
| 72 | ((Scheme.Modules.pullback (snd T A.scheme).left).obj (A.multiplicationCharacterSheaf level χ)) ≅ |
| 73 | (Scheme.Modules.pullback (snd T A.scheme).left).obj (A.multiplicationCharacterSheaf level χ) := by |
| 74 | let r := (snd T A.scheme).left |
| 75 | let t := (A.translation (a ^ N)).left |
| 76 | let F := Scheme.Modules.pullback t |
| 77 | let q := A.familyCharacterProjector level T χ |
| 78 | let e : (Scheme.Modules.pullback r).obj (A.multiplicationCharacterSheaf level χ) ≅ |
| 79 | IdempotentSheafSummands.idempotentSheafSummand q := A.multiplicationCharacterPullbackIso level r χ hN |
| 80 | exact F.mapIso e ≪≫ |
| 81 | Sheaf.SummandFunctoriality.sheafSummandPullbackIso t q (A.familyCharacterProjector_idempotent level T χ hN) ≪≫ |
| 82 | Sheaf.SummandIntertwining.sheafSummandIntertwiningIso (F.map q) q (A.familyTranslationComparisonIso level a) |
| 83 | (A.familyTranslationComparisonIso_projector level a χ) ≪≫ e.symm |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |