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

Definition df-met 19788
 Description: Define the (proper) class of all metrics. (A metric space is the metric's base set paired with the metric; see df-ms 22173. 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 22195, metgt0 22211, metsym 22202, and mettri 22204. (Contributed by NM, 25-Aug-2006.)
Assertion
Ref Expression
df-met Met = (𝑥 ∈ V ↦ {𝑑 ∈ (ℝ ↑𝑚 (𝑥 × 𝑥)) ∣ ∀𝑦𝑥𝑧𝑥 (((𝑦𝑑𝑧) = 0 ↔ 𝑦 = 𝑧) ∧ ∀𝑤𝑥 (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧)))})
Distinct variable group:   𝑥,𝑑,𝑦,𝑧,𝑤

Detailed syntax breakdown of Definition df-met
StepHypRef Expression
1 cme 19780 . 2 class Met
2 vx . . 3 setvar 𝑥
3 cvv 3231 . . 3 class V
4 vy . . . . . . . . . . 11 setvar 𝑦
54cv 1522 . . . . . . . . . 10 class 𝑦
6 vz . . . . . . . . . . 11 setvar 𝑧
76cv 1522 . . . . . . . . . 10 class 𝑧
8 vd . . . . . . . . . . 11 setvar 𝑑
98cv 1522 . . . . . . . . . 10 class 𝑑
105, 7, 9co 6690 . . . . . . . . 9 class (𝑦𝑑𝑧)
11 cc0 9974 . . . . . . . . 9 class 0
1210, 11wceq 1523 . . . . . . . 8 wff (𝑦𝑑𝑧) = 0
134, 6weq 1931 . . . . . . . 8 wff 𝑦 = 𝑧
1412, 13wb 196 . . . . . . 7 wff ((𝑦𝑑𝑧) = 0 ↔ 𝑦 = 𝑧)
15 vw . . . . . . . . . . . 12 setvar 𝑤
1615cv 1522 . . . . . . . . . . 11 class 𝑤
1716, 5, 9co 6690 . . . . . . . . . 10 class (𝑤𝑑𝑦)
1816, 7, 9co 6690 . . . . . . . . . 10 class (𝑤𝑑𝑧)
19 caddc 9977 . . . . . . . . . 10 class +
2017, 18, 19co 6690 . . . . . . . . 9 class ((𝑤𝑑𝑦) + (𝑤𝑑𝑧))
21 cle 10113 . . . . . . . . 9 class
2210, 20, 21wbr 4685 . . . . . . . 8 wff (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧))
232cv 1522 . . . . . . . 8 class 𝑥
2422, 15, 23wral 2941 . . . . . . 7 wff 𝑤𝑥 (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧))
2514, 24wa 383 . . . . . 6 wff (((𝑦𝑑𝑧) = 0 ↔ 𝑦 = 𝑧) ∧ ∀𝑤𝑥 (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧)))
2625, 6, 23wral 2941 . . . . 5 wff 𝑧𝑥 (((𝑦𝑑𝑧) = 0 ↔ 𝑦 = 𝑧) ∧ ∀𝑤𝑥 (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧)))
2726, 4, 23wral 2941 . . . 4 wff 𝑦𝑥𝑧𝑥 (((𝑦𝑑𝑧) = 0 ↔ 𝑦 = 𝑧) ∧ ∀𝑤𝑥 (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧)))
28 cr 9973 . . . . 5 class
2923, 23cxp 5141 . . . . 5 class (𝑥 × 𝑥)
30 cmap 7899 . . . . 5 class 𝑚
3128, 29, 30co 6690 . . . 4 class (ℝ ↑𝑚 (𝑥 × 𝑥))
3227, 8, 31crab 2945 . . 3 class {𝑑 ∈ (ℝ ↑𝑚 (𝑥 × 𝑥)) ∣ ∀𝑦𝑥𝑧𝑥 (((𝑦𝑑𝑧) = 0 ↔ 𝑦 = 𝑧) ∧ ∀𝑤𝑥 (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧)))}
332, 3, 32cmpt 4762 . 2 class (𝑥 ∈ V ↦ {𝑑 ∈ (ℝ ↑𝑚 (𝑥 × 𝑥)) ∣ ∀𝑦𝑥𝑧𝑥 (((𝑦𝑑𝑧) = 0 ↔ 𝑦 = 𝑧) ∧ ∀𝑤𝑥 (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧)))})
341, 33wceq 1523 1 wff Met = (𝑥 ∈ V ↦ {𝑑 ∈ (ℝ ↑𝑚 (𝑥 × 𝑥)) ∣ ∀𝑦𝑥𝑧𝑥 (((𝑦𝑑𝑧) = 0 ↔ 𝑦 = 𝑧) ∧ ∀𝑤𝑥 (𝑦𝑑𝑧) ≤ ((𝑤𝑑𝑦) + (𝑤𝑑𝑧)))})
 Colors of variables: wff setvar class This definition is referenced by:  ismet  22175
 Copyright terms: Public domain W3C validator