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

Theorem metustsym 24545
Description: Elements of the filter base generated by the metric 𝐷 are symmetric. (Contributed by Thierry Arnoux, 28-Nov-2017.) (Revised by Thierry Arnoux, 11-Feb-2018.)
Hypothesis
Ref Expression
metust.1 𝐹 = ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎)))
Assertion
Ref Expression
metustsym ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) → 𝐴 = 𝐴)
Distinct variable groups:   𝐷,𝑎   𝑋,𝑎   𝐴,𝑎   𝐹,𝑎

Proof of Theorem metustsym
Dummy variables 𝑝 𝑞 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 metust.1 . . . 4 𝐹 = ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎)))
21metustss 24541 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) → 𝐴 ⊆ (𝑋 × 𝑋))
3 cnvss 5821 . . . 4 (𝐴 ⊆ (𝑋 × 𝑋) → 𝐴(𝑋 × 𝑋))
4 cnvxp 6115 . . . 4 (𝑋 × 𝑋) = (𝑋 × 𝑋)
53, 4sseqtrdi 3962 . . 3 (𝐴 ⊆ (𝑋 × 𝑋) → 𝐴 ⊆ (𝑋 × 𝑋))
62, 5syl 17 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) → 𝐴 ⊆ (𝑋 × 𝑋))
7 simp-4l 788 . . . . . . . . . 10 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → 𝐷 ∈ (PsMet‘𝑋))
8 simpr1r 1238 . . . . . . . . . . 11 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ((𝑝𝑋𝑞𝑋) ∧ 𝑎 ∈ ℝ+𝐴 = (𝐷 “ (0[,)𝑎)))) → 𝑞𝑋)
983anassrs 1367 . . . . . . . . . 10 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → 𝑞𝑋)
10 simpr1l 1237 . . . . . . . . . . 11 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ((𝑝𝑋𝑞𝑋) ∧ 𝑎 ∈ ℝ+𝐴 = (𝐷 “ (0[,)𝑎)))) → 𝑝𝑋)
11103anassrs 1367 . . . . . . . . . 10 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → 𝑝𝑋)
12 psmetsym 24300 . . . . . . . . . 10 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑞𝑋𝑝𝑋) → (𝑞𝐷𝑝) = (𝑝𝐷𝑞))
137, 9, 11, 12syl3anc 1379 . . . . . . . . 9 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (𝑞𝐷𝑝) = (𝑝𝐷𝑞))
14 df-ov 7366 . . . . . . . . 9 (𝑞𝐷𝑝) = (𝐷‘⟨𝑞, 𝑝⟩)
15 df-ov 7366 . . . . . . . . 9 (𝑝𝐷𝑞) = (𝐷‘⟨𝑝, 𝑞⟩)
1613, 14, 153eqtr3g 2798 . . . . . . . 8 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (𝐷‘⟨𝑞, 𝑝⟩) = (𝐷‘⟨𝑝, 𝑞⟩))
1716eleq1d 2825 . . . . . . 7 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ((𝐷‘⟨𝑞, 𝑝⟩) ∈ (0[,)𝑎) ↔ (𝐷‘⟨𝑝, 𝑞⟩) ∈ (0[,)𝑎)))
18 psmetf 24296 . . . . . . . . 9 (𝐷 ∈ (PsMet‘𝑋) → 𝐷:(𝑋 × 𝑋)⟶ℝ*)
19 ffun 6665 . . . . . . . . 9 (𝐷:(𝑋 × 𝑋)⟶ℝ* → Fun 𝐷)
207, 18, 193syl 18 . . . . . . . 8 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → Fun 𝐷)
21 simpllr 781 . . . . . . . . . . 11 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (𝑝𝑋𝑞𝑋))
2221ancomd 462 . . . . . . . . . 10 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (𝑞𝑋𝑝𝑋))
23 opelxpi 5662 . . . . . . . . . 10 ((𝑞𝑋𝑝𝑋) → ⟨𝑞, 𝑝⟩ ∈ (𝑋 × 𝑋))
2422, 23syl 17 . . . . . . . . 9 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ⟨𝑞, 𝑝⟩ ∈ (𝑋 × 𝑋))
25 fdm 6671 . . . . . . . . . 10 (𝐷:(𝑋 × 𝑋)⟶ℝ* → dom 𝐷 = (𝑋 × 𝑋))
267, 18, 253syl 18 . . . . . . . . 9 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → dom 𝐷 = (𝑋 × 𝑋))
2724, 26eleqtrrd 2843 . . . . . . . 8 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ⟨𝑞, 𝑝⟩ ∈ dom 𝐷)
28 fvimacnv 7001 . . . . . . . 8 ((Fun 𝐷 ∧ ⟨𝑞, 𝑝⟩ ∈ dom 𝐷) → ((𝐷‘⟨𝑞, 𝑝⟩) ∈ (0[,)𝑎) ↔ ⟨𝑞, 𝑝⟩ ∈ (𝐷 “ (0[,)𝑎))))
2920, 27, 28syl2anc 590 . . . . . . 7 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ((𝐷‘⟨𝑞, 𝑝⟩) ∈ (0[,)𝑎) ↔ ⟨𝑞, 𝑝⟩ ∈ (𝐷 “ (0[,)𝑎))))
30 opelxpi 5662 . . . . . . . . . 10 ((𝑝𝑋𝑞𝑋) → ⟨𝑝, 𝑞⟩ ∈ (𝑋 × 𝑋))
3121, 30syl 17 . . . . . . . . 9 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ⟨𝑝, 𝑞⟩ ∈ (𝑋 × 𝑋))
3231, 26eleqtrrd 2843 . . . . . . . 8 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ⟨𝑝, 𝑞⟩ ∈ dom 𝐷)
33 fvimacnv 7001 . . . . . . . 8 ((Fun 𝐷 ∧ ⟨𝑝, 𝑞⟩ ∈ dom 𝐷) → ((𝐷‘⟨𝑝, 𝑞⟩) ∈ (0[,)𝑎) ↔ ⟨𝑝, 𝑞⟩ ∈ (𝐷 “ (0[,)𝑎))))
3420, 32, 33syl2anc 590 . . . . . . 7 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ((𝐷‘⟨𝑝, 𝑞⟩) ∈ (0[,)𝑎) ↔ ⟨𝑝, 𝑞⟩ ∈ (𝐷 “ (0[,)𝑎))))
3517, 29, 343bitr3d 310 . . . . . 6 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (⟨𝑞, 𝑝⟩ ∈ (𝐷 “ (0[,)𝑎)) ↔ ⟨𝑝, 𝑞⟩ ∈ (𝐷 “ (0[,)𝑎))))
36 simpr 485 . . . . . . 7 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → 𝐴 = (𝐷 “ (0[,)𝑎)))
3736eleq2d 2826 . . . . . 6 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (⟨𝑞, 𝑝⟩ ∈ 𝐴 ↔ ⟨𝑞, 𝑝⟩ ∈ (𝐷 “ (0[,)𝑎))))
3836eleq2d 2826 . . . . . 6 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (⟨𝑝, 𝑞⟩ ∈ 𝐴 ↔ ⟨𝑝, 𝑞⟩ ∈ (𝐷 “ (0[,)𝑎))))
3935, 37, 383bitr4d 312 . . . . 5 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (⟨𝑞, 𝑝⟩ ∈ 𝐴 ↔ ⟨𝑝, 𝑞⟩ ∈ 𝐴))
40 eqid 2740 . . . . . . . . 9 (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎))) = (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎)))
4140elrnmpt 5907 . . . . . . . 8 (𝐴 ∈ ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎))) → (𝐴 ∈ ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎))) ↔ ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎))))
4241ibi 268 . . . . . . 7 (𝐴 ∈ ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎))) → ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎)))
4342, 1eleq2s 2858 . . . . . 6 (𝐴𝐹 → ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎)))
4443ad2antlr 733 . . . . 5 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) → ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎)))
4539, 44r19.29a 3148 . . . 4 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) → (⟨𝑞, 𝑝⟩ ∈ 𝐴 ↔ ⟨𝑝, 𝑞⟩ ∈ 𝐴))
46 df-br 5080 . . . . 5 (𝑝𝐴𝑞 ↔ ⟨𝑝, 𝑞⟩ ∈ 𝐴)
47 vex 3436 . . . . . 6 𝑝 ∈ V
48 vex 3436 . . . . . 6 𝑞 ∈ V
4947, 48opelcnv 5830 . . . . 5 (⟨𝑝, 𝑞⟩ ∈ 𝐴 ↔ ⟨𝑞, 𝑝⟩ ∈ 𝐴)
5046, 49bitri 276 . . . 4 (𝑝𝐴𝑞 ↔ ⟨𝑞, 𝑝⟩ ∈ 𝐴)
51 df-br 5080 . . . 4 (𝑝𝐴𝑞 ↔ ⟨𝑝, 𝑞⟩ ∈ 𝐴)
5245, 50, 513bitr4g 315 . . 3 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) → (𝑝𝐴𝑞𝑝𝐴𝑞))
53523impb 1120 . 2 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ 𝑝𝑋𝑞𝑋) → (𝑝𝐴𝑞𝑝𝐴𝑞))
546, 2, 53eqbrrdva 5818 1 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) → 𝐴 = 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396   = wceq 1547  wcel 2119  wrex 3064  wss 3890  cop 4568   class class class wbr 5079  cmpt 5160   × cxp 5623  ccnv 5624  dom cdm 5625  ran crn 5626  cima 5628  Fun wfun 6486  wf 6488  cfv 6492  (class class class)co 7363  0cc0 11036  *cxr 11176  +crp 12940  [,)cico 13298  PsMetcpsmet 21338
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
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-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-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-ov 7366  df-oprab 7367  df-mpo 7368  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-xadd 13062  df-psmet 21346
This theorem is referenced by:  metust  24548
  Copyright terms: Public domain W3C validator