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.DualityPairing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TorsionScheme |
| 3 | |
| 4 | /-! # Prime To Degree Torsion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.PrimeToDegreeTorsion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual inverse maps up to an integer scalar induce torsion |
| 11 | isomorphisms whenever that integer is coprime to the torsion order. |
| 12 | This is the isogeny comparison needed for CM products. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | def powerEquiv_of_exponent {G : Type*} [Group G] (N d : ℕ) (h : N.Coprime d) |
| 18 | (hN : ∀ x : G, x ^ N = 1) : G ≃ G where |
| 19 | toFun x := x ^ d |
| 20 | invFun x := x ^ N.gcdB d |
| 21 | left_inv x := by |
| 22 | have key := congrArg (x ^ ·) (N.gcd_eq_gcd_ab d) |
| 23 | rwa [zpow_add, zpow_mul, zpow_mul, zpow_natCast, zpow_natCast, zpow_natCast, |
| 24 | h.gcd_eq_one, pow_one, hN, one_zpow, one_mul, eq_comm] at key |
| 25 | right_inv x := by |
| 26 | have key := congrArg (x ^ ·) (N.gcd_eq_gcd_ab d) |
| 27 | rwa [zpow_add, zpow_mul, zpow_mul', zpow_natCast, zpow_natCast, zpow_natCast, |
| 28 | h.gcd_eq_one, pow_one, hN, one_zpow, one_mul, eq_comm] at key |
| 29 | |
| 30 | theorem bijective_of_scalar_composites {G H : Type*} [Group G] [Group H] |
| 31 | (f : G → H) (h : H → G) (N d : ℕ) (hcop : N.Coprime d) |
| 32 | (hG : ∀ x : G, x ^ N = 1) (hH : ∀ x : H, x ^ N = 1) |
| 33 | (hgf : ∀ x, h (f x) = x ^ d) (hfg : ∀ y, f (h y) = y ^ d) : |
| 34 | Function.Bijective f := by |
| 35 | constructor |
| 36 | · intro x y hxy |
| 37 | apply (powerEquiv_of_exponent N d hcop hG).injective |
| 38 | exact (hgf x).symm.trans ((congrArg h hxy).trans (hgf y)) |
| 39 | · intro y |
| 40 | obtain ⟨z, hz⟩ := (powerEquiv_of_exponent N d hcop hH).surjective y |
| 41 | exact ⟨h z, (hfg z).trans hz⟩ |
| 42 | |
| 43 | variable {S : Scheme.{0}} {g : ℕ} (A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 44 | (f : A.scheme ⟶ B.scheme) (h : B.scheme ⟶ A.scheme) [IsMonHom f] [IsMonHom h] |
| 45 | |
| 46 | theorem homOnTorsion_isIso_of_scalar_inverse (N d : ℕ) (hcop : N.Coprime d) |
| 47 | (hgf : f ≫ h = A.multiplication d) (hfg : h ≫ f = B.multiplication d) : |
| 48 | IsIso (DualityPairing.homOnTorsion A B f N) := by |
| 49 | have hcompA (T : Over S) (x : A.torsionPoints N T) : |
| 50 | (DualityPairing.homOnTorsion B A h N).app (.op T) ((DualityPairing.homOnTorsion A B f N).app (.op T) x) = x ^ d := by |
| 51 | apply Subtype.ext |
| 52 | change (x.val ≫ f) ≫ h = x.val ^ d |
| 53 | rw [Category.assoc, hgf] |
| 54 | simp only [AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.multiplication, MonObj.comp_pow, Category.comp_id] |
| 55 | have hcompB (T : Over S) (x : B.torsionPoints N T) : |
| 56 | (DualityPairing.homOnTorsion A B f N).app (.op T) ((DualityPairing.homOnTorsion B A h N).app (.op T) x) = x ^ d := by |
| 57 | apply Subtype.ext |
| 58 | change (x.val ≫ h) ≫ f = x.val ^ d |
| 59 | rw [Category.assoc, hfg] |
| 60 | simp only [AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.multiplication, MonObj.comp_pow, Category.comp_id] |
| 61 | have hG (T : Over S) (x : A.torsionPoints N T) : x ^ N = 1 := Subtype.ext x.property |
| 62 | have hH (T : Over S) (x : B.torsionPoints N T) : x ^ N = 1 := Subtype.ext x.property |
| 63 | have (T : (Over S)ᵒᵖ) : IsIso ((DualityPairing.homOnTorsion A B f N).app T) := by |
| 64 | have hb := bijective_of_scalar_composites ((DualityPairing.homOnTorsion A B f N).app T) |
| 65 | ((DualityPairing.homOnTorsion B A h N).app T) N d hcop (hG T.unop) (hH T.unop) |
| 66 | (hcompA T.unop) (hcompB T.unop) |
| 67 | exact (MulEquiv.toGrpIso (MulEquiv.ofBijective ((DualityPairing.homOnTorsion A B f N).app T).hom hb)).isIso_hom |
| 68 | exact NatIso.isIso_of_isIso_app _ |
| 69 | |
| 70 | def torsionIso_of_scalar_inverse (N d : ℕ) (hcop : N.Coprime d) |
| 71 | (hgf : f ≫ h = A.multiplication d) (hfg : h ≫ f = B.multiplication d) : |
| 72 | A.torsionFunctor N ≅ B.torsionFunctor N := by |
| 73 | let := homOnTorsion_isIso_of_scalar_inverse A B f h N d hcop hgf hfg |
| 74 | exact asIso (DualityPairing.homOnTorsion A B f N) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.PrimeToDegreeTorsion |