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.BaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TorsionScheme |
| 3 | |
| 4 | /-! # Kernel Scheme -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The scheme-theoretic kernel of an actual finite-flat isogeny, its universal point, and its point and rank comparisons. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 13 | universe u |
| 14 | |
| 15 | variable {S : Scheme.{u}} {g h : ℕ} {A : Abelian.Schemes.AbelianScheme g S} {B : Abelian.Schemes.AbelianScheme h S} |
| 16 | variable (p : Abelian.Schemes.AbelianScheme.Isogeny A B) |
| 17 | |
| 18 | def Abelian.Schemes.AbelianScheme.Isogeny.kernelScheme : Over S := Over.mk (pullback.snd p.hom.left η[B.scheme].left) |
| 19 | |
| 20 | def Abelian.Schemes.AbelianScheme.Isogeny.kernelInclusion : p.kernelScheme ⟶ A.scheme := |
| 21 | Over.homMk (pullback.fst p.hom.left η[B.scheme].left) (by |
| 22 | have hz : η[B.scheme].left ≫ B.scheme.hom = 𝟙 S := η[B.scheme].w |
| 23 | calc |
| 24 | _ = pullback.fst p.hom.left η[B.scheme].left ≫ p.hom.left ≫ B.scheme.hom := |
| 25 | congrArg (fun f => pullback.fst p.hom.left η[B.scheme].left ≫ f) p.hom.w.symm |
| 26 | _ = pullback.snd p.hom.left η[B.scheme].left ≫ η[B.scheme].left ≫ B.scheme.hom := |
| 27 | pullback.condition_assoc B.scheme.hom |
| 28 | _ = _ := (congrArg (fun f => pullback.snd p.hom.left η[B.scheme].left ≫ f) hz).trans |
| 29 | (Category.comp_id _)) |
| 30 | |
| 31 | theorem Abelian.Schemes.AbelianScheme.Isogeny.kernel_condition_iff (T : Over S) (x : A.Points T) : |
| 32 | x.left ≫ p.hom.left = T.hom ≫ η[B.scheme].left ↔ x ≫ p.hom = 1 := by |
| 33 | constructor |
| 34 | · intro h |
| 35 | exact Over.OverMorphism.ext h |
| 36 | · intro h |
| 37 | exact congrArg (fun f : B.Points T => f.left) h |
| 38 | |
| 39 | theorem Abelian.Schemes.AbelianScheme.Isogeny.kernelInclusion_comp : p.kernelInclusion ≫ p.hom = 1 := |
| 40 | (p.kernel_condition_iff p.kernelScheme p.kernelInclusion).mp pullback.condition |
| 41 | |
| 42 | def Abelian.Schemes.AbelianScheme.Isogeny.kernelSchemePointsEquiv (T : Over S) : (T ⟶ p.kernelScheme) ≃ p.kernelAt T where |
| 43 | toFun t := ⟨t ≫ p.kernelInclusion, by |
| 44 | change (t ≫ p.kernelInclusion) ≫ p.hom = 1 |
| 45 | rw [Category.assoc, Abelian.Schemes.AbelianScheme.Isogeny.kernelInclusion_comp, MonObj.comp_one]⟩ |
| 46 | invFun x := Over.homMk (pullback.lift x.val.left T.hom |
| 47 | ((p.kernel_condition_iff T x.val).mpr (MonoidHom.mem_ker.mp x.property))) |
| 48 | (pullback.lift_snd _ _ _) |
| 49 | left_inv t := by |
| 50 | apply Over.OverMorphism.ext |
| 51 | apply pullback.hom_ext |
| 52 | · exact pullback.lift_fst _ _ _ |
| 53 | · exact (pullback.lift_snd _ _ _).trans t.w.symm |
| 54 | right_inv x := by |
| 55 | apply Subtype.ext |
| 56 | apply Over.OverMorphism.ext |
| 57 | exact pullback.lift_fst _ _ _ |
| 58 | |
| 59 | instance Abelian.Schemes.AbelianScheme.Isogeny.kernelScheme_finite : IsFinite p.kernelScheme.hom := |
| 60 | inferInstanceAs (IsFinite (pullback.snd p.hom.left η[B.scheme].left)) |
| 61 | |
| 62 | instance Abelian.Schemes.AbelianScheme.Isogeny.kernelScheme_flat : Flat p.kernelScheme.hom := |
| 63 | inferInstanceAs (Flat (pullback.snd p.hom.left η[B.scheme].left)) |
| 64 | |
| 65 | instance Abelian.Schemes.AbelianScheme.Isogeny.kernelInclusion_closedImmersion : IsClosedImmersion p.kernelInclusion.left := |
| 66 | inferInstanceAs (IsClosedImmersion (pullback.fst p.hom.left η[B.scheme].left)) |
| 67 | |
| 68 | theorem Abelian.Schemes.AbelianScheme.Isogeny.kernelScheme_finrank (s : S) : p.kernelScheme.hom.finrank s = p.hom.left.finrank (η[B.scheme].left s) := |
| 69 | Scheme.Hom.finrank_of_isPullback _ _ _ _ (IsPullback.of_hasPullback p.hom.left η[B.scheme].left) s |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |