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.AbelianScheme.FrobeniusKernel.QuotientActionBase |
| 2 | import Mathlib.Data.Int.GCD |
| 3 | |
| 4 | /-! # Power -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Power.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Prime-to-q marking transport on every test scheme. Complementary isogenies |
| 12 | are obtained by fpqc descent of multiplication, and Bezout's identity gives |
| 13 | bijectivity on N-torsion. No geometric-point test discards nilpotents. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem power_bijective_on_torsion |
| 22 | {G : Type*} [Group G] {n N : ℕ} (h : Nat.Coprime n N) |
| 23 | (hN : ∀ x : G, x ^ N = 1) : Function.Bijective (fun x : G => x ^ n) := by |
| 24 | have hbez : (n : ℤ) * Nat.gcdA n N + (N : ℤ) * Nat.gcdB n N = 1 := by |
| 25 | rw [← Nat.gcd_eq_gcd_ab, h.gcd_eq_one, Nat.cast_one] |
| 26 | have hleft (x : G) : (x ^ n) ^ Nat.gcdA n N = x := by |
| 27 | calc |
| 28 | (x ^ n) ^ Nat.gcdA n N = |
| 29 | (x ^ n) ^ Nat.gcdA n N * (x ^ N) ^ Nat.gcdB n N := by |
| 30 | rw [hN, one_zpow, mul_one] |
| 31 | _ = x ^ ((n : ℤ) * Nat.gcdA n N + (N : ℤ) * Nat.gcdB n N) := by |
| 32 | rw [zpow_add, zpow_mul, zpow_mul, zpow_natCast, zpow_natCast] |
| 33 | _ = x := by rw [hbez, zpow_one] |
| 34 | have hright (x : G) : (x ^ Nat.gcdA n N) ^ n = x := by |
| 35 | calc |
| 36 | (x ^ Nat.gcdA n N) ^ n = x ^ (Nat.gcdA n N * (n : ℤ)) := by |
| 37 | rw [zpow_mul, zpow_natCast] |
| 38 | _ = (x ^ n) ^ Nat.gcdA n N := by |
| 39 | rw [mul_comm, zpow_mul, zpow_natCast] |
| 40 | _ = x := hleft x |
| 41 | exact ⟨Function.LeftInverse.injective hleft, |
| 42 | Function.RightInverse.surjective hright⟩ |
| 43 | |
| 44 | theorem torsion_complement_bijective |
| 45 | {G H : Type*} [Group G] [Group H] {n N : ℕ} |
| 46 | (hnN : Nat.Coprime n N) (hG : ∀ x : G, x ^ N = 1) (hH : ∀ y : H, y ^ N = 1) |
| 47 | (f : G →* H) (g : H →* G) |
| 48 | (hgf : ∀ x, g (f x) = x ^ n) (hfg : ∀ y, f (g y) = y ^ n) : |
| 49 | Function.Bijective f := by |
| 50 | constructor |
| 51 | · intro x y hxy |
| 52 | apply (power_bijective_on_torsion hnN hG).1 |
| 53 | simpa only [hgf] using congrArg g hxy |
| 54 | · intro y |
| 55 | obtain ⟨z, hz⟩ := (power_bijective_on_torsion hnN hH).2 y |
| 56 | exact ⟨g z, (hfg z).trans hz⟩ |
| 57 | |
| 58 | variable {S : Scheme.{u}} {g : ℕ} |
| 59 | variable {A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} |
| 60 | |
| 61 | /-- The induced map on the full torsion group functors. -/ |
| 62 | def torsionMap (p : A.scheme ⟶ B.scheme) [IsMonHom p] (N : ℕ) : |
| 63 | A.torsionFunctor N ⟶ B.torsionFunctor N where |
| 64 | app T := GrpCat.ofHom { |
| 65 | toFun x := ⟨x.val ≫ p, by |
| 66 | change (x.val ≫ p) ^ N = 1 |
| 67 | have hx : x.val ^ N = 1 := x.property |
| 68 | rw [← MonObj.pow_comp, hx, MonObj.one_comp]⟩ |
| 69 | map_one' := Subtype.ext (MonObj.one_comp p) |
| 70 | map_mul' x y := Subtype.ext (MonObj.mul_comp x.val y.val p) } |
| 71 | naturality := by |
| 72 | intro T U f |
| 73 | apply GrpCat.hom_ext |
| 74 | ext x |
| 75 | apply Subtype.ext |
| 76 | exact Category.assoc _ _ _ |
| 77 | |
| 78 | /-- A q-power isogeny has an actual complementary group-scheme morphism. -/ |
| 79 | theorem exists_complementary_isogeny_map |
| 80 | (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) (n : ℕ) |
| 81 | (hkernel : ∀ (T : Over S) (x : T ⟶ A.scheme), |
| 82 | x ≫ p.hom = 1 → x ^ n = 1) : |
| 83 | ∃ d : B.scheme ⟶ A.scheme, |
| 84 | IsMonHom d ∧ p.hom ≫ d = (𝟙 A.scheme : A.scheme ⟶ A.scheme) ^ n ∧ |
| 85 | d ≫ p.hom = (𝟙 B.scheme : B.scheme ⟶ B.scheme) ^ n := by |
| 86 | obtain ⟨d, ⟨hd, hpd⟩, _⟩ := |
| 87 | PELModuli.IntegralModel.IsogenyFactorizationIs.IsogenyFactorization.fpqc_multiple_descent p.hom (𝟙 A.scheme) n hkernel |
| 88 | have : EffectiveEpi p.hom := PELModuli.IntegralModel.IsogenyFactorizationIs.IsogenyFactorization.effectiveEpi_over_of_fpqc p.hom |
| 89 | refine ⟨d, hd, hpd, ?_⟩ |
| 90 | apply (cancel_epi p.hom).mp |
| 91 | rw [← Category.assoc, hpd, MonObj.pow_comp, Category.id_comp, |
| 92 | MonObj.comp_pow, Category.comp_id] |
| 93 | |
| 94 | /-- The torsion map is bijective for every test scheme. -/ |
| 95 | theorem torsionMap_bijective |
| 96 | (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) {n N : ℕ} |
| 97 | (hnN : Nat.Coprime n N) |
| 98 | (hkernel : ∀ (T : Over S) (x : T ⟶ A.scheme), |
| 99 | x ≫ p.hom = 1 → x ^ n = 1) (T : (Over S)ᵒᵖ) : |
| 100 | Function.Bijective ((torsionMap p.hom N).app T) := by |
| 101 | obtain ⟨d, hd, hpd, hdp⟩ := exists_complementary_isogeny_map p n hkernel |
| 102 | let : IsMonHom d := hd |
| 103 | apply torsion_complement_bijective hnN |
| 104 | (fun x => Subtype.ext x.property) (fun y => Subtype.ext y.property) |
| 105 | ((torsionMap p.hom N).app T).hom ((torsionMap d N).app T).hom |
| 106 | · intro x |
| 107 | apply Subtype.ext |
| 108 | change (x.val ≫ p.hom) ≫ d = x.val ^ n |
| 109 | rw [Category.assoc, hpd, MonObj.comp_pow, Category.comp_id] |
| 110 | · intro y |
| 111 | apply Subtype.ext |
| 112 | change (y.val ≫ d) ≫ p.hom = y.val ^ n |
| 113 | rw [Category.assoc, hdp, MonObj.comp_pow, Category.comp_id] |
| 114 | |
| 115 | def primeToIsogenyTorsionIso |
| 116 | (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) {n N : ℕ} |
| 117 | (hnN : Nat.Coprime n N) |
| 118 | (hkernel : ∀ (T : Over S) (x : T ⟶ A.scheme), |
| 119 | x ≫ p.hom = 1 → x ^ n = 1) : |
| 120 | A.torsionFunctor N ≅ B.torsionFunctor N := |
| 121 | NatIso.ofComponents |
| 122 | (fun T => (MulEquiv.ofBijective ((torsionMap p.hom N).app T).hom |
| 123 | (torsionMap_bijective p hnN hkernel T)).toGrpIso) |
| 124 | (by intro T U f; exact (torsionMap p.hom N).naturality f) |
| 125 | |
| 126 | /-- Construct the full marking on the quotient by transporting its basis |
| 127 | through the actual isogeny on N-torsion. -/ |
| 128 | def quotientLevel |
| 129 | (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) {n N : ℕ} |
| 130 | (hnN : Nat.Coprime n N) |
| 131 | (hkernel : ∀ (T : Over S) (x : T ⟶ A.scheme), |
| 132 | x ≫ p.hom = 1 → x ^ n = 1) (level : A.FullLevel N) : B.FullLevel N := |
| 133 | level.trans (primeToIsogenyTorsionIso p hnN hkernel) |
| 134 | |
| 135 | theorem quotientLevel_transports |
| 136 | (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) {n N : ℕ} |
| 137 | (hnN : Nat.Coprime n N) |
| 138 | (hkernel : ∀ (T : Over S) (x : T ⟶ A.scheme), |
| 139 | x ≫ p.hom = 1 → x ^ n = 1) (level : A.FullLevel N) |
| 140 | (T : (Over S)ᵒᵖ) (c : (AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.constantLevelFunctor g N S).obj T) : |
| 141 | ((quotientLevel p hnN hkernel level).hom.app T c).val = |
| 142 | (level.hom.app T c).val ≫ p.hom := rfl |
| 143 | |
| 144 | end |
| 145 | |
| 146 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Power.Construction |