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

Theorem cbvopab 4721
Description: Rule used to change bound variables in an ordered-pair class abstraction, using implicit substitution. (Contributed by NM, 14-Sep-2003.)
Hypotheses
Ref Expression
cbvopab.1 𝑧𝜑
cbvopab.2 𝑤𝜑
cbvopab.3 𝑥𝜓
cbvopab.4 𝑦𝜓
cbvopab.5 ((𝑥 = 𝑧𝑦 = 𝑤) → (𝜑𝜓))
Assertion
Ref Expression
cbvopab {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑧, 𝑤⟩ ∣ 𝜓}
Distinct variable group:   𝑥,𝑦,𝑧,𝑤
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑤)   𝜓(𝑥,𝑦,𝑧,𝑤)

Proof of Theorem cbvopab
Dummy variable 𝑣 is distinct from all other variables.
StepHypRef Expression
1 nfv 1843 . . . . 5 𝑧 𝑣 = ⟨𝑥, 𝑦
2 cbvopab.1 . . . . 5 𝑧𝜑
31, 2nfan 1828 . . . 4 𝑧(𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)
4 nfv 1843 . . . . 5 𝑤 𝑣 = ⟨𝑥, 𝑦
5 cbvopab.2 . . . . 5 𝑤𝜑
64, 5nfan 1828 . . . 4 𝑤(𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)
7 nfv 1843 . . . . 5 𝑥 𝑣 = ⟨𝑧, 𝑤
8 cbvopab.3 . . . . 5 𝑥𝜓
97, 8nfan 1828 . . . 4 𝑥(𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓)
10 nfv 1843 . . . . 5 𝑦 𝑣 = ⟨𝑧, 𝑤
11 cbvopab.4 . . . . 5 𝑦𝜓
1210, 11nfan 1828 . . . 4 𝑦(𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓)
13 opeq12 4404 . . . . . 6 ((𝑥 = 𝑧𝑦 = 𝑤) → ⟨𝑥, 𝑦⟩ = ⟨𝑧, 𝑤⟩)
1413eqeq2d 2632 . . . . 5 ((𝑥 = 𝑧𝑦 = 𝑤) → (𝑣 = ⟨𝑥, 𝑦⟩ ↔ 𝑣 = ⟨𝑧, 𝑤⟩))
15 cbvopab.5 . . . . 5 ((𝑥 = 𝑧𝑦 = 𝑤) → (𝜑𝜓))
1614, 15anbi12d 747 . . . 4 ((𝑥 = 𝑧𝑦 = 𝑤) → ((𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ (𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓)))
173, 6, 9, 12, 16cbvex2 2280 . . 3 (∃𝑥𝑦(𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑧𝑤(𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓))
1817abbii 2739 . 2 {𝑣 ∣ ∃𝑥𝑦(𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} = {𝑣 ∣ ∃𝑧𝑤(𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓)}
19 df-opab 4713 . 2 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {𝑣 ∣ ∃𝑥𝑦(𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)}
20 df-opab 4713 . 2 {⟨𝑧, 𝑤⟩ ∣ 𝜓} = {𝑣 ∣ ∃𝑧𝑤(𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓)}
2118, 19, 203eqtr4i 2654 1 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑧, 𝑤⟩ ∣ 𝜓}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1483  wex 1704  wnf 1708  {cab 2608  cop 4183  {copab 4712
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-rab 2921  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-opab 4713
This theorem is referenced by:  cbvopabv  4722  dfrel4  5585  aomclem8  37631
  Copyright terms: Public domain W3C validator