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

Theorem cbvrabdavw2 37074
Description: Change bound variable and domain in restricted class abstractions. Deduction form. (Contributed by GG, 14-Aug-2025.)
Hypotheses
Ref Expression
cbvrabdavw2.1 ((𝜑 ∧ 𝑥 = 𝑦) → (𝜓 ↔ 𝜒))
cbvrabdavw2.2 ((𝜑 ∧ 𝑥 = 𝑦) → 𝐴 = 𝐵)
Assertion
Ref Expression
cbvrabdavw2 (𝜑 → {𝑥 ∈ 𝐴 ∣ 𝜓} = {𝑦 ∈ 𝐵 ∣ 𝜒})
Distinct variable groups:   𝜑,𝑥,𝑦   𝜓,𝑦   𝜒,𝑥   𝑦,𝐴   𝑥,𝐵
Allowed substitution hints:   𝜓(𝑥)   𝜒(𝑦)   𝐴(𝑥)   𝐵(𝑦)

Proof of Theorem cbvrabdavw2
StepHypRef Expression
1 eleq1w 2844 . . . . . 6 (𝑥 = 𝑦 → (𝑥 ∈ 𝐴 ↔ 𝑦 ∈ 𝐴))
21adantl 487 . . . . 5 ((𝜑 ∧ 𝑥 = 𝑦) → (𝑥 ∈ 𝐴 ↔ 𝑦 ∈ 𝐴))
3 cbvrabdavw2.2 . . . . . 6 ((𝜑 ∧ 𝑥 = 𝑦) → 𝐴 = 𝐵)
43eleq2d 2847 . . . . 5 ((𝜑 ∧ 𝑥 = 𝑦) → (𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵))
52, 4bitrd 282 . . . 4 ((𝜑 ∧ 𝑥 = 𝑦) → (𝑥 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵))
6 cbvrabdavw2.1 . . . 4 ((𝜑 ∧ 𝑥 = 𝑦) → (𝜓 ↔ 𝜒))
75, 6anbi12d 644 . . 3 ((𝜑 ∧ 𝑥 = 𝑦) → ((𝑥 ∈ 𝐴 ∧ 𝜓) ↔ (𝑦 ∈ 𝐵 ∧ 𝜒)))
87cbvabdavw 37045 . 2 (𝜑 → {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜓)} = {𝑦 ∣ (𝑦 ∈ 𝐵 ∧ 𝜒)})
9 df-rab 3414 . 2 {𝑥 ∈ 𝐴 ∣ 𝜓} = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ 𝜓)}
10 df-rab 3414 . 2 {𝑦 ∈ 𝐵 ∣ 𝜒} = {𝑦 ∣ (𝑦 ∈ 𝐵 ∧ 𝜒)}
118, 9, 103eqtr4g 2821 1 (𝜑 → {𝑥 ∈ 𝐴 ∣ 𝜓} = {𝑦 ∈ 𝐵 ∣ 𝜒})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  {cab 2739  {crab 3413
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-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-rab 3414
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator