Skip to content

Commit 3234d21

Browse files
committed
chore(Analysis/Normed/Group/Uniform): fix statement from leanprover-community#35247 (leanprover-community#35264)
PR leanprover-community#35247 (merged just an hour ago) introduced a new declaration, but the name wasn't quite right (should be `mul_le_norm` in analogy to `le_mul_norm` above), and the explicit `f` argument should be implicit since the lemma is an `iff`. I can add deprecations if desired, although given that the previous PR was merged just now, I think it's probably not necessary. Co-authored-by: tb65536 <thomas.l.browning@gmail.com>
1 parent 515b2ee commit 3234d21

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Mathlib/Analysis/Normed/Group/Uniform.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ theorem AntilipschitzWith.le_mul_norm' {f : E → F} {K : ℝ≥0} (h : Antilips
154154
(hf : f 1 = 1) (x) : ‖x‖ ≤ K * ‖f x‖ := by
155155
simpa only [dist_one_right, hf] using h.le_mul_dist x 1
156156

157-
@[to_additive antilipschitzWith_iff_exists_mul_le_mul]
158-
theorem antilipschitzWith_iff_exists_mul_le_mul' [MonoidHomClass 𝓕 E F] (f : 𝓕) :
157+
@[to_additive antilipschitzWith_iff_exists_mul_le_norm]
158+
theorem antilipschitzWith_iff_exists_mul_le_norm' [MonoidHomClass 𝓕 E F] {f : 𝓕} :
159159
(∃ K, AntilipschitzWith K f) ↔ ∃ c > 0, ∀ x, c * ‖x‖ ≤ ‖f x‖ := by
160160
refine ⟨fun ⟨K, hK⟩ ↦ ⟨(K + 1)⁻¹, by positivity, fun x ↦ ?_⟩, fun ⟨c, hc0, hc⟩ ↦
161161
⟨⟨c⁻¹, by positivity⟩, MonoidHomClass.antilipschitz_of_bound f fun x ↦ ?_⟩⟩

Mathlib/Topology/MetricSpace/Antilipschitz.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ variable {α β γ : Type*}
3333

3434
/-- We say that `f : α → β` is `AntilipschitzWith K` if for any two points `x`, `y` we have
3535
`edist x y ≤ K * edist (f x) (f y)`. This can also be used as a predicate for bounded below
36-
linear operators, see `antilipschitzWith_iff_exists_mul_le_mul`. -/
36+
linear operators, see `antilipschitzWith_iff_exists_mul_le_norm`. -/
3737
def AntilipschitzWith [PseudoEMetricSpace α] [PseudoEMetricSpace β] (K : ℝ≥0) (f : α → β) :=
3838
∀ x y, edist x y ≤ K * edist (f x) (f y)
3939

0 commit comments

Comments
 (0)