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

Theorem metustsym 24785
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 24781 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) → 𝐴 ⊆ (𝑋 × 𝑋))
3 cnvss 5856 . . . 4 (𝐴 ⊆ (𝑋 × 𝑋) → 𝐴(𝑋 × 𝑋))
4 cnvxp 6152 . . . 4 (𝑋 × 𝑋) = (𝑋 × 𝑋)
53, 4sseqtrdi 3974 . . 3 (𝐴 ⊆ (𝑋 × 𝑋) → 𝐴 ⊆ (𝑋 × 𝑋))
62, 5syl 18 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) → 𝐴 ⊆ (𝑋 × 𝑋))
7 simp-4l 795 . . . . . . . . . 10 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → 𝐷 ∈ (PsMet‘𝑋))
8 simpr1r 1250 . . . . . . . . . . 11 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ((𝑝𝑋𝑞𝑋) ∧ 𝑎 ∈ ℝ+𝐴 = (𝐷 “ (0[,)𝑎)))) → 𝑞𝑋)
983anassrs 1381 . . . . . . . . . 10 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → 𝑞𝑋)
10 simpr1l 1249 . . . . . . . . . . 11 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ((𝑝𝑋𝑞𝑋) ∧ 𝑎 ∈ ℝ+𝐴 = (𝐷 “ (0[,)𝑎)))) → 𝑝𝑋)
11103anassrs 1381 . . . . . . . . . 10 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → 𝑝𝑋)
12 psmetsym 24540 . . . . . . . . . 10 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑞𝑋𝑝𝑋) → (𝑞𝐷𝑝) = (𝑝𝐷𝑞))
137, 9, 11, 12syl3anc 1398 . . . . . . . . 9 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (𝑞𝐷𝑝) = (𝑝𝐷𝑞))
14 df-ov 7419 . . . . . . . . 9 (𝑞𝐷𝑝) = (𝐷‘⟨𝑞, 𝑝⟩)
15 df-ov 7419 . . . . . . . . 9 (𝑝𝐷𝑞) = (𝐷‘⟨𝑝, 𝑞⟩)
1613, 14, 153eqtr3g 2820 . . . . . . . 8 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (𝐷‘⟨𝑞, 𝑝⟩) = (𝐷‘⟨𝑝, 𝑞⟩))
1716eleq1d 2847 . . . . . . 7 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ((𝐷‘⟨𝑞, 𝑝⟩) ∈ (0[,)𝑎) ↔ (𝐷‘⟨𝑝, 𝑞⟩) ∈ (0[,)𝑎)))
18 psmetf 24536 . . . . . . . . 9 (𝐷 ∈ (PsMet‘𝑋) → 𝐷:(𝑋 × 𝑋)⟶ℝ*)
19 ffun 6709 . . . . . . . . 9 (𝐷:(𝑋 × 𝑋)⟶ℝ* → Fun 𝐷)
207, 18, 193syl 19 . . . . . . . 8 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → Fun 𝐷)
21 simpllr 788 . . . . . . . . . . 11 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (𝑝𝑋𝑞𝑋))
2221ancomd 467 . . . . . . . . . 10 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (𝑞𝑋𝑝𝑋))
23 opelxpi 5696 . . . . . . . . . 10 ((𝑞𝑋𝑝𝑋) → ⟨𝑞, 𝑝⟩ ∈ (𝑋 × 𝑋))
2422, 23syl 18 . . . . . . . . 9 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ⟨𝑞, 𝑝⟩ ∈ (𝑋 × 𝑋))
25 fdm 6716 . . . . . . . . . 10 (𝐷:(𝑋 × 𝑋)⟶ℝ* → dom 𝐷 = (𝑋 × 𝑋))
267, 18, 253syl 19 . . . . . . . . 9 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → dom 𝐷 = (𝑋 × 𝑋))
2724, 26eleqtrrd 2865 . . . . . . . 8 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ⟨𝑞, 𝑝⟩ ∈ dom 𝐷)
28 fvimacnv 7049 . . . . . . . 8 ((Fun 𝐷 ∧ ⟨𝑞, 𝑝⟩ ∈ dom 𝐷) → ((𝐷‘⟨𝑞, 𝑝⟩) ∈ (0[,)𝑎) ↔ ⟨𝑞, 𝑝⟩ ∈ (𝐷 “ (0[,)𝑎))))
2920, 27, 28syl2anc 596 . . . . . . 7 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ((𝐷‘⟨𝑞, 𝑝⟩) ∈ (0[,)𝑎) ↔ ⟨𝑞, 𝑝⟩ ∈ (𝐷 “ (0[,)𝑎))))
30 opelxpi 5696 . . . . . . . . . 10 ((𝑝𝑋𝑞𝑋) → ⟨𝑝, 𝑞⟩ ∈ (𝑋 × 𝑋))
3121, 30syl 18 . . . . . . . . 9 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ⟨𝑝, 𝑞⟩ ∈ (𝑋 × 𝑋))
3231, 26eleqtrrd 2865 . . . . . . . 8 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ⟨𝑝, 𝑞⟩ ∈ dom 𝐷)
33 fvimacnv 7049 . . . . . . . 8 ((Fun 𝐷 ∧ ⟨𝑝, 𝑞⟩ ∈ dom 𝐷) → ((𝐷‘⟨𝑝, 𝑞⟩) ∈ (0[,)𝑎) ↔ ⟨𝑝, 𝑞⟩ ∈ (𝐷 “ (0[,)𝑎))))
3420, 32, 33syl2anc 596 . . . . . . 7 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ((𝐷‘⟨𝑝, 𝑞⟩) ∈ (0[,)𝑎) ↔ ⟨𝑝, 𝑞⟩ ∈ (𝐷 “ (0[,)𝑎))))
3517, 29, 343bitr3d 312 . . . . . 6 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (⟨𝑞, 𝑝⟩ ∈ (𝐷 “ (0[,)𝑎)) ↔ ⟨𝑝, 𝑞⟩ ∈ (𝐷 “ (0[,)𝑎))))
36 simpr 490 . . . . . . 7 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → 𝐴 = (𝐷 “ (0[,)𝑎)))
3736eleq2d 2848 . . . . . 6 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (⟨𝑞, 𝑝⟩ ∈ 𝐴 ↔ ⟨𝑞, 𝑝⟩ ∈ (𝐷 “ (0[,)𝑎))))
3836eleq2d 2848 . . . . . 6 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (⟨𝑝, 𝑞⟩ ∈ 𝐴 ↔ ⟨𝑝, 𝑞⟩ ∈ (𝐷 “ (0[,)𝑎))))
3935, 37, 383bitr4d 314 . . . . 5 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → (⟨𝑞, 𝑝⟩ ∈ 𝐴 ↔ ⟨𝑝, 𝑞⟩ ∈ 𝐴))
40 eqid 2762 . . . . . . . . 9 (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎))) = (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎)))
4140elrnmpt 5946 . . . . . . . 8 (𝐴 ∈ ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎))) → (𝐴 ∈ ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎))) ↔ ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎))))
4241ibi 270 . . . . . . 7 (𝐴 ∈ ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎))) → ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎)))
4342, 1eleq2s 2880 . . . . . 6 (𝐴𝐹 → ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎)))
4443ad2antlr 740 . . . . 5 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) → ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎)))
4539, 44r19.29a 3172 . . . 4 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) → (⟨𝑞, 𝑝⟩ ∈ 𝐴 ↔ ⟨𝑝, 𝑞⟩ ∈ 𝐴))
46 df-br 5108 . . . . 5 (𝑝𝐴𝑞 ↔ ⟨𝑝, 𝑞⟩ ∈ 𝐴)
47 vex 3457 . . . . . 6 𝑝 ∈ V
48 vex 3457 . . . . . 6 𝑞 ∈ V
4947, 48opelcnv 5865 . . . . 5 (⟨𝑝, 𝑞⟩ ∈ 𝐴 ↔ ⟨𝑞, 𝑝⟩ ∈ 𝐴)
5046, 49bitri 278 . . . 4 (𝑝𝐴𝑞 ↔ ⟨𝑞, 𝑝⟩ ∈ 𝐴)
51 df-br 5108 . . . 4 (𝑝𝐴𝑞 ↔ ⟨𝑝, 𝑞⟩ ∈ 𝐴)
5245, 50, 513bitr4g 317 . . 3 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ (𝑝𝑋𝑞𝑋)) → (𝑝𝐴𝑞𝑝𝐴𝑞))
53523impb 1132 . 2 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ 𝑝𝑋𝑞𝑋) → (𝑝𝐴𝑞𝑝𝐴𝑞))
546, 2, 53eqbrrdva 5853 1 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) → 𝐴 = 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wa 401   = wceq 1570  wcel 2145  wrex 3088  wss 3902  cop 4593   class class class wbr 5107  cmpt 5190   × cxp 5657  ccnv 5658  dom cdm 5659  ran crn 5660  cima 5662  Fun wfun 6531  wf 6533  cfv 6537  (class class class)co 7416  0cc0 11127  *cxr 11269  +crp 13044  [,)cico 13402  PsMetcpsmet 21573
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2215  ax-ext 2734  ax-sep 5255  ax-nul 5267  ax-pow 5334  ax-pr 5402  ax-un 7739  ax-cnex 11183  ax-resscn 11184  ax-1cn 11185  ax-icn 11186  ax-addcl 11187  ax-addrcl 11188  ax-mulcl 11189  ax-mulrcl 11190  ax-mulcom 11191  ax-addass 11192  ax-mulass 11193  ax-distr 11194  ax-i2m1 11195  ax-1ne0 11196  ax-1rid 11197  ax-rnegex 11198  ax-rrecex 11199  ax-cnre 11200  ax-pre-lttri 11201  ax-pre-lttrn 11202  ax-pre-ltadd 11203
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-nel 3064  df-ral 3079  df-rex 3089  df-rab 3415  df-v 3455  df-sbc 3743  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-nul 4283  df-if 4486  df-pw 4562  df-sn 4588  df-pr 4590  df-op 4594  df-uni 4871  df-br 5108  df-opab 5172  df-mpt 5191  df-id 5554  df-po 5567  df-so 5568  df-xp 5665  df-rel 5666  df-cnv 5667  df-co 5668  df-dm 5669  df-rn 5670  df-res 5671  df-ima 5672  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-ov 7419  df-oprab 7420  df-mpo 7421  df-er 8699  df-map 8831  df-en 8956  df-dom 8957  df-sdom 8958  df-pnf 11272  df-mnf 11273  df-xr 11274  df-ltxr 11275  df-le 11276  df-xadd 13166  df-psmet 21581
This theorem is used by:  metust  24788
  Copyright terms: Public domain W3C validator