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

Theorem metustfbas 24543
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 24536 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (𝑥𝐹 ↔ ∃𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎))))
3 simpr 486 . . . . . . . . 9 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥 = (𝐷 “ (0[,)𝑎))) → 𝑥 = (𝐷 “ (0[,)𝑎)))
4 cnvimass 6040 . . . . . . . . . 10 (𝐷 “ (0[,)𝑎)) ⊆ dom 𝐷
5 psmetf 24292 . . . . . . . . . . . 12 (𝐷 ∈ (PsMet‘𝑋) → 𝐷:(𝑋 × 𝑋)⟶ℝ*)
65fdmd 6668 . . . . . . . . . . 11 (𝐷 ∈ (PsMet‘𝑋) → dom 𝐷 = (𝑋 × 𝑋))
76adantr 482 . . . . . . . . . 10 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥 = (𝐷 “ (0[,)𝑎))) → dom 𝐷 = (𝑋 × 𝑋))
84, 7sseqtrid 3958 . . . . . . . . 9 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥 = (𝐷 “ (0[,)𝑎))) → (𝐷 “ (0[,)𝑎)) ⊆ (𝑋 × 𝑋))
93, 8eqsstrd 3950 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥 = (𝐷 “ (0[,)𝑎))) → 𝑥 ⊆ (𝑋 × 𝑋))
109ex 414 . . . . . . 7 (𝐷 ∈ (PsMet‘𝑋) → (𝑥 = (𝐷 “ (0[,)𝑎)) → 𝑥 ⊆ (𝑋 × 𝑋)))
1110rexlimdvw 3147 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (∃𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)) → 𝑥 ⊆ (𝑋 × 𝑋)))
122, 11sylbid 242 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → (𝑥𝐹𝑥 ⊆ (𝑋 × 𝑋)))
1312ralrimiv 3132 . . . 4 (𝐷 ∈ (PsMet‘𝑋) → ∀𝑥𝐹 𝑥 ⊆ (𝑋 × 𝑋))
14 pwssb 5032 . . . 4 (𝐹 ⊆ 𝒫 (𝑋 × 𝑋) ↔ ∀𝑥𝐹 𝑥 ⊆ (𝑋 × 𝑋))
1513, 14sylibr 236 . . 3 (𝐷 ∈ (PsMet‘𝑋) → 𝐹 ⊆ 𝒫 (𝑋 × 𝑋))
1615adantl 483 . 2 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝐹 ⊆ 𝒫 (𝑋 × 𝑋))
17 cnvexg 7868 . . . . . . 7 (𝐷 ∈ (PsMet‘𝑋) → 𝐷 ∈ V)
18 imaexg 7857 . . . . . . 7 (𝐷 ∈ V → (𝐷 “ (0[,)1)) ∈ V)
19 elisset 2823 . . . . . . 7 ((𝐷 “ (0[,)1)) ∈ V → ∃𝑥 𝑥 = (𝐷 “ (0[,)1)))
20 1rp 12941 . . . . . . . . 9 1 ∈ ℝ+
21 oveq2 7367 . . . . . . . . . . 11 (𝑎 = 1 → (0[,)𝑎) = (0[,)1))
2221imaeq2d 6018 . . . . . . . . . 10 (𝑎 = 1 → (𝐷 “ (0[,)𝑎)) = (𝐷 “ (0[,)1)))
2322rspceeqv 3584 . . . . . . . . 9 ((1 ∈ ℝ+𝑥 = (𝐷 “ (0[,)1))) → ∃𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)))
2420, 23mpan 697 . . . . . . . 8 (𝑥 = (𝐷 “ (0[,)1)) → ∃𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)))
2524eximi 1843 . . . . . . 7 (∃𝑥 𝑥 = (𝐷 “ (0[,)1)) → ∃𝑥𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)))
2617, 18, 19, 254syl 19 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → ∃𝑥𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)))
272exbidv 1929 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (∃𝑥 𝑥𝐹 ↔ ∃𝑥𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎))))
2826, 27mpbird 259 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → ∃𝑥 𝑥𝐹)
2928adantl 483 . . . 4 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∃𝑥 𝑥𝐹)
30 n0 4283 . . . 4 (𝐹 ≠ ∅ ↔ ∃𝑥 𝑥𝐹)
3129, 30sylibr 236 . . 3 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝐹 ≠ ∅)
321metustid 24540 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝐹) → ( I ↾ 𝑋) ⊆ 𝑥)
3332adantll 721 . . . . . 6 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ 𝑥𝐹) → ( I ↾ 𝑋) ⊆ 𝑥)
34 n0 4283 . . . . . . . . 9 (𝑋 ≠ ∅ ↔ ∃𝑝 𝑝𝑋)
3534birani 505 . . . . . . . 8 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∃𝑝 𝑝𝑋)
36 opelidres 5949 . . . . . . . . . . 11 (𝑝𝑋 → (⟨𝑝, 𝑝⟩ ∈ ( I ↾ 𝑋) ↔ 𝑝𝑋))
3736ibir 270 . . . . . . . . . 10 (𝑝𝑋 → ⟨𝑝, 𝑝⟩ ∈ ( I ↾ 𝑋))
3837ne0d 4272 . . . . . . . . 9 (𝑝𝑋 → ( I ↾ 𝑋) ≠ ∅)
3938exlimiv 1938 . . . . . . . 8 (∃𝑝 𝑝𝑋 → ( I ↾ 𝑋) ≠ ∅)
4035, 39syl 17 . . . . . . 7 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ( I ↾ 𝑋) ≠ ∅)
4140adantr 482 . . . . . 6 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ 𝑥𝐹) → ( I ↾ 𝑋) ≠ ∅)
42 ssn0 4334 . . . . . 6 ((( I ↾ 𝑋) ⊆ 𝑥 ∧ ( I ↾ 𝑋) ≠ ∅) → 𝑥 ≠ ∅)
4333, 41, 42syl2anc 591 . . . . 5 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ 𝑥𝐹) → 𝑥 ≠ ∅)
4443nelrdva 3647 . . . 4 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ¬ ∅ ∈ 𝐹)
45 df-nel 3041 . . . 4 (∅ ∉ 𝐹 ↔ ¬ ∅ ∈ 𝐹)
4644, 45sylibr 236 . . 3 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∅ ∉ 𝐹)
47 dfss2 3902 . . . . . . . 8 (𝑥𝑦 ↔ (𝑥𝑦) = 𝑥)
4847bilani 506 . . . . . . 7 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑥𝑦) → (𝑥𝑦) = 𝑥)
49 simplrl 783 . . . . . . 7 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑥𝑦) → 𝑥𝐹)
5048, 49eqeltrd 2841 . . . . . 6 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑥𝑦) → (𝑥𝑦) ∈ 𝐹)
51 sseqin2 4154 . . . . . . . 8 (𝑦𝑥 ↔ (𝑥𝑦) = 𝑦)
5251bilani 506 . . . . . . 7 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑦𝑥) → (𝑥𝑦) = 𝑦)
53 simplrr 784 . . . . . . 7 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑦𝑥) → 𝑦𝐹)
5452, 53eqeltrd 2841 . . . . . 6 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑦𝑥) → (𝑥𝑦) ∈ 𝐹)
55 simplr 775 . . . . . . 7 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → 𝐷 ∈ (PsMet‘𝑋))
56 simprl 777 . . . . . . 7 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → 𝑥𝐹)
57 simprr 779 . . . . . . 7 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → 𝑦𝐹)
581metustto 24539 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝐹𝑦𝐹) → (𝑥𝑦𝑦𝑥))
5955, 56, 57, 58syl3anc 1380 . . . . . 6 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → (𝑥𝑦𝑦𝑥))
6050, 54, 59mpjaodan 967 . . . . 5 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → (𝑥𝑦) ∈ 𝐹)
61 ssidd 3939 . . . . 5 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → (𝑥𝑦) ⊆ (𝑥𝑦))
62 sseq1 3941 . . . . . 6 (𝑧 = (𝑥𝑦) → (𝑧 ⊆ (𝑥𝑦) ↔ (𝑥𝑦) ⊆ (𝑥𝑦)))
6362rspcev 3561 . . . . 5 (((𝑥𝑦) ∈ 𝐹 ∧ (𝑥𝑦) ⊆ (𝑥𝑦)) → ∃𝑧𝐹 𝑧 ⊆ (𝑥𝑦))
6460, 61, 63syl2anc 591 . . . 4 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → ∃𝑧𝐹 𝑧 ⊆ (𝑥𝑦))
6564ralrimivva 3184 . . 3 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∀𝑥𝐹𝑦𝐹𝑧𝐹 𝑧 ⊆ (𝑥𝑦))
6631, 46, 653jca 1135 . 2 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → (𝐹 ≠ ∅ ∧ ∅ ∉ 𝐹 ∧ ∀𝑥𝐹𝑦𝐹𝑧𝐹 𝑧 ⊆ (𝑥𝑦)))
67 elfvex 6865 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 ∈ V)
6867adantl 483 . . . 4 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝑋 ∈ V)
6968, 68xpexd 7697 . . 3 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → (𝑋 × 𝑋) ∈ V)
70 isfbas2 23821 . . 3 ((𝑋 × 𝑋) ∈ V → (𝐹 ∈ (fBas‘(𝑋 × 𝑋)) ↔ (𝐹 ⊆ 𝒫 (𝑋 × 𝑋) ∧ (𝐹 ≠ ∅ ∧ ∅ ∉ 𝐹 ∧ ∀𝑥𝐹𝑦𝐹𝑧𝐹 𝑧 ⊆ (𝑥𝑦)))))
7169, 70syl 17 . 2 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → (𝐹 ∈ (fBas‘(𝑋 × 𝑋)) ↔ (𝐹 ⊆ 𝒫 (𝑋 × 𝑋) ∧ (𝐹 ≠ ∅ ∧ ∅ ∉ 𝐹 ∧ ∀𝑥𝐹𝑦𝐹𝑧𝐹 𝑧 ⊆ (𝑥𝑦)))))
7216, 66, 71mpbir2and 720 1 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝐹 ∈ (fBas‘(𝑋 × 𝑋)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 397  wo 854  w3a 1093   = wceq 1548  wex 1787  wcel 2121  wne 2936  wnel 3040  wral 3055  wrex 3065  Vcvv 3433  cin 3883  wss 3884  c0 4263  𝒫 cpw 4531  cop 4563  cmpt 5155   I cid 5514   × cxp 5618  ccnv 5619  dom cdm 5620  ran crn 5621  cres 5622  cima 5623  cfv 6488  (class class class)co 7359  0cc0 11034  1c1 11035  *cxr 11174  +crp 12937  [,)cico 13295  PsMetcpsmet 21334  fBascfbas 21338
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1975  ax-7 2016  ax-8 2123  ax-9 2131  ax-10 2154  ax-11 2170  ax-12 2191  ax-ext 2713  ax-sep 5220  ax-nul 5230  ax-pow 5296  ax-pr 5364  ax-un 7681  ax-cnex 11090  ax-resscn 11091  ax-1cn 11092  ax-icn 11093  ax-addcl 11094  ax-addrcl 11095  ax-mulcl 11096  ax-mulrcl 11097  ax-mulcom 11098  ax-addass 11099  ax-mulass 11100  ax-distr 11101  ax-i2m1 11102  ax-1ne0 11103  ax-1rid 11104  ax-rnegex 11105  ax-rrecex 11106  ax-cnre 11107  ax-pre-lttri 11108  ax-pre-lttrn 11109  ax-pre-ltadd 11110  ax-pre-mulgt0 11111
This theorem depends on definitions:  df-bi 209  df-an 398  df-or 855  df-3or 1094  df-3an 1095  df-tru 1551  df-fal 1561  df-ex 1788  df-nf 1792  df-sb 2075  df-mo 2545  df-eu 2575  df-clab 2720  df-cleq 2733  df-clel 2816  df-nfc 2890  df-ne 2937  df-nel 3041  df-ral 3056  df-rex 3066  df-reu 3347  df-rab 3394  df-v 3435  df-sbc 3725  df-csb 3833  df-dif 3887  df-un 3889  df-in 3891  df-ss 3901  df-nul 4264  df-if 4457  df-pw 4533  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4841  df-iun 4925  df-br 5075  df-opab 5137  df-mpt 5156  df-id 5515  df-po 5528  df-so 5529  df-xp 5626  df-rel 5627  df-cnv 5628  df-co 5629  df-dm 5630  df-rn 5631  df-res 5632  df-ima 5633  df-iota 6444  df-fun 6490  df-fn 6491  df-f 6492  df-f1 6493  df-fo 6494  df-f1o 6495  df-fv 6496  df-riota 7316  df-ov 7362  df-oprab 7363  df-mpo 7364  df-1st 7933  df-2nd 7934  df-er 8637  df-map 8769  df-en 8888  df-dom 8889  df-sdom 8890  df-pnf 11177  df-mnf 11178  df-xr 11179  df-ltxr 11180  df-le 11181  df-sub 11375  df-neg 11376  df-rp 12938  df-ico 13299  df-psmet 21342  df-fbas 21347
This theorem is referenced by:  metust  24544  cfilucfil  24545  metuel  24550  psmetutop  24553  restmetu  24556  metucn  24557
  Copyright terms: Public domain W3C validator