Skip to content

Commit fc09926

Browse files
gaetanserreutensil
authored andcommitted
doc(NumberTheory/Padics/PadicVal): typo (#11320)
Fix a typo.
1 parent 60ec43d commit fc09926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mathlib/NumberTheory/Padics/PadicVal.lean

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ open Rat
7272
open multiplicity
7373

7474
/-- For `p ≠ 1`, the `p`-adic valuation of a natural `n ≠ 0` is the largest natural number `k` such
75-
that `p^k` divides `z`. If `n = 0` or `p = 1`, then `padicValNat p q` defaults to `0`. -/
75+
that `p^k` divides `n`. If `n = 0` or `p = 1`, then `padicValNat p q` defaults to `0`. -/
7676
def padicValNat (p : ℕ) (n : ℕ) : ℕ :=
7777
if h : p ≠ 10 < n then (multiplicity p n).get (multiplicity.finite_nat_iff.2 h) else 0
7878
#align padic_val_nat padicValNat

0 commit comments

Comments
 (0)