Loogle!
Result
Found 72 declarations mentioning Metric.diam.
- Metric.diam π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} [PseudoMetricSpace Ξ±] (s : Set Ξ±) : β - Metric.diam_nonneg π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} {s : Set Ξ±} [PseudoMetricSpace Ξ±] : 0 β€ Metric.diam s - Metric.diam_empty π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} [PseudoMetricSpace Ξ±] : Metric.diam β = 0 - Metric.diam_subsingleton π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} {s : Set Ξ±} [PseudoMetricSpace Ξ±] (hs : s.Subsingleton) : Metric.diam s = 0 - Metric.diam_singleton π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} {x : Ξ±} [PseudoMetricSpace Ξ±] : Metric.diam {x} = 0 - Metric.diam_eq_zero_of_unbounded π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} {s : Set Ξ±} [PseudoMetricSpace Ξ±] (h : Β¬Bornology.IsBounded s) : Metric.diam s = 0 - Metric.diam_one π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} [PseudoMetricSpace Ξ±] [One Ξ±] : Metric.diam 1 = 0 - Metric.diam_univ_of_noncompact π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} [PseudoMetricSpace Ξ±] [ProperSpace Ξ±] [NoncompactSpace Ξ±] : Metric.diam Set.univ = 0 - Metric.diam_zero π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} [PseudoMetricSpace Ξ±] [Zero Ξ±] : Metric.diam 0 = 0 - Metric.diam_mono π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} [PseudoMetricSpace Ξ±] {s t : Set Ξ±} (h : s β t) (ht : Bornology.IsBounded t) : Metric.diam s β€ Metric.diam t - Metric.diam_pair π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} {x y : Ξ±} [PseudoMetricSpace Ξ±] : Metric.diam {x, y} = dist x y - Metric.diam_pos π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} {s : Set Ξ±} [MetricSpace Ξ±] (hs1 : s.Nontrivial) (hs2 : Bornology.IsBounded s) : 0 < Metric.diam s - Metric.dist_le_diam_of_mem π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} {s : Set Ξ±} {x y : Ξ±} [PseudoMetricSpace Ξ±] (h : Bornology.IsBounded s) (hx : x β s) (hy : y β s) : dist x y β€ Metric.diam s - Metric.diam_union' π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} {s : Set Ξ±} [PseudoMetricSpace Ξ±] {t : Set Ξ±} (h : (s β© t).Nonempty) : Metric.diam (s βͺ t) β€ Metric.diam s + Metric.diam t - Metric.diam_le_of_forall_dist_le_of_nonempty π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} {s : Set Ξ±} [PseudoMetricSpace Ξ±] (hs : s.Nonempty) {C : β} (h : β x β s, β y β s, dist x y β€ C) : Metric.diam s β€ C - Metric.diam_ball π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} {x : Ξ±} [PseudoMetricSpace Ξ±] {r : β} (h : 0 β€ r) : Metric.diam (Metric.ball x r) β€ 2 * r - Metric.diam_closedBall π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} {x : Ξ±} [PseudoMetricSpace Ξ±] {r : β} (h : 0 β€ r) : Metric.diam (Metric.closedBall x r) β€ 2 * r - Metric.diam_le_of_forall_dist_le π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} {s : Set Ξ±} [PseudoMetricSpace Ξ±] {C : β} (hβ : 0 β€ C) (h : β x β s, β y β s, dist x y β€ C) : Metric.diam s β€ C - Metric.diam_triple π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} {x y z : Ξ±} [PseudoMetricSpace Ξ±] : Metric.diam {x, y, z} = max (max (dist x y) (dist x z)) (dist y z) - Metric.dist_le_diam_of_mem' π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} {s : Set Ξ±} {x y : Ξ±} [PseudoMetricSpace Ξ±] (h : Metric.ediam s β β€) (hx : x β s) (hy : y β s) : dist x y β€ Metric.diam s - Metric.diam_le_of_subset_closedBall π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} {s : Set Ξ±} {x : Ξ±} [PseudoMetricSpace Ξ±] {r : β} (hr : 0 β€ r) (h : s β Metric.closedBall x r) : Metric.diam s β€ 2 * r - Metric.diam_union π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} {s : Set Ξ±} {x y : Ξ±} [PseudoMetricSpace Ξ±] {t : Set Ξ±} (xs : x β s) (yt : y β t) : Metric.diam (s βͺ t) β€ Metric.diam s + dist x y + Metric.diam t - CompactSpace.lebesgue_number_lemma π Mathlib.Topology.MetricSpace.Bounded
{X : Type u_2} [MetricSpace X] [CompactSpace X] {ΞΉ : Type u_3} (U : ΞΉ β Set X) (hU : β (i : ΞΉ), IsOpen (U i)) (hU' : β i, U i = Set.univ) : β Ξ΅ > 0, β (S : Set X), S.Nonempty β Metric.diam S β€ Ξ΅ β β i, S β U i - Metric.nonempty_iInter_of_nonempty_biInter π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} [PseudoMetricSpace Ξ±] [CompleteSpace Ξ±] {s : β β Set Ξ±} (hs : β (n : β), IsClosed (s n)) (h's : β (n : β), Bornology.IsBounded (s n)) (h : β (N : β), (β n, β (_ : n β€ N), s n).Nonempty) (h' : Filter.Tendsto (fun n => Metric.diam (s n)) Filter.atTop (nhds 0)) : (β n, s n).Nonempty - IsComplete.nonempty_iInter_of_nonempty_biInter π Mathlib.Topology.MetricSpace.Bounded
{Ξ± : Type u} [PseudoMetricSpace Ξ±] {s : β β Set Ξ±} (h0 : IsComplete (s 0)) (hs : β (n : β), IsClosed (s n)) (h's : β (n : β), Bornology.IsBounded (s n)) (h : β (N : β), (β n, β (_ : n β€ N), s n).Nonempty) (h' : Filter.Tendsto (fun n => Metric.diam (s n)) Filter.atTop (nhds 0)) : (β n, s n).Nonempty - IsometryEquiv.diam_univ π Mathlib.Topology.MetricSpace.Isometry
{Ξ± : Type u} {Ξ² : Type v} [PseudoMetricSpace Ξ±] [PseudoMetricSpace Ξ²] (h : Ξ± βα΅’ Ξ²) : Metric.diam Set.univ = Metric.diam Set.univ - Isometry.diam_range π Mathlib.Topology.MetricSpace.Isometry
{Ξ± : Type u} {Ξ² : Type v} [PseudoMetricSpace Ξ±] [PseudoMetricSpace Ξ²] {f : Ξ± β Ξ²} (hf : Isometry f) : Metric.diam (Set.range f) = Metric.diam Set.univ - Isometry.diam_image π Mathlib.Topology.MetricSpace.Isometry
{Ξ± : Type u} {Ξ² : Type v} [PseudoMetricSpace Ξ±] [PseudoMetricSpace Ξ²] {f : Ξ± β Ξ²} (hf : Isometry f) (s : Set Ξ±) : Metric.diam (f '' s) = Metric.diam s - IsometryClass.diam_range π Mathlib.Topology.MetricSpace.Isometry
{F : Type u_1} {Ξ± : Type u} {Ξ² : Type v} [PseudoMetricSpace Ξ±] [PseudoMetricSpace Ξ²] [FunLike F Ξ± Ξ²] [IsometryClass F Ξ± Ξ²] (f : F) : Metric.diam (Set.range βf) = Metric.diam Set.univ - IsometryClass.diam_image π Mathlib.Topology.MetricSpace.Isometry
{F : Type u_1} {Ξ± : Type u} {Ξ² : Type v} [PseudoMetricSpace Ξ±] [PseudoMetricSpace Ξ²] [FunLike F Ξ± Ξ²] [IsometryClass F Ξ± Ξ²] (f : F) (s : Set Ξ±) : Metric.diam (βf '' s) = Metric.diam s - IsometryEquiv.diam_image π Mathlib.Topology.MetricSpace.Isometry
{Ξ± : Type u} {Ξ² : Type v} [PseudoMetricSpace Ξ±] [PseudoMetricSpace Ξ²] (h : Ξ± βα΅’ Ξ²) (s : Set Ξ±) : Metric.diam (βh '' s) = Metric.diam s - IsometryEquiv.diam_preimage π Mathlib.Topology.MetricSpace.Isometry
{Ξ± : Type u} {Ξ² : Type v} [PseudoMetricSpace Ξ±] [PseudoMetricSpace Ξ²] (h : Ξ± βα΅’ Ξ²) (s : Set Ξ²) : Metric.diam (βh β»ΒΉ' s) = Metric.diam s - Metric.diam_closure π Mathlib.Topology.Instances.ENNReal.Lemmas
{Ξ± : Type u_4} [PseudoMetricSpace Ξ±] (s : Set Ξ±) : Metric.diam (closure s) = Metric.diam s - Real.diam_Icc π Mathlib.Topology.Instances.ENNReal.Lemmas
{a b : β} (h : a β€ b) : Metric.diam (Set.Icc a b) = b - a - Real.diam_Ico π Mathlib.Topology.Instances.ENNReal.Lemmas
{a b : β} (h : a β€ b) : Metric.diam (Set.Ico a b) = b - a - Real.diam_Ioc π Mathlib.Topology.Instances.ENNReal.Lemmas
{a b : β} (h : a β€ b) : Metric.diam (Set.Ioc a b) = b - a - Real.diam_Ioo π Mathlib.Topology.Instances.ENNReal.Lemmas
{a b : β} (h : a β€ b) : Metric.diam (Set.Ioo a b) = b - a - Real.diam_eq π Mathlib.Topology.Instances.ENNReal.Lemmas
{s : Set β} (h : Bornology.IsBounded s) : Metric.diam s = sSup s - sInf s - LipschitzWith.diam_image_le π Mathlib.Topology.MetricSpace.Lipschitz
{Ξ± : Type u} {Ξ² : Type v} [PseudoMetricSpace Ξ±] [PseudoMetricSpace Ξ²] {K : NNReal} {f : Ξ± β Ξ²} (hf : LipschitzWith K f) (s : Set Ξ±) (hs : Bornology.IsBounded s) : Metric.diam (f '' s) β€ βK * Metric.diam s - diam_smul π Mathlib.Topology.MetricSpace.IsometricSMul
{M : Type u} {X : Type w} [PseudoMetricSpace X] [SMul M X] [IsIsometricSMul M X] (c : M) (s : Set X) : Metric.diam (c β’ s) = Metric.diam s - diam_vadd π Mathlib.Topology.MetricSpace.IsometricSMul
{M : Type u} {X : Type w} [PseudoMetricSpace X] [VAdd M X] [IsIsometricVAdd M X] (c : M) (s : Set X) : Metric.diam (c +α΅₯ s) = Metric.diam s - Dilation.diam_range π Mathlib.Topology.MetricSpace.Dilation
{Ξ± : Type u_1} {Ξ² : Type u_2} {F : Type u_4} [PseudoMetricSpace Ξ±] [PseudoMetricSpace Ξ²] [FunLike F Ξ± Ξ²] [DilationClass F Ξ± Ξ²] (f : F) : Metric.diam (Set.range βf) = β(Dilation.ratio f) * Metric.diam Set.univ - Dilation.diam_image π Mathlib.Topology.MetricSpace.Dilation
{Ξ± : Type u_1} {Ξ² : Type u_2} {F : Type u_4} [PseudoMetricSpace Ξ±] [PseudoMetricSpace Ξ²] [FunLike F Ξ± Ξ²] [DilationClass F Ξ± Ξ²] (f : F) (s : Set Ξ±) : Metric.diam (βf '' s) = β(Dilation.ratio f) * Metric.diam s - Metric.diam_ball_eq π Mathlib.Analysis.Normed.Module.Basic
{E : Type u_6} [NormedAddCommGroup E] [NormedSpace β E] [Nontrivial E] (x : E) {r : β} (hr : 0 β€ r) : Metric.diam (Metric.ball x r) = 2 * r - Metric.diam_closedBall_eq π Mathlib.Analysis.Normed.Module.Basic
{E : Type u_6} [NormedAddCommGroup E] [NormedSpace β E] [Nontrivial E] (x : E) {r : β} (hr : 0 β€ r) : Metric.diam (Metric.closedBall x r) = 2 * r - Metric.diam_sphere_eq π Mathlib.Analysis.Normed.Module.Basic
{E : Type u_6} [NormedAddCommGroup E] [NormedSpace β E] [Nontrivial E] (x : E) {r : β} (hr : 0 β€ r) : Metric.diam (Metric.sphere x r) = 2 * r - Metric.hausdorffDist_le_diam π Mathlib.Topology.MetricSpace.HausdorffDistance
{Ξ± : Type u} [PseudoMetricSpace Ξ±] {s t : Set Ξ±} (hs : s.Nonempty) (bs : Bornology.IsBounded s) (ht : t.Nonempty) (bt : Bornology.IsBounded t) : Metric.hausdorffDist s t β€ Metric.diam (s βͺ t) - Metric.dist_le_infDist_add_diam π Mathlib.Topology.MetricSpace.HausdorffDistance
{Ξ± : Type u} [PseudoMetricSpace Ξ±] {s : Set Ξ±} {x y : Ξ±} (hs : Bornology.IsBounded s) (hy : y β s) : dist x y β€ Metric.infDist x s + Metric.diam s - Metric.diam_cthickening_le π Mathlib.Topology.MetricSpace.Thickening
{Ξ΅ : β} {Ξ± : Type u_2} [PseudoMetricSpace Ξ±] (s : Set Ξ±) (hΞ΅ : 0 β€ Ξ΅) : Metric.diam (Metric.cthickening Ξ΅ s) β€ Metric.diam s + 2 * Ξ΅ - Metric.diam_thickening_le π Mathlib.Topology.MetricSpace.Thickening
{Ξ΅ : β} {Ξ± : Type u_2} [PseudoMetricSpace Ξ±] (s : Set Ξ±) (hΞ΅ : 0 β€ Ξ΅) : Metric.diam (Metric.thickening Ξ΅ s) β€ Metric.diam s + 2 * Ξ΅ - SemilinearIsometryClass.diam_range π Mathlib.Analysis.Normed.Operator.LinearIsometry
{R : Type u_1} {Rβ : Type u_2} {E : Type u_4} {Eβ : Type u_5} {π : Type u_8} [Semiring R] [Semiring Rβ] {Οββ : R β+* Rβ} [SeminormedAddCommGroup E] [SeminormedAddCommGroup Eβ] [Module R E] [Module Rβ Eβ] [FunLike π E Eβ] [SemilinearIsometryClass π Οββ E Eβ] (f : π) : Metric.diam (Set.range βf) = Metric.diam Set.univ - SemilinearIsometryClass.diam_image π Mathlib.Analysis.Normed.Operator.LinearIsometry
{R : Type u_1} {Rβ : Type u_2} {E : Type u_4} {Eβ : Type u_5} {π : Type u_8} [Semiring R] [Semiring Rβ] {Οββ : R β+* Rβ} [SeminormedAddCommGroup E] [SeminormedAddCommGroup Eβ] [Module R E] [Module Rβ Eβ] [FunLike π E Eβ] [SemilinearIsometryClass π Οββ E Eβ] (f : π) (s : Set E) : Metric.diam (βf '' s) = Metric.diam s - LinearIsometry.diam_range π Mathlib.Analysis.Normed.Operator.LinearIsometry
{R : Type u_1} {Rβ : Type u_2} {E : Type u_4} {Eβ : Type u_5} [Semiring R] [Semiring Rβ] {Οββ : R β+* Rβ} [SeminormedAddCommGroup E] [SeminormedAddCommGroup Eβ] [Module R E] [Module Rβ Eβ] (f : E βββα΅’[Οββ] Eβ) : Metric.diam (Set.range βf) = Metric.diam Set.univ - LinearIsometry.diam_image π Mathlib.Analysis.Normed.Operator.LinearIsometry
{R : Type u_1} {Rβ : Type u_2} {E : Type u_4} {Eβ : Type u_5} [Semiring R] [Semiring Rβ] {Οββ : R β+* Rβ} [SeminormedAddCommGroup E] [SeminormedAddCommGroup Eβ] [Module R E] [Module Rβ Eβ] (f : E βββα΅’[Οββ] Eβ) (s : Set E) : Metric.diam (βf '' s) = Metric.diam s - LinearIsometryEquiv.diam_image π Mathlib.Analysis.Normed.Operator.LinearIsometry
{R : Type u_1} {Rβ : Type u_2} {E : Type u_4} {Eβ : Type u_5} [Semiring R] [Semiring Rβ] {Οββ : R β+* Rβ} {Οββ : Rβ β+* R} [RingHomInvPair Οββ Οββ] [RingHomInvPair Οββ Οββ] [SeminormedAddCommGroup E] [SeminormedAddCommGroup Eβ] [Module R E] [Module Rβ Eβ] (e : E βββα΅’[Οββ] Eβ) (s : Set E) : Metric.diam (βe '' s) = Metric.diam s - diam_smulβ π Mathlib.Analysis.Normed.Module.Ball.Pointwise
{π : Type u_1} {E : Type u_2} [NormedDivisionRing π] [SeminormedAddCommGroup E] [Module π E] [NormSMulClass π E] (c : π) (x : Set E) : Metric.diam (c β’ x) = βcβ * Metric.diam x - Convexity.StdSimplex.diam_range_toFun_comp_weights_subset_closedBall π Mathlib.Geometry.Convex.ConvexSpace.CompactSpaceStdSimplex
(M : Type u_1) [Fintype M] : Metric.diam (Set.range fun t => βt.weights) β€ 1 - Convexity.StdSimplex.diam_range_toFun_comp_weights_subset_closedBall_eq_one π Mathlib.Geometry.Convex.ConvexSpace.CompactSpaceStdSimplex
(M : Type u_1) [Fintype M] [Nontrivial M] : Metric.diam (Set.range fun t => βt.weights) = 1 - Convexity.StdSimplex.diam_range_toFun_comp_weights_subset_closedBall_eq_zero π Mathlib.Geometry.Convex.ConvexSpace.CompactSpaceStdSimplex
(M : Type u_1) [Fintype M] [Subsingleton M] : Metric.diam (Set.range fun t => βt.weights) = 0 - diam_stdSimplex_le π Mathlib.Analysis.Convex.StdSimplex
{ΞΉ : Type u_1} [Fintype ΞΉ] : Metric.diam (stdSimplex β ΞΉ) β€ 1 - diam_stdSimplex π Mathlib.Analysis.Convex.StdSimplex
{ΞΉ : Type u_1} [Fintype ΞΉ] [Nontrivial ΞΉ] : Metric.diam (stdSimplex β ΞΉ) = 1 - diam_stdSimplex_of_subsingleton π Mathlib.Analysis.Convex.StdSimplex
{ΞΉ : Type u_1} [Fintype ΞΉ] [Subsingleton ΞΉ] : Metric.diam (stdSimplex β ΞΉ) = 0 - convexHull_diam π Mathlib.Analysis.Normed.Module.Convex
{E : Type u_1} [SeminormedAddCommGroup E] [NormedSpace β E] (s : Set E) : Metric.diam ((convexHull β) s) = Metric.diam s - AffineIsometry.diam_range π Mathlib.Analysis.Normed.Affine.Isometry
{π : Type u_1} {V : Type u_2} {Vβ : Type u_5} {P : Type u_10} {Pβ : Type u_11} [NormedField π] [SeminormedAddCommGroup V] [NormedSpace π V] [PseudoMetricSpace P] [NormedAddTorsor V P] [SeminormedAddCommGroup Vβ] [NormedSpace π Vβ] [PseudoMetricSpace Pβ] [NormedAddTorsor Vβ Pβ] (f : P βα΅β±[π] Pβ) : Metric.diam (Set.range βf) = Metric.diam Set.univ - AffineIsometry.diam_image π Mathlib.Analysis.Normed.Affine.Isometry
{π : Type u_1} {V : Type u_2} {Vβ : Type u_5} {P : Type u_10} {Pβ : Type u_11} [NormedField π] [SeminormedAddCommGroup V] [NormedSpace π V] [PseudoMetricSpace P] [NormedAddTorsor V P] [SeminormedAddCommGroup Vβ] [NormedSpace π Vβ] [PseudoMetricSpace Pβ] [NormedAddTorsor Vβ Pβ] (f : P βα΅β±[π] Pβ) (s : Set P) : Metric.diam (βf '' s) = Metric.diam s - AffineIsometryEquiv.diam_image π Mathlib.Analysis.Normed.Affine.Isometry
{π : Type u_1} {V : Type u_2} {Vβ : Type u_5} {P : Type u_10} {Pβ : Type u_11} [NormedField π] [SeminormedAddCommGroup V] [NormedSpace π V] [PseudoMetricSpace P] [NormedAddTorsor V P] [SeminormedAddCommGroup Vβ] [NormedSpace π Vβ] [PseudoMetricSpace Pβ] [NormedAddTorsor Vβ Pβ] (e : P βα΅β±[π] Pβ) (s : Set P) : Metric.diam (βe '' s) = Metric.diam s - BoxIntegral.Box.diam_Icc_le_of_distortion_le π Mathlib.Analysis.BoxIntegral.Box.Basic
{ΞΉ : Type u_1} [Fintype ΞΉ] (I : BoxIntegral.Box ΞΉ) (i : ΞΉ) {c : NNReal} (h : I.distortion β€ c) : Metric.diam (BoxIntegral.Box.Icc I) β€ βc * (I.upper i - I.lower i) - BoxIntegral.TaggedPrepartition.IsSubordinate.diam_le π Mathlib.Analysis.BoxIntegral.Partition.Tagged
{ΞΉ : Type u_1} {I J : BoxIntegral.Box ΞΉ} {r : (ΞΉ β β) β β(Set.Ioi 0)} [Fintype ΞΉ] {Ο : BoxIntegral.TaggedPrepartition I} (h : Ο.IsSubordinate r) (hJ : J β Ο.boxes) : Metric.diam (BoxIntegral.Box.Icc J) β€ 2 * β(r (Ο.tag J)) - BoxIntegral.unitPartition.diam_boxIcc π Mathlib.Analysis.BoxIntegral.UnitPartition
{ΞΉ : Type u_1} (n : β) [NeZero n] [Fintype ΞΉ] (Ξ½ : ΞΉ β β€) : Metric.diam (BoxIntegral.Box.Icc (BoxIntegral.unitPartition.box n Ξ½)) β€ 1 / βn - MeasureTheory.SeparableSpace.exists_measurable_partition_diam_le π Mathlib.MeasureTheory.Measure.LevyProkhorovMetric
(Ξ© : Type u_1) [PseudoMetricSpace Ξ©] [MeasurableSpace Ξ©] [OpensMeasurableSpace Ξ©] [TopologicalSpace.SeparableSpace Ξ©] {Ξ΅ : β} (Ξ΅_pos : 0 < Ξ΅) : β As, (β (n : β), MeasurableSet (As n)) β§ (β (n : β), Bornology.IsBounded (As n)) β§ (β (n : β), Metric.diam (As n) β€ Ξ΅) β§ β n, As n = Set.univ β§ Pairwise fun n m => Disjoint (As n) (As m) - GromovHausdorff.HD_candidatesBDist_le π Mathlib.Topology.MetricSpace.GromovHausdorffRealized
{X : Type u} {Y : Type v} [MetricSpace X] [MetricSpace Y] [CompactSpace X] [CompactSpace Y] [Nonempty X] [Nonempty Y] : GromovHausdorff.HD (GromovHausdorff.candidatesBDist X Y) β€ Metric.diam Set.univ + 1 + Metric.diam Set.univ - GromovHausdorff.totallyBounded π Mathlib.Topology.MetricSpace.GromovHausdorff
{t : Set GromovHausdorff.GHSpace} {C : β} {u : β β β} {K : β β β} (ulim : Filter.Tendsto u Filter.atTop (nhds 0)) (hdiam : β p β t, Metric.diam Set.univ β€ C) (hcov : β p β t, β (n : β), β s, Cardinal.mk βs β€ β(K n) β§ Set.univ β β x β s, Metric.ball x (u n)) : TotallyBounded t
About
Loogle searches Lean and Mathlib definitions and theorems.
You can use Loogle from within the Lean4 VSCode language extension
using the Loogle command from the command palette. You can also try the
#loogle command from LeanSearchClient,
the CLI version, the Loogle
VS Code extension, the lean.nvim
integration or the Zulip bot.
Usage
Loogle finds definitions and lemmas in various ways:
By constant:
πReal.sin
finds all lemmas whose statement somehow mentions the sine function.By lemma name substring:
π"differ"
finds all lemmas that have"differ"somewhere in their lemma name.By subexpression:
π_ * (_ ^ _)
finds all lemmas whose statements somewhere include a product where the second argument is raised to some power.The pattern can also be non-linear, as in
πReal.sqrt ?a * Real.sqrt ?aIf the pattern has parameters, they are matched in any order. Both of these will find
List.map:
π(?a -> ?b) -> List ?a -> List ?b
πList ?a -> (?a -> ?b) -> List ?bBy main conclusion:
π|- tsum _ = _ * tsum _
finds all lemmas where the conclusion (the subexpression to the right of allβandβ) has the given shape.As before, if the pattern has parameters, they are matched against the hypotheses of the lemma in any order; for example,
π|- _ < _ β tsum _ < tsum _
will findtsum_lt_tsumeven though the hypothesisf i < g iis not the last.You can filter for definitions vs theorems: Using
β’ (_ : Type _)finds all definitions which provide data whileβ’ (_ : Prop)finds all theorems (and definitions of proofs).
If you pass more than one such search filter, separated by commas
Loogle will return lemmas which match all of them. The
search
π Real.sin, "two", tsum, _ * _, _ ^ _, |- _ < _ β _
would find all lemmas which mention the constants Real.sin
and tsum, have "two" as a substring of the
lemma name, include a product and a power somewhere in the type,
and have a hypothesis of the form _ < _ (if
there were any such lemmas). Metavariables (?a) are
assigned independently in each filter.
The #lucky button will directly send you to the
documentation of the first hit.
Source code
You can find the source code for this service at https://github.com/nomeata/loogle. The https://loogle.lean-lang.org/ service is provided by the Lean FRO. Please review the Lean FRO Terms of Use and Privacy Policy.
This is Loogle revision 9f11169 serving mathlib revision ce5dd8c