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.Isogenies |
| 2 | |
| 3 | /-! # Isogeny Pair Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.IsogenyPairComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Isomorphisms of both abelian schemes identify an isogeny's actual |
| 10 | kernel groups and finite-flat polarization type. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {g : ℕ} {A D A' D' : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} |
| 17 | (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A D) (q : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A' D') |
| 18 | (eA : A.scheme ≅ A'.scheme) (eD : D.scheme ≅ D'.scheme) |
| 19 | [IsMonHom eA.hom] [IsMonHom eD.hom] |
| 20 | (he : p.hom ≫ eD.hom = eA.hom ≫ q.hom) |
| 21 | |
| 22 | def isogenyKernelComparison (T : Over S) : p.kernelAt T ≃* q.kernelAt T where |
| 23 | toFun x := ⟨x.val ≫ eA.hom, by |
| 24 | have hx : x.val ≫ p.hom = 1 := MonoidHom.mem_ker.mp x.property |
| 25 | change (x.val ≫ eA.hom) ≫ q.hom = 1 |
| 26 | rw [Category.assoc, ← he, ← Category.assoc, hx, MonObj.one_comp]⟩ |
| 27 | invFun x := ⟨x.val ≫ eA.inv, by |
| 28 | have hx : x.val ≫ q.hom = 1 := MonoidHom.mem_ker.mp x.property |
| 29 | change (x.val ≫ eA.inv) ≫ p.hom = 1 |
| 30 | apply (cancel_mono eD.hom).mp |
| 31 | simp only [Category.assoc, he, eA.inv_hom_id_assoc, hx, MonObj.one_comp]⟩ |
| 32 | left_inv x := Subtype.ext (by simp only [Category.assoc, eA.hom_inv_id, Category.comp_id]) |
| 33 | right_inv x := Subtype.ext (by simp only [Category.assoc, eA.inv_hom_id, Category.comp_id]) |
| 34 | map_mul' x y := Subtype.ext (MonObj.mul_comp x.val y.val eA.hom) |
| 35 | |
| 36 | include he in |
| 37 | theorem isogenyPolarizationType_of_pairComparison {δ : Fin g → ℕ} |
| 38 | (hp : p.HasPolarizationType δ) : q.HasPolarizationType δ := by |
| 39 | have : IsIso eA.hom.left := inferInstanceAs (IsIso (((Over.forget S).mapIso eA).hom)) |
| 40 | have : IsIso eD.hom.left := inferInstanceAs (IsIso (((Over.forget S).mapIso eD).hom)) |
| 41 | have hc : IsPullback eA.hom.left p.hom.left q.hom.left eD.hom.left := |
| 42 | IsPullback.of_horiz_isIso ⟨congrArg Over.Hom.left he.symm⟩ |
| 43 | refine ⟨?_, ?_⟩ |
| 44 | · intro d' |
| 45 | obtain ⟨d, rfl⟩ := eD.hom.left.surjective d' |
| 46 | exact (Scheme.Hom.finrank_of_isPullback _ _ _ _ hc d).symm.trans (hp.degree d) |
| 47 | · intro K _ _ s |
| 48 | exact ⟨(isogenyKernelComparison p q eA eD he (Over.mk s)).symm.trans |
| 49 | (hp.geometricKernel K s).some⟩ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.IsogenyPairComparison |