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.Difference |
| 2 | |
| 3 | /-! # Kernel Torsor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The self-pullback of an isogeny is the source times its actual kernel: two points in one fiber differ by a unique kernel point. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 12 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 13 | universe u |
| 14 | variable {S : Scheme.{u}} {g h : ℕ} {A : Abelian.Schemes.AbelianScheme g S} {B : Abelian.Schemes.AbelianScheme h S} |
| 15 | variable (p : Abelian.Schemes.AbelianScheme.Isogeny A B) |
| 16 | |
| 17 | def Abelian.Schemes.AbelianScheme.Isogeny.kernelActionPair : A.scheme ⊗ p.kernelScheme ⟶ Limits.pullback p.hom p.hom := |
| 18 | Limits.pullback.lift (fst A.scheme p.kernelScheme) |
| 19 | (fst A.scheme p.kernelScheme * (snd A.scheme p.kernelScheme ≫ p.kernelInclusion)) (by |
| 20 | simp only [MonObj.mul_comp, Category.assoc, Abelian.Schemes.AbelianScheme.Isogeny.kernelInclusion_comp, MonObj.comp_one, mul_one]) |
| 21 | |
| 22 | @[reassoc (attr := simp)] |
| 23 | theorem Abelian.Schemes.AbelianScheme.Isogeny.kernelActionPair_fst : p.kernelActionPair ≫ Limits.pullback.fst p.hom p.hom = |
| 24 | fst A.scheme p.kernelScheme := Limits.pullback.lift_fst _ _ _ |
| 25 | |
| 26 | @[reassoc (attr := simp)] |
| 27 | theorem Abelian.Schemes.AbelianScheme.Isogeny.kernelActionPair_snd : p.kernelActionPair ≫ Limits.pullback.snd p.hom p.hom = |
| 28 | fst A.scheme p.kernelScheme * (snd A.scheme p.kernelScheme ≫ p.kernelInclusion) := |
| 29 | Limits.pullback.lift_snd _ _ _ |
| 30 | |
| 31 | def Abelian.Schemes.AbelianScheme.Isogeny.kernelDifferencePair : Limits.pullback p.hom p.hom ⟶ A.scheme ⊗ p.kernelScheme := |
| 32 | lift (Limits.pullback.fst p.hom p.hom) p.kernelDifference |
| 33 | |
| 34 | theorem Abelian.Schemes.AbelianScheme.Isogeny.kernelActionPair_difference : p.kernelActionPair ≫ p.kernelDifferencePair = 𝟙 _ := by |
| 35 | apply CartesianMonoidalCategory.hom_ext |
| 36 | · simp only [Category.assoc, Abelian.Schemes.AbelianScheme.Isogeny.kernelDifferencePair, lift_fst, Abelian.Schemes.AbelianScheme.Isogeny.kernelActionPair_fst, Category.id_comp] |
| 37 | · have : Mono p.kernelInclusion := Functor.mono_of_mono_map (Over.forget S) |
| 38 | (inferInstanceAs (Mono p.kernelInclusion.left)) |
| 39 | apply (cancel_mono p.kernelInclusion).mp |
| 40 | simp only [Category.assoc, Abelian.Schemes.AbelianScheme.Isogeny.kernelDifferencePair, lift_snd, Abelian.Schemes.AbelianScheme.Isogeny.kernelDifference_inclusion, |
| 41 | GrpObj.comp_div, Abelian.Schemes.AbelianScheme.Isogeny.kernelActionPair_snd, Abelian.Schemes.AbelianScheme.Isogeny.kernelActionPair_fst, Category.id_comp, |
| 42 | mul_div_cancel_left] |
| 43 | |
| 44 | theorem Abelian.Schemes.AbelianScheme.Isogeny.kernelDifferencePair_action : p.kernelDifferencePair ≫ p.kernelActionPair = 𝟙 _ := by |
| 45 | apply Limits.pullback.hom_ext |
| 46 | · simp only [Category.assoc, Abelian.Schemes.AbelianScheme.Isogeny.kernelActionPair_fst, Abelian.Schemes.AbelianScheme.Isogeny.kernelDifferencePair, lift_fst, Category.id_comp] |
| 47 | · simp only [Category.assoc, Abelian.Schemes.AbelianScheme.Isogeny.kernelActionPair_snd, MonObj.comp_mul, |
| 48 | Abelian.Schemes.AbelianScheme.Isogeny.kernelDifferencePair, lift_fst, lift_snd_assoc, Abelian.Schemes.AbelianScheme.Isogeny.kernelDifference_inclusion, |
| 49 | Category.id_comp, mul_div_cancel] |
| 50 | |
| 51 | def Abelian.Schemes.AbelianScheme.Isogeny.kernelTorsorIso : A.scheme ⊗ p.kernelScheme ≅ Limits.pullback p.hom p.hom where |
| 52 | hom := p.kernelActionPair |
| 53 | inv := p.kernelDifferencePair |
| 54 | hom_inv_id := p.kernelActionPair_difference |
| 55 | inv_hom_id := p.kernelDifferencePair_action |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |