Skip to content

Commit 3fc9f7c

Browse files
committed
doc(Order): miscellaneous typo fixes (leanprover-community#28651)
Co-authored-by: Harald Husum <harald.husum@intelecy.com>
1 parent d574318 commit 3fc9f7c

11 files changed

Lines changed: 16 additions & 16 deletions

File tree

Mathlib/Order/CompactlyGenerated/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ instance (priority := 100) isAtomistic_of_complementedLattice [ComplementedLatti
548548

549549
/-!
550550
Now we will prove that a compactly generated modular atomistic lattice is a complemented lattice.
551-
Most explicitly, every element is the complement of a supremum of indepedendent atoms.
551+
Most explicitly, every element is the complement of a supremum of independent atoms.
552552
-/
553553

554554
/-- In an atomic lattice, every element `b` has a complement of the form `sSup s` relative to a

Mathlib/Order/CompleteLattice/Finset.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ theorem iUnion_eq_iUnion_finset (s : ι → Set α) : ⋃ i, s i = ⋃ t : Finse
6868

6969
/-- Union of an indexed family of sets `s : ι → Set α` is equal to the union of the unions
7070
of finite subfamilies. This version works for `ι : Sort*`. See also `iUnion_eq_iUnion_finset` for
71-
a version that assumes `ι : Type*` but avoids `PLift`s in the right hand side. -/
71+
a version that assumes `ι : Type*` but avoids `PLift`s in the right-hand side. -/
7272
theorem iUnion_eq_iUnion_finset' (s : ι' → Set α) :
7373
⋃ i, s i = ⋃ t : Finset (PLift ι'), ⋃ i ∈ t, s (PLift.down i) :=
7474
iSup_eq_iSup_finset' s

Mathlib/Order/Copy.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def GeneralizedHeytingAlgebra.copy (c : GeneralizedHeytingAlgebra α)
8787
himp := himp
8888
le_himp_iff _ _ _ := by simp [eq_le, eq_himp, eq_inf]
8989

90-
/-- A function to create a provable equal copy of a generalised coheyting algebra
90+
/-- A function to create a provable equal copy of a generalised co-Heyting algebra
9191
with possibly different definitional equalities. -/
9292
def GeneralizedCoheytingAlgebra.copy (c : GeneralizedCoheytingAlgebra α)
9393
(le : α → α → Prop) (eq_le : le = (by infer_instance : LE α).le)
@@ -121,7 +121,7 @@ def HeytingAlgebra.copy (c : HeytingAlgebra α)
121121
compl := compl
122122
himp_bot := by simp [eq_le, eq_himp, eq_bot, eq_compl]
123123

124-
/-- A function to create a provable equal copy of a coheyting algebra
124+
/-- A function to create a provable equal copy of a co-Heyting algebra
125125
with possibly different definitional equalities. -/
126126
def CoheytingAlgebra.copy (c : CoheytingAlgebra α)
127127
(le : α → α → Prop) (eq_le : le = (by infer_instance : LE α).le)
@@ -140,7 +140,7 @@ def CoheytingAlgebra.copy (c : CoheytingAlgebra α)
140140
hnot := hnot
141141
top_sdiff := by simp [eq_le, eq_sdiff, eq_top, eq_hnot]
142142

143-
/-- A function to create a provable equal copy of a biheyting algebra
143+
/-- A function to create a provable equal copy of a bi-Heyting algebra
144144
with possibly different definitional equalities. -/
145145
def BiheytingAlgebra.copy (c : BiheytingAlgebra α)
146146
(le : α → α → Prop) (eq_le : le = (by infer_instance : LE α).le)

Mathlib/Order/DirectedInverseSystem.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ to work.
4747
4848
It is possible to circumvent the introduction of the `compat` condition using Zorn's lemma;
4949
if there is a chain of natural families (i.e. for any two families in the chain, one is an
50-
extension of the other) over lowersets (which are all of the form `Iic`, `Iio`, or `univ`),
50+
extension of the other) over lower sets (which are all of the form `Iic`, `Iio`, or `univ`),
5151
we can clearly take the union to get a natural family that extends them all. If a maximal
5252
natural family has domain `Iic i` or `Iio i` (`i` a limit), we already know how to extend it
5353
one step further to `Iic i⁺` or `Iic i` respectively, so it must be the case that the domain

Mathlib/Order/Disjointed.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ section Nat
293293
/-!
294294
### Functions on `ℕ`
295295
296-
(See also `Mathlib/Algebra/Order/Disjointed.lean` for results with more algebra pre-requsisites.)
296+
(See also `Mathlib/Algebra/Order/Disjointed.lean` for results with more algebra pre-requisites.)
297297
-/
298298

299299
variable [GeneralizedBooleanAlgebra α]

Mathlib/Order/GaloisConnection/Defs.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ end GaloisConnection
223223
choice function, to give better definitional equalities when lifting order structures. Dual
224224
to `GaloisCoinsertion` -/
225225
structure GaloisInsertion {α β : Type*} [Preorder α] [Preorder β] (l : α → β) (u : β → α) where
226-
/-- A contructive choice function for images of `l`. -/
226+
/-- A constructive choice function for images of `l`. -/
227227
choice : ∀ x : α, u (l x) ≤ x → β
228228
/-- The Galois connection associated to a Galois insertion. -/
229229
gc : GaloisConnection l u
@@ -289,7 +289,7 @@ end GaloisInsertion
289289
choice function, to give better definitional equalities when lifting order structures. Dual to
290290
`GaloisInsertion` -/
291291
structure GaloisCoinsertion [Preorder α] [Preorder β] (l : α → β) (u : β → α) where
292-
/-- A contructive choice function for images of `u`. -/
292+
/-- A constructive choice function for images of `u`. -/
293293
choice : ∀ x : β, x ≤ l (u x) → α
294294
/-- The Galois connection associated to a Galois coinsertion. -/
295295
gc : GaloisConnection l u

Mathlib/Order/Heyting/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Heyting algebras are the order theoretic equivalent of cartesian-closed categori
3030
* `GeneralizedCoheytingAlgebra`: Co-Heyting algebra without a bottom element (nor complement).
3131
* `HeytingAlgebra`: Heyting algebra.
3232
* `CoheytingAlgebra`: Co-Heyting algebra.
33-
* `BiheytingAlgebra`: bi-Heyting algebra.
33+
* `BiheytingAlgebra`: Bi-Heyting algebra.
3434
3535
## References
3636

Mathlib/Order/LatticeIntervals.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ intervals, but more can be added easily along the same lines when needed.
1717
1818
In the following, `*` can represent either `c`, `o`, or `i`.
1919
* `Set.Ic*.orderBot`
20-
* `Set.Ii*.semillaticeInf`
20+
* `Set.Ii*.semilatticeInf`
2121
* `Set.I*c.orderTop`
22-
* `Set.I*c.semillaticeInf`
22+
* `Set.I*c.semilatticeInf`
2323
* `Set.I**.lattice`
2424
* `Set.Iic.boundedOrder`, within an `OrderBot`
2525
* `Set.Ici.boundedOrder`, within an `OrderTop`

Mathlib/Order/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This folder contains order theory in a broad sense.
66

77
The basic order hierarchy is split across a series of subfolders that each depend on the previous:
88
* `Order.Preorder` for preorders, partial orders, lattices, linear orders
9-
* `Order.BooleanAlgebra` for heyting/biheyting/coheyting/boolean algebras
9+
* `Order.BooleanAlgebra` for Heyting/bi-Heyting/co-Heyting/boolean algebras
1010
* `Order.CompleteLattice` for frames, coframes, complete lattices
1111
* `Order.ConditionallyCompleteLattice` for conditionally complete lattices
1212
* `Order.CompleteBooleanAlgebra` for complete boolean algebras

Mathlib/Order/SupClosed.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ lemma finsetSup'_mem_supClosure {ι : Type*} {t : Finset ι} (ht : t.Nonempty) {
323323

324324
lemma supClosure_min : s ⊆ t → SupClosed t → supClosure s ⊆ t := supClosure.closure_min
325325

326-
/-- The semilatice generated by a finite set is finite. -/
326+
/-- The semilattice generated by a finite set is finite. -/
327327
protected lemma Set.Finite.supClosure (hs : s.Finite) : (supClosure s).Finite := by
328328
lift s to Finset α using hs
329329
classical
@@ -395,7 +395,7 @@ lemma finsetInf'_mem_infClosure {ι : Type*} {t : Finset ι} (ht : t.Nonempty) {
395395

396396
lemma infClosure_min : s ⊆ t → InfClosed t → infClosure s ⊆ t := infClosure.closure_min
397397

398-
/-- The semilatice generated by a finite set is finite. -/
398+
/-- The semilattice generated by a finite set is finite. -/
399399
protected lemma Set.Finite.infClosure (hs : s.Finite) : (infClosure s).Finite := by
400400
lift s to Finset α using hs
401401
classical

0 commit comments

Comments
 (0)