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.PELModuli.CMPoints.CountableLevels |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.CanonicalDualComparisons |
| 3 | import OAI.ArithmeticGeometry.Descent.CMVariety.CountablePolarizationMaps |
| 4 | |
| 5 | /-! # Enhancement Transport Codes -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.EnhancementTransportCodes |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Transporting the actual level and designated endomorphisms to one |
| 12 | fixed abelian scheme gives a countable code. Equal codes give the full |
| 13 | unpolarized enhanced comparison, including canonical Poincare duality. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj Classical |
| 17 | |
| 18 | def EnhancementTransportCode {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g Foundations.Scheme.ProjectiveSpace.complexBase) (N r : ℕ) := |
| 19 | A.FullLevel N × (Fin r → {f : A.scheme ⟶ A.scheme // IsMonHom f}) |
| 20 | |
| 21 | theorem enhancementTransportCode_countable {g N r : ℕ} [NeZero N] |
| 22 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g Foundations.Scheme.ProjectiveSpace.complexBase) (level : A.FullLevel N) |
| 23 | (P : ArithmeticGeometry.Descent.CMVariety.StandardModuli.Abelian.ComplexAbelianPresentation A) : Countable (EnhancementTransportCode A N r) := by |
| 24 | let : Finite (A.FullLevel N) := CountableLevels.finite_full_levels A level |
| 25 | let : Countable {f : A.scheme ⟶ A.scheme // IsMonHom f} := ArithmeticGeometry.Descent.CMVariety.CountablePolarizationMaps.Abelian.presented_endomorphisms_countable A P |
| 26 | exact inferInstanceAs (Countable (_ × _)) |
| 27 | |
| 28 | def enhancementTransportCode {g N r : ℕ} {δ : Fin g → ℕ} |
| 29 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g Foundations.Scheme.ProjectiveSpace.complexBase) (B : ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.EnhancedAbelianData g δ N r Foundations.Scheme.ProjectiveSpace.complexBase) |
| 30 | (e : A.scheme ≅ B.polarized.abelian.scheme) [IsMonHom e.hom] : |
| 31 | EnhancementTransportCode A N r := by |
| 32 | let : IsMonHom e.symm.hom := inferInstanceAs (IsMonHom e.inv) |
| 33 | exact ⟨B.polarized.level.transport e.symm, |
| 34 | fun i => ⟨e.hom ≫ B.endomorphism i ≫ e.inv, inferInstance⟩⟩ |
| 35 | |
| 36 | def unpolarizedComparisonOfTransportCodeEq {g N r : ℕ} {δ : Fin g → ℕ} |
| 37 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g Foundations.Scheme.ProjectiveSpace.complexBase) (B C : ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.EnhancedAbelianData g δ N r Foundations.Scheme.ProjectiveSpace.complexBase) |
| 38 | (e : A.scheme ≅ B.polarized.abelian.scheme) [IsMonHom e.hom] |
| 39 | (f : A.scheme ≅ C.polarized.abelian.scheme) [IsMonHom f.hom] |
| 40 | (h : enhancementTransportCode A B e = enhancementTransportCode A C f) : |
| 41 | ArithmeticGeometry.Descent.CMVariety.UnpolarizedComparisons.Abelian.UnpolarizedEnhancedIso B C := by |
| 42 | let q := e.symm ≪≫ f |
| 43 | let : IsMonHom q.hom := inferInstanceAs (IsMonHom (e.inv ≫ f.hom)) |
| 44 | apply ArithmeticGeometry.Descent.CMVariety.CanonicalDualComparisons.Abelian.unpolarizedEnhancedIsoOfGroupLevel q |
| 45 | · intro i |
| 46 | have hc := congrArg (fun c : EnhancementTransportCode A N r => (c.2 i).val) h |
| 47 | change e.hom ≫ B.endomorphism i ≫ e.inv = f.hom ≫ C.endomorphism i ≫ f.inv at hc |
| 48 | change B.endomorphism i ≫ (e.inv ≫ f.hom) = (e.inv ≫ f.hom) ≫ C.endomorphism i |
| 49 | apply (cancel_epi e.hom).mp |
| 50 | apply (cancel_mono f.inv).mp |
| 51 | simpa only [Category.assoc, Iso.hom_inv_id_assoc, Iso.hom_inv_id, Category.comp_id] using hc |
| 52 | · intro T c |
| 53 | have hl := congrArg (fun a : EnhancementTransportCode A N r => |
| 54 | (a.1.hom.app (.op T) c).val) h |
| 55 | change (B.polarized.level.hom.app (.op T) c).val ≫ e.inv = |
| 56 | (C.polarized.level.hom.app (.op T) c).val ≫ f.inv at hl |
| 57 | change (B.polarized.level.hom.app (.op T) c).val ≫ (e.inv ≫ f.hom) = _ |
| 58 | apply (cancel_mono f.inv).mp |
| 59 | simpa only [Category.assoc, Iso.hom_inv_id, Category.comp_id] using hl |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.EnhancementTransportCodes |