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

Theorem dfoprab2 7311
Description: Class abstraction for operations in terms of class abstraction of ordered pairs. (Contributed by NM, 12-Mar-1995.)
Assertion
Ref Expression
dfoprab2 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨𝑤, 𝑧⟩ ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)}
Distinct variable groups:   𝑥,𝑧,𝑤   𝑦,𝑧,𝑤   𝜑,𝑤
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)

Proof of Theorem dfoprab2
Dummy variable 𝑣 is distinct from all other variables.
StepHypRef Expression
1 excom 2164 . . . 4 (∃𝑧𝑤𝑥𝑦(𝑣 = ⟨𝑤, 𝑧⟩ ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)) ↔ ∃𝑤𝑧𝑥𝑦(𝑣 = ⟨𝑤, 𝑧⟩ ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)))
2 exrot4 2168 . . . . 5 (∃𝑧𝑤𝑥𝑦(𝑣 = ⟨𝑤, 𝑧⟩ ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)) ↔ ∃𝑥𝑦𝑧𝑤(𝑣 = ⟨𝑤, 𝑧⟩ ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)))
3 opeq1 4801 . . . . . . . . . . . 12 (𝑤 = ⟨𝑥, 𝑦⟩ → ⟨𝑤, 𝑧⟩ = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩)
43eqeq2d 2749 . . . . . . . . . . 11 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑣 = ⟨𝑤, 𝑧⟩ ↔ 𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩))
54pm5.32ri 575 . . . . . . . . . 10 ((𝑣 = ⟨𝑤, 𝑧⟩ ∧ 𝑤 = ⟨𝑥, 𝑦⟩) ↔ (𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝑤 = ⟨𝑥, 𝑦⟩))
65anbi1i 623 . . . . . . . . 9 (((𝑣 = ⟨𝑤, 𝑧⟩ ∧ 𝑤 = ⟨𝑥, 𝑦⟩) ∧ 𝜑) ↔ ((𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝑤 = ⟨𝑥, 𝑦⟩) ∧ 𝜑))
7 anass 468 . . . . . . . . 9 (((𝑣 = ⟨𝑤, 𝑧⟩ ∧ 𝑤 = ⟨𝑥, 𝑦⟩) ∧ 𝜑) ↔ (𝑣 = ⟨𝑤, 𝑧⟩ ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)))
8 an32 642 . . . . . . . . 9 (((𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝑤 = ⟨𝑥, 𝑦⟩) ∧ 𝜑) ↔ ((𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ∧ 𝑤 = ⟨𝑥, 𝑦⟩))
96, 7, 83bitr3i 300 . . . . . . . 8 ((𝑣 = ⟨𝑤, 𝑧⟩ ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)) ↔ ((𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ∧ 𝑤 = ⟨𝑥, 𝑦⟩))
109exbii 1851 . . . . . . 7 (∃𝑤(𝑣 = ⟨𝑤, 𝑧⟩ ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)) ↔ ∃𝑤((𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ∧ 𝑤 = ⟨𝑥, 𝑦⟩))
11 opex 5373 . . . . . . . . 9 𝑥, 𝑦⟩ ∈ V
1211isseti 3437 . . . . . . . 8 𝑤 𝑤 = ⟨𝑥, 𝑦
13 19.42v 1958 . . . . . . . 8 (∃𝑤((𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ∧ 𝑤 = ⟨𝑥, 𝑦⟩) ↔ ((𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ∧ ∃𝑤 𝑤 = ⟨𝑥, 𝑦⟩))
1412, 13mpbiran2 706 . . . . . . 7 (∃𝑤((𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ∧ 𝑤 = ⟨𝑥, 𝑦⟩) ↔ (𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑))
1510, 14bitri 274 . . . . . 6 (∃𝑤(𝑣 = ⟨𝑤, 𝑧⟩ ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)) ↔ (𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑))
16153exbii 1853 . . . . 5 (∃𝑥𝑦𝑧𝑤(𝑣 = ⟨𝑤, 𝑧⟩ ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)) ↔ ∃𝑥𝑦𝑧(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑))
172, 16bitri 274 . . . 4 (∃𝑧𝑤𝑥𝑦(𝑣 = ⟨𝑤, 𝑧⟩ ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)) ↔ ∃𝑥𝑦𝑧(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑))
18 19.42vv 1962 . . . . 5 (∃𝑥𝑦(𝑣 = ⟨𝑤, 𝑧⟩ ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)) ↔ (𝑣 = ⟨𝑤, 𝑧⟩ ∧ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)))
19182exbii 1852 . . . 4 (∃𝑤𝑧𝑥𝑦(𝑣 = ⟨𝑤, 𝑧⟩ ∧ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)) ↔ ∃𝑤𝑧(𝑣 = ⟨𝑤, 𝑧⟩ ∧ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)))
201, 17, 193bitr3i 300 . . 3 (∃𝑥𝑦𝑧(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ ∃𝑤𝑧(𝑣 = ⟨𝑤, 𝑧⟩ ∧ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)))
2120abbii 2809 . 2 {𝑣 ∣ ∃𝑥𝑦𝑧(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)} = {𝑣 ∣ ∃𝑤𝑧(𝑣 = ⟨𝑤, 𝑧⟩ ∧ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑))}
22 df-oprab 7259 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {𝑣 ∣ ∃𝑥𝑦𝑧(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)}
23 df-opab 5133 . 2 {⟨𝑤, 𝑧⟩ ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} = {𝑣 ∣ ∃𝑤𝑧(𝑣 = ⟨𝑤, 𝑧⟩ ∧ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑))}
2421, 22, 233eqtr4i 2776 1 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨𝑤, 𝑧⟩ ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)}
Colors of variables: wff setvar class
Syntax hints:  wa 395   = wceq 1539  wex 1783  {cab 2715  cop 4564  {copab 5132  {coprab 7256
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-11 2156  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
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-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-opab 5133  df-oprab 7259
This theorem is referenced by:  reloprab  7312  oprabv  7313  cbvoprab1  7340  cbvoprab12  7342  cbvoprab3  7344  dmoprab  7354  rnoprab  7356  ssoprab2i  7363  mpomptx  7365  resoprab  7370  funoprabg  7373  elrnmpores  7389  ov6g  7414  dfoprab3s  7866  xpcomco  8802  omxpenlem  8813  nvss  28856  mpomptxf  30918  bj-dfmpoa  35216  mpomptx2  45558
  Copyright terms: Public domain W3C validator