| 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 1944 | . . . . . 6 ⊢ Ⅎ𝑧 𝑤 = 〈𝑥, 𝑦〉 | |
| 2 | cbvopab2.1 | . . . . . 6 ⊢ Ⅎ𝑧𝜑 | |
| 3 | 1, 2 | nfan 1929 | . . . . 5 ⊢ Ⅎ𝑧(𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑) |
| 4 | nfv 1944 | . . . . . 6 ⊢ Ⅎ𝑦 𝑤 = 〈𝑥, 𝑧〉 | |
| 5 | cbvopab2.2 | . . . . . 6 ⊢ Ⅎ𝑦𝜓 | |
| 6 | 4, 5 | nfan 1929 | . . . . 5 ⊢ Ⅎ𝑦(𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓) |
| 7 | opeq2 4839 | . . . . . . 7 ⊢ (𝑦 = 𝑧 → 〈𝑥, 𝑦〉 = 〈𝑥, 𝑧〉) | |
| 8 | 7 | eqeq2d 2774 | . . . . . 6 ⊢ (𝑦 = 𝑧 → (𝑤 = 〈𝑥, 𝑦〉 ↔ 𝑤 = 〈𝑥, 𝑧〉)) |
| 9 | cbvopab2.3 | . . . . . 6 ⊢ (𝑦 = 𝑧 → (𝜑 ↔ 𝜓)) | |
| 10 | 8, 9 | anbi12d 643 | . . . . 5 ⊢ (𝑦 = 𝑧 → ((𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑) ↔ (𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓))) |
| 11 | 3, 6, 10 | cbvexv1 2374 | . . . 4 ⊢ (∃𝑦(𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑) ↔ ∃𝑧(𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓)) |
| 12 | 11 | exbii 1878 | . . 3 ⊢ (∃𝑥∃𝑦(𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑) ↔ ∃𝑥∃𝑧(𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓)) |
| 13 | 12 | abbii 2830 | . 2 ⊢ {𝑤 ∣ ∃𝑥∃𝑦(𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑)} = {𝑤 ∣ ∃𝑥∃𝑧(𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓)} |
| 14 | df-opab 5174 | . 2 ⊢ {〈𝑥, 𝑦〉 ∣ 𝜑} = {𝑤 ∣ ∃𝑥∃𝑦(𝑤 = 〈𝑥, 𝑦〉 ∧ 𝜑)} | |
| 15 | df-opab 5174 | . 2 ⊢ {〈𝑥, 𝑧〉 ∣ 𝜓} = {𝑤 ∣ ∃𝑥∃𝑧(𝑤 = 〈𝑥, 𝑧〉 ∧ 𝜓)} | |
| 16 | 13, 14, 15 | 3eqtr4i 2796 | 1 ⊢ {〈𝑥, 𝑦〉 ∣ 𝜑} = {〈𝑥, 𝑧〉 ∣ 𝜓} |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 209 ∧ wa 400 = wceq 1570 ∃wex 1809 Ⅎwnf 1813 {cab 2741 〈cop 4595 {copab 5173 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1825 ax-4 1839 ax-5 1940 ax-6 1997 ax-7 2038 ax-8 2145 ax-9 2153 ax-11 2192 ax-12 2213 ax-ext 2735 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1810 df-nf 1814 df-sb 2097 df-clab 2742 df-cleq 2755 df-clel 2838 df-rab 3417 df-v 3457 df-dif 3908 df-un 3910 df-ss 3922 df-nul 4287 df-if 4488 df-sn 4590 df-pr 4592 df-op 4596 df-opab 5174 |
| This theorem is referenced by: cbvoprab3 7501 |
| Copyright terms: Public domain | W3C validator |