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

Theorem cbvopab1g 5179
Description: Change first bound variable in an ordered-pair class abstraction, using explicit substitution. Usage of this theorem is discouraged because it depends on ax-13 2401. See cbvopab1 5178 for a version with more disjoint variable conditions, but not requiring ax-13 2401. (Contributed by NM, 6-Oct-2004.) (Revised by Mario Carneiro, 14-Oct-2016.) (New usage is discouraged.)
Hypotheses
Ref Expression
cbvopab1g.1 Ⅎ𝑧𝜑
cbvopab1g.2 Ⅎ𝑥𝜓
cbvopab1g.3 (𝑥 = 𝑧 → (𝜑 ↔ 𝜓))
Assertion
Ref Expression
cbvopab1g {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑧, 𝑦⟩ ∣ 𝜓}
Distinct variable groups:   𝑥,𝑦   𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥, 𝑦, 𝑧)   𝜓(𝑥, 𝑦, 𝑧)

Proof of Theorem cbvopab1g
Dummy variables 𝑤 𝑣 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfv 1946 . . . . 5 Ⅎ𝑣∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)
2 nfv 1946 . . . . . . 7 Ⅎ𝑥 𝑤 = ⟨𝑣, 𝑦⟩
3 nfs1v 2192 . . . . . . 7 Ⅎ𝑥[𝑣 / 𝑥]𝜑
42, 3nfan 1931 . . . . . 6 Ⅎ𝑥(𝑤 = ⟨𝑣, 𝑦⟩ ∧ [𝑣 / 𝑥]𝜑)
54nfex 2354 . . . . 5 Ⅎ𝑥∃𝑦(𝑤 = ⟨𝑣, 𝑦⟩ ∧ [𝑣 / 𝑥]𝜑)
6 opeq1 4839 . . . . . . . 8 (𝑥 = 𝑣 → ⟨𝑥, 𝑦⟩ = ⟨𝑣, 𝑦⟩)
76eqeq2d 2771 . . . . . . 7 (𝑥 = 𝑣 → (𝑤 = ⟨𝑥, 𝑦⟩ ↔ 𝑤 = ⟨𝑣, 𝑦⟩))
8 sbequ12 2286 . . . . . . 7 (𝑥 = 𝑣 → (𝜑 ↔ [𝑣 / 𝑥]𝜑))
97, 8anbi12d 644 . . . . . 6 (𝑥 = 𝑣 → ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ (𝑤 = ⟨𝑣, 𝑦⟩ ∧ [𝑣 / 𝑥]𝜑)))
109exbidv 1953 . . . . 5 (𝑥 = 𝑣 → (∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑦(𝑤 = ⟨𝑣, 𝑦⟩ ∧ [𝑣 / 𝑥]𝜑)))
111, 5, 10cbvexv1 2371 . . . 4 (∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑣∃𝑦(𝑤 = ⟨𝑣, 𝑦⟩ ∧ [𝑣 / 𝑥]𝜑))
12 nfv 1946 . . . . . . 7 Ⅎ𝑧 𝑤 = ⟨𝑣, 𝑦⟩
13 cbvopab1g.1 . . . . . . . 8 Ⅎ𝑧𝜑
1413nfsb 2552 . . . . . . 7 Ⅎ𝑧[𝑣 / 𝑥]𝜑
1512, 14nfan 1931 . . . . . 6 Ⅎ𝑧(𝑤 = ⟨𝑣, 𝑦⟩ ∧ [𝑣 / 𝑥]𝜑)
1615nfex 2354 . . . . 5 Ⅎ𝑧∃𝑦(𝑤 = ⟨𝑣, 𝑦⟩ ∧ [𝑣 / 𝑥]𝜑)
17 nfv 1946 . . . . 5 Ⅎ𝑣∃𝑦(𝑤 = ⟨𝑧, 𝑦⟩ ∧ 𝜓)
18 opeq1 4839 . . . . . . . 8 (𝑣 = 𝑧 → ⟨𝑣, 𝑦⟩ = ⟨𝑧, 𝑦⟩)
1918eqeq2d 2771 . . . . . . 7 (𝑣 = 𝑧 → (𝑤 = ⟨𝑣, 𝑦⟩ ↔ 𝑤 = ⟨𝑧, 𝑦⟩))
20 sbequ 2119 . . . . . . . 8 (𝑣 = 𝑧 → ([𝑣 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑))
21 cbvopab1g.2 . . . . . . . . 9 Ⅎ𝑥𝜓
22 cbvopab1g.3 . . . . . . . . 9 (𝑥 = 𝑧 → (𝜑 ↔ 𝜓))
2321, 22sbie 2531 . . . . . . . 8 ([𝑧 / 𝑥]𝜑 ↔ 𝜓)
2420, 23bitrdi 290 . . . . . . 7 (𝑣 = 𝑧 → ([𝑣 / 𝑥]𝜑 ↔ 𝜓))
2519, 24anbi12d 644 . . . . . 6 (𝑣 = 𝑧 → ((𝑤 = ⟨𝑣, 𝑦⟩ ∧ [𝑣 / 𝑥]𝜑) ↔ (𝑤 = ⟨𝑧, 𝑦⟩ ∧ 𝜓)))
2625exbidv 1953 . . . . 5 (𝑣 = 𝑧 → (∃𝑦(𝑤 = ⟨𝑣, 𝑦⟩ ∧ [𝑣 / 𝑥]𝜑) ↔ ∃𝑦(𝑤 = ⟨𝑧, 𝑦⟩ ∧ 𝜓)))
2716, 17, 26cbvexv1 2371 . . . 4 (∃𝑣∃𝑦(𝑤 = ⟨𝑣, 𝑦⟩ ∧ [𝑣 / 𝑥]𝜑) ↔ ∃𝑧∃𝑦(𝑤 = ⟨𝑧, 𝑦⟩ ∧ 𝜓))
2811, 27bitri 278 . . 3 (∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑧∃𝑦(𝑤 = ⟨𝑧, 𝑦⟩ ∧ 𝜓))
2928abbii 2827 . 2 {𝑤 ∣ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)} = {𝑤 ∣ ∃𝑧∃𝑦(𝑤 = ⟨𝑧, 𝑦⟩ ∧ 𝜓)}
30 df-opab 5167 . 2 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {𝑤 ∣ ∃𝑥∃𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝜑)}
31 df-opab 5167 . 2 {⟨𝑧, 𝑦⟩ ∣ 𝜓} = {𝑤 ∣ ∃𝑧∃𝑦(𝑤 = ⟨𝑧, 𝑦⟩ ∧ 𝜓)}
3229, 30, 313eqtr4i 2793 1 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑧, 𝑦⟩ ∣ 𝜓}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569  ∃wex 1811  Ⅎwnf 1815  [wsb 2098  {cab 2738  ⟨cop 4834  {copab 5166
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-13 2401  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-opab 5167
This theorem is used by:  cbvmptfg  5205
  Copyright terms: Public domain W3C validator