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

Theorem metustfbas 24547
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 24540 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (𝑥𝐹 ↔ ∃𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎))))
3 simpr 485 . . . . . . . . 9 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥 = (𝐷 “ (0[,)𝑎))) → 𝑥 = (𝐷 “ (0[,)𝑎)))
4 cnvimass 6041 . . . . . . . . . 10 (𝐷 “ (0[,)𝑎)) ⊆ dom 𝐷
5 psmetf 24296 . . . . . . . . . . . 12 (𝐷 ∈ (PsMet‘𝑋) → 𝐷:(𝑋 × 𝑋)⟶ℝ*)
65fdmd 6672 . . . . . . . . . . 11 (𝐷 ∈ (PsMet‘𝑋) → dom 𝐷 = (𝑋 × 𝑋))
76adantr 481 . . . . . . . . . 10 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥 = (𝐷 “ (0[,)𝑎))) → dom 𝐷 = (𝑋 × 𝑋))
84, 7sseqtrid 3964 . . . . . . . . 9 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥 = (𝐷 “ (0[,)𝑎))) → (𝐷 “ (0[,)𝑎)) ⊆ (𝑋 × 𝑋))
93, 8eqsstrd 3956 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥 = (𝐷 “ (0[,)𝑎))) → 𝑥 ⊆ (𝑋 × 𝑋))
109ex 413 . . . . . . 7 (𝐷 ∈ (PsMet‘𝑋) → (𝑥 = (𝐷 “ (0[,)𝑎)) → 𝑥 ⊆ (𝑋 × 𝑋)))
1110rexlimdvw 3146 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (∃𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)) → 𝑥 ⊆ (𝑋 × 𝑋)))
122, 11sylbid 241 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → (𝑥𝐹𝑥 ⊆ (𝑋 × 𝑋)))
1312ralrimiv 3131 . . . 4 (𝐷 ∈ (PsMet‘𝑋) → ∀𝑥𝐹 𝑥 ⊆ (𝑋 × 𝑋))
14 pwssb 5037 . . . 4 (𝐹 ⊆ 𝒫 (𝑋 × 𝑋) ↔ ∀𝑥𝐹 𝑥 ⊆ (𝑋 × 𝑋))
1513, 14sylibr 235 . . 3 (𝐷 ∈ (PsMet‘𝑋) → 𝐹 ⊆ 𝒫 (𝑋 × 𝑋))
1615adantl 482 . 2 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝐹 ⊆ 𝒫 (𝑋 × 𝑋))
17 cnvexg 7871 . . . . . . 7 (𝐷 ∈ (PsMet‘𝑋) → 𝐷 ∈ V)
18 imaexg 7860 . . . . . . 7 (𝐷 ∈ V → (𝐷 “ (0[,)1)) ∈ V)
19 elisset 2822 . . . . . . 7 ((𝐷 “ (0[,)1)) ∈ V → ∃𝑥 𝑥 = (𝐷 “ (0[,)1)))
20 1rp 12944 . . . . . . . . 9 1 ∈ ℝ+
21 oveq2 7371 . . . . . . . . . . 11 (𝑎 = 1 → (0[,)𝑎) = (0[,)1))
2221imaeq2d 6019 . . . . . . . . . 10 (𝑎 = 1 → (𝐷 “ (0[,)𝑎)) = (𝐷 “ (0[,)1)))
2322rspceeqv 3590 . . . . . . . . 9 ((1 ∈ ℝ+𝑥 = (𝐷 “ (0[,)1))) → ∃𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)))
2420, 23mpan 696 . . . . . . . 8 (𝑥 = (𝐷 “ (0[,)1)) → ∃𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)))
2524eximi 1842 . . . . . . 7 (∃𝑥 𝑥 = (𝐷 “ (0[,)1)) → ∃𝑥𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)))
2617, 18, 19, 254syl 19 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → ∃𝑥𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)))
272exbidv 1928 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (∃𝑥 𝑥𝐹 ↔ ∃𝑥𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎))))
2826, 27mpbird 258 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → ∃𝑥 𝑥𝐹)
2928adantl 482 . . . 4 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∃𝑥 𝑥𝐹)
30 n0 4288 . . . 4 (𝐹 ≠ ∅ ↔ ∃𝑥 𝑥𝐹)
3129, 30sylibr 235 . . 3 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝐹 ≠ ∅)
321metustid 24544 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝐹) → ( I ↾ 𝑋) ⊆ 𝑥)
3332adantll 720 . . . . . 6 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ 𝑥𝐹) → ( I ↾ 𝑋) ⊆ 𝑥)
34 n0 4288 . . . . . . . . 9 (𝑋 ≠ ∅ ↔ ∃𝑝 𝑝𝑋)
3534birani 504 . . . . . . . 8 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∃𝑝 𝑝𝑋)
36 opelidres 5950 . . . . . . . . . . 11 (𝑝𝑋 → (⟨𝑝, 𝑝⟩ ∈ ( I ↾ 𝑋) ↔ 𝑝𝑋))
3736ibir 269 . . . . . . . . . 10 (𝑝𝑋 → ⟨𝑝, 𝑝⟩ ∈ ( I ↾ 𝑋))
3837ne0d 4277 . . . . . . . . 9 (𝑝𝑋 → ( I ↾ 𝑋) ≠ ∅)
3938exlimiv 1937 . . . . . . . 8 (∃𝑝 𝑝𝑋 → ( I ↾ 𝑋) ≠ ∅)
4035, 39syl 17 . . . . . . 7 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ( I ↾ 𝑋) ≠ ∅)
4140adantr 481 . . . . . 6 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ 𝑥𝐹) → ( I ↾ 𝑋) ≠ ∅)
42 ssn0 4339 . . . . . 6 ((( I ↾ 𝑋) ⊆ 𝑥 ∧ ( I ↾ 𝑋) ≠ ∅) → 𝑥 ≠ ∅)
4333, 41, 42syl2anc 590 . . . . 5 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ 𝑥𝐹) → 𝑥 ≠ ∅)
4443nelrdva 3653 . . . 4 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ¬ ∅ ∈ 𝐹)
45 df-nel 3040 . . . 4 (∅ ∉ 𝐹 ↔ ¬ ∅ ∈ 𝐹)
4644, 45sylibr 235 . . 3 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∅ ∉ 𝐹)
47 dfss2 3908 . . . . . . . 8 (𝑥𝑦 ↔ (𝑥𝑦) = 𝑥)
4847bilani 505 . . . . . . 7 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑥𝑦) → (𝑥𝑦) = 𝑥)
49 simplrl 782 . . . . . . 7 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑥𝑦) → 𝑥𝐹)
5048, 49eqeltrd 2840 . . . . . 6 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑥𝑦) → (𝑥𝑦) ∈ 𝐹)
51 sseqin2 4159 . . . . . . . 8 (𝑦𝑥 ↔ (𝑥𝑦) = 𝑦)
5251bilani 505 . . . . . . 7 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑦𝑥) → (𝑥𝑦) = 𝑦)
53 simplrr 783 . . . . . . 7 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑦𝑥) → 𝑦𝐹)
5452, 53eqeltrd 2840 . . . . . 6 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑦𝑥) → (𝑥𝑦) ∈ 𝐹)
55 simplr 774 . . . . . . 7 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → 𝐷 ∈ (PsMet‘𝑋))
56 simprl 776 . . . . . . 7 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → 𝑥𝐹)
57 simprr 778 . . . . . . 7 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → 𝑦𝐹)
581metustto 24543 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝐹𝑦𝐹) → (𝑥𝑦𝑦𝑥))
5955, 56, 57, 58syl3anc 1379 . . . . . 6 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → (𝑥𝑦𝑦𝑥))
6050, 54, 59mpjaodan 966 . . . . 5 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → (𝑥𝑦) ∈ 𝐹)
61 ssidd 3945 . . . . 5 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → (𝑥𝑦) ⊆ (𝑥𝑦))
62 sseq1 3947 . . . . . 6 (𝑧 = (𝑥𝑦) → (𝑧 ⊆ (𝑥𝑦) ↔ (𝑥𝑦) ⊆ (𝑥𝑦)))
6362rspcev 3567 . . . . 5 (((𝑥𝑦) ∈ 𝐹 ∧ (𝑥𝑦) ⊆ (𝑥𝑦)) → ∃𝑧𝐹 𝑧 ⊆ (𝑥𝑦))
6460, 61, 63syl2anc 590 . . . 4 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → ∃𝑧𝐹 𝑧 ⊆ (𝑥𝑦))
6564ralrimivva 3183 . . 3 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∀𝑥𝐹𝑦𝐹𝑧𝐹 𝑧 ⊆ (𝑥𝑦))
6631, 46, 653jca 1134 . 2 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → (𝐹 ≠ ∅ ∧ ∅ ∉ 𝐹 ∧ ∀𝑥𝐹𝑦𝐹𝑧𝐹 𝑧 ⊆ (𝑥𝑦)))
67 elfvex 6869 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 ∈ V)
6867adantl 482 . . . 4 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝑋 ∈ V)
6968, 68xpexd 7701 . . 3 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → (𝑋 × 𝑋) ∈ V)
70 isfbas2 23825 . . 3 ((𝑋 × 𝑋) ∈ V → (𝐹 ∈ (fBas‘(𝑋 × 𝑋)) ↔ (𝐹 ⊆ 𝒫 (𝑋 × 𝑋) ∧ (𝐹 ≠ ∅ ∧ ∅ ∉ 𝐹 ∧ ∀𝑥𝐹𝑦𝐹𝑧𝐹 𝑧 ⊆ (𝑥𝑦)))))
7169, 70syl 17 . 2 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → (𝐹 ∈ (fBas‘(𝑋 × 𝑋)) ↔ (𝐹 ⊆ 𝒫 (𝑋 × 𝑋) ∧ (𝐹 ≠ ∅ ∧ ∅ ∉ 𝐹 ∧ ∀𝑥𝐹𝑦𝐹𝑧𝐹 𝑧 ⊆ (𝑥𝑦)))))
7216, 66, 71mpbir2and 719 1 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝐹 ∈ (fBas‘(𝑋 × 𝑋)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 207  wa 396  wo 853  w3a 1092   = wceq 1547  wex 1786  wcel 2119  wne 2935  wnel 3039  wral 3054  wrex 3064  Vcvv 3432  cin 3889  wss 3890  c0 4268  𝒫 cpw 4536  cop 4568  cmpt 5160   I cid 5519   × cxp 5623  ccnv 5624  dom cdm 5625  ran crn 5626  cres 5627  cima 5628  cfv 6492  (class class class)co 7363  0cc0 11036  1c1 11037  *cxr 11176  +crp 12940  [,)cico 13298  PsMetcpsmet 21338  fBascfbas 21342
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-10 2152  ax-11 2168  ax-12 2189  ax-ext 2712  ax-sep 5225  ax-nul 5235  ax-pow 5301  ax-pr 5369  ax-un 7685  ax-cnex 11092  ax-resscn 11093  ax-1cn 11094  ax-icn 11095  ax-addcl 11096  ax-addrcl 11097  ax-mulcl 11098  ax-mulrcl 11099  ax-mulcom 11100  ax-addass 11101  ax-mulass 11102  ax-distr 11103  ax-i2m1 11104  ax-1ne0 11105  ax-1rid 11106  ax-rnegex 11107  ax-rrecex 11108  ax-cnre 11109  ax-pre-lttri 11110  ax-pre-lttrn 11111  ax-pre-ltadd 11112  ax-pre-mulgt0 11113
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-3or 1093  df-3an 1094  df-tru 1550  df-fal 1560  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2543  df-eu 2573  df-clab 2719  df-cleq 2732  df-clel 2815  df-nfc 2889  df-ne 2936  df-nel 3040  df-ral 3055  df-rex 3065  df-reu 3346  df-rab 3393  df-v 3434  df-sbc 3731  df-csb 3839  df-dif 3893  df-un 3895  df-in 3897  df-ss 3907  df-nul 4269  df-if 4462  df-pw 4538  df-sn 4563  df-pr 4565  df-op 4569  df-uni 4846  df-iun 4930  df-br 5080  df-opab 5142  df-mpt 5161  df-id 5520  df-po 5533  df-so 5534  df-xp 5631  df-rel 5632  df-cnv 5633  df-co 5634  df-dm 5635  df-rn 5636  df-res 5637  df-ima 5638  df-iota 6448  df-fun 6494  df-fn 6495  df-f 6496  df-f1 6497  df-fo 6498  df-f1o 6499  df-fv 6500  df-riota 7320  df-ov 7366  df-oprab 7367  df-mpo 7368  df-1st 7938  df-2nd 7939  df-er 8640  df-map 8772  df-en 8891  df-dom 8892  df-sdom 8893  df-pnf 11179  df-mnf 11180  df-xr 11181  df-ltxr 11182  df-le 11183  df-sub 11377  df-neg 11378  df-rp 12941  df-ico 13302  df-psmet 21346  df-fbas 21351
This theorem is referenced by:  metust  24548  cfilucfil  24549  metuel  24554  psmetutop  24557  restmetu  24560  metucn  24561
  Copyright terms: Public domain W3C validator