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 | /-! # Family Transport -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Transport finite flat isogenies and their polarization type through source isomorphisms. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open scoped _root_.CategoryTheory.MonObj |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} {g h : ℕ} |
| 17 | variable {A B : Abelian.Schemes.AbelianScheme g S} {C : Abelian.Schemes.AbelianScheme h S} |
| 18 | |
| 19 | /-- Replace the source of an isogeny by an isomorphic abelian scheme. -/ |
| 20 | def Abelian.Schemes.AbelianScheme.Isogeny.familyTransport (p : Abelian.Schemes.AbelianScheme.Isogeny A C) (e : A.scheme ≅ B.scheme) |
| 21 | [IsMonHom e.hom] : Abelian.Schemes.AbelianScheme.Isogeny B C := by |
| 22 | have : IsIso e.inv.left := inferInstanceAs (IsIso ((Over.forget S).map e.inv)) |
| 23 | exact |
| 24 | { hom := e.inv ≫ p.hom |
| 25 | preservesGroup := inferInstance |
| 26 | finite := inferInstanceAs (IsFinite (e.inv.left ≫ p.hom.left)) |
| 27 | flat := inferInstanceAs (Flat (e.inv.left ≫ p.hom.left)) |
| 28 | surjective := inferInstanceAs (Surjective (e.inv.left ≫ p.hom.left)) } |
| 29 | |
| 30 | /-- A source isomorphism identifies the actual kernel groups on every test scheme. -/ |
| 31 | def Abelian.Schemes.AbelianScheme.Isogeny.familyTransportKernelEquiv (p : Abelian.Schemes.AbelianScheme.Isogeny A C) (e : A.scheme ≅ B.scheme) |
| 32 | [IsMonHom e.hom] (T : Over S) : |
| 33 | (p.familyTransport e).kernelAt T ≃* p.kernelAt T where |
| 34 | toFun x := ⟨x.val ≫ e.inv, by |
| 35 | change (x.val ≫ e.inv) ≫ p.hom = 1 |
| 36 | exact (Category.assoc _ _ _).trans (MonoidHom.mem_ker.mp x.property)⟩ |
| 37 | invFun x := ⟨x.val ≫ e.hom, by |
| 38 | change (x.val ≫ e.hom) ≫ (e.inv ≫ p.hom) = 1 |
| 39 | have hx : x.val ≫ p.hom = 1 := MonoidHom.mem_ker.mp x.property |
| 40 | simpa only [Category.assoc, e.hom_inv_id_assoc] using hx⟩ |
| 41 | left_inv x := Subtype.ext (by simp only [Category.assoc, e.inv_hom_id, Category.comp_id]) |
| 42 | right_inv x := Subtype.ext (by simp only [Category.assoc, e.hom_inv_id, Category.comp_id]) |
| 43 | map_mul' x y := Subtype.ext (MonObj.mul_comp x.val y.val e.inv) |
| 44 | |
| 45 | /-- The finite-flat degree, including nonreduced length, is unchanged. -/ |
| 46 | theorem Abelian.Schemes.AbelianScheme.Isogeny.familyTransport_finrank (p : Abelian.Schemes.AbelianScheme.Isogeny A C) (e : A.scheme ≅ B.scheme) |
| 47 | [IsMonHom e.hom] (c : C.scheme.left) : |
| 48 | (p.familyTransport e).hom.left.finrank c = p.hom.left.finrank c := by |
| 49 | have : IsIso e.inv.left := inferInstanceAs (IsIso ((Over.forget S).map e.inv)) |
| 50 | exact congrFun (Scheme.Hom.finrank_comp_left_of_isIso e.inv.left p.hom.left) c |
| 51 | |
| 52 | /-- Both parts of polarization type are preserved by source transport. -/ |
| 53 | theorem Abelian.Schemes.AbelianScheme.Isogeny.HasPolarizationType.familyTransport {D : Abelian.Schemes.AbelianScheme g S} |
| 54 | {p : Abelian.Schemes.AbelianScheme.Isogeny A D} {δ : Fin g → ℕ} (hp : p.HasPolarizationType δ) |
| 55 | (e : A.scheme ≅ B.scheme) [IsMonHom e.hom] : |
| 56 | (p.familyTransport e).HasPolarizationType δ where |
| 57 | degree d := (p.familyTransport_finrank e d).trans (hp.degree d) |
| 58 | geometricKernel K _ _ s := |
| 59 | ⟨(p.familyTransportKernelEquiv e (Over.mk s)).trans (hp.geometricKernel K s).some⟩ |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |