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.IsogenyQuotient.Geometric.Points |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Epi |
| 3 | |
| 4 | /-! # Polarization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Polarization.Construction |
| 7 | |
| 8 | /-! |
| 9 | The relative homomorphism in polarization descent is constructed from the |
| 10 | field-level PoincareBundle input. The candidate is g^vee * lambda * g for a complementary |
| 11 | isogeny g. PoincareBundle makes this candidate n times a polarization on every geometric |
| 12 | fiber. Its restriction to B[n] therefore vanishes on geometric points; TorsionQuotient's |
| 13 | etaleness promotes that equality to a scheme equality. Fpqc descent along |
| 14 | [n] then divides the candidate by n as an actual group-scheme homomorphism. |
| 15 | |
| 16 | The input h_PoincareBundle is only the induced homomorphism on geometric point groups |
| 17 | and its pullback identity. It does not assume any relative homomorphism. |
| 18 | The fpqc hypotheses on multiplication maps are displayed explicitly; the |
| 19 | abelian-scheme application still has to furnish those standard properties. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 23 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 24 | open scoped _root_.CategoryTheory.MonObj |
| 25 | |
| 26 | universe u v |
| 27 | |
| 28 | /-- Divisibility of the source point group replaces injectivity of the |
| 29 | dual isogeny when cancelling a polarized pullback. -/ |
| 30 | theorem pullback_point_maps_injective |
| 31 | {X Y Z W : Type*} [Group X] [Group Y] [Group Z] [Group W] |
| 32 | (f : X →* Y) (fd : W →* Z) (gd : Z →* W) (n : ℕ) |
| 33 | (hf : Function.Surjective f) |
| 34 | (hn : Function.Surjective (fun y : Y => y ^ n)) |
| 35 | (hdual : ∀ w, gd (fd w) = w ^ n) |
| 36 | (p r : Y →* W) (h : ∀ x, fd (p (f x)) = fd (r (f x))) : p = r := by |
| 37 | ext y |
| 38 | obtain ⟨z, hz⟩ := hn y |
| 39 | change z ^ n = y at hz |
| 40 | obtain ⟨x, hx⟩ := hf z |
| 41 | have h' := congrArg gd (h x) |
| 42 | rw [hdual, hdual, hx, ← p.map_pow, ← r.map_pow, hz] at h' |
| 43 | exact h' |
| 44 | |
| 45 | section Algebra |
| 46 | |
| 47 | variable {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] |
| 48 | variable {A B AD BD : C} [GrpObj A] [GrpObj B] [GrpObj AD] [GrpObj BD] |
| 49 | |
| 50 | /-- The fieldwise pullback identity identifies the integral candidate |
| 51 | with n times the descended polarization on points. -/ |
| 52 | theorem candidate_is_multiple_on_points |
| 53 | (n : ℕ) (f : A ⟶ B) (g : B ⟶ A) |
| 54 | (fd : BD ⟶ AD) (gd : AD ⟶ BD) |
| 55 | (polarization : A ⟶ AD) [IsMonHom polarization] |
| 56 | (hfg : f ≫ g = (𝟙 A : A ⟶ A) ^ n) |
| 57 | (hfdgd : fd ≫ gd = (𝟙 BD : BD ⟶ BD) ^ n) |
| 58 | (T : C) (hf : Function.Surjective (fun a : T ⟶ A => a ≫ f)) |
| 59 | (p : (T ⟶ B) →* (T ⟶ BD)) |
| 60 | (h_PoincareBundle : ∀ a : T ⟶ A, p (a ≫ f) ≫ fd = (a ≫ polarization) ^ n) |
| 61 | (b : T ⟶ B) : b ≫ g ≫ polarization ≫ gd = p b ^ n := by |
| 62 | obtain ⟨a, rfl⟩ := hf b |
| 63 | calc |
| 64 | (a ≫ f) ≫ g ≫ polarization ≫ gd = |
| 65 | ((a ^ n) ≫ polarization) ≫ gd := by |
| 66 | rw [Category.assoc, ← Category.assoc f g, hfg] |
| 67 | simp only [← Category.assoc, MonObj.comp_pow, Category.comp_id] |
| 68 | _ = ((a ≫ polarization) ^ n) ≫ gd := by rw [MonObj.pow_comp] |
| 69 | _ = (p (a ≫ f) ≫ fd) ≫ gd := by rw [h_PoincareBundle] |
| 70 | _ = p (a ≫ f) ^ n := by |
| 71 | rw [Category.assoc, hfdgd, MonObj.comp_pow, Category.comp_id] |
| 72 | |
| 73 | omit [GrpObj A] [GrpObj AD] in |
| 74 | /-- Pullback of homomorphisms along an isogeny is injective. Complementary |
| 75 | dual maps reduce right cancellation to epimorphic multiplication on B. -/ |
| 76 | theorem polarization_pullback_injective |
| 77 | (n : ℕ) (f : A ⟶ B) [Epi f] |
| 78 | (fd : BD ⟶ AD) (gd : AD ⟶ BD) |
| 79 | (hfdgd : fd ≫ gd = (𝟙 BD : BD ⟶ BD) ^ n) |
| 80 | [Epi ((𝟙 B : B ⟶ B) ^ n)] |
| 81 | (p r : B ⟶ BD) [IsMonHom p] [IsMonHom r] |
| 82 | (h : f ≫ p ≫ fd = f ≫ r ≫ fd) : p = r := by |
| 83 | have h₁ : p ≫ fd = r ≫ fd := (cancel_epi f).mp h |
| 84 | have h₂ := congrArg (fun t => t ≫ gd) h₁ |
| 85 | simp only [Category.assoc, hfdgd, MonObj.comp_pow, Category.comp_id] at h₂ |
| 86 | apply (cancel_epi ((𝟙 B : B ⟶ B) ^ n)).mp |
| 87 | simpa only [MonObj.pow_comp, Category.id_comp] using h₂ |
| 88 | |
| 89 | end Algebra |
| 90 | |
| 91 | section Relative |
| 92 | |
| 93 | variable {S : Scheme.{u}} {A B AD BD : Over S} |
| 94 | [GrpObj A] [GrpObj B] [GrpObj AD] [GrpObj BD] |
| 95 | [IsCommMonObj A] [IsCommMonObj B] [IsCommMonObj AD] [IsCommMonObj BD] |
| 96 | |
| 97 | omit [IsCommMonObj A] [IsCommMonObj AD] in |
| 98 | /-- The integral candidate kills B[n] as a relative scheme morphism, |
| 99 | using only the geometric-point consequence of PoincareBundle and TorsionQuotient on dual torsion. -/ |
| 100 | theorem candidate_kills_torsion_of_TorsionQuotient_PoincareBundle |
| 101 | (n : ℕ) (f : A ⟶ B) [IsMonHom f] |
| 102 | [Surjective f.left] [LocallyOfFiniteType f.left] |
| 103 | (g : B ⟶ A) [IsMonHom g] |
| 104 | (fd : BD ⟶ AD) (gd : AD ⟶ BD) [IsMonHom gd] |
| 105 | (polarization : A ⟶ AD) [IsMonHom polarization] |
| 106 | (hfg : f ≫ g = (𝟙 A : A ⟶ A) ^ n) |
| 107 | (hfdgd : fd ≫ gd = (𝟙 BD : BD ⟶ BD) ^ n) |
| 108 | (h_TorsionQuotient : Etale (TorsionQuotient.SubgroupFunctor.torsionScheme BD n).hom) |
| 109 | (h_PoincareBundle : ∀ (K : Type u) [Field K] [IsAlgClosed K] |
| 110 | (s : Spec (CommRingCat.of K) ⟶ S), |
| 111 | ∃ p : (Over.mk s ⟶ B) →* (Over.mk s ⟶ BD), |
| 112 | ∀ a : Over.mk s ⟶ A, |
| 113 | p (a ≫ f) ≫ fd = (a ≫ polarization) ^ n) : |
| 114 | TorsionQuotient.SubgroupFunctor.torsionι B n ≫ (g ≫ polarization ≫ gd) = 1 := by |
| 115 | have hi : TorsionQuotient.SubgroupFunctor.torsionι B n ^ n = 1 := |
| 116 | (TorsionQuotient.SubgroupFunctor.factors_through_torsion_iff n (TorsionQuotient.SubgroupFunctor.torsionι B n)).mp |
| 117 | ⟨𝟙 _, Category.id_comp _⟩ |
| 118 | apply Geometric.Points.Construction.torsion_vanishing_of_geometric_points n (TorsionQuotient.SubgroupFunctor.torsionι B n) hi |
| 119 | (g ≫ polarization ≫ gd) h_TorsionQuotient |
| 120 | intro K hK hclosed s x |
| 121 | obtain ⟨p, hp⟩ := h_PoincareBundle K s |
| 122 | have hmultiple := candidate_is_multiple_on_points n f g fd gd polarization hfg hfdgd |
| 123 | (Over.mk s) (Geometric.Points.Construction.surjective_on_geometric_points f K s) p hp (x ≫ TorsionQuotient.SubgroupFunctor.torsionι B n) |
| 124 | have hx : (x ≫ TorsionQuotient.SubgroupFunctor.torsionι B n) ^ n = 1 := by |
| 125 | rw [← MonObj.comp_pow, hi, MonObj.comp_one] |
| 126 | calc |
| 127 | (x ≫ TorsionQuotient.SubgroupFunctor.torsionι B n) ≫ (g ≫ polarization ≫ gd) = |
| 128 | p (x ≫ TorsionQuotient.SubgroupFunctor.torsionι B n) ^ n := hmultiple |
| 129 | _ = p ((x ≫ TorsionQuotient.SubgroupFunctor.torsionι B n) ^ n) := (p.map_pow _ n).symm |
| 130 | _ = 1 := by rw [hx, p.map_one] |
| 131 | |
| 132 | /-- A group-scheme homomorphism vanishing on B[n] is divisible by n, |
| 133 | provided multiplication by n is an fpqc morphism. -/ |
| 134 | theorem divide_hom_by_multiplication |
| 135 | (n : ℕ) (candidate : B ⟶ BD) [IsMonHom candidate] |
| 136 | [Flat ((𝟙 B : B ⟶ B) ^ n).left] |
| 137 | [Surjective ((𝟙 B : B ⟶ B) ^ n).left] |
| 138 | [QuasiCompact ((𝟙 B : B ⟶ B) ^ n).left] |
| 139 | (hkilled : TorsionQuotient.SubgroupFunctor.torsionι B n ≫ candidate = 1) : |
| 140 | ∃! p : B ⟶ BD, |
| 141 | IsMonHom p ∧ ((𝟙 B : B ⟶ B) ^ n) ≫ p = candidate := by |
| 142 | have : IsMonHom ((𝟙 B : B ⟶ B) ^ n) := Picard.PoincareBundle.Epi.Construction.isMonHom_pow (𝟙 B) n |
| 143 | apply Picard.PoincareBundle.Epi.Construction.fpqc_group_hom_descent ((𝟙 B : B ⟶ B) ^ n) candidate |
| 144 | intro T x hx |
| 145 | have hxn : x ^ n = 1 := by |
| 146 | simpa only [MonObj.comp_pow, Category.comp_id] using hx |
| 147 | rw [← TorsionQuotient.SubgroupFunctor.torsionLift_ι n x hxn, Category.assoc, hkilled, MonObj.comp_one] |
| 148 | |
| 149 | omit [IsCommMonObj A] [IsCommMonObj AD] in |
| 150 | /-- Relative construction of the homomorphism underlying the descended |
| 151 | polarization. No family-level descent hypothesis is used. -/ |
| 152 | theorem relative_polarization_homomorphism |
| 153 | (n : ℕ) (f : A ⟶ B) [IsMonHom f] [Epi f] |
| 154 | [Surjective f.left] [LocallyOfFiniteType f.left] |
| 155 | (g : B ⟶ A) [IsMonHom g] |
| 156 | (fd : BD ⟶ AD) [IsMonHom fd] |
| 157 | (gd : AD ⟶ BD) [IsMonHom gd] |
| 158 | (polarization : A ⟶ AD) [IsMonHom polarization] |
| 159 | (hfg : f ≫ g = (𝟙 A : A ⟶ A) ^ n) |
| 160 | (hfdgd : fd ≫ gd = (𝟙 BD : BD ⟶ BD) ^ n) |
| 161 | (hgdfd : gd ≫ fd = (𝟙 AD : AD ⟶ AD) ^ n) |
| 162 | [Epi ((𝟙 A : A ⟶ A) ^ n)] |
| 163 | [Flat ((𝟙 B : B ⟶ B) ^ n).left] |
| 164 | [Surjective ((𝟙 B : B ⟶ B) ^ n).left] |
| 165 | [QuasiCompact ((𝟙 B : B ⟶ B) ^ n).left] |
| 166 | (h_TorsionQuotient : Etale (TorsionQuotient.SubgroupFunctor.torsionScheme BD n).hom) |
| 167 | (h_PoincareBundle : ∀ (K : Type u) [Field K] [IsAlgClosed K] |
| 168 | (s : Spec (CommRingCat.of K) ⟶ S), |
| 169 | ∃ p : (Over.mk s ⟶ B) →* (Over.mk s ⟶ BD), |
| 170 | ∀ a : Over.mk s ⟶ A, |
| 171 | p (a ≫ f) ≫ fd = (a ≫ polarization) ^ n) : |
| 172 | ∃! p : B ⟶ BD, |
| 173 | IsMonHom p ∧ f ≫ p ≫ fd = polarization ^ n := by |
| 174 | let candidate := g ≫ polarization ≫ gd |
| 175 | have hkilled : TorsionQuotient.SubgroupFunctor.torsionι B n ≫ candidate = 1 := |
| 176 | candidate_kills_torsion_of_TorsionQuotient_PoincareBundle n f g fd gd polarization hfg hfdgd h_TorsionQuotient h_PoincareBundle |
| 177 | obtain ⟨p, ⟨hpHom, hp⟩, _⟩ := divide_hom_by_multiplication n candidate hkilled |
| 178 | have : IsMonHom p := hpHom |
| 179 | have : EffectiveEpi ((𝟙 B : B ⟶ B) ^ n) := |
| 180 | Picard.PoincareBundle.Epi.Construction.effectiveEpi_over_of_fpqc _ |
| 181 | have hidentity : f ≫ p ≫ fd = polarization ^ n := by |
| 182 | apply (cancel_epi ((𝟙 A : A ⟶ A) ^ n)).mp |
| 183 | calc |
| 184 | ((𝟙 A : A ⟶ A) ^ n) ≫ (f ≫ p ≫ fd) = |
| 185 | f ≫ ((((𝟙 B : B ⟶ B) ^ n) ≫ p) ≫ fd) := by |
| 186 | simp only [MonObj.pow_comp, MonObj.comp_pow, Category.id_comp] |
| 187 | _ = f ≫ candidate ≫ fd := by rw [hp] |
| 188 | _ = ((𝟙 A : A ⟶ A) ^ n) ≫ (polarization ^ n) := by |
| 189 | simp only [candidate, Category.assoc] |
| 190 | rw [← Category.assoc f g, hfg] |
| 191 | simp only [hgdfd, MonObj.comp_pow, Category.comp_id] |
| 192 | refine ⟨p, ⟨hpHom, hidentity⟩, ?_⟩ |
| 193 | intro r hr |
| 194 | have : IsMonHom r := hr.1 |
| 195 | exact polarization_pullback_injective n f fd gd hfdgd r p (hr.2.trans hidentity.symm) |
| 196 | |
| 197 | end Relative |
| 198 | |
| 199 | variable {S : Scheme.{u}} {A B AD BD : Over S} |
| 200 | [GrpObj A] [GrpObj B] [GrpObj AD] [GrpObj BD] |
| 201 | |
| 202 | /-- The constructed relative homomorphism agrees on every geometric fiber |
| 203 | with the field polarization supplied by PoincareBundle. Its positivity and type can |
| 204 | therefore be checked on those same field polarizations. -/ |
| 205 | theorem relative_hom_matches_field_polarization |
| 206 | (n : ℕ) (f : A ⟶ B) [IsMonHom f] |
| 207 | [Surjective f.left] [LocallyOfFiniteType f.left] |
| 208 | (fd : BD ⟶ AD) [IsMonHom fd] (gd : AD ⟶ BD) [IsMonHom gd] |
| 209 | (polarization : A ⟶ AD) |
| 210 | (hfdgd : fd ≫ gd = (𝟙 BD : BD ⟶ BD) ^ n) |
| 211 | [Surjective ((𝟙 B : B ⟶ B) ^ n).left] |
| 212 | [LocallyOfFiniteType ((𝟙 B : B ⟶ B) ^ n).left] |
| 213 | (p : B ⟶ BD) [IsMonHom p] |
| 214 | (hp : f ≫ p ≫ fd = polarization ^ n) |
| 215 | (K : Type u) [Field K] [IsAlgClosed K] |
| 216 | (s : Spec (CommRingCat.of K) ⟶ S) |
| 217 | (fieldPolarization : (Over.mk s ⟶ B) →* (Over.mk s ⟶ BD)) |
| 218 | (h_PoincareBundle : ∀ a : Over.mk s ⟶ A, |
| 219 | fieldPolarization (a ≫ f) ≫ fd = (a ≫ polarization) ^ n) : |
| 220 | IsMonHom.monoidHom p (Over.mk s) = fieldPolarization := by |
| 221 | apply pullback_point_maps_injective |
| 222 | (IsMonHom.monoidHom f (Over.mk s)) |
| 223 | (IsMonHom.monoidHom fd (Over.mk s)) |
| 224 | (IsMonHom.monoidHom gd (Over.mk s)) n |
| 225 | · exact Geometric.Points.Construction.surjective_on_geometric_points f K s |
| 226 | · simpa only [MonObj.comp_pow, Category.comp_id] using |
| 227 | Geometric.Points.Construction.surjective_on_geometric_points ((𝟙 B : B ⟶ B) ^ n) K s |
| 228 | · intro w |
| 229 | change (w ≫ fd) ≫ gd = w ^ n |
| 230 | rw [Category.assoc, hfdgd, MonObj.comp_pow, Category.comp_id] |
| 231 | · intro a |
| 232 | change (a ≫ f ≫ p) ≫ fd = fieldPolarization (a ≫ f) ≫ fd |
| 233 | rw [h_PoincareBundle, Category.assoc, Category.assoc, hp, MonObj.comp_pow] |
| 234 | |
| 235 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Polarization.Construction |