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 | |
| 3 | /-! # Isogeny Comparison Kernel -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IsogenyComparisonKernel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! A commuting pair of native group isomorphisms identifies the |
| 12 | full kernel groups of two isogenies on every test scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | variable {S : Scheme.{0}} {g h : ℕ} {A B : HilbertConstruction.Abelian.Schemes.AbelianScheme g S} {D E : HilbertConstruction.Abelian.Schemes.AbelianScheme h S} |
| 18 | (f : HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A D) (w : HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny B E) |
| 19 | (eA : A.scheme ≅ B.scheme) (eD : D.scheme ≅ E.scheme) |
| 20 | [IsMonHom eA.hom] [IsMonHom eD.hom] |
| 21 | (hc : eA.hom ≫ w.hom = f.hom ≫ eD.hom) |
| 22 | |
| 23 | def isogenyComparisonKernelEquiv (T : Over S) : f.kernelAt T ≃* w.kernelAt T where |
| 24 | toFun x := ⟨x.val ≫ eA.hom, by |
| 25 | have hx : x.val ≫ f.hom = 1 := MonoidHom.mem_ker.mp x.property |
| 26 | change (x.val ≫ eA.hom) ≫ w.hom = 1 |
| 27 | rw [Category.assoc, hc, ← Category.assoc, hx, MonObj.one_comp]⟩ |
| 28 | invFun x := ⟨x.val ≫ eA.inv, by |
| 29 | change (x.val ≫ eA.inv) ≫ f.hom = 1 |
| 30 | apply (cancel_mono eD.hom).mp |
| 31 | rw [Category.assoc, Category.assoc, ← hc, Iso.inv_hom_id_assoc, MonObj.one_comp] |
| 32 | exact MonoidHom.mem_ker.mp x.property⟩ |
| 33 | left_inv x := Subtype.ext (by simp only [Category.assoc, Iso.hom_inv_id, Category.comp_id]) |
| 34 | right_inv x := Subtype.ext (by simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id]) |
| 35 | map_mul' x y := Subtype.ext (MonObj.mul_comp x.val y.val eA.hom) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | /-! Native source and target comparisons preserve the finite-flat |
| 40 | degree and the full geometric polarization-kernel type. -/ |
| 41 | |
| 42 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 43 | open scoped _root_.CategoryTheory.MonObj |
| 44 | |
| 45 | theorem isogeny_type_of_comparison |
| 46 | {S : Scheme.{0}} {g : ℕ} {δ : Fin g → ℕ} {A B D E : HilbertConstruction.Abelian.Schemes.AbelianScheme g S} |
| 47 | (f : HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A D) (w : HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny B E) |
| 48 | (eA : A.scheme ≅ B.scheme) (eD : D.scheme ≅ E.scheme) |
| 49 | [IsMonHom eA.hom] [IsMonHom eD.hom] |
| 50 | (hc : eA.hom ≫ w.hom = f.hom ≫ eD.hom) |
| 51 | (hf : f.HasPolarizationType δ) : w.HasPolarizationType δ where |
| 52 | degree y := by |
| 53 | have : IsIso eA.hom.left := inferInstanceAs (IsIso ((Over.forget S).map eA.hom)) |
| 54 | have : IsIso eD.hom.left := inferInstanceAs (IsIso ((Over.forget S).map eD.hom)) |
| 55 | have hp : IsPullback eA.hom.left f.hom.left w.hom.left eD.hom.left := |
| 56 | IsPullback.of_horiz_isIso ⟨congrArg Over.Hom.left hc⟩ |
| 57 | obtain ⟨x, rfl⟩ := eD.hom.left.surjective y |
| 58 | exact (Scheme.Hom.finrank_of_isPullback _ _ _ _ hp x).symm.trans (hf.degree x) |
| 59 | geometricKernel K _ _ s := |
| 60 | ⟨(isogenyComparisonKernelEquiv f w eA eD hc (Over.mk s)).symm.trans |
| 61 | (hf.geometricKernel K s).some⟩ |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IsogenyComparisonKernel |