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 37370
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 2858 . . . . 5 (𝑥 = 𝑦 → (𝑥 ∈ 𝐴 ↔ 𝑦 ∈ 𝐴))
21adantl 487 . . . 4 ((𝜑 ∧ 𝑥 = 𝑦) → (𝑥 ∈ 𝐴 ↔ 𝑦 ∈ 𝐴))
3 cbvmptdavw.1 . . . . 5 ((𝜑 ∧ 𝑥 = 𝑦) → 𝐵 = 𝐶)
43eqeq2d 2785 . . . 4 ((𝜑 ∧ 𝑥 = 𝑦) → (𝑡 = 𝐵 ↔ 𝑡 = 𝐶))
52, 4anbi12d 644 . . 3 ((𝜑 ∧ 𝑥 = 𝑦) → ((𝑥 ∈ 𝐴 ∧ 𝑡 = 𝐵) ↔ (𝑦 ∈ 𝐴 ∧ 𝑡 = 𝐶)))
65cbvopab1davw 37367 . 2 (𝜑 → {⟨𝑥, 𝑡⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑡 = 𝐵)} = {⟨𝑦, 𝑡⟩ ∣ (𝑦 ∈ 𝐴 ∧ 𝑡 = 𝐶)})
7 df-mpt 5201 . 2 (𝑥 ∈ 𝐴 ↦ 𝐵) = {⟨𝑥, 𝑡⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑡 = 𝐵)}
8 df-mpt 5201 . 2 (𝑦 ∈ 𝐴 ↦ 𝐶) = {⟨𝑦, 𝑡⟩ ∣ (𝑦 ∈ 𝐴 ∧ 𝑡 = 𝐶)}
96, 7, 83eqtr4g 2834 1 (𝜑 → (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑦 ∈ 𝐴 ↦ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2156  {copab 5181   ↦ cmpt 5200
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-opab 5182  df-mpt 5201
This theorem is used by:  cbvproddavw  37383  cbvitgdavw  37384  cbvproddavw2  37399  cbvitgdavw2  37400
  Copyright terms: Public domain W3C validator