MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  df-met Structured version   Visualization version   GIF version

Definition df-met 20600
Description: Define the (proper) class of all metrics. (A metric space is the metric's base set paired with the metric; see df-ms 23483. However, we will often also call the metric itself a "metric space".) Equivalent to Definition 14-1.1 of [Gleason] p. 223. The 4 properties in Gleason's definition are shown by met0 23505, metgt0 23521, metsym 23512, and mettri 23514. (Contributed by NM, 25-Aug-2006.)
Assertion
Ref Expression
df-met Met = (𝑥 ∈ V ↦ {𝑑 ∈ (ℝ ↑m (𝑥 × 𝑥)) ∣ ∀𝑦𝑥𝑧𝑥 (((𝑦𝑑𝑧) = 0 ↔ 𝑦 = 𝑧) ∧ ∀𝑤𝑥 (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧)))})
Distinct variable group:   𝑥,𝑑,𝑦,𝑧,𝑤

Detailed syntax breakdown of Definition df-met
StepHypRef Expression
1 cmet 20592 . 2 class Met
2 vx . . 3 setvar 𝑥
3 cvv 3433 . . 3 class V
4 vy . . . . . . . . . . 11 setvar 𝑦
54cv 1538 . . . . . . . . . 10 class 𝑦
6 vz . . . . . . . . . . 11 setvar 𝑧
76cv 1538 . . . . . . . . . 10 class 𝑧
8 vd . . . . . . . . . . 11 setvar 𝑑
98cv 1538 . . . . . . . . . 10 class 𝑑
105, 7, 9co 7284 . . . . . . . . 9 class (𝑦𝑑𝑧)
11 cc0 10880 . . . . . . . . 9 class 0
1210, 11wceq 1539 . . . . . . . 8 wff (𝑦𝑑𝑧) = 0
134, 6weq 1967 . . . . . . . 8 wff 𝑦 = 𝑧
1412, 13wb 205 . . . . . . 7 wff ((𝑦𝑑𝑧) = 0 ↔ 𝑦 = 𝑧)
15 vw . . . . . . . . . . . 12 setvar 𝑤
1615cv 1538 . . . . . . . . . . 11 class 𝑤
1716, 5, 9co 7284 . . . . . . . . . 10 class (𝑤𝑑𝑦)
1816, 7, 9co 7284 . . . . . . . . . 10 class (𝑤𝑑𝑧)
19 caddc 10883 . . . . . . . . . 10 class +
2017, 18, 19co 7284 . . . . . . . . 9 class ((𝑤𝑑𝑦) + (𝑤𝑑𝑧))
21 cle 11019 . . . . . . . . 9 class
2210, 20, 21wbr 5075 . . . . . . . 8 wff (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧))
232cv 1538 . . . . . . . 8 class 𝑥
2422, 15, 23wral 3065 . . . . . . 7 wff 𝑤𝑥 (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧))
2514, 24wa 396 . . . . . 6 wff (((𝑦𝑑𝑧) = 0 ↔ 𝑦 = 𝑧) ∧ ∀𝑤𝑥 (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧)))
2625, 6, 23wral 3065 . . . . 5 wff 𝑧𝑥 (((𝑦𝑑𝑧) = 0 ↔ 𝑦 = 𝑧) ∧ ∀𝑤𝑥 (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧)))
2726, 4, 23wral 3065 . . . 4 wff 𝑦𝑥𝑧𝑥 (((𝑦𝑑𝑧) = 0 ↔ 𝑦 = 𝑧) ∧ ∀𝑤𝑥 (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧)))
28 cr 10879 . . . . 5 class
2923, 23cxp 5588 . . . . 5 class (𝑥 × 𝑥)
30 cmap 8624 . . . . 5 class m
3128, 29, 30co 7284 . . . 4 class (ℝ ↑m (𝑥 × 𝑥))
3227, 8, 31crab 3069 . . 3 class {𝑑 ∈ (ℝ ↑m (𝑥 × 𝑥)) ∣ ∀𝑦𝑥𝑧𝑥 (((𝑦𝑑𝑧) = 0 ↔ 𝑦 = 𝑧) ∧ ∀𝑤𝑥 (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧)))}
332, 3, 32cmpt 5158 . 2 class (𝑥 ∈ V ↦ {𝑑 ∈ (ℝ ↑m (𝑥 × 𝑥)) ∣ ∀𝑦𝑥𝑧𝑥 (((𝑦𝑑𝑧) = 0 ↔ 𝑦 = 𝑧) ∧ ∀𝑤𝑥 (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧)))})
341, 33wceq 1539 1 wff Met = (𝑥 ∈ V ↦ {𝑑 ∈ (ℝ ↑m (𝑥 × 𝑥)) ∣ ∀𝑦𝑥𝑧𝑥 (((𝑦𝑑𝑧) = 0 ↔ 𝑦 = 𝑧) ∧ ∀𝑤𝑥 (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧)))})
Colors of variables: wff setvar class
This definition is referenced by:  ismet  23485
  Copyright terms: Public domain W3C validator