EtaleFundamentalGroups.natCoprime_of_isUnit_natCast_of_charP
A natural number that is invertible in a nontrivial ring of prime characteristic p is coprime to p.
Source context 1 command
Surrounding namespaces, section variables, and local commands at this declaration.
namespace EtaleFundamentalGroupsLean source · statement
theorem natCoprime_of_isUnit_natCast_of_charP
{k : Type*} [CommRing k] [Nontrivial k]
(p n : ℕ) [CharP k p] (hp : p.Prime)
(hn : IsUnit (n : k)) : Nat.Coprime n p