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

Theorem cbvopab1s 4725
Description: Change first bound variable in an ordered-pair class abstraction, using explicit substitution. (Contributed by NM, 31-Jul-2003.)
Assertion
Ref Expression
cbvopab1s {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑧, 𝑦⟩ ∣ [𝑧 / 𝑥]𝜑}
Distinct variable groups:   𝑥,𝑦,𝑧   𝜑,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem cbvopab1s
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 nfv 1843 . . . 4 𝑧𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)
2 nfv 1843 . . . . . 6 𝑥 𝑤 = ⟨𝑧, 𝑦
3 nfs1v 2437 . . . . . 6 𝑥[𝑧 / 𝑥]𝜑
42, 3nfan 1828 . . . . 5 𝑥(𝑤 = ⟨𝑧, 𝑦⟩ ∧ [𝑧 / 𝑥]𝜑)
54nfex 2154 . . . 4 𝑥𝑦(𝑤 = ⟨𝑧, 𝑦⟩ ∧ [𝑧 / 𝑥]𝜑)
6 opeq1 4402 . . . . . . 7 (𝑥 = 𝑧 → ⟨𝑥, 𝑦⟩ = ⟨𝑧, 𝑦⟩)
76eqeq2d 2632 . . . . . 6 (𝑥 = 𝑧 → (𝑤 = ⟨𝑥, 𝑦⟩ ↔ 𝑤 = ⟨𝑧, 𝑦⟩))
8 sbequ12 2111 . . . . . 6 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
97, 8anbi12d 747 . . . . 5 (𝑥 = 𝑧 → ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ (𝑤 = ⟨𝑧, 𝑦⟩ ∧ [𝑧 / 𝑥]𝜑)))
109exbidv 1850 . . . 4 (𝑥 = 𝑧 → (∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑦(𝑤 = ⟨𝑧, 𝑦⟩ ∧ [𝑧 / 𝑥]𝜑)))
111, 5, 10cbvex 2272 . . 3 (∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑧𝑦(𝑤 = ⟨𝑧, 𝑦⟩ ∧ [𝑧 / 𝑥]𝜑))
1211abbii 2739 . 2 {𝑤 ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} = {𝑤 ∣ ∃𝑧𝑦(𝑤 = ⟨𝑧, 𝑦⟩ ∧ [𝑧 / 𝑥]𝜑)}
13 df-opab 4713 . 2 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {𝑤 ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)}
14 df-opab 4713 . 2 {⟨𝑧, 𝑦⟩ ∣ [𝑧 / 𝑥]𝜑} = {𝑤 ∣ ∃𝑧𝑦(𝑤 = ⟨𝑧, 𝑦⟩ ∧ [𝑧 / 𝑥]𝜑)}
1512, 13, 143eqtr4i 2654 1 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑧, 𝑦⟩ ∣ [𝑧 / 𝑥]𝜑}
Colors of variables: wff setvar class
Syntax hints:  wa 384   = wceq 1483  wex 1704  [wsb 1880  {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: (None)
  Copyright terms: Public domain W3C validator