Fibres of the -th power map are bounded by its kernel
ProvedFiniteAbelianGroups.card_pow_eq_le_card_kerEvery fibre of the -th power map is bounded by the kernel.
Let be a finite abelian group and . For any ,
Because is abelian, is a group homomorphism, so its fibres are either empty or cosets of its kernel. A coset has the same cardinality as the kernel, which gives the bound, with equality precisely when lies in the image, i.e. when is a -th power.
This is the general form of the count; in the cyclic case the kernel has order exactly , and for a general finite abelian group it is the product of the corresponding gcd's over the invariant factors. Statements of this shape are what let one count solutions of uniformly, for instance in for composite , where the group is a product of cyclic factors.
Formalization note. powMonoidHom k is Mathlib's -th power homomorphism, available
because G is commutative; the solution set is a Finset.filter and the kernel is measured
with Nat.card.
import Mathlib
namespace FiniteAbelianGroups
theorem card_pow_eq_le_card_ker {G : Type*} [CommGroup G] [Fintype G] [DecidableEq G]
(k : ℕ) (a : G) :
(Finset.univ.filter (fun x : G => x ^ k = a)).card
≤ Nat.card (powMonoidHom k : G →* G).ker := by sorry
end FiniteAbelianGroups