| 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 1921 | . . . . . 6 ⊢ Ⅎ𝑧 𝑤 = 〈𝑥, 𝑦〉 | |
| 2 | cbvopab2.1 | . . . . . 6 ⊢ Ⅎ𝑧𝜑 | |
| 3 | 1, 2 | nfan 1906 | . . . . 5 ⊢ Ⅎ𝑧(𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑) |
| 4 | nfv 1921 | . . . . . 6 ⊢ Ⅎ𝑦 𝑤 = 〈𝑥, 𝑧〉 | |
| 5 | cbvopab2.2 | . . . . . 6 ⊢ Ⅎ𝑦𝜓 | |
| 6 | 4, 5 | nfan 1906 | . . . . 5 ⊢ Ⅎ𝑦(𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓) |
| 7 | opeq2 4805 | . . . . . . 7 ⊢ (𝑦 = 𝑧 → 〈𝑥, 𝑦〉 = 〈𝑥, 𝑧〉) | |
| 8 | 7 | eqeq2d 2750 | . . . . . 6 ⊢ (𝑦 = 𝑧 → (𝑤 = 〈𝑥, 𝑦〉 ↔ 𝑤 = 〈𝑥, 𝑧〉)) |
| 9 | cbvopab2.3 | . . . . . 6 ⊢ (𝑦 = 𝑧 → (𝜑 ↔ 𝜓)) | |
| 10 | 8, 9 | anbi12d 638 | . . . . 5 ⊢ (𝑦 = 𝑧 → ((𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑) ↔ (𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓))) |
| 11 | 3, 6, 10 | cbvexv1 2350 | . . . 4 ⊢ (∃𝑦(𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑) ↔ ∃𝑧(𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓)) |
| 12 | 11 | exbii 1855 | . . 3 ⊢ (∃𝑥∃𝑦(𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑) ↔ ∃𝑥∃𝑧(𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓)) |
| 13 | 12 | abbii 2806 | . 2 ⊢ {𝑤 ∣ ∃𝑥∃𝑦(𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑)} = {𝑤 ∣ ∃𝑥∃𝑧(𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓)} |
| 14 | df-opab 5135 | . 2 ⊢ {〈𝑥, 𝑦〉 ∣ 𝜑} = {𝑤 ∣ ∃𝑥∃𝑦(𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑)} | |
| 15 | df-opab 5135 | . 2 ⊢ {〈𝑥, 𝑧〉 ∣ 𝜓} = {𝑤 ∣ ∃𝑥∃𝑧(𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓)} | |
| 16 | 13, 14, 15 | 3eqtr4i 2772 | 1 ⊢ {〈𝑥, 𝑦〉 ∣ 𝜑} = {〈𝑥, 𝑧〉 ∣ 𝜓} |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 207 ∧ wa 396 = wceq 1547 ∃wex 1786 Ⅎwnf 1790 {cab 2717 〈cop 4561 {copab 5134 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1802 ax-4 1816 ax-5 1917 ax-6 1974 ax-7 2015 ax-8 2121 ax-9 2129 ax-11 2168 ax-12 2189 ax-ext 2711 |
| This theorem depends on definitions: df-bi 208 df-an 397 df-or 854 df-3an 1094 df-tru 1550 df-fal 1560 df-ex 1787 df-nf 1791 df-sb 2074 df-clab 2718 df-cleq 2731 df-clel 2814 df-rab 3392 df-v 3433 df-dif 3886 df-un 3888 df-ss 3900 df-nul 4262 df-if 4455 df-sn 4556 df-pr 4558 df-op 4562 df-opab 5135 |
| This theorem is referenced by: cbvoprab3 7447 |
| Copyright terms: Public domain | W3C validator |