Prime powers #
This file deals with prime powers: numbers which are positive integer powers of a single prime.
n is a prime power if there is a prime p and a positive natural k such that n can be
written as p^k.
Instances For
@[deprecated IsPrimePow.not_isUnit (since := "2026-08-02")]
Alias of IsPrimePow.not_isUnit.
theorem
IsPrimePow.pow
{R : Type u_1}
[CommMonoidWithZero R]
{n : R}
(hn : IsPrimePow n)
{k : ℕ}
(hk : k ≠ 0)
:
IsPrimePow (n ^ k)
theorem
IsPrimePow.ne_zero
{R : Type u_1}
[CommMonoidWithZero R]
[IsReduced R]
{n : R}
(h : IsPrimePow n)
: