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 31845
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 31839 . . 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 23458 . . . . . . . 8 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 = dom dom 𝐷)
43adantr 481 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → 𝑋 = dom dom 𝐷)
5 dmeq 5812 . . . . . . . . 9 (𝑑 = 𝐷 → dom 𝑑 = dom 𝐷)
65dmeqd 5814 . . . . . . . 8 (𝑑 = 𝐷 → dom dom 𝑑 = dom dom 𝐷)
76adantl 482 . . . . . . 7 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → dom dom 𝑑 = dom dom 𝐷)
84, 7eqtr4d 2781 . . . . . 6 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → 𝑋 = dom dom 𝑑)
9 qseq1 8552 . . . . . 6 (𝑋 = dom dom 𝑑 → (𝑋 / ) = (dom dom 𝑑 / ))
108, 9syl 17 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (𝑋 / ) = (dom dom 𝑑 / ))
11 pstmval.1 . . . . . . . 8 = (~Met𝐷)
12 fveq2 6774 . . . . . . . 8 (𝑑 = 𝐷 → (~Met𝑑) = (~Met𝐷))
1311, 12eqtr4id 2797 . . . . . . 7 (𝑑 = 𝐷 = (~Met𝑑))
14 qseq2 8553 . . . . . . 7 ( = (~Met𝑑) → (dom dom 𝑑 / ) = (dom dom 𝑑 / (~Met𝑑)))
1513, 14syl 17 . . . . . 6 (𝑑 = 𝐷 → (dom dom 𝑑 / ) = (dom dom 𝑑 / (~Met𝑑)))
1615adantl 482 . . . . 5 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (dom dom 𝑑 / ) = (dom dom 𝑑 / (~Met𝑑)))
1710, 16eqtr2d 2779 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (dom dom 𝑑 / (~Met𝑑)) = (𝑋 / ))
18 mpoeq12 7348 . . . 4 (((dom dom 𝑑 / (~Met𝑑)) = (𝑋 / ) ∧ (dom dom 𝑑 / (~Met𝑑)) = (𝑋 / )) → (𝑎 ∈ (dom dom 𝑑 / (~Met𝑑)), 𝑏 ∈ (dom dom 𝑑 / (~Met𝑑)) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}) = (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}))
1917, 17, 18syl2anc 584 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (𝑎 ∈ (dom dom 𝑑 / (~Met𝑑)), 𝑏 ∈ (dom dom 𝑑 / (~Met𝑑)) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}) = (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}))
20 simp1r 1197 . . . . . . . . 9 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → 𝑑 = 𝐷)
2120oveqd 7292 . . . . . . . 8 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → (𝑥𝑑𝑦) = (𝑥𝐷𝑦))
2221eqeq2d 2749 . . . . . . 7 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → (𝑧 = (𝑥𝑑𝑦) ↔ 𝑧 = (𝑥𝐷𝑦)))
23222rexbidv 3229 . . . . . 6 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → (∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦) ↔ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)))
2423abbidv 2807 . . . . 5 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)} = {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)})
2524unieqd 4853 . . . 4 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) ∧ 𝑎 ∈ (𝑋 / ) ∧ 𝑏 ∈ (𝑋 / )) → {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)} = {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)})
2625mpoeq3dva 7352 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}) = (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)}))
2719, 26eqtrd 2778 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑑 = 𝐷) → (𝑎 ∈ (dom dom 𝑑 / (~Met𝑑)), 𝑏 ∈ (dom dom 𝑑 / (~Met𝑑)) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝑑𝑦)}) = (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)}))
28 elfvdm 6806 . . . 4 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 ∈ dom PsMet)
29 fveq2 6774 . . . . . 6 (𝑥 = 𝑋 → (PsMet‘𝑥) = (PsMet‘𝑋))
3029eleq2d 2824 . . . . 5 (𝑥 = 𝑋 → (𝐷 ∈ (PsMet‘𝑥) ↔ 𝐷 ∈ (PsMet‘𝑋)))
3130rspcev 3561 . . . 4 ((𝑋 ∈ dom PsMet ∧ 𝐷 ∈ (PsMet‘𝑋)) → ∃𝑥 ∈ dom PsMet𝐷 ∈ (PsMet‘𝑥))
3228, 31mpancom 685 . . 3 (𝐷 ∈ (PsMet‘𝑋) → ∃𝑥 ∈ dom PsMet𝐷 ∈ (PsMet‘𝑥))
33 df-psmet 20589 . . . . 5 PsMet = (𝑥 ∈ V ↦ {𝑑 ∈ (ℝ*m (𝑥 × 𝑥)) ∣ ∀𝑎𝑥 ((𝑎𝑑𝑎) = 0 ∧ ∀𝑏𝑥𝑐𝑥 (𝑎𝑑𝑏) ≤ ((𝑐𝑑𝑎) +𝑒 (𝑐𝑑𝑏)))})
3433funmpt2 6473 . . . 4 Fun PsMet
35 elunirn 7124 . . . 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 6807 . . . 4 (𝐷 ∈ (PsMet‘𝑋) → 𝑋 ∈ V)
39 qsexg 8564 . . . 4 (𝑋 ∈ V → (𝑋 / ) ∈ V)
4038, 39syl 17 . . 3 (𝐷 ∈ (PsMet‘𝑋) → (𝑋 / ) ∈ V)
41 mpoexga 7918 . . 3 (((𝑋 / ) ∈ V ∧ (𝑋 / ) ∈ V) → (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)}) ∈ V)
4240, 40, 41syl2anc 584 . 2 (𝐷 ∈ (PsMet‘𝑋) → (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)}) ∈ V)
432, 27, 37, 42fvmptd 6882 1 (𝐷 ∈ (PsMet‘𝑋) → (pstoMet‘𝐷) = (𝑎 ∈ (𝑋 / ), 𝑏 ∈ (𝑋 / ) ↦ {𝑧 ∣ ∃𝑥𝑎𝑦𝑏 𝑧 = (𝑥𝐷𝑦)}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  {cab 2715  wral 3064  wrex 3065  {crab 3068  Vcvv 3432   cuni 4839   class class class wbr 5074  cmpt 5157   × cxp 5587  dom cdm 5589  ran crn 5590  Fun wfun 6427  cfv 6433  (class class class)co 7275  cmpo 7277   / cqs 8497  m cmap 8615  0cc0 10871  *cxr 11008  cle 11010   +𝑒 cxad 12846  PsMetcpsmet 20581  ~Metcmetid 31836  pstoMetcpstm 31837
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-cnex 10927  ax-resscn 10928
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-1st 7831  df-2nd 7832  df-ec 8500  df-qs 8504  df-map 8617  df-xr 11013  df-psmet 20589  df-pstm 31839
This theorem is referenced by:  pstmfval  31846  pstmxmet  31847
  Copyright terms: Public domain W3C validator