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.KernelZeroSection |
| 2 | |
| 3 | /-! # Difference -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The difference of two points with equal isogeny image is an actual point of its scheme-theoretic kernel. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 11 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 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.kernelDifference : Limits.pullback p.hom p.hom ⟶ p.kernelScheme := |
| 19 | (p.kernelSchemePointsEquiv _).symm |
| 20 | ⟨pullback.snd p.hom p.hom / pullback.fst _ _, by |
| 21 | change (pullback.snd p.hom p.hom / pullback.fst p.hom p.hom) ≫ p.hom = 1 |
| 22 | rw [GrpObj.div_comp, div_eq_one] |
| 23 | exact pullback.condition.symm⟩ |
| 24 | |
| 25 | @[reassoc (attr := simp)] theorem Abelian.Schemes.AbelianScheme.Isogeny.kernelDifference_inclusion : |
| 26 | p.kernelDifference ≫ p.kernelInclusion = pullback.snd p.hom p.hom / pullback.fst _ _ := |
| 27 | congrArg (fun x : p.kernelAt (Limits.pullback p.hom p.hom) => x.val) |
| 28 | ((p.kernelSchemePointsEquiv _).apply_symm_apply _) |
| 29 | |
| 30 | theorem Abelian.Schemes.AbelianScheme.Isogeny.kernelDifference_diagonal : |
| 31 | pullback.diagonal p.hom ≫ p.kernelDifference = toUnit A.scheme ≫ p.kernelZeroSection := by |
| 32 | have : IsClosedImmersion p.kernelInclusion.left := p.kernelInclusion_closedImmersion |
| 33 | have : Mono ((Over.forget S).map p.kernelInclusion) := inferInstanceAs (Mono p.kernelInclusion.left) |
| 34 | have : Mono p.kernelInclusion := Functor.mono_of_mono_map (Over.forget S) inferInstance |
| 35 | apply (cancel_mono p.kernelInclusion).mp |
| 36 | simp only [Category.assoc, Abelian.Schemes.AbelianScheme.Isogeny.kernelDifference_inclusion, Abelian.Schemes.AbelianScheme.Isogeny.kernelZeroSection_inclusion, |
| 37 | GrpObj.comp_div, pullback.diagonal_fst, pullback.diagonal_snd, MonObj.comp_one, div_self'] |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |