Skip to content

Commit 8b2d843

Browse files
committed
doc: write n-th instead of n'th (#29433)
This seems to be the more correct spelling.
1 parent 6cf9d4e commit 8b2d843

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

Archive/Wiedijk100Theorems/Partition.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ equal:
3232
3333
$$\prod_{i=0}^\infty \frac {1}{1-X^{2i+1}} = \prod_{i=0}^\infty (1+X^{i+1})$$
3434
35-
In fact, we do not take a limit: it turns out that comparing the `n`'th coefficients of the partial
35+
In fact, we do not take a limit: it turns out that comparing the `n`-th coefficients of the partial
3636
products up to `m := n + 1` is sufficient.
3737
3838
In particular, we

Mathlib/Algebra/Polynomial/Sequence.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ namespace Polynomial
3838

3939
/-- A sequence of polynomials such that the polynomial at index `i` has degree `i`. -/
4040
structure Sequence [Semiring R] where
41-
/-- The `i`'th element in the sequence. Use `S i` instead, defined via `CoeFun`. -/
41+
/-- The `i`-th element in the sequence. Use `S i` instead, defined via `CoeFun`. -/
4242
protected elems' : ℕ → R[X]
43-
/-- The `i`'th element in the sequence has degree `i`. Use `S.degree_eq` instead. -/
43+
/-- The `i`-th element in the sequence has degree `i`. Use `S.degree_eq` instead. -/
4444
protected degree_eq' (i : ℕ) : (elems' i).degree = i
4545

4646
attribute [coe] Sequence.elems'
@@ -174,7 +174,7 @@ variable (hCoeff : ∀ i, IsUnit (S i).leadingCoeff)
174174
noncomputable def basis : Basis ℕ R R[X] :=
175175
Basis.mk S.linearIndependent <| eq_top_iff.mp <| S.span hCoeff
176176

177-
/-- The `i`'th basis vector is the `i`'th polynomial in the sequence. -/
177+
/-- The `i`-th basis vector is the `i`-th polynomial in the sequence. -/
178178
@[simp]
179179
lemma basis_eq_self (i : ℕ) : S.basis hCoeff i = S i := Basis.mk_apply _ _ _
180180

Mathlib/Algebra/Polynomial/SumIteratedDerivative.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ as a linear map. This is used in particular in the proof of the Lindemann-Weiers
2626
* `Polynomial.sumIDeriv_map`: `Polynomial.sumIDeriv` commutes with `Polynomial.map`
2727
* `Polynomial.sumIDeriv_derivative`: `Polynomial.sumIDeriv` commutes with `Polynomial.derivative`
2828
* `Polynomial.sumIDeriv_eq_self_add`: `sumIDeriv p = p + derivative (sumIDeriv p)`
29-
* `Polynomial.exists_iterate_derivative_eq_factorial_smul`: the `k`'th iterated derivative of a
29+
* `Polynomial.exists_iterate_derivative_eq_factorial_smul`: the `k`-th iterated derivative of a
3030
polynomial has a common factor `k!`
3131
* `Polynomial.aeval_iterate_derivative_of_lt`, `Polynomial.aeval_iterate_derivative_self`,
3232
`Polynomial.aeval_iterate_derivative_of_ge`: applying `Polynomial.aeval` to iterated derivatives

Mathlib/Computability/AkraBazzi/AkraBazzi.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ coefficients, and the `b_i`'s are reals `∈ (0,1)`. (Note that this can be impr
1818
`O(n / (log n)^(1+ε))`, this is left as future work.) These recurrences arise mainly in the
1919
analysis of divide-and-conquer algorithms such as mergesort or Strassen's algorithm for matrix
2020
multiplication. This class of algorithms works by dividing an instance of the problem of size `n`,
21-
into `k` smaller instances, where the `i`'th instance is of size roughly `b_i n`, and calling itself
21+
into `k` smaller instances, where the `i`-th instance is of size roughly `b_i n`, and calling itself
2222
recursively on those smaller instances. `T(n)` then represents the running time of the algorithm,
2323
and `g(n)` represents the running time required to actually divide up the instance and process the
2424
answers that come out of the recursive calls. Since virtually all such algorithms produce instances

Mathlib/GroupTheory/Nilpotent.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ variable [hG : IsNilpotent G]
368368
variable (G) in
369369
open scoped Classical in
370370
/-- The nilpotency class of a nilpotent group is the smallest natural `n` such that
371-
the `n`'th term of the upper central series is `G`. -/
371+
the `n`-th term of the upper central series is `G`. -/
372372
noncomputable def Group.nilpotencyClass : ℕ := Nat.find (IsNilpotent.nilpotent G)
373373

374374
open scoped Classical in
@@ -388,7 +388,7 @@ theorem upperCentralSeries_eq_top_iff_nilpotencyClass_le {n : ℕ} :
388388

389389
open scoped Classical in
390390
/-- The nilpotency class of a nilpotent `G` is equal to the smallest `n` for which an ascending
391-
central series reaches `G` in its `n`'th term. -/
391+
central series reaches `G` in its `n`-th term. -/
392392
theorem least_ascending_central_series_length_eq_nilpotencyClass :
393393
Nat.find ((nilpotent_iff_finite_ascending_central_series G).mp hG) =
394394
Group.nilpotencyClass G := by
@@ -401,7 +401,7 @@ theorem least_ascending_central_series_length_eq_nilpotencyClass :
401401

402402
open scoped Classical in
403403
/-- The nilpotency class of a nilpotent `G` is equal to the smallest `n` for which the descending
404-
central series reaches `⊥` in its `n`'th term. -/
404+
central series reaches `⊥` in its `n`-th term. -/
405405
theorem least_descending_central_series_length_eq_nilpotencyClass :
406406
Nat.find ((nilpotent_iff_finite_descending_central_series G).mp hG) =
407407
Group.nilpotencyClass G := by

Mathlib/LinearAlgebra/Basis/Defs.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ section Coord
656656

657657
variable (i : ι)
658658

659-
/-- `b.coord i` is the linear function giving the `i`'th coordinate of a vector
659+
/-- `b.coord i` is the linear function giving the `i`-th coordinate of a vector
660660
with respect to the basis `b`.
661661
662662
`b.coord i` is an element of the dual space. In particular, for

Mathlib/NumberTheory/Cyclotomic/CyclotomicCharacter.lean

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ of `1` in `L`.
3636
are `n` `n`th roots of unity in `L`.
3737
3838
* `cyclotomicCharacter L p : (L ≃+* L) →* ℤ_[p]ˣ` sends `g` to the unique `j` such
39-
that `g(ζ) = ζ ^ (j mod pⁱ)` for all `pⁱ`'th roots of unity `ζ`.
39+
that `g(ζ) = ζ ^ (j mod pⁱ)` for all `pⁱ`-th roots of unity `ζ`.
4040
4141
Note: This is defined to be the trivial character if `L` has no enough roots of unity.
4242
4343
## Implementation note
4444
4545
In theory this could be set up as some theory about monoids, being a character
46-
on monoid isomorphisms, but under the hypotheses that the `n`'th roots of unity
46+
on monoid isomorphisms, but under the hypotheses that the `n`-th roots of unity
4747
are cyclic. The advantage of sticking to integral domains is that finite subgroups
4848
are guaranteed to be cyclic, so the weaker assumption that there are `n` `n`th
4949
roots of unity is enough. All the applications I'm aware of are when `L` is a
@@ -84,8 +84,8 @@ theorem rootsOfUnity.integer_power_of_ringEquiv' (g : L ≃+* L) :
8484
simpa using rootsOfUnity.integer_power_of_ringEquiv n g
8585

8686
/-- `modularCyclotomicCharacter_aux g n` is a non-canonical auxiliary integer `j`,
87-
only well-defined modulo the number of `n`'th roots of unity in `L`, such that `g(ζ)=ζ^j`
88-
for all `n`'th roots of unity `ζ` in `L`. -/
87+
only well-defined modulo the number of `n`-th roots of unity in `L`, such that `g(ζ)=ζ^j`
88+
for all `n`-th roots of unity `ζ` in `L`. -/
8989
noncomputable def modularCyclotomicCharacter.aux (g : L ≃+* L) (n : ℕ) [NeZero n] : ℤ :=
9090
(rootsOfUnity.integer_power_of_ringEquiv n g).choose
9191

@@ -115,7 +115,7 @@ theorem modularCyclotomicCharacter.pow_dvd_aux_pow_sub_aux_pow
115115

116116
/-- If `g` is a ring automorphism of `L`, and `n : ℕ+`, then
117117
`modularCyclotomicCharacter.toFun n g` is the `j : ZMod d` such that `g(ζ)=ζ^j` for all
118-
`n`'th roots of unity. Here `d` is the number of `n`th roots of unity in `L`. -/
118+
`n`-th roots of unity. Here `d` is the number of `n`th roots of unity in `L`. -/
119119
noncomputable def modularCyclotomicCharacter.toFun (n : ℕ) [NeZero n] (g : L ≃+* L) :
120120
ZMod (Fintype.card (rootsOfUnity n L)) :=
121121
modularCyclotomicCharacter.aux g n
@@ -179,7 +179,7 @@ variable (L)
179179

180180
/-- Given a positive integer `n`, `modularCyclotomicCharacter' n` is a
181181
multiplicative homomorphism from the automorphisms of a field `L` to `(ℤ/dℤ)ˣ`,
182-
where `d` is the number of `n`'th roots of unity in `L`. It is uniquely
182+
where `d` is the number of `n`-th roots of unity in `L`. It is uniquely
183183
characterised by the property that `g(ζ)=ζ^(modularCyclotomicCharacter n g)`
184184
for `g` an automorphism of `L` and `ζ` an `n`th root of unity. -/
185185
noncomputable
@@ -296,7 +296,7 @@ variable (L) in
296296
/--
297297
Suppose `L` is a domain containing all `pⁱ`-th primitive roots with `p` a (rational) prime.
298298
If `g` is a ring automorphism of `L`, then `cyclotomicCharacter L p g` is the unique `j : ℤₚ` such
299-
that `g(ζ) = ζ ^ (j mod pⁱ)` for all `pⁱ`'th roots of unity `ζ`.
299+
that `g(ζ) = ζ ^ (j mod pⁱ)` for all `pⁱ`-th roots of unity `ζ`.
300300
301301
Note: This is the trivial character when `L` does not contain all `pⁱ`-th primitive roots.
302302
-/

Mathlib/Tactic/Polyrith.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ partial def parse {u : Level} {α : Q(Type u)} (sα : Q(CommSemiring $α))
154154

155155
/-- The possible hypothesis sources for a polyrith proof. -/
156156
inductive Source where
157-
/-- `input n` refers to the `n`'th input `ai` in `polyrith [a1, ..., an]`. -/
157+
/-- `input n` refers to the `n`-th input `ai` in `polyrith [a1, ..., an]`. -/
158158
| input : Nat → Source
159159
/-- `fvar h` refers to hypothesis `h` from the local context. -/
160160
| fvar : FVarId → Source

0 commit comments

Comments
 (0)