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 31559
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 31553 . . 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 23203 . . . . . . . 8 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 = dom dom 𝐷)
43adantr 484 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → 𝑋 = dom dom 𝐷)
5 dmeq 5772 . . . . . . . . 9 (𝑑 = 𝐷 → dom 𝑑 = dom 𝐷)
65dmeqd 5774 . . . . . . . 8 (𝑑 = 𝐷 → dom dom 𝑑 = dom dom 𝐷)
76adantl 485 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → dom dom 𝑑 = dom dom 𝐷)
84, 7eqtr4d 2780 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → 𝑋 = dom dom 𝑑)
9 qseq1 8445 . . . . . 6 (𝑋 = dom dom 𝑑 → (𝑋 / ) = (dom dom 𝑑 / ))
108, 9syl 17 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (𝑋 / ) = (dom dom 𝑑 / ))
11 pstmval.1 . . . . . . . 8 = (~Met𝐷)
12 fveq2 6717 . . . . . . . 8 (𝑑 = 𝐷 → (~Met𝑑) = (~Met𝐷))
1311, 12eqtr4id 2797 . . . . . . 7 (𝑑 = 𝐷 = (~Met𝑑))
14 qseq2 8446 . . . . . . 7 ( = (~Met𝑑) → (dom dom 𝑑 / ) = (dom dom 𝑑 / (~Met𝑑)))
1513, 14syl 17 . . . . . 6 (𝑑 = 𝐷 → (dom dom 𝑑 / ) = (dom dom 𝑑 / (~Met𝑑)))
1615adantl 485 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (dom dom 𝑑 / ) = (dom dom 𝑑 / (~Met𝑑)))
1710, 16eqtr2d 2778 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (dom dom 𝑑 / (~Met𝑑)) = (𝑋 / ))
18 mpoeq12 7284 . . . 4 (((dom dom 𝑑 / (~Met𝑑)) = (𝑋 / ) ∧ (dom dom 𝑑 / (~Met𝑑)) = (𝑋 / )) → (𝑎 ∈ (dom dom 𝑑 / (~Met𝑑)), 𝑏 ∈ (dom dom 𝑑 / (~Met𝑑)) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}) = (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}))
1917, 17, 18syl2anc 587 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (𝑎 ∈ (dom dom 𝑑 / (~Met𝑑)), 𝑏 ∈ (dom dom 𝑑 / (~Met𝑑)) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}) = (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}))
20 simp1r 1200 . . . . . . . . 9 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → 𝑑 = 𝐷)
2120oveqd 7230 . . . . . . . 8 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → (𝑥𝑑𝑦) = (𝑥𝐷𝑦))
2221eqeq2d 2748 . . . . . . 7 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → (𝑧 = (𝑥𝑑𝑦) ↔ 𝑧 = (𝑥𝐷𝑦)))
23222rexbidv 3219 . . . . . 6 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → (∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦) ↔ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)))
2423abbidv 2807 . . . . 5 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)} = {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)})
2524unieqd 4833 . . . 4 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)} = {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)})
2625mpoeq3dva 7288 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}) = (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)}))
2719, 26eqtrd 2777 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (𝑎 ∈ (dom dom 𝑑 / (~Met𝑑)), 𝑏 ∈ (dom dom 𝑑 / (~Met𝑑)) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}) = (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)}))
28 elfvdm 6749 . . . 4 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 ∈ dom PsMet)
29 fveq2 6717 . . . . . 6 (𝑥 = 𝑋 → (PsMet‘𝑥) = (PsMet‘𝑋))
3029eleq2d 2823 . . . . 5 (𝑥 = 𝑋 → (𝐷 ∈ (PsMet‘𝑥) ↔ 𝐷 ∈ (PsMet‘𝑋)))
3130rspcev 3537 . . . 4 ((𝑋 ∈ dom PsMet ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∃𝑥 ∈ dom PsMet𝐷 ∈ (PsMet‘𝑥))
3228, 31mpancom 688 . . 3 (𝐷 ∈ (PsMet‘𝑋) → ∃𝑥 ∈ dom PsMet𝐷 ∈ (PsMet‘𝑥))
33 df-psmet 20355 . . . . 5 PsMet = (𝑥 ∈ V ↦ {𝑑 ∈ (ℝ*m (𝑥 × 𝑥)) ∣ ∀𝑎𝑥 ((𝑎𝑑𝑎) = 0 ∧ ∀𝑏𝑥𝑐𝑥 (𝑎𝑑𝑏) ≤ ((𝑐𝑑𝑎) +𝑒 (𝑐𝑑𝑏)))})
3433funmpt2 6419 . . . 4 Fun PsMet
35 elunirn 7064 . . . 4 (Fun PsMet → (𝐷 ran PsMet ↔ ∃𝑥 ∈ dom PsMet𝐷 ∈ (PsMet‘𝑥)))
3634, 35ax-mp 5 . . 3 (𝐷 ran PsMet ↔ ∃𝑥 ∈ dom PsMet𝐷 ∈ (PsMet‘𝑥))
3732, 36sylibr 237 . 2 (𝐷 ∈ (PsMet‘𝑋) → 𝐷 ran PsMet)
38 elfvex 6750 . . . 4 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 ∈ V)
39 qsexg 8457 . . . 4 (𝑋 ∈ V → (𝑋 / ) ∈ V)
4038, 39syl 17 . . 3 (𝐷 ∈ (PsMet‘𝑋) → (𝑋 / ) ∈ V)
41 mpoexga 7848 . . 3 (((𝑋 / ) ∈ V ∧ (𝑋 / ) ∈ V) → (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)}) ∈ V)
4240, 40, 41syl2anc 587 . 2 (𝐷 ∈ (PsMet‘𝑋) → (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)}) ∈ V)
432, 27, 37, 42fvmptd 6825 1 (𝐷 ∈ (PsMet‘𝑋) → (pstoMet‘𝐷) = (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1089   = wceq 1543  wcel 2110  {cab 2714  wral 3061  wrex 3062  {crab 3065  Vcvv 3408   cuni 4819   class class class wbr 5053  cmpt 5135   × cxp 5549  dom cdm 5551  ran crn 5552  Fun wfun 6374  cfv 6380  (class class class)co 7213  cmpo 7215   / cqs 8390  m cmap 8508  0cc0 10729  *cxr 10866  cle 10868   +𝑒 cxad 12702  PsMetcpsmet 20347  ~Metcmetid 31550  pstoMetcpstm 31551
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-rep 5179  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523  ax-cnex 10785  ax-resscn 10786
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-ral 3066  df-rex 3067  df-reu 3068  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-op 4548  df-uni 4820  df-iun 4906  df-br 5054  df-opab 5116  df-mpt 5136  df-id 5455  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-f1 6385  df-fo 6386  df-f1o 6387  df-fv 6388  df-ov 7216  df-oprab 7217  df-mpo 7218  df-1st 7761  df-2nd 7762  df-ec 8393  df-qs 8397  df-map 8510  df-xr 10871  df-psmet 20355  df-pstm 31553
This theorem is referenced by:  pstmfval  31560  pstmxmet  31561
  Copyright terms: Public domain W3C validator