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

Theorem cbvopab 5191
Description: Rule used to change bound variables in an ordered-pair class abstraction, using implicit substitution. (Contributed by NM, 14-Sep-2003.)
Hypotheses
Ref Expression
cbvopab.1 Ⅎ𝑧𝜑
cbvopab.2 Ⅎ𝑤𝜑
cbvopab.3 Ⅎ𝑥𝜓
cbvopab.4 Ⅎ𝑦𝜓
cbvopab.5 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝜑 ↔ 𝜓))
Assertion
Ref Expression
cbvopab {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑧, 𝑤⟩ ∣ 𝜓}
Distinct variable group:   𝑥,𝑦,𝑧,𝑤
Allowed substitution hints:   𝜑(𝑥, 𝑦, 𝑧, 𝑤)   𝜓(𝑥, 𝑦, 𝑧, 𝑤)

Proof of Theorem cbvopab
Dummy variable 𝑣 is distinct from all other variables.
StepHypRef Expression
1 nfv 1956 . . . . 5 Ⅎ𝑧 𝑣 = ⟨𝑥, 𝑦⟩
2 cbvopab.1 . . . . 5 Ⅎ𝑧𝜑
31, 2nfan 1940 . . . 4 Ⅎ𝑧(𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)
4 nfv 1956 . . . . 5 Ⅎ𝑤 𝑣 = ⟨𝑥, 𝑦⟩
5 cbvopab.2 . . . . 5 Ⅎ𝑤𝜑
64, 5nfan 1940 . . . 4 Ⅎ𝑤(𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)
7 nfv 1956 . . . . 5 Ⅎ𝑥 𝑣 = ⟨𝑧, 𝑤⟩
8 cbvopab.3 . . . . 5 Ⅎ𝑥𝜓
97, 8nfan 1940 . . . 4 Ⅎ𝑥(𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓)
10 nfv 1956 . . . . 5 Ⅎ𝑦 𝑣 = ⟨𝑧, 𝑤⟩
11 cbvopab.4 . . . . 5 Ⅎ𝑦𝜓
1210, 11nfan 1940 . . . 4 Ⅎ𝑦(𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓)
13 opeq12 4855 . . . . . 6 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ⟨𝑥, 𝑦⟩ = ⟨𝑧, 𝑤⟩)
1413eqeq2d 2785 . . . . 5 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑣 = ⟨𝑥, 𝑦⟩ ↔ 𝑣 = ⟨𝑧, 𝑤⟩))
15 cbvopab.5 . . . . 5 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝜑 ↔ 𝜓))
1614, 15anbi12d 644 . . . 4 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ (𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓)))
173, 6, 9, 12, 16cbvex2v 2386 . . 3 (∃𝑥∃𝑦(𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑧∃𝑤(𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓))
1817abbii 2841 . 2 {𝑣 ∣ ∃𝑥∃𝑦(𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} = {𝑣 ∣ ∃𝑧∃𝑤(𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓)}
19 df-opab 5182 . 2 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {𝑣 ∣ ∃𝑥∃𝑦(𝑣 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)}
20 df-opab 5182 . 2 {⟨𝑧, 𝑤⟩ ∣ 𝜓} = {𝑣 ∣ ∃𝑧∃𝑤(𝑣 = ⟨𝑧, 𝑤⟩ ∧ 𝜓)}
2118, 19, 203eqtr4i 2807 1 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑧, 𝑤⟩ ∣ 𝜓}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572  ∃wex 1818  Ⅎwnf 1822  {cab 2752  ⟨cop 4848  {copab 5181
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-opab 5182
This theorem is used by:  dfrel4  6210  bj-opabco  38479  aomclem8  44427
  Copyright terms: Public domain W3C validator