Skip to content

Commit bcb9e00

Browse files
committed
chore: fix odd indentation in a few doc-strings (#39246)
There is no reason for this, and this makes it easier to lint them. Found by the linter in #27897.
1 parent d9cff27 commit bcb9e00

22 files changed

Lines changed: 48 additions & 46 deletions

File tree

Mathlib/Algebra/Lie/OfAssociative.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ bracket equal to its ring commutator.
7171
7272
Note that this cannot be a global instance because it would create a diamond when `M = A`,
7373
specifically we can build two mathematically-different `bracket A A`s:
74-
1. `@Ring.bracket A _` which says `⁅a, b⁆ = a * b - b * a`
75-
2. `(@LieRingModule.ofAssociativeModule A _ A _ _).toBracket` which says `⁅a, b⁆ = a • b`
76-
(and thus `⁅a, b⁆ = a * b`)
74+
1. `@Ring.bracket A _` which says `⁅a, b⁆ = a * b - b * a`
75+
2. `(@LieRingModule.ofAssociativeModule A _ A _ _).toBracket` which says `⁅a, b⁆ = a • b`
76+
(and thus `⁅a, b⁆ = a * b`)
7777
7878
See note [reducible non-instances] -/
7979
abbrev LieRingModule.ofAssociativeModule : LieRingModule A M where

Mathlib/Algebra/SkewMonoidAlgebra/Lift.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ variable [Monoid G] [Monoid H] [Semiring A] [CommSemiring k] [Algebra k A] [MulS
175175
[MulSemiringAction H A] [SMulCommClass G k A] [SMulCommClass H k A]
176176

177177
/-- If `e : G ≃* H` is a multiplicative equivalence between two monoids and
178-
` ∀ (a : G) (x : A), a • x = (e a) • x`, then `SkewMonoidAlgebra.domCongr e` is an
179-
algebra equivalence between their skew monoid algebras. -/
178+
` ∀ (a : G) (x : A), a • x = (e a) • x`, then `SkewMonoidAlgebra.domCongr e` is an
179+
algebra equivalence between their skew monoid algebras. -/
180180
def domCongrAlg {e : G ≃* H} (he : ∀ (a : G) (x : A), a • x = (e a) • x) :
181181
SkewMonoidAlgebra A G ≃ₐ[k] SkewMonoidAlgebra A H :=
182182
AlgEquiv.ofLinearEquiv

Mathlib/Analysis/Calculus/ParametricIntegral.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ theorem hasFDerivAt_integral_of_dominated_of_fderiv_le {F' : H → α → H →L
233233
open scoped Interval in
234234
/-- Differentiation under integral of `x ↦ ∫ x in a..b, F x a` at a given point `x₀`, assuming
235235
`F x₀` is integrable on `(a,b)`, `x ↦ F x a` is differentiable on a neighborhood of `x₀` for ae `a`
236-
with derivative norm uniformly bounded by an integrable function (the neighborhood is independent
237-
of `a`), and `F x` is ae-measurable for `x` in a possibly smaller neighborhood of `x₀`. -/
236+
with derivative norm uniformly bounded by an integrable function (the neighborhood is independent
237+
of `a`), and `F x` is ae-measurable for `x` in a possibly smaller neighborhood of `x₀`. -/
238238
theorem hasFDerivAt_integral_of_dominated_of_fderiv_le'' [NormedSpace ℝ H] {μ : Measure ℝ}
239239
{F : H → ℝ → E} {F' : H → ℝ → H →L[ℝ] E} {a b : ℝ} {bound : ℝ → ℝ} (hs : s ∈ 𝓝 x₀)
240240
(hF_meas : ∀ᶠ x in 𝓝 x₀, AEStronglyMeasurable (F x) <| μ.restrict (Ι a b))

Mathlib/CategoryTheory/Presentable/IsCardinalFiltered.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ lemma isCardinalFiltered_iff_aux₂ {ι : Type w} {j : ι → J} {k : J}
276276

277277
variable (J κ) in
278278
/-- A category is `κ`-filtered iff
279-
1) any family of objects of cardinality `< κ` admits a map towards a common object, and
280-
2) any family of morphisms `j ⟶ k` of cardinality `< κ` (between *fixed* objects
279+
1. any family of objects of cardinality `< κ` admits a map towards a common object, and
280+
2. any family of morphisms `j ⟶ k` of cardinality `< κ` (between *fixed* objects
281281
`j` and `k`) can be coequalized by a suitable morphism `k ⟶ l`.
282282
-/
283283
lemma isCardinalFiltered_iff :

Mathlib/CategoryTheory/Presentable/OrthogonalReflection.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ noncomputable def D₂.multispanIndex : MultispanIndex (multispanShape W Z) C wh
241241
variable [HasMulticoequalizer (D₂.multispanIndex W Z)]
242242

243243
/-- The object `succ W Z` is the multicoequalizer of all pairs of morphisms
244-
`g₁ g₂ : Y ⟶ step W Z` with a `f : X ⟶ Y` satisfying `W` such that `f ≫ g₁ = f ≫ g₂`. -/
244+
`g₁ g₂ : Y ⟶ step W Z` with a `f : X ⟶ Y` satisfying `W` such that `f ≫ g₁ = f ≫ g₂`. -/
245245
noncomputable abbrev succ := multicoequalizer (D₂.multispanIndex W Z)
246246

247247
/-- The projection from `Z` to the multicoequalizer of all morphisms `g₁ g₂ : Y ⟶ step W Z` with

Mathlib/Combinatorics/SimpleGraph/FiveWheelLike.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ include hw hcf
275275

276276
/--
277277
If `G` is `Kᵣ₊₂`-free and contains a `Wᵣ,ₖ` together with a vertex `x` adjacent to all of its common
278-
clique vertices then there exist (not necessarily distinct) vertices `a, b, c, d`, one from each of
279-
the four `r + 1`-cliques of `Wᵣ,ₖ`, none of which are adjacent to `x`.
278+
clique vertices then there exist (not necessarily distinct) vertices `a, b, c, d`, one from each of
279+
the four `r + 1`-cliques of `Wᵣ,ₖ`, none of which are adjacent to `x`.
280280
-/
281281
private lemma exist_not_adj_of_adj_inter (hW : ∀ ⦃y⦄, y ∈ s ∩ t → G.Adj x y) :
282282
∃ a b c d, a ∈ insert w₁ s ∧ ¬ G.Adj x a ∧ b ∈ insert w₂ t ∧ ¬ G.Adj x b ∧ c ∈ insert v s ∧

Mathlib/Dynamics/BirkhoffSum/QuasiMeasurePreserving.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ theorem birkhoffSum_ae_eq_of_ae_eq (hf : QuasiMeasurePreserving f μ μ) (hφ :
3939
exact (hf.iterate i).ae (hφ.mono (fun _ h _ => h))
4040

4141
/-- If observables `φ` and `ψ` are `μ`-a.e. equal then the corresponding `birkhoffAverage` are
42-
`μ`-a.e. equal. -/
42+
`μ`-a.e. equal. -/
4343
theorem birkhoffAverage_ae_eq_of_ae_eq (R : Type*) [DivisionSemiring R] [Module R M]
4444
(hf : QuasiMeasurePreserving f μ μ) (hφ : φ =ᵐ[μ] ψ) n :
4545
birkhoffAverage R f φ n =ᵐ[μ] birkhoffAverage R f ψ n :=

Mathlib/Geometry/Euclidean/Simplex.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ lemma Equilateral.acuteAngled {s : Simplex ℝ P n} (he : s.Equilateral) : s.Acu
6868
linarith [Real.pi_pos]
6969

7070
/-- The distance from a vertex to the `centroid` equals `n` times the distance from the `centroid`
71-
to the corresponding `faceOppositeCentroid`. -/
71+
to the corresponding `faceOppositeCentroid`. -/
7272
theorem dist_point_centroid [NeZero n] (s : Simplex ℝ P n) (i : Fin (n + 1)) :
7373
dist (s.points i) s.centroid = n * dist s.centroid (s.faceOppositeCentroid i) := by
7474
simp_rw [dist_eq_norm_vsub, s.point_vsub_centroid_eq_smul_vsub i, norm_smul, Real.norm_natCast]
7575

7676
/-- The distance from a vertex to its `faceOppositeCentroid` equals `(n + 1)` times the distance
77-
from the `centroid` to that `faceOppositeCentroid`. -/
77+
from the `centroid` to that `faceOppositeCentroid`. -/
7878
theorem dist_point_faceOppositeCentroid [NeZero n] (s : Simplex ℝ P n) (i : Fin (n + 1)) :
7979
dist (s.points i) (s.faceOppositeCentroid i) =
8080
(n + 1) * dist s.centroid (s.faceOppositeCentroid i) := by

Mathlib/LinearAlgebra/AffineSpace/Simplex/Centroid.lean

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ theorem centroid_eq_affineCombination (s : Simplex k P n) :
7272
s.centroid = affineCombination k univ s.points (centroidWeights k univ) := by rfl
7373

7474
/-- The centroid of a simplex does not lie in the affine span of any proper subset of its
75-
vertices. -/
75+
vertices. -/
7676
theorem centroid_notMem_affineSpan_of_ne_univ [CharZero k] (s : Simplex k P n)
7777
{t : Set (Fin (n + 1))} (ht : t ≠ Set.univ) :
7878
s.centroid ∉ affineSpan k (s.points '' t) := by
@@ -238,7 +238,7 @@ theorem faceOppositeCentroid_mem_affineSpan_face [CharZero k] (s : Simplex k P n
238238
centroid_mem_affineSpan (s.faceOpposite i)
239239

240240
/-- The `faceOppositeCentroid` is the affine combination of the complement vertices with equal
241-
weights `1/n`. -/
241+
weights `1/n`. -/
242242
theorem faceOppositeCentroid_eq_affineCombination (s : Affine.Simplex k P n) (i : Fin (n + 1)) :
243243
s.faceOppositeCentroid i = ((affineCombination k {i}ᶜ s.points) fun _ ↦ (↑n)⁻¹) := by
244244
unfold faceOppositeCentroid
@@ -250,7 +250,7 @@ theorem faceOppositeCentroid_eq_affineCombination (s : Affine.Simplex k P n) (i
250250
rfl
251251

252252
/-- The vector from a vertex to the corresponding `faceOppositeCentroid` equals the average of the
253-
displacements to the other vertices. -/
253+
displacements to the other vertices. -/
254254
theorem faceOppositeCentroid_vsub_point_eq_smul_sum_vsub [CharZero k] (s : Affine.Simplex k P n)
255255
(i : Fin (n + 1)) :
256256
s.faceOppositeCentroid i -ᵥ (s.points i) = (n : k)⁻¹ • ∑ x, (s.points x -ᵥ s.points i) := by
@@ -318,7 +318,7 @@ theorem faceOppositeCentroid_vsub_faceOppositeCentroid [CharZero k] (s : Affine.
318318
rw [this, smul_smul, inv_eq_one_div, one_div_mul_cancel (NeZero.ne (n : k)), one_smul]
319319

320320
/-- The vector from a vertex to its `faceOppositeCentroid` is `(n+1)` times the vector from the
321-
`centroid` to that `faceOppositeCentroid`. -/
321+
`centroid` to that `faceOppositeCentroid`. -/
322322
theorem faceOppositeCentroid_vsub_point_eq_smul_vsub [CharZero k] (s : Simplex k P n)
323323
(i : Fin (n + 1)) :
324324
s.faceOppositeCentroid i -ᵥ s.points i =
@@ -419,7 +419,7 @@ theorem faceOppositeCentroid_eq_smul_vsub_vadd_point [CharZero k] (s : Simplex k
419419
section median
420420

421421
/-- The median of a simplex is the line through a vertex and its corresponding
422-
`faceOppositeCentroid`.
422+
`faceOppositeCentroid`.
423423
-/
424424
def median (s : Simplex k P n) (i : Fin (n + 1)) : AffineSubspace k P :=
425425
line[k, s.points i, s.faceOppositeCentroid i]

Mathlib/MeasureTheory/Function/ConvergenceInDistribution.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ theorem TendstoInDistribution.prodMk_of_tendstoInMeasure_const
296296
simpa [tendstoInMeasure_iff_norm] using hY
297297

298298
/-- **Slutsky's theorem** for a continuous function: if `X n` converges in distribution to `Z`,
299-
`Y n` converges in probability to a constant `c`, and `g` is a continuous function, then
300-
`g (X n, Y n)` converges in distribution to `g (Z, c)`. -/
299+
`Y n` converges in probability to a constant `c`, and `g` is a continuous function, then
300+
`g (X n, Y n)` converges in distribution to `g (Z, c)`. -/
301301
theorem TendstoInDistribution.continuous_comp_prodMk_of_tendstoInMeasure_const {E' F : Type*}
302302
{mE' : MeasurableSpace E'} [SeminormedAddCommGroup E'] [SecondCountableTopology E']
303303
[BorelSpace E']

0 commit comments

Comments
 (0)