ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  cbvopab2 GIF version

Theorem cbvopab2 4056
Description: Change second bound variable in an ordered-pair class abstraction, using explicit substitution. (Contributed by NM, 22-Aug-2013.)
Hypotheses
Ref Expression
cbvopab2.1 𝑧𝜑
cbvopab2.2 𝑦𝜓
cbvopab2.3 (𝑦 = 𝑧 → (𝜑𝜓))
Assertion
Ref Expression
cbvopab2 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑥, 𝑧⟩ ∣ 𝜓}
Distinct variable group:   𝑥,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)   𝜓(𝑥,𝑦,𝑧)

Proof of Theorem cbvopab2
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 nfv 1516 . . . . . 6 𝑧 𝑤 = ⟨𝑥, 𝑦
2 cbvopab2.1 . . . . . 6 𝑧𝜑
31, 2nfan 1553 . . . . 5 𝑧(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)
4 nfv 1516 . . . . . 6 𝑦 𝑤 = ⟨𝑥, 𝑧
5 cbvopab2.2 . . . . . 6 𝑦𝜓
64, 5nfan 1553 . . . . 5 𝑦(𝑤 = ⟨𝑥, 𝑧⟩ ∧ 𝜓)
7 opeq2 3759 . . . . . . 7 (𝑦 = 𝑧 → ⟨𝑥, 𝑦⟩ = ⟨𝑥, 𝑧⟩)
87eqeq2d 2177 . . . . . 6 (𝑦 = 𝑧 → (𝑤 = ⟨𝑥, 𝑦⟩ ↔ 𝑤 = ⟨𝑥, 𝑧⟩))
9 cbvopab2.3 . . . . . 6 (𝑦 = 𝑧 → (𝜑𝜓))
108, 9anbi12d 465 . . . . 5 (𝑦 = 𝑧 → ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ (𝑤 = ⟨𝑥, 𝑧⟩ ∧ 𝜓)))
113, 6, 10cbvex 1744 . . . 4 (∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑧(𝑤 = ⟨𝑥, 𝑧⟩ ∧ 𝜓))
1211exbii 1593 . . 3 (∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑥𝑧(𝑤 = ⟨𝑥, 𝑧⟩ ∧ 𝜓))
1312abbii 2282 . 2 {𝑤 ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} = {𝑤 ∣ ∃𝑥𝑧(𝑤 = ⟨𝑥, 𝑧⟩ ∧ 𝜓)}
14 df-opab 4044 . 2 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {𝑤 ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)}
15 df-opab 4044 . 2 {⟨𝑥, 𝑧⟩ ∣ 𝜓} = {𝑤 ∣ ∃𝑥𝑧(𝑤 = ⟨𝑥, 𝑧⟩ ∧ 𝜓)}
1613, 14, 153eqtr4i 2196 1 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑥, 𝑧⟩ ∣ 𝜓}
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1343  wnf 1448  wex 1480  {cab 2151  cop 3579  {copab 4042
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-ext 2147
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-v 2728  df-un 3120  df-sn 3582  df-pr 3583  df-op 3585  df-opab 4044
This theorem is referenced by:  cbvoprab3  5918
  Copyright terms: Public domain W3C validator