MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  rabeqbidva Structured version   Visualization version   GIF version

Theorem rabeqbidva 3432
Description: Equality of restricted class abstractions. (Contributed by Mario Carneiro, 26-Jan-2017.) Remove DV conditions. (Revised by GG, 1-Sep-2025.)
Hypotheses
Ref Expression
rabeqbidva.1 (𝜑 → 𝐴 = 𝐵)
rabeqbidva.2 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝜓 ↔ 𝜒))
Assertion
Ref Expression
rabeqbidva (𝜑 → {𝑥 ∈ 𝐴 ∣ 𝜓} = {𝑥 ∈ 𝐵 ∣ 𝜒})
Distinct variable group:   𝜑,𝑥
Allowed substitution hints:   𝜓(𝑥)   𝜒(𝑥)   𝐴(𝑥)   𝐵(𝑥)

Proof of Theorem rabeqbidva
StepHypRef Expression
1 rabeqbidva.2 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝜓 ↔ 𝜒))
21rabbidva 3422 . 2 (𝜑 → {𝑥 ∈ 𝐴 ∣ 𝜓} = {𝑥 ∈ 𝐴 ∣ 𝜒})
3 rabeqbidva.1 . . . . 5 (𝜑 → 𝐴 = 𝐵)
43eleq2d 2850 . . . 4 (𝜑 → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵))
54anbi1d 643 . . 3 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝜒) ↔ (𝑥 ∈ 𝐵 ∧ 𝜒)))
65rabbidva2 3418 . 2 (𝜑 → {𝑥 ∈ 𝐴 ∣ 𝜒} = {𝑥 ∈ 𝐵 ∣ 𝜒})
72, 6eqtrd 2798 1 (𝜑 → {𝑥 ∈ 𝐴 ∣ 𝜓} = {𝑥 ∈ 𝐵 ∣ 𝜒})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  {crab 3416
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-rab 3417
This theorem is used by:  rabeqbidv  3433  scotteqd  9954  natpropd  18180  gsumpropd2lem  18894  elntg  29589  rmfsupp2  33865  poimirlem28  38757  uspgrlimlem1  49289  domnmsuppn0  49684
  Copyright terms: Public domain W3C validator