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

Theorem cbvmptdavw 36779
Description: Change bound variable in a maps-to function. Deduction form. (Contributed by GG, 14-Aug-2025.)
Hypothesis
Ref Expression
cbvmptdavw.1 ((𝜑𝑥 = 𝑦) → 𝐵 = 𝐶)
Assertion
Ref Expression
cbvmptdavw (𝜑 → (𝑥𝐴𝐵) = (𝑦𝐴𝐶))
Distinct variable groups:   𝜑,𝑥,𝑦   𝑥,𝐴,𝑦   𝑦,𝐵   𝑥,𝐶
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑦)

Proof of Theorem cbvmptdavw
Dummy variable 𝑡 is distinct from all other variables.
StepHypRef Expression
1 eleq1w 2846 . . . . 5 (𝑥 = 𝑦 → (𝑥𝐴𝑦𝐴))
21adantl 486 . . . 4 ((𝜑𝑥 = 𝑦) → (𝑥𝐴𝑦𝐴))
3 cbvmptdavw.1 . . . . 5 ((𝜑𝑥 = 𝑦) → 𝐵 = 𝐶)
43eqeq2d 2774 . . . 4 ((𝜑𝑥 = 𝑦) → (𝑡 = 𝐵𝑡 = 𝐶))
52, 4anbi12d 643 . . 3 ((𝜑𝑥 = 𝑦) → ((𝑥𝐴𝑡 = 𝐵) ↔ (𝑦𝐴𝑡 = 𝐶)))
65cbvopab1davw 36776 . 2 (𝜑 → {⟨𝑥, 𝑡⟩ ∣ (𝑥𝐴𝑡 = 𝐵)} = {⟨𝑦, 𝑡⟩ ∣ (𝑦𝐴𝑡 = 𝐶)})
7 df-mpt 5193 . 2 (𝑥𝐴𝐵) = {⟨𝑥, 𝑡⟩ ∣ (𝑥𝐴𝑡 = 𝐵)}
8 df-mpt 5193 . 2 (𝑦𝐴𝐶) = {⟨𝑦, 𝑡⟩ ∣ (𝑦𝐴𝑡 = 𝐶)}
96, 7, 83eqtr4g 2823 1 (𝜑 → (𝑥𝐴𝐵) = (𝑦𝐴𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 400   = wceq 1570  wcel 2143  {copab 5173  cmpt 5192
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-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-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  df-mpt 5193
This theorem is referenced by:  cbvproddavw  36792  cbvitgdavw  36793  cbvproddavw2  36808  cbvitgdavw2  36809
  Copyright terms: Public domain W3C validator