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

Theorem metustfbas 24675
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 24668 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (𝑥𝐹 ↔ ∃𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎))))
3 simpr 489 . . . . . . . . 9 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥 = (𝐷 “ (0[,)𝑎))) → 𝑥 = (𝐷 “ (0[,)𝑎)))
4 cnvimass 6075 . . . . . . . . . 10 (𝐷 “ (0[,)𝑎)) ⊆ dom 𝐷
5 psmetf 24424 . . . . . . . . . . . 12 (𝐷 ∈ (PsMet‘𝑋) → 𝐷:(𝑋 × 𝑋)⟶ℝ*)
65fdmd 6706 . . . . . . . . . . 11 (𝐷 ∈ (PsMet‘𝑋) → dom 𝐷 = (𝑋 × 𝑋))
76adantr 485 . . . . . . . . . 10 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥 = (𝐷 “ (0[,)𝑎))) → dom 𝐷 = (𝑋 × 𝑋))
84, 7sseqtrid 3981 . . . . . . . . 9 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥 = (𝐷 “ (0[,)𝑎))) → (𝐷 “ (0[,)𝑎)) ⊆ (𝑋 × 𝑋))
93, 8eqsstrd 3973 . . . . . . . 8 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥 = (𝐷 “ (0[,)𝑎))) → 𝑥 ⊆ (𝑋 × 𝑋))
109ex 417 . . . . . . 7 (𝐷 ∈ (PsMet‘𝑋) → (𝑥 = (𝐷 “ (0[,)𝑎)) → 𝑥 ⊆ (𝑋 × 𝑋)))
1110rexlimdvw 3171 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (∃𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)) → 𝑥 ⊆ (𝑋 × 𝑋)))
122, 11sylbid 243 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → (𝑥𝐹𝑥 ⊆ (𝑋 × 𝑋)))
1312ralrimiv 3156 . . . 4 (𝐷 ∈ (PsMet‘𝑋) → ∀𝑥𝐹 𝑥 ⊆ (𝑋 × 𝑋))
14 pwssb 5063 . . . 4 (𝐹 ⊆ 𝒫 (𝑋 × 𝑋) ↔ ∀𝑥𝐹 𝑥 ⊆ (𝑋 × 𝑋))
1513, 14sylibr 237 . . 3 (𝐷 ∈ (PsMet‘𝑋) → 𝐹 ⊆ 𝒫 (𝑋 × 𝑋))
1615adantl 486 . 2 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝐹 ⊆ 𝒫 (𝑋 × 𝑋))
17 cnvexg 7909 . . . . . . 7 (𝐷 ∈ (PsMet‘𝑋) → 𝐷 ∈ V)
18 imaexg 7898 . . . . . . 7 (𝐷 ∈ V → (𝐷 “ (0[,)1)) ∈ V)
19 elisset 2847 . . . . . . 7 ((𝐷 “ (0[,)1)) ∈ V → ∃𝑥 𝑥 = (𝐷 “ (0[,)1)))
20 1rp 13011 . . . . . . . . 9 1 ∈ ℝ+
21 oveq2 7408 . . . . . . . . . . 11 (𝑎 = 1 → (0[,)𝑎) = (0[,)1))
2221imaeq2d 6053 . . . . . . . . . 10 (𝑎 = 1 → (𝐷 “ (0[,)𝑎)) = (𝐷 “ (0[,)1)))
2322rspceeqv 3607 . . . . . . . . 9 ((1 ∈ ℝ+𝑥 = (𝐷 “ (0[,)1))) → ∃𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)))
2420, 23mpan 702 . . . . . . . 8 (𝑥 = (𝐷 “ (0[,)1)) → ∃𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)))
2524eximi 1858 . . . . . . 7 (∃𝑥 𝑥 = (𝐷 “ (0[,)1)) → ∃𝑥𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)))
2617, 18, 19, 254syl 20 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → ∃𝑥𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎)))
272exbidv 1944 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (∃𝑥 𝑥𝐹 ↔ ∃𝑥𝑎 ∈ ℝ+ 𝑥 = (𝐷 “ (0[,)𝑎))))
2826, 27mpbird 260 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → ∃𝑥 𝑥𝐹)
2928adantl 486 . . . 4 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∃𝑥 𝑥𝐹)
30 n0 4308 . . . 4 (𝐹 ≠ ∅ ↔ ∃𝑥 𝑥𝐹)
3129, 30sylibr 237 . . 3 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝐹 ≠ ∅)
321metustid 24672 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝐹) → ( I ↾ 𝑋) ⊆ 𝑥)
3332adantll 726 . . . . . 6 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ 𝑥𝐹) → ( I ↾ 𝑋) ⊆ 𝑥)
34 n0 4308 . . . . . . . . 9 (𝑋 ≠ ∅ ↔ ∃𝑝 𝑝𝑋)
3534birani 508 . . . . . . . 8 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∃𝑝 𝑝𝑋)
36 opelidres 5981 . . . . . . . . . . 11 (𝑝𝑋 → (⟨𝑝, 𝑝⟩ ∈ ( I ↾ 𝑋) ↔ 𝑝𝑋))
3736ibir 271 . . . . . . . . . 10 (𝑝𝑋 → ⟨𝑝, 𝑝⟩ ∈ ( I ↾ 𝑋))
3837ne0d 4297 . . . . . . . . 9 (𝑝𝑋 → ( I ↾ 𝑋) ≠ ∅)
3938exlimiv 1953 . . . . . . . 8 (∃𝑝 𝑝𝑋 → ( I ↾ 𝑋) ≠ ∅)
4035, 39syl 18 . . . . . . 7 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ( I ↾ 𝑋) ≠ ∅)
4140adantr 485 . . . . . 6 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ 𝑥𝐹) → ( I ↾ 𝑋) ≠ ∅)
42 ssn0 4361 . . . . . 6 ((( I ↾ 𝑋) ⊆ 𝑥 ∧ ( I ↾ 𝑋) ≠ ∅) → 𝑥 ≠ ∅)
4333, 41, 42syl2anc 595 . . . . 5 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ 𝑥𝐹) → 𝑥 ≠ ∅)
4443nelrdva 3671 . . . 4 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ¬ ∅ ∈ 𝐹)
45 df-nel 3065 . . . 4 (∅ ∉ 𝐹 ↔ ¬ ∅ ∈ 𝐹)
4644, 45sylibr 237 . . 3 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∅ ∉ 𝐹)
47 dfss2 3925 . . . . . . . 8 (𝑥𝑦 ↔ (𝑥𝑦) = 𝑥)
4847bilani 509 . . . . . . 7 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑥𝑦) → (𝑥𝑦) = 𝑥)
49 simplrl 788 . . . . . . 7 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑥𝑦) → 𝑥𝐹)
5048, 49eqeltrd 2865 . . . . . 6 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑥𝑦) → (𝑥𝑦) ∈ 𝐹)
51 sseqin2 4178 . . . . . . . 8 (𝑦𝑥 ↔ (𝑥𝑦) = 𝑦)
5251bilani 509 . . . . . . 7 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑦𝑥) → (𝑥𝑦) = 𝑦)
53 simplrr 789 . . . . . . 7 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑦𝑥) → 𝑦𝐹)
5452, 53eqeltrd 2865 . . . . . 6 ((((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) ∧ 𝑦𝑥) → (𝑥𝑦) ∈ 𝐹)
55 simplr 780 . . . . . . 7 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → 𝐷 ∈ (PsMet‘𝑋))
56 simprl 782 . . . . . . 7 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → 𝑥𝐹)
57 simprr 784 . . . . . . 7 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → 𝑦𝐹)
581metustto 24671 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑥𝐹𝑦𝐹) → (𝑥𝑦𝑦𝑥))
5955, 56, 57, 58syl3anc 1394 . . . . . 6 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → (𝑥𝑦𝑦𝑥))
6050, 54, 59mpjaodan 973 . . . . 5 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → (𝑥𝑦) ∈ 𝐹)
61 ssidd 3962 . . . . 5 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → (𝑥𝑦) ⊆ (𝑥𝑦))
62 sseq1 3964 . . . . . 6 (𝑧 = (𝑥𝑦) → (𝑧 ⊆ (𝑥𝑦) ↔ (𝑥𝑦) ⊆ (𝑥𝑦)))
6362rspcev 3584 . . . . 5 (((𝑥𝑦) ∈ 𝐹 ∧ (𝑥𝑦) ⊆ (𝑥𝑦)) → ∃𝑧𝐹 𝑧 ⊆ (𝑥𝑦))
6460, 61, 63syl2anc 595 . . . 4 (((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) ∧ (𝑥𝐹𝑦𝐹)) → ∃𝑧𝐹 𝑧 ⊆ (𝑥𝑦))
6564ralrimivva 3208 . . 3 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∀𝑥𝐹𝑦𝐹𝑧𝐹 𝑧 ⊆ (𝑥𝑦))
6631, 46, 653jca 1144 . 2 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → (𝐹 ≠ ∅ ∧ ∅ ∉ 𝐹 ∧ ∀𝑥𝐹𝑦𝐹𝑧𝐹 𝑧 ⊆ (𝑥𝑦)))
67 elfvex 6906 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 ∈ V)
6867adantl 486 . . . 4 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝑋 ∈ V)
6968, 68xpexd 7738 . . 3 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → (𝑋 × 𝑋) ∈ V)
70 isfbas2 23953 . . 3 ((𝑋 × 𝑋) ∈ V → (𝐹 ∈ (fBas‘(𝑋 × 𝑋)) ↔ (𝐹 ⊆ 𝒫 (𝑋 × 𝑋) ∧ (𝐹 ≠ ∅ ∧ ∅ ∉ 𝐹 ∧ ∀𝑥𝐹𝑦𝐹𝑧𝐹 𝑧 ⊆ (𝑥𝑦)))))
7169, 70syl 18 . 2 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → (𝐹 ∈ (fBas‘(𝑋 × 𝑋)) ↔ (𝐹 ⊆ 𝒫 (𝑋 × 𝑋) ∧ (𝐹 ≠ ∅ ∧ ∅ ∉ 𝐹 ∧ ∀𝑥𝐹𝑦𝐹𝑧𝐹 𝑧 ⊆ (𝑥𝑦)))))
7216, 66, 71mpbir2and 725 1 ((𝑋 ≠ ∅ ∧ 𝐷 ∈ (PsMet‘𝑋)) → 𝐹 ∈ (fBas‘(𝑋 × 𝑋)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 400  wo 860  w3a 1101   = wceq 1563  wex 1802  wcel 2145  wne 2960  wnel 3064  wral 3079  wrex 3089  Vcvv 3457  cin 3906  wss 3907  c0 4288  𝒫 cpw 4558  cop 4591  cmpt 5186   I cid 5546   × cxp 5650  ccnv 5651  dom cdm 5652  ran crn 5653  cres 5654  cima 5655  cfv 6525  (class class class)co 7400  0cc0 11088  1c1 11089  *cxr 11230  +crp 13007  [,)cico 13365  PsMetcpsmet 21466  fBascfbas 21470
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1818  ax-4 1832  ax-5 1933  ax-6 1990  ax-7 2031  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2215  ax-ext 2737  ax-sep 5251  ax-nul 5261  ax-pow 5327  ax-pr 5395  ax-un 7722  ax-cnex 11144  ax-resscn 11145  ax-1cn 11146  ax-icn 11147  ax-addcl 11148  ax-addrcl 11149  ax-mulcl 11150  ax-mulrcl 11151  ax-mulcom 11152  ax-addass 11153  ax-mulass 11154  ax-distr 11155  ax-i2m1 11156  ax-1ne0 11157  ax-1rid 11158  ax-rnegex 11159  ax-rrecex 11160  ax-cnre 11161  ax-pre-lttri 11162  ax-pre-lttrn 11163  ax-pre-ltadd 11164  ax-pre-mulgt0 11165
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3or 1102  df-3an 1103  df-tru 1566  df-fal 1576  df-ex 1803  df-nf 1807  df-sb 2094  df-mo 2569  df-eu 2599  df-clab 2744  df-cleq 2757  df-clel 2840  df-nfc 2914  df-ne 2961  df-nel 3065  df-ral 3080  df-rex 3090  df-reu 3371  df-rab 3418  df-v 3459  df-sbc 3748  df-csb 3856  df-dif 3910  df-un 3912  df-in 3914  df-ss 3924  df-nul 4289  df-if 4484  df-pw 4560  df-sn 4586  df-pr 4588  df-op 4592  df-uni 4869  df-iun 4954  df-br 5106  df-opab 5168  df-mpt 5187  df-id 5547  df-po 5560  df-so 5561  df-xp 5658  df-rel 5659  df-cnv 5660  df-co 5661  df-dm 5662  df-rn 5663  df-res 5664  df-ima 5665  df-iota 6481  df-fun 6527  df-fn 6528  df-f 6529  df-f1 6530  df-fo 6531  df-f1o 6532  df-fv 6533  df-riota 7357  df-ov 7403  df-oprab 7404  df-mpo 7405  df-1st 7974  df-2nd 7975  df-er 8682  df-map 8814  df-en 8932  df-dom 8933  df-sdom 8934  df-pnf 11233  df-mnf 11234  df-xr 11235  df-ltxr 11236  df-le 11237  df-sub 11431  df-neg 11432  df-rp 13008  df-ico 13369  df-psmet 21474  df-fbas 21479
This theorem is referenced by:  metust  24676  cfilucfil  24677  metuel  24682  psmetutop  24685  restmetu  24688  metucn  24689
  Copyright terms: Public domain W3C validator