Skip to content

Commit 433c171

Browse files
committed
doc(LinearAlgebra): fix typos (leanprover-community#32663)
Typos found and fixed by Codex.
1 parent 21c6094 commit 433c171

File tree

17 files changed

+26
-26
lines changed

17 files changed

+26
-26
lines changed

Mathlib/LinearAlgebra/AnnihilatingPolynomial.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ public import Mathlib.Algebra.Polynomial.Module.AEval
1212
/-!
1313
# Annihilating Ideal
1414
15-
Given a commutative ring `R` and an `R`-algebra `A`
16-
Every element `a : A` defines
15+
Given a commutative ring `R` and an `R`-algebra `A`,
16+
every element `a : A` defines
1717
an ideal `Polynomial.annIdeal a ⊆ R[X]`.
1818
Simply put, this is the set of polynomials `p` where
1919
the polynomial evaluation `p(a)` is 0.
@@ -48,7 +48,7 @@ variable {R A : Type*} [CommSemiring R] [Semiring A] [Algebra R A]
4848
variable (R) in
4949
/-- `annIdeal R a` is the *annihilating ideal* of all `p : R[X]` such that `p(a) = 0`.
5050
51-
The informal notation `p(a)` stand for `Polynomial.aeval a p`.
51+
The informal notation `p(a)` stands for `Polynomial.aeval a p`.
5252
Again informally, the annihilating ideal of `a` is
5353
`{ p ∈ R[X] | p(a) = 0 }`. This is an ideal in `R[X]`.
5454
The formal definition uses the kernel of the aeval map. -/

Mathlib/LinearAlgebra/Basis/Submodule.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ variable {M R : Type*} [Ring R] [Nontrivial R] [IsAddTorsionFree R]
208208

209209
/--
210210
Let `A` be a subgroup of an additive commutative group `M` that is also an `R`-module.
211-
Construct a basis of `A` as a `ℤ`-basis from a `R`-basis of `E` that generates `A`.
211+
Construct a basis of `A` as a `ℤ`-basis from an `R`-basis of `E` that generates `A`.
212212
-/
213213
noncomputable def addSubgroupOfClosure (h : A = .closure (Set.range b)) :
214214
Basis ι ℤ A.toIntSubmodule :=

Mathlib/LinearAlgebra/Dimension/Finite.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ theorem iSupIndep.subtype_ne_bot_le_finrank_aux
266266
_ = Cardinal.lift.{w} (finrank R M : Cardinal.{v}) := by rw [finrank_eq_rank]
267267
_ = Cardinal.lift.{v} (finrank R M : Cardinal.{w}) := by simp
268268

269-
/-- If `p` is an independent family of submodules of a `R`-finite module `M`, then the
269+
/-- If `p` is an independent family of submodules of an `R`-finite module `M`, then the
270270
number of nontrivial subspaces in the family `p` is finite. -/
271271
noncomputable def iSupIndep.fintypeNeBotOfFiniteDimensional
272272
{p : ι → Submodule R M} (hp : iSupIndep p) :
@@ -277,7 +277,7 @@ noncomputable def iSupIndep.fintypeNeBotOfFiniteDimensional
277277
refine lt_of_le_of_lt hp.subtype_ne_bot_le_finrank_aux ?_
278278
simp [Cardinal.nat_lt_aleph0]
279279

280-
/-- If `p` is an independent family of submodules of a `R`-finite module `M`, then the
280+
/-- If `p` is an independent family of submodules of an `R`-finite module `M`, then the
281281
number of nontrivial subspaces in the family `p` is bounded above by the dimension of `M`.
282282
283283
Note that the `Fintype` hypothesis required here can be provided by

Mathlib/LinearAlgebra/ExteriorAlgebra/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ section exteriorPower
7373
-- New variables `n` and `M`, to get the correct order of variables in the notation.
7474
variable (n : ℕ) (M : Type u2) [AddCommGroup M] [Module R M]
7575

76-
/-- Definition of the `n`th exterior power of a `R`-module `N`. We introduce the notation
76+
/-- Definition of the `n`th exterior power of an `R`-module `N`. We introduce the notation
7777
`⋀[R]^n M` for `exteriorPower R n M`. -/
7878
abbrev exteriorPower : Submodule R (ExteriorAlgebra R M) :=
7979
LinearMap.range (ι R : M →ₗ[R] ExteriorAlgebra R M) ^ n

Mathlib/LinearAlgebra/ExteriorPower/Pairing.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ lemma pairingDual_ιMulti_ιMulti {n : ℕ} (f : (_ : Fin n) → Module.Dual R M
7676

7777
section
7878

79-
/-! If a `R`-module `M` has a family of vectors `x : ι → M` and linear maps `f : ι → M`
79+
/-! If an `R`-module `M` has a family of vectors `x : ι → M` and linear maps `f : ι → M`
8080
such that `f i (x j)` is `1` or `0` depending on `i = j` or `i ≠ j`, then if `ι` has
8181
a linear order, then a similar property regarding `pairingDual R M n`
8282
applies to the family of vectors indexed

Mathlib/LinearAlgebra/Goursat.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ public import Mathlib.LinearAlgebra.Quotient.Basic
1212
/-!
1313
# Goursat's lemma for submodules
1414
15-
Let `M, N` be modules over a ring `R`. If `L` is a submodule of `M × N` which projects fully on
16-
to both factors, then there exist submodules `M' ≤ M` and `N' ≤ N` such that `M' × N' ≤ L` and the
15+
Let `M, N` be modules over a ring `R`. If `L` is a submodule of `M × N` which projects fully onto
16+
both factors, then there exist submodules `M' ≤ M` and `N' ≤ N` such that `M' × N' ≤ L` and the
1717
image of `L` in `(M ⧸ M') × (N ⧸ N')` is the graph of an isomorphism `M ⧸ M' ≃ₗ[R] N ⧸ N'`.
1818
Equivalently, `L` is equal to the preimage in `M × N` of the graph of this isomorphism
1919
`M ⧸ M' ≃ₗ[R] N ⧸ N'`.

Mathlib/LinearAlgebra/Lagrange.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ public import Mathlib.RingTheory.Polynomial.Basic
1414
# Lagrange interpolation
1515
1616
## Main definitions
17-
* In everything that follows, `s : Finset ι` is a finite set of indexes, with `v : ι → F` an
18-
indexing of the field over some type. We call the image of v on s the interpolation nodes,
19-
though strictly unique nodes are only defined when v is injective on s.
17+
* In everything that follows, `s : Finset ι` is a finite set of indices, with `v : ι → F` an
18+
indexing of the field over some type. We call the image of `v` on `s` the interpolation nodes,
19+
though strictly unique nodes are only defined when `v` is injective on `s`.
2020
* `Lagrange.basisDivisor x y`, with `x y : F`. These are the normalised irreducible factors of
2121
the Lagrange basis polynomials. They evaluate to `1` at `x` and `0` at `y` when `x` and `y`
2222
are distinct.

Mathlib/LinearAlgebra/LeftExact.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public import Mathlib.LinearAlgebra.BilinearMap
1212
# The Left Exactness of Hom
1313
1414
15-
If `M1 → M2 → M3 → 0` is an exact sequence of `R`-modules and `N` is a `R`-module,
15+
If `M1 → M2 → M3 → 0` is an exact sequence of `R`-modules and `N` is an `R`-module,
1616
then `0 → (M3 →ₗ[R] N) → (M2 →ₗ[R] N) → (M1 →ₗ[R] N)` is exact. In this file, we
1717
show the exactness at `M2 →ₗ[R] N` (`exact_lcomp_of_exact_of_surjective`);
1818
the injectivity part is `LinearMap.lcomp_injective_of_surjective` in the file

Mathlib/LinearAlgebra/LinearDisjoint.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The following is the second equivalent characterization of linear disjointness:
103103
their span is not `R ^ 2`). In particular, if any two elements in the intersection of `M` and `N`
104104
are commutative, then the rank of the intersection of `M` and `N` is at most one.
105105
106-
These results are stated using bundled version (i.e. `a : ↥(M ⊓ N)`). If you want a not bundled
106+
These results are stated using a bundled version (i.e. `a : ↥(M ⊓ N)`). If you want a non-bundled
107107
version (i.e. `a : S` with `ha : a ∈ M ⊓ N`), you may use `LinearIndependent.of_comp` and
108108
`FinVec.map_eq` (in `Mathlib/Data/Fin/Tuple/Reflection.lean`),
109109
see the following code snippet:

Mathlib/LinearAlgebra/LinearPMap.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ We define a `SemilatticeInf` with `OrderBot` instance on this, and define three
2323
Moreover, we define
2424
* `LinearPMap.graph` is the graph of the partial linear map viewed as a submodule of `E × F`.
2525
26-
Partially defined maps are currently used in `Mathlib` to prove Hahn-Banach theorem
26+
Partially defined maps are currently used in `Mathlib` to prove the Hahn-Banach theorem
2727
and its variations. Namely, `LinearPMap.sSup` implies that every chain of `LinearPMap`s
2828
is bounded above.
2929
They are also the basis for the theory of unbounded operators.

0 commit comments

Comments
 (0)