Users' Mathboxes Mathbox for Gino Giotto < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  cbvoprab12davw Structured version   Visualization version   GIF version

Theorem cbvoprab12davw 36233
Description: Change the first and second bound variables in an operation abstraction. Deduction form. (Contributed by GG, 14-Aug-2025.)
Hypothesis
Ref Expression
cbvoprab12davw.1 (((𝜑𝑥 = 𝑤) ∧ 𝑦 = 𝑣) → (𝜓𝜒))
Assertion
Ref Expression
cbvoprab12davw (𝜑 → {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜓} = {⟨⟨𝑤, 𝑣⟩, 𝑧⟩ ∣ 𝜒})
Distinct variable groups:   𝜑,𝑥,𝑦,𝑧,𝑤,𝑣   𝜓,𝑤,𝑣   𝜒,𝑥,𝑦
Allowed substitution hints:   𝜓(𝑥,𝑦,𝑧)   𝜒(𝑧,𝑤,𝑣)

Proof of Theorem cbvoprab12davw
Dummy variable 𝑡 is distinct from all other variables.
StepHypRef Expression
1 simplr 768 . . . . . . . . . 10 (((𝜑𝑥 = 𝑤) ∧ 𝑦 = 𝑣) → 𝑥 = 𝑤)
2 simpr 484 . . . . . . . . . 10 (((𝜑𝑥 = 𝑤) ∧ 𝑦 = 𝑣) → 𝑦 = 𝑣)
31, 2opeq12d 4905 . . . . . . . . 9 (((𝜑𝑥 = 𝑤) ∧ 𝑦 = 𝑣) → ⟨𝑥, 𝑦⟩ = ⟨𝑤, 𝑣⟩)
43opeq1d 4903 . . . . . . . 8 (((𝜑𝑥 = 𝑤) ∧ 𝑦 = 𝑣) → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ = ⟨⟨𝑤, 𝑣⟩, 𝑧⟩)
54eqeq2d 2751 . . . . . . 7 (((𝜑𝑥 = 𝑤) ∧ 𝑦 = 𝑣) → (𝑡 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ↔ 𝑡 = ⟨⟨𝑤, 𝑣⟩, 𝑧⟩))
6 cbvoprab12davw.1 . . . . . . 7 (((𝜑𝑥 = 𝑤) ∧ 𝑦 = 𝑣) → (𝜓𝜒))
75, 6anbi12d 631 . . . . . 6 (((𝜑𝑥 = 𝑤) ∧ 𝑦 = 𝑣) → ((𝑡 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜓) ↔ (𝑡 = ⟨⟨𝑤, 𝑣⟩, 𝑧⟩ ∧ 𝜒)))
87exbidv 1920 . . . . 5 (((𝜑𝑥 = 𝑤) ∧ 𝑦 = 𝑣) → (∃𝑧(𝑡 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜓) ↔ ∃𝑧(𝑡 = ⟨⟨𝑤, 𝑣⟩, 𝑧⟩ ∧ 𝜒)))
98cbvexdvaw 2038 . . . 4 ((𝜑𝑥 = 𝑤) → (∃𝑦𝑧(𝑡 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜓) ↔ ∃𝑣𝑧(𝑡 = ⟨⟨𝑤, 𝑣⟩, 𝑧⟩ ∧ 𝜒)))
109cbvexdvaw 2038 . . 3 (𝜑 → (∃𝑥𝑦𝑧(𝑡 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜓) ↔ ∃𝑤𝑣𝑧(𝑡 = ⟨⟨𝑤, 𝑣⟩, 𝑧⟩ ∧ 𝜒)))
1110abbidv 2811 . 2 (𝜑 → {𝑡 ∣ ∃𝑥𝑦𝑧(𝑡 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜓)} = {𝑡 ∣ ∃𝑤𝑣𝑧(𝑡 = ⟨⟨𝑤, 𝑣⟩, 𝑧⟩ ∧ 𝜒)})
12 df-oprab 7447 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜓} = {𝑡 ∣ ∃𝑥𝑦𝑧(𝑡 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜓)}
13 df-oprab 7447 . 2 {⟨⟨𝑤, 𝑣⟩, 𝑧⟩ ∣ 𝜒} = {𝑡 ∣ ∃𝑤𝑣𝑧(𝑡 = ⟨⟨𝑤, 𝑣⟩, 𝑧⟩ ∧ 𝜒)}
1411, 12, 133eqtr4g 2805 1 (𝜑 → {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜓} = {⟨⟨𝑤, 𝑣⟩, 𝑧⟩ ∣ 𝜒})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1537  wex 1777  {cab 2717  cop 4654  {coprab 7444
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-ext 2711
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-sb 2065  df-clab 2718  df-cleq 2732  df-clel 2819  df-rab 3444  df-v 3490  df-dif 3979  df-un 3981  df-ss 3993  df-nul 4353  df-if 4549  df-sn 4649  df-pr 4651  df-op 4655  df-oprab 7447
This theorem is referenced by:  cbvmpodavw2  36249
  Copyright terms: Public domain W3C validator