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

Theorem metustfbas 24590
Description: The filter base generated by a metric 𝐷. (Contributed by Thierry Arnoux, 26-Nov-2017.) (Revised by Thierry Arnoux, 11-Feb-2018.) (Proof shortened by Peter Mazsa, 2-Oct-2022.)
Hypothesis
Ref Expression
metust.1 𝐹 = ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎)))
Assertion
Ref Expression
metustfbas ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝐹 ∈ (fBas‘(𝑋 × 𝑋)))
Distinct variable groups:   𝐷,𝑎   𝑋,𝑎   𝐹,𝑎

Proof of Theorem metustfbas
Dummy variables 𝑝 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 metust.1 . . . . . . 7 𝐹 = ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎)))
21metustel 24583 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (𝑥𝐹 ↔ ∃𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎))))
3 simpr 487 . . . . . . . . 9 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥 = (𝐷 “ (0[,)𝑎))) → 𝑥 = (𝐷 “ (0[,)𝑎)))
4 cnvimass 6061 . . . . . . . . . 10 (𝐷 “ (0[,)𝑎)) ⊆ dom 𝐷
5 psmetf 24339 . . . . . . . . . . . 12 (𝐷 ∈ (PsMet‘𝑋) → 𝐷:(𝑋 × 𝑋)⟶ℝ*)
65fdmd 6691 . . . . . . . . . . 11 (𝐷 ∈ (PsMet‘𝑋) → dom 𝐷 = (𝑋 × 𝑋))
76adantr 483 . . . . . . . . . 10 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥 = (𝐷 “ (0[,)𝑎))) → dom 𝐷 = (𝑋 × 𝑋))
84, 7sseqtrid 3973 . . . . . . . . 9 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥 = (𝐷 “ (0[,)𝑎))) → (𝐷 “ (0[,)𝑎)) ⊆ (𝑋 × 𝑋))
93, 8eqsstrd 3965 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥 = (𝐷 “ (0[,)𝑎))) → 𝑥 ⊆ (𝑋 × 𝑋))
109ex 415 . . . . . . 7 (𝐷 ∈ (PsMet‘𝑋) → (𝑥 = (𝐷 “ (0[,)𝑎)) → 𝑥 ⊆ (𝑋 × 𝑋)))
1110rexlimdvw 3162 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (∃𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)) → 𝑥 ⊆ (𝑋 × 𝑋)))
122, 11sylbid 242 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → (𝑥𝐹𝑥 ⊆ (𝑋 × 𝑋)))
1312ralrimiv 3147 . . . 4 (𝐷 ∈ (PsMet‘𝑋) → ∀𝑥𝐹 𝑥 ⊆ (𝑋 × 𝑋))
14 pwssb 5052 . . . 4 (𝐹 ⊆ 𝒫 (𝑋 × 𝑋) ↔ ∀𝑥𝐹 𝑥 ⊆ (𝑋 × 𝑋))
1513, 14sylibr 236 . . 3 (𝐷 ∈ (PsMet‘𝑋) → 𝐹 ⊆ 𝒫 (𝑋 × 𝑋))
1615adantl 484 . 2 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝐹 ⊆ 𝒫 (𝑋 × 𝑋))
17 cnvexg 7894 . . . . . . 7 (𝐷 ∈ (PsMet‘𝑋) → 𝐷 ∈ V)
18 imaexg 7883 . . . . . . 7 (𝐷 ∈ V → (𝐷 “ (0[,)1)) ∈ V)
19 elisset 2838 . . . . . . 7 ((𝐷 “ (0[,)1)) ∈ V → ∃𝑥 𝑥 = (𝐷 “ (0[,)1)))
20 1rp 12987 . . . . . . . . 9 1 ∈ ℝ+
21 oveq2 7393 . . . . . . . . . . 11 (𝑎 = 1 → (0[,)𝑎) = (0[,)1))
2221imaeq2d 6039 . . . . . . . . . 10 (𝑎 = 1 → (𝐷 “ (0[,)𝑎)) = (𝐷 “ (0[,)1)))
2322rspceeqv 3599 . . . . . . . . 9 ((1 ∈ ℝ+𝑥 = (𝐷 “ (0[,)1))) → ∃𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)))
2420, 23mpan 698 . . . . . . . 8 (𝑥 = (𝐷 “ (0[,)1)) → ∃𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)))
2524eximi 1849 . . . . . . 7 (∃𝑥 𝑥 = (𝐷 “ (0[,)1)) → ∃𝑥𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)))
2617, 18, 19, 254syl 19 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → ∃𝑥𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)))
272exbidv 1935 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (∃𝑥 𝑥𝐹 ↔ ∃𝑥𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎))))
2826, 27mpbird 259 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → ∃𝑥 𝑥𝐹)
2928adantl 484 . . . 4 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∃𝑥 𝑥𝐹)
30 n0 4300 . . . 4 (𝐹 ≠ ∅ ↔ ∃𝑥 𝑥𝐹)
3129, 30sylibr 236 . . 3 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝐹 ≠ ∅)
321metustid 24587 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝐹) → ( I ↾ 𝑋) ⊆ 𝑥)
3332adantll 722 . . . . . 6 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ 𝑥𝐹) → ( I ↾ 𝑋) ⊆ 𝑥)
34 n0 4300 . . . . . . . . 9 (𝑋 ≠ ∅ ↔ ∃𝑝 𝑝𝑋)
3534birani 506 . . . . . . . 8 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∃𝑝 𝑝𝑋)
36 opelidres 5970 . . . . . . . . . . 11 (𝑝𝑋 → (⟨𝑝, 𝑝⟩ ∈ ( I ↾ 𝑋) ↔ 𝑝𝑋))
3736ibir 270 . . . . . . . . . 10 (𝑝𝑋 → ⟨𝑝, 𝑝⟩ ∈ ( I ↾ 𝑋))
3837ne0d 4289 . . . . . . . . 9 (𝑝𝑋 → ( I ↾ 𝑋) ≠ ∅)
3938exlimiv 1944 . . . . . . . 8 (∃𝑝 𝑝𝑋 → ( I ↾ 𝑋) ≠ ∅)
4035, 39syl 17 . . . . . . 7 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ( I ↾ 𝑋) ≠ ∅)
4140adantr 483 . . . . . 6 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ 𝑥𝐹) → ( I ↾ 𝑋) ≠ ∅)
42 ssn0 4352 . . . . . 6 ((( I ↾ 𝑋) ⊆ 𝑥 ∧ ( I ↾ 𝑋) ≠ ∅) → 𝑥 ≠ ∅)
4333, 41, 42syl2anc 592 . . . . 5 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ 𝑥𝐹) → 𝑥 ≠ ∅)
4443nelrdva 3662 . . . 4 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ¬ ∅ ∈ 𝐹)
45 df-nel 3056 . . . 4 (∅ ∉ 𝐹 ↔ ¬ ∅ ∈ 𝐹)
4644, 45sylibr 236 . . 3 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∅ ∉ 𝐹)
47 dfss2 3917 . . . . . . . 8 (𝑥𝑦 ↔ (𝑥𝑦) = 𝑥)
4847bilani 507 . . . . . . 7 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑥𝑦) → (𝑥𝑦) = 𝑥)
49 simplrl 784 . . . . . . 7 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑥𝑦) → 𝑥𝐹)
5048, 49eqeltrd 2856 . . . . . 6 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑥𝑦) → (𝑥𝑦) ∈ 𝐹)
51 sseqin2 4170 . . . . . . . 8 (𝑦𝑥 ↔ (𝑥𝑦) = 𝑦)
5251bilani 507 . . . . . . 7 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑦𝑥) → (𝑥𝑦) = 𝑦)
53 simplrr 785 . . . . . . 7 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑦𝑥) → 𝑦𝐹)
5452, 53eqeltrd 2856 . . . . . 6 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑦𝑥) → (𝑥𝑦) ∈ 𝐹)
55 simplr 776 . . . . . . 7 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → 𝐷 ∈ (PsMet‘𝑋))
56 simprl 778 . . . . . . 7 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → 𝑥𝐹)
57 simprr 780 . . . . . . 7 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → 𝑦𝐹)
581metustto 24586 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝐹𝑦𝐹) → (𝑥𝑦𝑦𝑥))
5955, 56, 57, 58syl3anc 1386 . . . . . 6 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → (𝑥𝑦𝑦𝑥))
6050, 54, 59mpjaodan 969 . . . . 5 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → (𝑥𝑦) ∈ 𝐹)
61 ssidd 3954 . . . . 5 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → (𝑥𝑦) ⊆ (𝑥𝑦))
62 sseq1 3956 . . . . . 6 (𝑧 = (𝑥𝑦) → (𝑧 ⊆ (𝑥𝑦) ↔ (𝑥𝑦) ⊆ (𝑥𝑦)))
6362rspcev 3576 . . . . 5 (((𝑥𝑦) ∈ 𝐹 ∧ (𝑥𝑦) ⊆ (𝑥𝑦)) → ∃𝑧𝐹 𝑧 ⊆ (𝑥𝑦))
6460, 61, 63syl2anc 592 . . . 4 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → ∃𝑧𝐹 𝑧 ⊆ (𝑥𝑦))
6564ralrimivva 3199 . . 3 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∀𝑥𝐹𝑦𝐹𝑧𝐹 𝑧 ⊆ (𝑥𝑦))
6631, 46, 653jca 1137 . 2 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → (𝐹 ≠ ∅ ∧ ∅ ∉ 𝐹 ∧ ∀𝑥𝐹𝑦𝐹𝑧𝐹 𝑧 ⊆ (𝑥𝑦)))
67 elfvex 6891 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 ∈ V)
6867adantl 484 . . . 4 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝑋 ∈ V)
6968, 68xpexd 7723 . . 3 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → (𝑋 × 𝑋) ∈ V)
70 isfbas2 23868 . . 3 ((𝑋 × 𝑋) ∈ V → (𝐹 ∈ (fBas‘(𝑋 × 𝑋)) ↔ (𝐹 ⊆ 𝒫 (𝑋 × 𝑋) ∧ (𝐹 ≠ ∅ ∧ ∅ ∉ 𝐹 ∧ ∀𝑥𝐹𝑦𝐹𝑧𝐹 𝑧 ⊆ (𝑥𝑦)))))
7169, 70syl 17 . 2 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → (𝐹 ∈ (fBas‘(𝑋 × 𝑋)) ↔ (𝐹 ⊆ 𝒫 (𝑋 × 𝑋) ∧ (𝐹 ≠ ∅ ∧ ∅ ∉ 𝐹 ∧ ∀𝑥𝐹𝑦𝐹𝑧𝐹 𝑧 ⊆ (𝑥𝑦)))))
7216, 66, 71mpbir2and 721 1 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝐹 ∈ (fBas‘(𝑋 × 𝑋)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wo 856  w3a 1095   = wceq 1554  wex 1793  wcel 2136  wne 2951  wnel 3055  wral 3070  wrex 3080  Vcvv 3448  cin 3898  wss 3899  c0 4280  𝒫 cpw 4549  cop 4582  cmpt 5175   I cid 5534   × cxp 5638  ccnv 5639  dom cdm 5640  ran crn 5641  cres 5642  cima 5643  cfv 6510  (class class class)co 7385  0cc0 11063  1c1 11064  *cxr 11205  +crp 12983  [,)cico 13341  PsMetcpsmet 21381  fBascfbas 21385
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1809  ax-4 1823  ax-5 1924  ax-6 1981  ax-7 2022  ax-8 2138  ax-9 2146  ax-10 2169  ax-11 2185  ax-12 2206  ax-ext 2728  ax-sep 5240  ax-nul 5250  ax-pow 5316  ax-pr 5384  ax-un 7707  ax-cnex 11119  ax-resscn 11120  ax-1cn 11121  ax-icn 11122  ax-addcl 11123  ax-addrcl 11124  ax-mulcl 11125  ax-mulrcl 11126  ax-mulcom 11127  ax-addass 11128  ax-mulass 11129  ax-distr 11130  ax-i2m1 11131  ax-1ne0 11132  ax-1rid 11133  ax-rnegex 11134  ax-rrecex 11135  ax-cnre 11136  ax-pre-lttri 11137  ax-pre-lttrn 11138  ax-pre-ltadd 11139  ax-pre-mulgt0 11140
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 857  df-3or 1096  df-3an 1097  df-tru 1557  df-fal 1567  df-ex 1794  df-nf 1798  df-sb 2085  df-mo 2560  df-eu 2590  df-clab 2735  df-cleq 2748  df-clel 2831  df-nfc 2905  df-ne 2952  df-nel 3056  df-ral 3071  df-rex 3081  df-reu 3362  df-rab 3409  df-v 3450  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4281  df-if 4475  df-pw 4551  df-sn 4577  df-pr 4579  df-op 4583  df-uni 4860  df-iun 4945  df-br 5095  df-opab 5157  df-mpt 5176  df-id 5535  df-po 5548  df-so 5549  df-xp 5646  df-rel 5647  df-cnv 5648  df-co 5649  df-dm 5650  df-rn 5651  df-res 5652  df-ima 5653  df-iota 6466  df-fun 6512  df-fn 6513  df-f 6514  df-f1 6515  df-fo 6516  df-f1o 6517  df-fv 6518  df-riota 7342  df-ov 7388  df-oprab 7389  df-mpo 7390  df-1st 7959  df-2nd 7960  df-er 8666  df-map 8798  df-en 8917  df-dom 8918  df-sdom 8919  df-pnf 11208  df-mnf 11209  df-xr 11210  df-ltxr 11211  df-le 11212  df-sub 11406  df-neg 11407  df-rp 12984  df-ico 13345  df-psmet 21389  df-fbas 21394
This theorem is referenced by:  metust  24591  cfilucfil  24592  metuel  24597  psmetutop  24600  restmetu  24603  metucn  24604
  Copyright terms: Public domain W3C validator