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

Theorem cbvopab 5139
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 1915 . . . . 5 𝑧 𝑣 = ⟨𝑥, 𝑦
2 cbvopab.1 . . . . 5 𝑧𝜑
31, 2nfan 1900 . . . 4 𝑧(𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)
4 nfv 1915 . . . . 5 𝑤 𝑣 = ⟨𝑥, 𝑦
5 cbvopab.2 . . . . 5 𝑤𝜑
64, 5nfan 1900 . . . 4 𝑤(𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)
7 nfv 1915 . . . . 5 𝑥 𝑣 = ⟨𝑧, 𝑤
8 cbvopab.3 . . . . 5 𝑥𝜓
97, 8nfan 1900 . . . 4 𝑥(𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓)
10 nfv 1915 . . . . 5 𝑦 𝑣 = ⟨𝑧, 𝑤
11 cbvopab.4 . . . . 5 𝑦𝜓
1210, 11nfan 1900 . . . 4 𝑦(𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓)
13 opeq12 4807 . . . . . 6 ((𝑥 = 𝑧𝑦 = 𝑤) → ⟨𝑥, 𝑦⟩ = ⟨𝑧, 𝑤⟩)
1413eqeq2d 2834 . . . . 5 ((𝑥 = 𝑧𝑦 = 𝑤) → (𝑣 = ⟨𝑥, 𝑦⟩ ↔ 𝑣 = ⟨𝑧, 𝑤⟩))
15 cbvopab.5 . . . . 5 ((𝑥 = 𝑧𝑦 = 𝑤) → (𝜑𝜓))
1614, 15anbi12d 632 . . . 4 ((𝑥 = 𝑧𝑦 = 𝑤) → ((𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ (𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓)))
173, 6, 9, 12, 16cbvex2v 2365 . . 3 (∃𝑥𝑦(𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑧𝑤(𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓))
1817abbii 2888 . 2 {𝑣 ∣ ∃𝑥𝑦(𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} = {𝑣 ∣ ∃𝑧𝑤(𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓)}
19 df-opab 5131 . 2 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {𝑣 ∣ ∃𝑥𝑦(𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)}
20 df-opab 5131 . 2 {⟨𝑧, 𝑤⟩ ∣ 𝜓} = {𝑣 ∣ ∃𝑧𝑤(𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓)}
2118, 19, 203eqtr4i 2856 1 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑧, 𝑤⟩ ∣ 𝜓}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wex 1780  wnf 1784  {cab 2801  cop 4575  {copab 5130
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-rab 3149  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-opab 5131
This theorem is referenced by:  cbvopabv  5140  dfrel4  6050  aomclem8  39668
  Copyright terms: Public domain W3C validator