Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  pstmval Structured version   Visualization version   GIF version

Theorem pstmval 31747
Description: Value of the metric induced by a pseudometric 𝐷. (Contributed by Thierry Arnoux, 7-Feb-2018.)
Hypothesis
Ref Expression
pstmval.1 = (~Met𝐷)
Assertion
Ref Expression
pstmval (𝐷 ∈ (PsMet‘𝑋) → (pstoMet‘𝐷) = (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)}))
Distinct variable groups:   𝑎,𝑏,𝑥,𝑦,𝑧,𝐷   𝑋,𝑎,𝑏,𝑥,𝑦,𝑧   ,𝑎,𝑏,𝑥,𝑦,𝑧

Proof of Theorem pstmval
Dummy variables 𝑐 𝑑 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-pstm 31741 . . 3 pstoMet = (𝑑 ran PsMet ↦ (𝑎 ∈ (dom dom 𝑑 / (~Met𝑑)), 𝑏 ∈ (dom dom 𝑑 / (~Met𝑑)) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}))
21a1i 11 . 2 (𝐷 ∈ (PsMet‘𝑋) → pstoMet = (𝑑 ran PsMet ↦ (𝑎 ∈ (dom dom 𝑑 / (~Met𝑑)), 𝑏 ∈ (dom dom 𝑑 / (~Met𝑑)) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)})))
3 psmetdmdm 23366 . . . . . . . 8 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 = dom dom 𝐷)
43adantr 480 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → 𝑋 = dom dom 𝐷)
5 dmeq 5801 . . . . . . . . 9 (𝑑 = 𝐷 → dom 𝑑 = dom 𝐷)
65dmeqd 5803 . . . . . . . 8 (𝑑 = 𝐷 → dom dom 𝑑 = dom dom 𝐷)
76adantl 481 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → dom dom 𝑑 = dom dom 𝐷)
84, 7eqtr4d 2781 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → 𝑋 = dom dom 𝑑)
9 qseq1 8510 . . . . . 6 (𝑋 = dom dom 𝑑 → (𝑋 / ) = (dom dom 𝑑 / ))
108, 9syl 17 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (𝑋 / ) = (dom dom 𝑑 / ))
11 pstmval.1 . . . . . . . 8 = (~Met𝐷)
12 fveq2 6756 . . . . . . . 8 (𝑑 = 𝐷 → (~Met𝑑) = (~Met𝐷))
1311, 12eqtr4id 2798 . . . . . . 7 (𝑑 = 𝐷 = (~Met𝑑))
14 qseq2 8511 . . . . . . 7 ( = (~Met𝑑) → (dom dom 𝑑 / ) = (dom dom 𝑑 / (~Met𝑑)))
1513, 14syl 17 . . . . . 6 (𝑑 = 𝐷 → (dom dom 𝑑 / ) = (dom dom 𝑑 / (~Met𝑑)))
1615adantl 481 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (dom dom 𝑑 / ) = (dom dom 𝑑 / (~Met𝑑)))
1710, 16eqtr2d 2779 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (dom dom 𝑑 / (~Met𝑑)) = (𝑋 / ))
18 mpoeq12 7326 . . . 4 (((dom dom 𝑑 / (~Met𝑑)) = (𝑋 / ) ∧ (dom dom 𝑑 / (~Met𝑑)) = (𝑋 / )) → (𝑎 ∈ (dom dom 𝑑 / (~Met𝑑)), 𝑏 ∈ (dom dom 𝑑 / (~Met𝑑)) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}) = (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}))
1917, 17, 18syl2anc 583 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (𝑎 ∈ (dom dom 𝑑 / (~Met𝑑)), 𝑏 ∈ (dom dom 𝑑 / (~Met𝑑)) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}) = (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}))
20 simp1r 1196 . . . . . . . . 9 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → 𝑑 = 𝐷)
2120oveqd 7272 . . . . . . . 8 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → (𝑥𝑑𝑦) = (𝑥𝐷𝑦))
2221eqeq2d 2749 . . . . . . 7 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → (𝑧 = (𝑥𝑑𝑦) ↔ 𝑧 = (𝑥𝐷𝑦)))
23222rexbidv 3228 . . . . . 6 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → (∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦) ↔ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)))
2423abbidv 2808 . . . . 5 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)} = {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)})
2524unieqd 4850 . . . 4 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)} = {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)})
2625mpoeq3dva 7330 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}) = (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)}))
2719, 26eqtrd 2778 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (𝑎 ∈ (dom dom 𝑑 / (~Met𝑑)), 𝑏 ∈ (dom dom 𝑑 / (~Met𝑑)) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}) = (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)}))
28 elfvdm 6788 . . . 4 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 ∈ dom PsMet)
29 fveq2 6756 . . . . . 6 (𝑥 = 𝑋 → (PsMet‘𝑥) = (PsMet‘𝑋))
3029eleq2d 2824 . . . . 5 (𝑥 = 𝑋 → (𝐷 ∈ (PsMet‘𝑥) ↔ 𝐷 ∈ (PsMet‘𝑋)))
3130rspcev 3552 . . . 4 ((𝑋 ∈ dom PsMet ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∃𝑥 ∈ dom PsMet𝐷 ∈ (PsMet‘𝑥))
3228, 31mpancom 684 . . 3 (𝐷 ∈ (PsMet‘𝑋) → ∃𝑥 ∈ dom PsMet𝐷 ∈ (PsMet‘𝑥))
33 df-psmet 20502 . . . . 5 PsMet = (𝑥 ∈ V ↦ {𝑑 ∈ (ℝ*m (𝑥 × 𝑥)) ∣ ∀𝑎𝑥 ((𝑎𝑑𝑎) = 0 ∧ ∀𝑏𝑥𝑐𝑥 (𝑎𝑑𝑏) ≤ ((𝑐𝑑𝑎) +𝑒 (𝑐𝑑𝑏)))})
3433funmpt2 6457 . . . 4 Fun PsMet
35 elunirn 7106 . . . 4 (Fun PsMet → (𝐷 ran PsMet ↔ ∃𝑥 ∈ dom PsMet𝐷 ∈ (PsMet‘𝑥)))
3634, 35ax-mp 5 . . 3 (𝐷 ran PsMet ↔ ∃𝑥 ∈ dom PsMet𝐷 ∈ (PsMet‘𝑥))
3732, 36sylibr 233 . 2 (𝐷 ∈ (PsMet‘𝑋) → 𝐷 ran PsMet)
38 elfvex 6789 . . . 4 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 ∈ V)
39 qsexg 8522 . . . 4 (𝑋 ∈ V → (𝑋 / ) ∈ V)
4038, 39syl 17 . . 3 (𝐷 ∈ (PsMet‘𝑋) → (𝑋 / ) ∈ V)
41 mpoexga 7891 . . 3 (((𝑋 / ) ∈ V ∧ (𝑋 / ) ∈ V) → (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)}) ∈ V)
4240, 40, 41syl2anc 583 . 2 (𝐷 ∈ (PsMet‘𝑋) → (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)}) ∈ V)
432, 27, 37, 42fvmptd 6864 1 (𝐷 ∈ (PsMet‘𝑋) → (pstoMet‘𝐷) = (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  {cab 2715  wral 3063  wrex 3064  {crab 3067  Vcvv 3422   cuni 4836   class class class wbr 5070  cmpt 5153   × cxp 5578  dom cdm 5580  ran crn 5581  Fun wfun 6412  cfv 6418  (class class class)co 7255  cmpo 7257   / cqs 8455  m cmap 8573  0cc0 10802  *cxr 10939  cle 10941   +𝑒 cxad 12775  PsMetcpsmet 20494  ~Metcmetid 31738  pstoMetcpstm 31739
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-ec 8458  df-qs 8462  df-map 8575  df-xr 10944  df-psmet 20502  df-pstm 31741
This theorem is referenced by:  pstmfval  31748  pstmxmet  31749
  Copyright terms: Public domain W3C validator