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 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.DiagonalComparison |
| 3 | |
| 4 | /-! # Diagonal Pullback -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The isogeny diagonal is the inverse image of the kernel zero section. An unramified kernel therefore makes the isogeny formally unramified. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} {g h : ℕ} {A : Abelian.Schemes.AbelianScheme g S} {B : Abelian.Schemes.AbelianScheme h S} |
| 17 | variable (p : Abelian.Schemes.AbelianScheme.Isogeny A B) |
| 18 | |
| 19 | theorem Abelian.Schemes.AbelianScheme.Isogeny.kernelDifference_isPullback : |
| 20 | IsPullback (toUnit A.scheme) (pullback.diagonal p.hom) p.kernelZeroSection p.kernelDifference := by |
| 21 | apply IsPullback.mk' p.kernelDifference_diagonal.symm |
| 22 | · intro T f k _ h |
| 23 | exact (cancel_mono (pullback.diagonal p.hom)).mp h |
| 24 | · intro T a b h |
| 25 | have hc := congrArg (fun z : T ⟶ p.kernelScheme => z ≫ p.kernelInclusion) h |
| 26 | have hd : b ≫ pullback.snd p.hom p.hom / (b ≫ pullback.fst p.hom p.hom) = 1 := by |
| 27 | simpa only [Category.assoc, Abelian.Schemes.AbelianScheme.Isogeny.kernelZeroSection_inclusion, Abelian.Schemes.AbelianScheme.Isogeny.kernelDifference_inclusion, |
| 28 | GrpObj.comp_div, MonObj.comp_one] using hc.symm |
| 29 | have hb := div_eq_one.mp hd |
| 30 | refine ⟨b ≫ pullback.fst _ _, toUnit_unique _ _, ?_⟩ |
| 31 | apply pullback.hom_ext |
| 32 | · simp only [Category.assoc, pullback.diagonal_fst, Category.comp_id] |
| 33 | · simpa only [Category.assoc, pullback.diagonal_snd, Category.comp_id] using hb.symm |
| 34 | |
| 35 | theorem Abelian.Schemes.AbelianScheme.Isogeny.formallyUnramified_of_kernel [FormallyUnramified p.kernelScheme.hom] : |
| 36 | FormallyUnramified p.hom.left := by |
| 37 | have H := p.kernelDifference_isPullback.map (Over.forget S) |
| 38 | have hz : IsOpenImmersion p.kernelZeroSection.left := p.kernelZeroSection_isOpenImmersion |
| 39 | have : IsOpenImmersion (pullback.diagonal p.hom).left := |
| 40 | MorphismProperty.IsStableUnderBaseChange.of_isPullback (P := @IsOpenImmersion) H hz |
| 41 | exact HilbertConstruction.Over.DiagonalComparison.formallyUnramified_of_overDiagonal p.hom |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |