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

Theorem cbvoprab3v 7460
Description: Rule used to change the third bound variable in an operation abstraction, using implicit substitution. (Contributed by NM, 8-Oct-2004.) (Revised by David Abernethy, 19-Jun-2012.)
Hypothesis
Ref Expression
cbvoprab3v.1 (𝑧 = 𝑤 → (𝜑𝜓))
Assertion
Ref Expression
cbvoprab3v {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∣ 𝜓}
Distinct variable groups:   𝑥,𝑧,𝑤   𝑦,𝑧,𝑤   𝜑,𝑤   𝜓,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)   𝜓(𝑥,𝑦,𝑤)

Proof of Theorem cbvoprab3v
Dummy variable 𝑣 is distinct from all other variables.
StepHypRef Expression
1 opeq2 4832 . . . . . . 7 (𝑧 = 𝑤 → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩)
21eqeq2d 2748 . . . . . 6 (𝑧 = 𝑤 → (𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ↔ 𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩))
3 cbvoprab3v.1 . . . . . 6 (𝑧 = 𝑤 → (𝜑𝜓))
42, 3anbi12d 633 . . . . 5 (𝑧 = 𝑤 → ((𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ (𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ 𝜓)))
54cbvexvw 2039 . . . 4 (∃𝑧(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ ∃𝑤(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ 𝜓))
652exbii 1851 . . 3 (∃𝑥𝑦𝑧(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ ∃𝑥𝑦𝑤(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ 𝜓))
76abbii 2804 . 2 {𝑣 ∣ ∃𝑥𝑦𝑧(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)} = {𝑣 ∣ ∃𝑥𝑦𝑤(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ 𝜓)}
8 df-oprab 7372 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {𝑣 ∣ ∃𝑥𝑦𝑧(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)}
9 df-oprab 7372 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∣ 𝜓} = {𝑣 ∣ ∃𝑥𝑦𝑤(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ 𝜓)}
107, 8, 93eqtr4i 2770 1 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∣ 𝜓}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1542  wex 1781  {cab 2715  cop 4588  {coprab 7369
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-ext 2709
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-sb 2069  df-clab 2716  df-cleq 2729  df-clel 2812  df-rab 3402  df-v 3444  df-dif 3906  df-un 3908  df-ss 3920  df-nul 4288  df-if 4482  df-sn 4583  df-pr 4585  df-op 4589  df-oprab 7372
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator