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

Theorem cbvmptdavw2 37391
Description: Change bound variable and domain in a maps-to function. Deduction form. (Contributed by GG, 14-Aug-2025.)
Hypotheses
Ref Expression
cbvmptdavw2.1 ((𝜑 ∧ 𝑥 = 𝑦) → 𝐶 = 𝐷)
cbvmptdavw2.2 ((𝜑 ∧ 𝑥 = 𝑦) → 𝐴 = 𝐵)
Assertion
Ref Expression
cbvmptdavw2 (𝜑 → (𝑥 ∈ 𝐴 ↦ 𝐶) = (𝑦 ∈ 𝐵 ↦ 𝐷))
Distinct variable groups:   𝜑,𝑥,𝑦   𝑦,𝐴   𝑥,𝐵   𝑦,𝐶   𝑥,𝐷
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑦)   𝐶(𝑥)   𝐷(𝑦)

Proof of Theorem cbvmptdavw2
Dummy variable 𝑡 is distinct from all other variables.
StepHypRef Expression
1 eleq1w 2858 . . . . . 6 (𝑥 = 𝑦 → (𝑥 ∈ 𝐴 ↔ 𝑦 ∈ 𝐴))
21adantl 487 . . . . 5 ((𝜑 ∧ 𝑥 = 𝑦) → (𝑥 ∈ 𝐴 ↔ 𝑦 ∈ 𝐴))
3 cbvmptdavw2.2 . . . . . 6 ((𝜑 ∧ 𝑥 = 𝑦) → 𝐴 = 𝐵)
43eleq2d 2861 . . . . 5 ((𝜑 ∧ 𝑥 = 𝑦) → (𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵))
52, 4bitrd 282 . . . 4 ((𝜑 ∧ 𝑥 = 𝑦) → (𝑥 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵))
6 cbvmptdavw2.1 . . . . 5 ((𝜑 ∧ 𝑥 = 𝑦) → 𝐶 = 𝐷)
76eqeq2d 2785 . . . 4 ((𝜑 ∧ 𝑥 = 𝑦) → (𝑡 = 𝐶 ↔ 𝑡 = 𝐷))
85, 7anbi12d 644 . . 3 ((𝜑 ∧ 𝑥 = 𝑦) → ((𝑥 ∈ 𝐴 ∧ 𝑡 = 𝐶) ↔ (𝑦 ∈ 𝐵 ∧ 𝑡 = 𝐷)))
98cbvopab1davw 37367 . 2 (𝜑 → {⟨𝑥, 𝑡⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑡 = 𝐶)} = {⟨𝑦, 𝑡⟩ ∣ (𝑦 ∈ 𝐵 ∧ 𝑡 = 𝐷)})
10 df-mpt 5201 . 2 (𝑥 ∈ 𝐴 ↦ 𝐶) = {⟨𝑥, 𝑡⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑡 = 𝐶)}
11 df-mpt 5201 . 2 (𝑦 ∈ 𝐵 ↦ 𝐷) = {⟨𝑦, 𝑡⟩ ∣ (𝑦 ∈ 𝐵 ∧ 𝑡 = 𝐷)}
129, 10, 113eqtr4g 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: (None)
  Copyright terms: Public domain W3C validator