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

Theorem metustsym 23165
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 23161 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) → 𝐴 ⊆ (𝑋 × 𝑋))
3 cnvss 5743 . . . 4 (𝐴 ⊆ (𝑋 × 𝑋) → 𝐴(𝑋 × 𝑋))
4 cnvxp 6014 . . . 4 (𝑋 × 𝑋) = (𝑋 × 𝑋)
53, 4sseqtrdi 4017 . . 3 (𝐴 ⊆ (𝑋 × 𝑋) → 𝐴 ⊆ (𝑋 × 𝑋))
62, 5syl 17 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) → 𝐴 ⊆ (𝑋 × 𝑋))
7 simp-4l 781 . . . . . . . . . 10 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → 𝐷 ∈ (PsMet‘𝑋))
8 simpr1r 1227 . . . . . . . . . . 11 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ((𝑝𝑋𝑞𝑋) ∧ 𝑎 ∈ ℝ+𝐴 = (𝐷 “ (0[,)𝑎)))) → 𝑞𝑋)
983anassrs 1356 . . . . . . . . . 10 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → 𝑞𝑋)
10 simpr1l 1226 . . . . . . . . . . 11 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ((𝑝𝑋𝑞𝑋) ∧ 𝑎 ∈ ℝ+𝐴 = (𝐷 “ (0[,)𝑎)))) → 𝑝𝑋)
11103anassrs 1356 . . . . . . . . . 10 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → 𝑝𝑋)
12 psmetsym 22920 . . . . . . . . . 10 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑞𝑋𝑝𝑋) → (𝑞𝐷𝑝) = (𝑝𝐷𝑞))
137, 9, 11, 12syl3anc 1367 . . . . . . . . 9 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (𝑞𝐷𝑝) = (𝑝𝐷𝑞))
14 df-ov 7159 . . . . . . . . 9 (𝑞𝐷𝑝) = (𝐷‘⟨𝑞, 𝑝⟩)
15 df-ov 7159 . . . . . . . . 9 (𝑝𝐷𝑞) = (𝐷‘⟨𝑝, 𝑞⟩)
1613, 14, 153eqtr3g 2879 . . . . . . . 8 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (𝐷‘⟨𝑞, 𝑝⟩) = (𝐷‘⟨𝑝, 𝑞⟩))
1716eleq1d 2897 . . . . . . 7 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ((𝐷‘⟨𝑞, 𝑝⟩) ∈ (0[,)𝑎) ↔ (𝐷‘⟨𝑝, 𝑞⟩) ∈ (0[,)𝑎)))
18 psmetf 22916 . . . . . . . . 9 (𝐷 ∈ (PsMet‘𝑋) → 𝐷:(𝑋 × 𝑋)⟶ℝ*)
19 ffun 6517 . . . . . . . . 9 (𝐷:(𝑋 × 𝑋)⟶ℝ* → Fun 𝐷)
207, 18, 193syl 18 . . . . . . . 8 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → Fun 𝐷)
21 simpllr 774 . . . . . . . . . . 11 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (𝑝𝑋𝑞𝑋))
2221ancomd 464 . . . . . . . . . 10 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (𝑞𝑋𝑝𝑋))
23 opelxpi 5592 . . . . . . . . . 10 ((𝑞𝑋𝑝𝑋) → ⟨𝑞, 𝑝⟩ ∈ (𝑋 × 𝑋))
2422, 23syl 17 . . . . . . . . 9 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ⟨𝑞, 𝑝⟩ ∈ (𝑋 × 𝑋))
25 fdm 6522 . . . . . . . . . 10 (𝐷:(𝑋 × 𝑋)⟶ℝ* → dom 𝐷 = (𝑋 × 𝑋))
267, 18, 253syl 18 . . . . . . . . 9 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → dom 𝐷 = (𝑋 × 𝑋))
2724, 26eleqtrrd 2916 . . . . . . . 8 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ⟨𝑞, 𝑝⟩ ∈ dom 𝐷)
28 fvimacnv 6823 . . . . . . . 8 ((Fun 𝐷 ∧ ⟨𝑞, 𝑝⟩ ∈ dom 𝐷) → ((𝐷‘⟨𝑞, 𝑝⟩) ∈ (0[,)𝑎) ↔ ⟨𝑞, 𝑝⟩ ∈ (𝐷 “ (0[,)𝑎))))
2920, 27, 28syl2anc 586 . . . . . . 7 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ((𝐷‘⟨𝑞, 𝑝⟩) ∈ (0[,)𝑎) ↔ ⟨𝑞, 𝑝⟩ ∈ (𝐷 “ (0[,)𝑎))))
30 opelxpi 5592 . . . . . . . . . 10 ((𝑝𝑋𝑞𝑋) → ⟨𝑝, 𝑞⟩ ∈ (𝑋 × 𝑋))
3121, 30syl 17 . . . . . . . . 9 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ⟨𝑝, 𝑞⟩ ∈ (𝑋 × 𝑋))
3231, 26eleqtrrd 2916 . . . . . . . 8 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ⟨𝑝, 𝑞⟩ ∈ dom 𝐷)
33 fvimacnv 6823 . . . . . . . 8 ((Fun 𝐷 ∧ ⟨𝑝, 𝑞⟩ ∈ dom 𝐷) → ((𝐷‘⟨𝑝, 𝑞⟩) ∈ (0[,)𝑎) ↔ ⟨𝑝, 𝑞⟩ ∈ (𝐷 “ (0[,)𝑎))))
3420, 32, 33syl2anc 586 . . . . . . 7 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ((𝐷‘⟨𝑝, 𝑞⟩) ∈ (0[,)𝑎) ↔ ⟨𝑝, 𝑞⟩ ∈ (𝐷 “ (0[,)𝑎))))
3517, 29, 343bitr3d 311 . . . . . 6 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (⟨𝑞, 𝑝⟩ ∈ (𝐷 “ (0[,)𝑎)) ↔ ⟨𝑝, 𝑞⟩ ∈ (𝐷 “ (0[,)𝑎))))
36 simpr 487 . . . . . . 7 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → 𝐴 = (𝐷 “ (0[,)𝑎)))
3736eleq2d 2898 . . . . . 6 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (⟨𝑞, 𝑝⟩ ∈ 𝐴 ↔ ⟨𝑞, 𝑝⟩ ∈ (𝐷 “ (0[,)𝑎))))
3836eleq2d 2898 . . . . . 6 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (⟨𝑝, 𝑞⟩ ∈ 𝐴 ↔ ⟨𝑝, 𝑞⟩ ∈ (𝐷 “ (0[,)𝑎))))
3935, 37, 383bitr4d 313 . . . . 5 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (⟨𝑞, 𝑝⟩ ∈ 𝐴 ↔ ⟨𝑝, 𝑞⟩ ∈ 𝐴))
40 eqid 2821 . . . . . . . . 9 (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎))) = (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎)))
4140elrnmpt 5828 . . . . . . . 8 (𝐴 ∈ ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎))) → (𝐴 ∈ ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎))) ↔ ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎))))
4241ibi 269 . . . . . . 7 (𝐴 ∈ ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎))) → ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎)))
4342, 1eleq2s 2931 . . . . . 6 (𝐴𝐹 → ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎)))
4443ad2antlr 725 . . . . 5 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) → ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎)))
4539, 44r19.29a 3289 . . . 4 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) → (⟨𝑞, 𝑝⟩ ∈ 𝐴 ↔ ⟨𝑝, 𝑞⟩ ∈ 𝐴))
46 df-br 5067 . . . . 5 (𝑝𝐴𝑞 ↔ ⟨𝑝, 𝑞⟩ ∈ 𝐴)
47 vex 3497 . . . . . 6 𝑝 ∈ V
48 vex 3497 . . . . . 6 𝑞 ∈ V
4947, 48opelcnv 5752 . . . . 5 (⟨𝑝, 𝑞⟩ ∈ 𝐴 ↔ ⟨𝑞, 𝑝⟩ ∈ 𝐴)
5046, 49bitri 277 . . . 4 (𝑝𝐴𝑞 ↔ ⟨𝑞, 𝑝⟩ ∈ 𝐴)
51 df-br 5067 . . . 4 (𝑝𝐴𝑞 ↔ ⟨𝑝, 𝑞⟩ ∈ 𝐴)
5245, 50, 513bitr4g 316 . . 3 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) → (𝑝𝐴𝑞𝑝𝐴𝑞))
53523impb 1111 . 2 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ 𝑝𝑋𝑞𝑋) → (𝑝𝐴𝑞𝑝𝐴𝑞))
546, 2, 53eqbrrdva 5740 1 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) → 𝐴 = 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  wrex 3139  wss 3936  cop 4573   class class class wbr 5066  cmpt 5146   × cxp 5553  ccnv 5554  dom cdm 5555  ran crn 5556  cima 5558  Fun wfun 6349  wf 6351  cfv 6355  (class class class)co 7156  0cc0 10537  *cxr 10674  +crp 12390  [,)cico 12741  PsMetcpsmet 20529
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461  ax-cnex 10593  ax-resscn 10594  ax-1cn 10595  ax-icn 10596  ax-addcl 10597  ax-addrcl 10598  ax-mulcl 10599  ax-mulrcl 10600  ax-mulcom 10601  ax-addass 10602  ax-mulass 10603  ax-distr 10604  ax-i2m1 10605  ax-1ne0 10606  ax-1rid 10607  ax-rnegex 10608  ax-rrecex 10609  ax-cnre 10610  ax-pre-lttri 10611  ax-pre-lttrn 10612  ax-pre-ltadd 10613
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-opab 5129  df-mpt 5147  df-id 5460  df-po 5474  df-so 5475  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-ov 7159  df-oprab 7160  df-mpo 7161  df-er 8289  df-map 8408  df-en 8510  df-dom 8511  df-sdom 8512  df-pnf 10677  df-mnf 10678  df-xr 10679  df-ltxr 10680  df-le 10681  df-xadd 12509  df-psmet 20537
This theorem is referenced by:  metust  23168
  Copyright terms: Public domain W3C validator