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.Level.TorsorStructureComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.CharacterAverageIntertwining |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.CharacterAveragePullback |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MultiplicationCharacter.CharacterPullback |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.CharacterSheafSections |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Sheaf.SummandIntertwining |
| 7 | |
| 8 | /-! # Comparison -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The actual multiplication-torsor comparison intertwines character projectors and therefore gives actual maps from pulled-back multiplication-character sheaves to constant-torsor character sheaves. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | variable {K : Type u} [Field K] {g N : ℕ} |
| 18 | (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) (level : A.FullLevel N) |
| 19 | |
| 20 | theorem Abelian.Schemes.AbelianScheme.multiplication_schemeCoefficientMap : |
| 21 | (A.multiplication N).left.appTop.hom.comp (Coefficient.ModulePresheaf.schemeCoefficientMap A.scheme.hom) = |
| 22 | Coefficient.ModulePresheaf.schemeCoefficientMap A.scheme.hom := by |
| 23 | calc |
| 24 | (A.multiplication N).left.appTop.hom.comp (Coefficient.ModulePresheaf.schemeCoefficientMap A.scheme.hom) = |
| 25 | Coefficient.ModulePresheaf.schemeCoefficientMap ((A.multiplication N).left ≫ A.scheme.hom) := by |
| 26 | ext r |
| 27 | rfl |
| 28 | _ = _ := congrArg Coefficient.ModulePresheaf.schemeCoefficientMap (A.multiplication N).w |
| 29 | |
| 30 | variable [NeZero N] |
| 31 | |
| 32 | theorem Abelian.Schemes.AbelianScheme.fullLevelStructureComparison_projector |
| 33 | (χ : ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N)) →* Kˣ) : |
| 34 | (Scheme.Modules.pullback (A.multiplication N).left).map |
| 35 | (A.fullLevelMultiplicationProjector (Coefficient.ModulePresheaf.schemeCoefficientMap A.scheme.hom) level χ) ≫ |
| 36 | A.fullLevelStructureComparison level = |
| 37 | A.fullLevelStructureComparison level ≫ |
| 38 | Sheaf.CharacterAverages.sheafCharacterAverage (Coefficient.ModulePresheaf.schemeCoefficientMap A.scheme.hom) |
| 39 | (Constant.StructureRepresentation.constantStructurePushforward A.scheme.left _) |
| 40 | (Constant.StructureRepresentation.constantStructureRepresentation A.scheme.left _) χ := by |
| 41 | let F := Scheme.Modules.pullback (A.multiplication N).left |
| 42 | let M := A.multiplicationStructurePushforward N |
| 43 | let ρ := (F.mapEnd M).comp (A.fullLevelStructureRepresentation level) |
| 44 | let σ := Constant.StructureRepresentation.constantStructureRepresentation A.scheme.left |
| 45 | (ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N))) |
| 46 | let c := Coefficient.ModulePresheaf.schemeCoefficientMap A.scheme.hom |
| 47 | let φ := A.fullLevelStructureComparison level |
| 48 | have hp : F.map (A.fullLevelMultiplicationProjector c level χ) = |
| 49 | Sheaf.CharacterAverages.sheafCharacterAverage c (F.obj M) ρ χ := |
| 50 | (Sheaf.CharacterAveragePullback.sheafCharacterAverage_pullback (A.multiplication N).left c M |
| 51 | (A.fullLevelStructureRepresentation level) χ).trans |
| 52 | (congrArg (fun d => Sheaf.CharacterAverages.sheafCharacterAverage d (F.obj M) ρ χ) |
| 53 | (A.multiplication_schemeCoefficientMap (N := N))) |
| 54 | exact (congrArg (fun z => z ≫ φ) hp).trans |
| 55 | (Sheaf.CharacterAverageIntertwining.sheafCharacterAverage_intertwines c ρ σ φ |
| 56 | (fun a => A.fullLevelStructureComparison_intertwines level a) χ) |
| 57 | |
| 58 | def Abelian.Schemes.AbelianScheme.multiplicationCharacterComparison |
| 59 | (χ : ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N)) →* Kˣ) (hN : (N : K) ≠ 0) : |
| 60 | (Scheme.Modules.pullback (A.multiplication N).left).obj |
| 61 | (A.multiplicationCharacterSheaf level χ) ⟶ |
| 62 | Constant.CharacterSheafSections.constantCharacterSheaf (Coefficient.ModulePresheaf.schemeCoefficientMap A.scheme.hom) |
| 63 | (ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N))) χ := |
| 64 | (A.multiplicationCharacterPullbackIso level (A.multiplication N).left χ hN).hom ≫ |
| 65 | Sheaf.SummandIntertwining.sheafSummandIntertwiningMap _ _ (A.fullLevelStructureComparison level) |
| 66 | (A.fullLevelStructureComparison_projector level χ) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |