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 36495
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 2822 . . . . 5 (𝑥 = 𝑦 → (𝑥𝐴𝑦𝐴))
21adantl 482 . . . 4 ((𝜑𝑥 = 𝑦) → (𝑥𝐴𝑦𝐴))
3 cbvmptdavw.1 . . . . 5 ((𝜑𝑥 = 𝑦) → 𝐵 = 𝐶)
43eqeq2d 2750 . . . 4 ((𝜑𝑥 = 𝑦) → (𝑡 = 𝐵𝑡 = 𝐶))
52, 4anbi12d 638 . . 3 ((𝜑𝑥 = 𝑦) → ((𝑥𝐴𝑡 = 𝐵) ↔ (𝑦𝐴𝑡 = 𝐶)))
65cbvopab1davw 36492 . 2 (𝜑 → {⟨𝑥, 𝑡⟩ ∣ (𝑥𝐴𝑡 = 𝐵)} = {⟨𝑦, 𝑡⟩ ∣ (𝑦𝐴𝑡 = 𝐶)})
7 df-mpt 5154 . 2 (𝑥𝐴𝐵) = {⟨𝑥, 𝑡⟩ ∣ (𝑥𝐴𝑡 = 𝐵)}
8 df-mpt 5154 . 2 (𝑦𝐴𝐶) = {⟨𝑦, 𝑡⟩ ∣ (𝑦𝐴𝑡 = 𝐶)}
96, 7, 83eqtr4g 2799 1 (𝜑 → (𝑥𝐴𝐵) = (𝑦𝐴𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396   = wceq 1547  wcel 2119  {copab 5134  cmpt 5153
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-ext 2711
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-3an 1094  df-tru 1550  df-fal 1560  df-ex 1787  df-sb 2074  df-clab 2718  df-cleq 2731  df-clel 2814  df-rab 3392  df-v 3433  df-dif 3886  df-un 3888  df-ss 3900  df-nul 4262  df-if 4455  df-sn 4556  df-pr 4558  df-op 4562  df-opab 5135  df-mpt 5154
This theorem is referenced by:  cbvproddavw  36508  cbvitgdavw  36509  cbvproddavw2  36524  cbvitgdavw2  36525
  Copyright terms: Public domain W3C validator