Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  rababg Structured version   Visualization version   GIF version

Theorem rababg 44575
Description: Condition when restricted class is equal to unrestricted class. (Contributed by RP, 13-Aug-2020.)
Assertion
Ref Expression
rababg (∀𝑥(𝜑 → 𝑥 ∈ 𝐴) ↔ {𝑥 ∈ 𝐴 ∣ 𝜑} = {𝑥 ∣ 𝜑})

Proof of Theorem rababg
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 ancrb 557 . . 3 ((𝜑 → 𝑥 ∈ 𝐴) ↔ (𝜑 → (𝑥 ∈ 𝐴 ∧ 𝜑)))
21albii 1851 . 2 (∀𝑥(𝜑 → 𝑥 ∈ 𝐴) ↔ ∀𝑥(𝜑 → (𝑥 ∈ 𝐴 ∧ 𝜑)))
3 nfv 1946 . . 3 Ⅎ𝑦(𝜑 → (𝑥 ∈ 𝐴 ∧ 𝜑))
4 nfsab1 2746 . . . 4 Ⅎ𝑥 𝑦 ∈ {𝑥 ∣ 𝜑}
5 nfrab1 3431 . . . . 5 Ⅎ𝑥{𝑥 ∈ 𝐴 ∣ 𝜑}
65nfcri 2914 . . . 4 Ⅎ𝑥 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ 𝜑}
74, 6nfim 1928 . . 3 Ⅎ𝑥(𝑦 ∈ {𝑥 ∣ 𝜑} → 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ 𝜑})
8 abid 2742 . . . . 5 (𝑥 ∈ {𝑥 ∣ 𝜑} ↔ 𝜑)
9 eleq1w 2843 . . . . 5 (𝑥 = 𝑦 → (𝑥 ∈ {𝑥 ∣ 𝜑} ↔ 𝑦 ∈ {𝑥 ∣ 𝜑}))
108, 9bitr3id 288 . . . 4 (𝑥 = 𝑦 → (𝜑 ↔ 𝑦 ∈ {𝑥 ∣ 𝜑}))
11 rabid 3432 . . . . 5 (𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜑} ↔ (𝑥 ∈ 𝐴 ∧ 𝜑))
12 eleq1w 2843 . . . . 5 (𝑥 = 𝑦 → (𝑥 ∈ {𝑥 ∈ 𝐴 ∣ 𝜑} ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ 𝜑}))
1311, 12bitr3id 288 . . . 4 (𝑥 = 𝑦 → ((𝑥 ∈ 𝐴 ∧ 𝜑) ↔ 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ 𝜑}))
1410, 13imbi12d 347 . . 3 (𝑥 = 𝑦 → ((𝜑 → (𝑥 ∈ 𝐴 ∧ 𝜑)) ↔ (𝑦 ∈ {𝑥 ∣ 𝜑} → 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ 𝜑})))
153, 7, 14cbvalv1 2370 . 2 (∀𝑥(𝜑 → (𝑥 ∈ 𝐴 ∧ 𝜑)) ↔ ∀𝑦(𝑦 ∈ {𝑥 ∣ 𝜑} → 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ 𝜑}))
16 eqss 3923 . . 3 ({𝑥 ∈ 𝐴 ∣ 𝜑} = {𝑥 ∣ 𝜑} ↔ ({𝑥 ∈ 𝐴 ∣ 𝜑} ⊆ {𝑥 ∣ 𝜑} ∧ {𝑥 ∣ 𝜑} ⊆ {𝑥 ∈ 𝐴 ∣ 𝜑}))
17 rabssab 4010 . . . 4 {𝑥 ∈ 𝐴 ∣ 𝜑} ⊆ {𝑥 ∣ 𝜑}
1817biantrur 540 . . 3 ({𝑥 ∣ 𝜑} ⊆ {𝑥 ∈ 𝐴 ∣ 𝜑} ↔ ({𝑥 ∈ 𝐴 ∣ 𝜑} ⊆ {𝑥 ∣ 𝜑} ∧ {𝑥 ∣ 𝜑} ⊆ {𝑥 ∈ 𝐴 ∣ 𝜑}))
19 df-ss 3896 . . 3 ({𝑥 ∣ 𝜑} ⊆ {𝑥 ∈ 𝐴 ∣ 𝜑} ↔ ∀𝑦(𝑦 ∈ {𝑥 ∣ 𝜑} → 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ 𝜑}))
2016, 18, 193bitr2ri 303 . 2 (∀𝑦(𝑦 ∈ {𝑥 ∣ 𝜑} → 𝑦 ∈ {𝑥 ∈ 𝐴 ∣ 𝜑}) ↔ {𝑥 ∈ 𝐴 ∣ 𝜑} = {𝑥 ∣ 𝜑})
212, 15, 203bitri 300 1 (∀𝑥(𝜑 → 𝑥 ∈ 𝐴) ↔ {𝑥 ∈ 𝐴 ∣ 𝜑} = {𝑥 ∣ 𝜑})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1567   = wceq 1569   ∈ wcel 2144  {cab 2738  {crab 3412   ⊆ wss 3895
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-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-rab 3413  df-ss 3896
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator