Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > metdsf | Structured version Visualization version GIF version |
Description: The distance from a point to a set is a nonnegative extended real number. (Contributed by Mario Carneiro, 14-Feb-2015.) (Revised by Mario Carneiro, 4-Sep-2015.) (Proof shortened by AV, 30-Sep-2020.) |
Ref | Expression |
---|---|
metdscn.f | ⊢ 𝐹 = (𝑥 ∈ 𝑋 ↦ inf(ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)), ℝ*, < )) |
Ref | Expression |
---|---|
metdsf | ⊢ ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑆 ⊆ 𝑋) → 𝐹:𝑋⟶(0[,]+∞)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | simplll 773 | . . . . . . 7 ⊢ ((((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑆 ⊆ 𝑋) ∧ 𝑥 ∈ 𝑋) ∧ 𝑦 ∈ 𝑆) → 𝐷 ∈ (∞Met‘𝑋)) | |
2 | simplr 767 | . . . . . . 7 ⊢ ((((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑆 ⊆ 𝑋) ∧ 𝑥 ∈ 𝑋) ∧ 𝑦 ∈ 𝑆) → 𝑥 ∈ 𝑋) | |
3 | simplr 767 | . . . . . . . 8 ⊢ (((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑆 ⊆ 𝑋) ∧ 𝑥 ∈ 𝑋) → 𝑆 ⊆ 𝑋) | |
4 | 3 | sselda 3967 | . . . . . . 7 ⊢ ((((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑆 ⊆ 𝑋) ∧ 𝑥 ∈ 𝑋) ∧ 𝑦 ∈ 𝑆) → 𝑦 ∈ 𝑋) |
5 | xmetcl 22935 | . . . . . . 7 ⊢ ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑋) → (𝑥𝐷𝑦) ∈ ℝ*) | |
6 | 1, 2, 4, 5 | syl3anc 1367 | . . . . . 6 ⊢ ((((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑆 ⊆ 𝑋) ∧ 𝑥 ∈ 𝑋) ∧ 𝑦 ∈ 𝑆) → (𝑥𝐷𝑦) ∈ ℝ*) |
7 | eqid 2821 | . . . . . 6 ⊢ (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)) = (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)) | |
8 | 6, 7 | fmptd 6873 | . . . . 5 ⊢ (((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑆 ⊆ 𝑋) ∧ 𝑥 ∈ 𝑋) → (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)):𝑆⟶ℝ*) |
9 | 8 | frnd 6516 | . . . 4 ⊢ (((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑆 ⊆ 𝑋) ∧ 𝑥 ∈ 𝑋) → ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)) ⊆ ℝ*) |
10 | infxrcl 12720 | . . . 4 ⊢ (ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)) ⊆ ℝ* → inf(ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)), ℝ*, < ) ∈ ℝ*) | |
11 | 9, 10 | syl 17 | . . 3 ⊢ (((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑆 ⊆ 𝑋) ∧ 𝑥 ∈ 𝑋) → inf(ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)), ℝ*, < ) ∈ ℝ*) |
12 | xmetge0 22948 | . . . . . . 7 ⊢ ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑋) → 0 ≤ (𝑥𝐷𝑦)) | |
13 | 1, 2, 4, 12 | syl3anc 1367 | . . . . . 6 ⊢ ((((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑆 ⊆ 𝑋) ∧ 𝑥 ∈ 𝑋) ∧ 𝑦 ∈ 𝑆) → 0 ≤ (𝑥𝐷𝑦)) |
14 | 13 | ralrimiva 3182 | . . . . 5 ⊢ (((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑆 ⊆ 𝑋) ∧ 𝑥 ∈ 𝑋) → ∀𝑦 ∈ 𝑆 0 ≤ (𝑥𝐷𝑦)) |
15 | ovex 7183 | . . . . . . 7 ⊢ (𝑥𝐷𝑦) ∈ V | |
16 | 15 | rgenw 3150 | . . . . . 6 ⊢ ∀𝑦 ∈ 𝑆 (𝑥𝐷𝑦) ∈ V |
17 | breq2 5063 | . . . . . . 7 ⊢ (𝑧 = (𝑥𝐷𝑦) → (0 ≤ 𝑧 ↔ 0 ≤ (𝑥𝐷𝑦))) | |
18 | 7, 17 | ralrnmptw 6855 | . . . . . 6 ⊢ (∀𝑦 ∈ 𝑆 (𝑥𝐷𝑦) ∈ V → (∀𝑧 ∈ ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦))0 ≤ 𝑧 ↔ ∀𝑦 ∈ 𝑆 0 ≤ (𝑥𝐷𝑦))) |
19 | 16, 18 | ax-mp 5 | . . . . 5 ⊢ (∀𝑧 ∈ ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦))0 ≤ 𝑧 ↔ ∀𝑦 ∈ 𝑆 0 ≤ (𝑥𝐷𝑦)) |
20 | 14, 19 | sylibr 236 | . . . 4 ⊢ (((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑆 ⊆ 𝑋) ∧ 𝑥 ∈ 𝑋) → ∀𝑧 ∈ ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦))0 ≤ 𝑧) |
21 | 0xr 10682 | . . . . 5 ⊢ 0 ∈ ℝ* | |
22 | infxrgelb 12722 | . . . . 5 ⊢ ((ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)) ⊆ ℝ* ∧ 0 ∈ ℝ*) → (0 ≤ inf(ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)), ℝ*, < ) ↔ ∀𝑧 ∈ ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦))0 ≤ 𝑧)) | |
23 | 9, 21, 22 | sylancl 588 | . . . 4 ⊢ (((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑆 ⊆ 𝑋) ∧ 𝑥 ∈ 𝑋) → (0 ≤ inf(ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)), ℝ*, < ) ↔ ∀𝑧 ∈ ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦))0 ≤ 𝑧)) |
24 | 20, 23 | mpbird 259 | . . 3 ⊢ (((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑆 ⊆ 𝑋) ∧ 𝑥 ∈ 𝑋) → 0 ≤ inf(ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)), ℝ*, < )) |
25 | elxrge0 12839 | . . 3 ⊢ (inf(ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)), ℝ*, < ) ∈ (0[,]+∞) ↔ (inf(ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)), ℝ*, < ) ∈ ℝ* ∧ 0 ≤ inf(ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)), ℝ*, < ))) | |
26 | 11, 24, 25 | sylanbrc 585 | . 2 ⊢ (((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑆 ⊆ 𝑋) ∧ 𝑥 ∈ 𝑋) → inf(ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)), ℝ*, < ) ∈ (0[,]+∞)) |
27 | metdscn.f | . 2 ⊢ 𝐹 = (𝑥 ∈ 𝑋 ↦ inf(ran (𝑦 ∈ 𝑆 ↦ (𝑥𝐷𝑦)), ℝ*, < )) | |
28 | 26, 27 | fmptd 6873 | 1 ⊢ ((𝐷 ∈ (∞Met‘𝑋) ∧ 𝑆 ⊆ 𝑋) → 𝐹:𝑋⟶(0[,]+∞)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 208 ∧ wa 398 = wceq 1533 ∈ wcel 2110 ∀wral 3138 Vcvv 3495 ⊆ wss 3936 class class class wbr 5059 ↦ cmpt 5139 ran crn 5551 ⟶wf 6346 ‘cfv 6350 (class class class)co 7150 infcinf 8899 0cc0 10531 +∞cpnf 10666 ℝ*cxr 10668 < clt 10669 ≤ cle 10670 [,]cicc 12735 ∞Metcxmet 20524 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1792 ax-4 1806 ax-5 1907 ax-6 1966 ax-7 2011 ax-8 2112 ax-9 2120 ax-10 2141 ax-11 2156 ax-12 2172 ax-ext 2793 ax-sep 5196 ax-nul 5203 ax-pow 5259 ax-pr 5322 ax-un 7455 ax-cnex 10587 ax-resscn 10588 ax-1cn 10589 ax-icn 10590 ax-addcl 10591 ax-addrcl 10592 ax-mulcl 10593 ax-mulrcl 10594 ax-mulcom 10595 ax-addass 10596 ax-mulass 10597 ax-distr 10598 ax-i2m1 10599 ax-1ne0 10600 ax-1rid 10601 ax-rnegex 10602 ax-rrecex 10603 ax-cnre 10604 ax-pre-lttri 10605 ax-pre-lttrn 10606 ax-pre-ltadd 10607 ax-pre-mulgt0 10608 ax-pre-sup 10609 |
This theorem depends on definitions: df-bi 209 df-an 399 df-or 844 df-3or 1084 df-3an 1085 df-tru 1536 df-ex 1777 df-nf 1781 df-sb 2066 df-mo 2618 df-eu 2650 df-clab 2800 df-cleq 2814 df-clel 2893 df-nfc 2963 df-ne 3017 df-nel 3124 df-ral 3143 df-rex 3144 df-reu 3145 df-rmo 3146 df-rab 3147 df-v 3497 df-sbc 3773 df-csb 3884 df-dif 3939 df-un 3941 df-in 3943 df-ss 3952 df-nul 4292 df-if 4468 df-pw 4541 df-sn 4562 df-pr 4564 df-op 4568 df-uni 4833 df-iun 4914 df-br 5060 df-opab 5122 df-mpt 5140 df-id 5455 df-po 5469 df-so 5470 df-xp 5556 df-rel 5557 df-cnv 5558 df-co 5559 df-dm 5560 df-rn 5561 df-res 5562 df-ima 5563 df-iota 6309 df-fun 6352 df-fn 6353 df-f 6354 df-f1 6355 df-fo 6356 df-f1o 6357 df-fv 6358 df-riota 7108 df-ov 7153 df-oprab 7154 df-mpo 7155 df-1st 7683 df-2nd 7684 df-er 8283 df-map 8402 df-en 8504 df-dom 8505 df-sdom 8506 df-sup 8900 df-inf 8901 df-pnf 10671 df-mnf 10672 df-xr 10673 df-ltxr 10674 df-le 10675 df-sub 10866 df-neg 10867 df-div 11292 df-2 11694 df-rp 12384 df-xneg 12501 df-xadd 12502 df-xmul 12503 df-icc 12739 df-xmet 20532 |
This theorem is referenced by: metds0 23452 metdstri 23453 metdsre 23455 metdseq0 23456 metdscnlem 23457 metdscn 23458 metnrmlem1a 23460 metnrmlem1 23461 lebnumlem1 23559 |
Copyright terms: Public domain | W3C validator |