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

Theorem rabeqbidva 3431
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 3421 . 2 (𝜑 → {𝑥 ∈ 𝐴 ∣ 𝜓} = {𝑥 ∈ 𝐴 ∣ 𝜒})
3 rabeqbidva.1 . . . . 5 (𝜑 → 𝐴 = 𝐵)
43eleq2d 2853 . . . 4 (𝜑 → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵))
54anbi1d 643 . . 3 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝜒) ↔ (𝑥 ∈ 𝐵 ∧ 𝜒)))
65rabbidva2 3417 . 2 (𝜑 → {𝑥 ∈ 𝐴 ∣ 𝜒} = {𝑥 ∈ 𝐵 ∣ 𝜒})
72, 6eqtrd 2801 1 (𝜑 → {𝑥 ∈ 𝐴 ∣ 𝜓} = {𝑥 ∈ 𝐵 ∣ 𝜒})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2150  {crab 3415
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1815  df-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-rab 3416
This theorem is used by:  rabeqbidv  3432  scotteqd  9966  natpropd  18206  gsumpropd2lem  18920  elntg  29621  rmfsupp2  33898  poimirlem28  38836  uspgrlimlem1  49419  domnmsuppn0  49872
  Copyright terms: Public domain W3C validator