|   | Metamath Proof Explorer | < Previous  
      Next > Nearby theorems | |
| Mirrors > Home > MPE Home > Th. List > cbvopab2 | Structured version Visualization version GIF version | ||
| Description: Change second bound variable in an ordered-pair class abstraction, using explicit substitution. (Contributed by NM, 22-Aug-2013.) | 
| Ref | Expression | 
|---|---|
| cbvopab2.1 | ⊢ Ⅎ𝑧𝜑 | 
| cbvopab2.2 | ⊢ Ⅎ𝑦𝜓 | 
| cbvopab2.3 | ⊢ (𝑦 = 𝑧 → (𝜑 ↔ 𝜓)) | 
| Ref | Expression | 
|---|---|
| cbvopab2 | ⊢ {〈𝑥, 𝑦〉 ∣ 𝜑} = {〈𝑥, 𝑧〉 ∣ 𝜓} | 
| Step | Hyp | Ref | Expression | 
|---|---|---|---|
| 1 | nfv 1914 | . . . . . 6 ⊢ Ⅎ𝑧 𝑤 = 〈𝑥, 𝑦〉 | |
| 2 | cbvopab2.1 | . . . . . 6 ⊢ Ⅎ𝑧𝜑 | |
| 3 | 1, 2 | nfan 1899 | . . . . 5 ⊢ Ⅎ𝑧(𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑) | 
| 4 | nfv 1914 | . . . . . 6 ⊢ Ⅎ𝑦 𝑤 = 〈𝑥, 𝑧〉 | |
| 5 | cbvopab2.2 | . . . . . 6 ⊢ Ⅎ𝑦𝜓 | |
| 6 | 4, 5 | nfan 1899 | . . . . 5 ⊢ Ⅎ𝑦(𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓) | 
| 7 | opeq2 4874 | . . . . . . 7 ⊢ (𝑦 = 𝑧 → 〈𝑥, 𝑦〉 = 〈𝑥, 𝑧〉) | |
| 8 | 7 | eqeq2d 2748 | . . . . . 6 ⊢ (𝑦 = 𝑧 → (𝑤 = 〈𝑥, 𝑦〉 ↔ 𝑤 = 〈𝑥, 𝑧〉)) | 
| 9 | cbvopab2.3 | . . . . . 6 ⊢ (𝑦 = 𝑧 → (𝜑 ↔ 𝜓)) | |
| 10 | 8, 9 | anbi12d 632 | . . . . 5 ⊢ (𝑦 = 𝑧 → ((𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑) ↔ (𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓))) | 
| 11 | 3, 6, 10 | cbvexv1 2344 | . . . 4 ⊢ (∃𝑦(𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑) ↔ ∃𝑧(𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓)) | 
| 12 | 11 | exbii 1848 | . . 3 ⊢ (∃𝑥∃𝑦(𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑) ↔ ∃𝑥∃𝑧(𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓)) | 
| 13 | 12 | abbii 2809 | . 2 ⊢ {𝑤 ∣ ∃𝑥∃𝑦(𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑)} = {𝑤 ∣ ∃𝑥∃𝑧(𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓)} | 
| 14 | df-opab 5206 | . 2 ⊢ {〈𝑥, 𝑦〉 ∣ 𝜑} = {𝑤 ∣ ∃𝑥∃𝑦(𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑)} | |
| 15 | df-opab 5206 | . 2 ⊢ {〈𝑥, 𝑧〉 ∣ 𝜓} = {𝑤 ∣ ∃𝑥∃𝑧(𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓)} | |
| 16 | 13, 14, 15 | 3eqtr4i 2775 | 1 ⊢ {〈𝑥, 𝑦〉 ∣ 𝜑} = {〈𝑥, 𝑧〉 ∣ 𝜓} | 
| Colors of variables: wff setvar class | 
| Syntax hints: → wi 4 ↔ wb 206 ∧ wa 395 = wceq 1540 ∃wex 1779 Ⅎwnf 1783 {cab 2714 〈cop 4632 {copab 5205 | 
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2007 ax-8 2110 ax-9 2118 ax-11 2157 ax-12 2177 ax-ext 2708 | 
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 849 df-3an 1089 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2065 df-clab 2715 df-cleq 2729 df-clel 2816 df-rab 3437 df-v 3482 df-dif 3954 df-un 3956 df-ss 3968 df-nul 4334 df-if 4526 df-sn 4627 df-pr 4629 df-op 4633 df-opab 5206 | 
| This theorem is referenced by: cbvoprab3 7524 | 
| Copyright terms: Public domain | W3C validator |