Skip to content

Commit 23fc279

Browse files
committed
doc: add newlines to clarify paragraph breaks (leanprover-community#39247)
These are strictly speaking, required by markdown, and make it more clear to the reader that a new paragraph begins. This corrects some generated documentation entries to have proper paragraph breaks. Found by the linter in leanprover-community#27897.
1 parent 816c638 commit 23fc279

9 files changed

Lines changed: 13 additions & 0 deletions

File tree

Mathlib/CategoryTheory/Filtered/Basic.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ easier to describe than general colimits (and more often preserved by functors).
3232
3333
In this file we show that any functor from a finite category to a filtered category admits a cocone:
3434
* `cocone_nonempty [FinCategory J] [IsFiltered C] (F : J ⥤ C) : Nonempty (Cocone F)`
35+
3536
More generally,
3637
for any finite collection of objects and morphisms between them in a filtered category
3738
(even if not closed under composition) there exists some object `Z` receiving maps from all of them,

Mathlib/CategoryTheory/Monoidal/Functor.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ A lax monoidal functor `F` between monoidal categories `C` and `D`
1616
is a functor between the underlying categories equipped with morphisms
1717
* `ε : 𝟙_ D ⟶ F.obj (𝟙_ C)` (called the unit morphism)
1818
* `μ X Y : (F.obj X) ⊗ (F.obj Y) ⟶ F.obj (X ⊗ Y)` (called the tensorator, or strength).
19+
1920
satisfying various axioms. This is implemented as a typeclass `F.LaxMonoidal`.
2021
2122
Similarly, we define the typeclass `F.OplaxMonoidal`. For these oplax monoidal functors,

Mathlib/CategoryTheory/Monoidal/Limits/Basic.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ When `C` is a monoidal category, the limit functor `lim : (J ⥤ C) ⥤ C` is la
1515
i.e. there are morphisms
1616
* `(𝟙_ C) → limit (𝟙_ (J ⥤ C))`
1717
* `limit F ⊗ limit G ⟶ limit (F ⊗ G)`
18+
1819
satisfying the laws of a lax monoidal functor.
1920
2021
## TODO

Mathlib/CategoryTheory/NatIso.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ For the most part, natural isomorphisms are just another sort of isomorphism.
1414
1515
We provide some special support for extracting components:
1616
* if `α : F ≅ G`, then `α.app X : F.obj X ≅ G.obj X`,
17+
1718
and building natural isomorphisms from components:
1819
* ```
1920
NatIso.ofComponents

Mathlib/Geometry/Manifold/LocalDiffeomorph.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ protected theorem mdifferentiableAt (hn : n ≠ 0) {x : M} (hx : x ∈ Φ.source
130130
such as
131131
* further continuity and differentiability lemmas
132132
* refl and trans instances; lemmas between them.
133+
133134
As this declaration is meant for internal use only, we keep it simple. -/
134135
end PartialDiffeomorph
135136
end PartialDiffeomorph

Mathlib/Lean/Meta/RefinedDiscrTree/Lookup.lean

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,12 +206,15 @@ The reason is that types are usually implicit arguments. For example
206206
This gets extra points for matching `1`
207207
- `Nat.succ.inj (n m : ℕ) (h : n.succ = m.succ) : n = m`.
208208
This gets extra points for matching `ℕ`
209+
209210
Clearly, `rfl` is better.
211+
210212
- If we rewrite `|(0 : ℝ)|`, we could find
211213
- `abs_zero : |(0 : α)| = 0`
212214
This gets extra points for matching `0`
213215
- `Real.norm_eq_abs : ∀ (r : ℝ), ‖r‖ = |r|`
214216
This gets extra points for matching `ℝ`
217+
215218
Clearly, `abs_zero` is better
216219
217220
In both examples, matching the type (`ℕ` or `ℝ`) was not very important for how good

Mathlib/Tactic/ComputeDegree.lean

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Using `compute_degree` when the goal is of one of the seven forms
1919
* `natDegree f = d`,
2020
* `degree f = d`,
2121
* `coeff f d = r`, if `d` is the degree of `f`,
22+
2223
tries to solve the goal.
2324
It may leave side-goals, in case it is not entirely successful.
2425
@@ -53,6 +54,7 @@ Assume that `f : R[X]` is a polynomial with coefficients in a semiring `R` and
5354
If the goal has the form `natDegree f < d`, then we convert it to two separate goals:
5455
* `natDegree f ≤ ?_`, on which we apply the following steps;
5556
* `?_ < d`;
57+
5658
where `?_` is a metavariable that `compute_degree` computes in its process.
5759
We proceed similarly for `degree f < d`.
5860

Mathlib/Tactic/MinImports.lean

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ declaration names that are implied by
194194
* the attributes of `cmd` (if there are any),
195195
* the identifiers contained in `cmd`,
196196
* if `cmd` adds a declaration `d` to the environment, then also all the module names implied by `d`.
197+
197198
The argument `id` is expected to be an identifier.
198199
It is used either for the internally generated name of a "nameless" `instance` or when parsing
199200
an identifier representing the name of a declaration.
@@ -217,6 +218,7 @@ module names that are implied by
217218
* the attributes of `cmd` (if there are any),
218219
* the identifiers contained in `cmd`,
219220
* if `cmd` adds a declaration `d` to the environment, then also all the module names implied by `d`.
221+
220222
The argument `id` is expected to be an identifier.
221223
It is used either for the internally generated name of a "nameless" `instance` or when parsing
222224
an identifier representing the name of a declaration.

Mathlib/Tactic/MoveAdd.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ def reorderAndSimp (mv : MVarId) (instr : List (Expr × Bool)) :
379379
* an array of `Expr × Bool × Syntax`, as in the output of `parseArrows`,
380380
* the `Name` `op` of a binary operation,
381381
* an `Expr`ession `tgt`.
382+
382383
It unifies each `Expr`ession appearing as a first factor of the array with the atoms
383384
for the operation `op` in the expression `tgt`, returning
384385
* the lists of pairs of a matched subexpression with the corresponding `Bool`ean;

0 commit comments

Comments
 (0)