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

Theorem rabeqbidva 3428
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 3418 . 2 (𝜑 → {𝑥 ∈ 𝐴 ∣ 𝜓} = {𝑥 ∈ 𝐴 ∣ 𝜒})
3 rabeqbidva.1 . . . . 5 (𝜑 → 𝐴 = 𝐵)
43eleq2d 2846 . . . 4 (𝜑 → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵))
54anbi1d 643 . . 3 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝜒) ↔ (𝑥 ∈ 𝐵 ∧ 𝜒)))
65rabbidva2 3414 . 2 (𝜑 → {𝑥 ∈ 𝐴 ∣ 𝜒} = {𝑥 ∈ 𝐵 ∣ 𝜒})
72, 6eqtrd 2795 1 (𝜑 → {𝑥 ∈ 𝐴 ∣ 𝜓} = {𝑥 ∈ 𝐵 ∣ 𝜒})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  {crab 3412
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-rab 3413
This theorem is used by:  rabeqbidv  3429  scotteqd  9930  natpropd  18154  gsumpropd2lem  18868  elntg  29562  rmfsupp2  33798  poimirlem28  38567  uspgrlimlem1  49086  domnmsuppn0  49481  eenglngeehlnm  49851
  Copyright terms: Public domain W3C validator