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 37056
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 2844 . . . . 5 (𝑥 = 𝑦 → (𝑥 ∈ 𝐴 ↔ 𝑦 ∈ 𝐴))
21adantl 487 . . . 4 ((𝜑 ∧ 𝑥 = 𝑦) → (𝑥 ∈ 𝐴 ↔ 𝑦 ∈ 𝐴))
3 cbvmptdavw.1 . . . . 5 ((𝜑 ∧ 𝑥 = 𝑦) → 𝐵 = 𝐶)
43eqeq2d 2772 . . . 4 ((𝜑 ∧ 𝑥 = 𝑦) → (𝑡 = 𝐵 ↔ 𝑡 = 𝐶))
52, 4anbi12d 644 . . 3 ((𝜑 ∧ 𝑥 = 𝑦) → ((𝑥 ∈ 𝐴 ∧ 𝑡 = 𝐵) ↔ (𝑦 ∈ 𝐴 ∧ 𝑡 = 𝐶)))
65cbvopab1davw 37053 . 2 (𝜑 → {⟨𝑥, 𝑡⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑡 = 𝐵)} = {⟨𝑦, 𝑡⟩ ∣ (𝑦 ∈ 𝐴 ∧ 𝑡 = 𝐶)})
7 df-mpt 5187 . 2 (𝑥 ∈ 𝐴 ↦ 𝐵) = {⟨𝑥, 𝑡⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑡 = 𝐵)}
8 df-mpt 5187 . 2 (𝑦 ∈ 𝐴 ↦ 𝐶) = {⟨𝑦, 𝑡⟩ ∣ (𝑦 ∈ 𝐴 ∧ 𝑡 = 𝐶)}
96, 7, 83eqtr4g 2821 1 (𝜑 → (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑦 ∈ 𝐴 ↦ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  {copab 5167   ↦ cmpt 5186
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-opab 5168  df-mpt 5187
This theorem is used by:  cbvproddavw  37069  cbvitgdavw  37070  cbvproddavw2  37085  cbvitgdavw2  37086
  Copyright terms: Public domain W3C validator