Skip to content

Commit 9732e9f

Browse files
committed
doc(Data): fix file refs (leanprover-community#33315)
Fix some stale documentation file refs.
1 parent 242d621 commit 9732e9f

11 files changed

Lines changed: 18 additions & 17 deletions

File tree

Mathlib/Data/Array/Defs.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ module
77

88
public import Mathlib.Init
99
/-!
10-
## Definitions on Arrays
10+
# Definitions on Arrays
1111
1212
This file contains various definitions on `Array`. It does not contain
13-
proofs about these definitions, those are contained in other files in `Mathlib/Data/Array.lean`.
13+
proofs about these definitions.
1414
-/
1515

1616
@[expose] public section

Mathlib/Data/Complex/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ namespace SMul
291291
-- instance made scoped to avoid situations like instance synthesis
292292
-- of `SMul ℂ ℂ` trying to proceed via `SMul ℂ ℝ`.
293293
/-- Scalar multiplication by `R` on `ℝ` extends to `ℂ`. This is used here and in
294-
`Mathlib/Data/Complex/Module.lean` to transfer instances from `ℝ` to `ℂ`, but is not
294+
`Mathlib/LinearAlgebra/Complex/Module.lean` to transfer instances from `ℝ` to `ℂ`, but is not
295295
needed outside, so we make it scoped. -/
296296
scoped instance instSMulRealComplex {R : Type*} [SMul R ℝ] : SMul R ℂ where
297297
smul r x := ⟨r • x.re - 0 * x.im, r • x.im + 0 * x.re⟩

Mathlib/Data/Fin/Tuple/NatAntidiagonal.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ While we could implement this by filtering `(Fintype.PiFinset fun _ ↦ range (n
3737
this implementation would be much slower.
3838
3939
In the future, we could consider generalizing `Finset.Nat.antidiagonalTuple` further to
40-
support finitely-supported functions, as is done with `cut` in
41-
`archive/100-theorems-list/45_partition.lean`.
40+
support finitely-supported functions, as in `Finset.finsuppAntidiag` from
41+
`Mathlib/Algebra/Order/Antidiag/Finsupp.lean`.
4242
-/
4343

4444
@[expose] public section

Mathlib/Data/Finset/Defs.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Finsets give a basic foundation for defining finite sums and products over types
3131
2. `∏ i ∈ (s : Finset α), f i`.
3232
3333
Lean refers to these operations as big operators.
34-
More information can be found in `Mathlib/Algebra/BigOperators/Group/Finset.lean`.
34+
More information can be found in `Mathlib/Algebra/BigOperators/Group/Finset/Basic.lean`.
3535
3636
Finsets are directly used to define fintypes in Lean.
3737
A `Fintype α` instance for a type `α` consists of a universal `Finset α` containing every term of

Mathlib/Data/Finsupp/MonomialOrder.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ It is activated using `open scoped MonomialOrder`.
3434
3535
Commutative algebra defines many monomial orders, with different usefulness ranges.
3636
In this file, we provide the basic example of lexicographic ordering.
37-
For the graded lexicographic ordering, see `Mathlib/Data/Finsupp/DegLex.lean`
37+
For the graded lexicographic ordering, see `Mathlib/Data/Finsupp/MonomialOrder/DegLex.lean`
3838
3939
* `MonomialOrder.lex` : the lexicographic ordering on `σ →₀ ℕ`.
4040
For this, `σ` needs to be embedded with an ordering relation which satisfies `WellFoundedGT σ`.

Mathlib/Data/List/Lex.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ The lexicographic order on `List α` is defined by `L < M` iff
2020
## See also
2121
2222
Related files are:
23-
* `Mathlib/Data/Finset/Colex.lean`: Colexicographic order on finite sets.
23+
* `Mathlib/Combinatorics/Colex.lean`: Colexicographic order on finite sets.
2424
* `Mathlib/Data/PSigma/Order.lean`: Lexicographic order on `Σ' i, α i`.
25-
* `Mathlib/Data/Pi/Lex.lean`: Lexicographic order on `Πₗ i, α i`.
25+
* `Mathlib/Order/PiLex.lean`: Lexicographic order on `Πₗ i, α i`.
2626
* `Mathlib/Data/Sigma/Order.lean`: Lexicographic order on `Σ i, α i`.
2727
* `Mathlib/Data/Prod/Lex.lean`: Lexicographic order on `α × β`.
2828
-/

Mathlib/Data/Matrix/Mul.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The scope `Matrix` gives the following notation:
3232
* `*ᵥ` for `Matrix.mulVec`
3333
* `ᵥ*` for `Matrix.vecMul`
3434
35-
See `Mathlib/Data/Matrix/ConjTranspose.lean` for
35+
See `Mathlib/LinearAlgebra/Matrix/ConjTranspose.lean` for
3636
3737
* `ᴴ` for `Matrix.conjTranspose`
3838

Mathlib/Data/Nat/Init.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ Less basic uses of `ℕ` and `ℤ` should however use the typeclass-mediated dev
4646
The relevant files are:
4747
* `Mathlib/Data/Nat/Basic.lean` for the continuation of the home-baked development on `ℕ`
4848
* `Mathlib/Data/Int/Init.lean` for the continuation of the home-baked development on `ℤ`
49-
* `Mathlib/Algebra/Group/Nat.lean` for the monoid instances on `ℕ`
50-
* `Mathlib/Algebra/Group/Int.lean` for the group instance on `ℤ`
49+
* `Mathlib/Algebra/Group/Nat/Defs.lean` for the monoid instances on `ℕ`
50+
* `Mathlib/Algebra/Group/Int/Defs.lean` for the group instance on `ℤ`
5151
* `Mathlib/Algebra/Ring/Nat.lean` for the semiring instance on `ℕ`
52-
* `Mathlib/Algebra/Ring/Int.lean` for the ring instance on `ℤ`
52+
* `Mathlib/Algebra/Ring/Int/Defs.lean` for the ring instance on `ℤ`
5353
* `Mathlib/Algebra/Order/Group/Nat.lean` for the ordered monoid instance on `ℕ`
5454
* `Mathlib/Algebra/Order/Group/Int.lean` for the ordered group instance on `ℤ`
5555
* `Mathlib/Algebra/Order/Ring/Nat.lean` for the ordered semiring instance on `ℕ`

Mathlib/Data/Option/Defs.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public import Batteries.Tactic.Alias
1313
# Extra definitions on `Option`
1414
1515
This file defines more operations involving `Option α`. Lemmas about them are located in other
16-
files under `Mathlib/Data/Option.lean`.
16+
files under `Mathlib/Data/Option/`.
1717
Other basic operations on `Option` are defined in the core library.
1818
-/
1919

Mathlib/Data/Set/Basic.lean

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ powerset).
2525
Note that a set is a term, not a type. There is a coercion from `Set α` to `Type*` sending
2626
`s` to the corresponding subtype `↥s`.
2727
28-
See also the file `SetTheory/ZFC.lean`, which contains an encoding of ZFC set theory in Lean.
28+
See also the directory `Mathlib/SetTheory/ZFC/`, which contains an encoding of ZFC set theory in
29+
Lean.
2930
3031
## Main definitions
3132

0 commit comments

Comments
 (0)