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.Isogeny.KernelTorsor |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LevelMultiplication.Isogeny |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.DiagonalComparison |
| 4 | |
| 5 | /-! # Kernel Torsor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Full level makes the self-pullback of multiplication a product with the actual constant level scheme. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | universe u |
| 15 | variable {S : Scheme.{u}} {g n : ℕ} (A : Abelian.Schemes.AbelianScheme g S) |
| 16 | |
| 17 | def Abelian.Schemes.AbelianScheme.fullLevelKernelTorsorIso (level : A.FullLevel n) : |
| 18 | A.scheme ⊗ Level.Scheme.constantFullLevelScheme g n S ≅ Limits.pullback (A.multiplication n) (A.multiplication n) := |
| 19 | (Iso.refl A.scheme ⊗ᵢ level.schemeIso) ≪≫ (A.fullLevelMultiplicationIsogeny level).kernelTorsorIso |
| 20 | |
| 21 | @[reassoc] |
| 22 | theorem Abelian.Schemes.AbelianScheme.fullLevelKernelTorsorIso_fst (level : A.FullLevel n) : |
| 23 | (A.fullLevelKernelTorsorIso level).hom ≫ Limits.pullback.fst (A.multiplication n) (A.multiplication n) = |
| 24 | fst A.scheme (Level.Scheme.constantFullLevelScheme g n S) := by |
| 25 | let p := A.fullLevelMultiplicationIsogeny level |
| 26 | let e : Level.Scheme.constantFullLevelScheme g n S ≅ p.kernelScheme := level.schemeIso |
| 27 | let t := 𝟙 A.scheme ⊗ₘ e.hom |
| 28 | change (t ≫ p.kernelActionPair) ≫ Limits.pullback.fst p.hom p.hom = _ |
| 29 | exact (Category.assoc _ _ _).trans |
| 30 | ((congrArg (fun k => t ≫ k) p.kernelActionPair_fst).trans |
| 31 | ((tensorHom_fst (𝟙 A.scheme) e.hom).trans (Category.comp_id _))) |
| 32 | |
| 33 | @[reassoc] |
| 34 | theorem Abelian.Schemes.AbelianScheme.fullLevelKernelTorsorIso_snd (level : A.FullLevel n) : |
| 35 | (A.fullLevelKernelTorsorIso level).hom ≫ Limits.pullback.snd (A.multiplication n) (A.multiplication n) = |
| 36 | fst A.scheme (Level.Scheme.constantFullLevelScheme g n S) * |
| 37 | (snd A.scheme (Level.Scheme.constantFullLevelScheme g n S) ≫ level.schemeIso.hom ≫ A.torsionInclusion n) := by |
| 38 | let p := A.fullLevelMultiplicationIsogeny level |
| 39 | let e : Level.Scheme.constantFullLevelScheme g n S ≅ p.kernelScheme := level.schemeIso |
| 40 | let t := 𝟙 A.scheme ⊗ₘ e.hom |
| 41 | have hf : t ≫ fst A.scheme p.kernelScheme = fst A.scheme (Level.Scheme.constantFullLevelScheme g n S) := |
| 42 | (tensorHom_fst (𝟙 A.scheme) e.hom).trans (Category.comp_id _) |
| 43 | have hs : t ≫ (snd A.scheme p.kernelScheme ≫ p.kernelInclusion) = |
| 44 | snd A.scheme (Level.Scheme.constantFullLevelScheme g n S) ≫ level.schemeIso.hom ≫ A.torsionInclusion n := |
| 45 | (Category.assoc _ _ _).symm.trans |
| 46 | ((congrArg (fun k => k ≫ p.kernelInclusion) (tensorHom_snd (𝟙 A.scheme) e.hom)).trans |
| 47 | (Category.assoc _ _ _)) |
| 48 | change (t ≫ p.kernelActionPair) ≫ Limits.pullback.snd p.hom p.hom = _ |
| 49 | exact (Category.assoc _ _ _).trans ((congrArg (fun k => t ≫ k) p.kernelActionPair_snd).trans |
| 50 | ((MonObj.comp_mul _ _ _).trans (congrArg₂ (fun a b => a * b) hf hs))) |
| 51 | |
| 52 | def Abelian.Schemes.AbelianScheme.fullLevelKernelTorsorSchemeIso (level : A.FullLevel n) : |
| 53 | (A.scheme ⊗ Level.Scheme.constantFullLevelScheme g n S).left ≅ |
| 54 | Limits.pullback (A.multiplication n).left (A.multiplication n).left := |
| 55 | (Over.forget S).mapIso (A.fullLevelKernelTorsorIso level) ≪≫ HilbertConstruction.Over.DiagonalComparison.overSelfPullbackIso (A.multiplication n) |
| 56 | |
| 57 | @[reassoc] |
| 58 | theorem Abelian.Schemes.AbelianScheme.fullLevelKernelTorsorSchemeIso_fst (level : A.FullLevel n) : |
| 59 | (A.fullLevelKernelTorsorSchemeIso level).hom ≫ |
| 60 | Limits.pullback.fst (A.multiplication n).left (A.multiplication n).left = |
| 61 | Limits.pullback.fst A.scheme.hom (Level.Scheme.constantFullLevelScheme g n S).hom := by |
| 62 | have h := ((IsPullback.of_hasPullback (A.multiplication n) (A.multiplication n)).map (Over.forget S)).isoPullback_hom_fst |
| 63 | change ((A.fullLevelKernelTorsorIso level).hom.left ≫ (HilbertConstruction.Over.DiagonalComparison.overSelfPullbackIso (A.multiplication n)).hom) ≫ _ = _ |
| 64 | exact (Category.assoc _ _ _).trans ((congrArg (fun k => (A.fullLevelKernelTorsorIso level).hom.left ≫ k) h).trans |
| 65 | (congrArg Over.Hom.left (A.fullLevelKernelTorsorIso_fst level))) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |