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 41070
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 547 . . 3 ((𝜑𝑥𝐴) ↔ (𝜑 → (𝑥𝐴𝜑)))
21albii 1823 . 2 (∀𝑥(𝜑𝑥𝐴) ↔ ∀𝑥(𝜑 → (𝑥𝐴𝜑)))
3 nfv 1918 . . 3 𝑦(𝜑 → (𝑥𝐴𝜑))
4 nfsab1 2723 . . . 4 𝑥 𝑦 ∈ {𝑥𝜑}
5 nfrab1 3310 . . . . 5 𝑥{𝑥𝐴𝜑}
65nfcri 2893 . . . 4 𝑥 𝑦 ∈ {𝑥𝐴𝜑}
74, 6nfim 1900 . . 3 𝑥(𝑦 ∈ {𝑥𝜑} → 𝑦 ∈ {𝑥𝐴𝜑})
8 abid 2719 . . . . 5 (𝑥 ∈ {𝑥𝜑} ↔ 𝜑)
9 eleq1w 2821 . . . . 5 (𝑥 = 𝑦 → (𝑥 ∈ {𝑥𝜑} ↔ 𝑦 ∈ {𝑥𝜑}))
108, 9bitr3id 284 . . . 4 (𝑥 = 𝑦 → (𝜑𝑦 ∈ {𝑥𝜑}))
11 rabid 3304 . . . . 5 (𝑥 ∈ {𝑥𝐴𝜑} ↔ (𝑥𝐴𝜑))
12 eleq1w 2821 . . . . 5 (𝑥 = 𝑦 → (𝑥 ∈ {𝑥𝐴𝜑} ↔ 𝑦 ∈ {𝑥𝐴𝜑}))
1311, 12bitr3id 284 . . . 4 (𝑥 = 𝑦 → ((𝑥𝐴𝜑) ↔ 𝑦 ∈ {𝑥𝐴𝜑}))
1410, 13imbi12d 344 . . 3 (𝑥 = 𝑦 → ((𝜑 → (𝑥𝐴𝜑)) ↔ (𝑦 ∈ {𝑥𝜑} → 𝑦 ∈ {𝑥𝐴𝜑})))
153, 7, 14cbvalv1 2340 . 2 (∀𝑥(𝜑 → (𝑥𝐴𝜑)) ↔ ∀𝑦(𝑦 ∈ {𝑥𝜑} → 𝑦 ∈ {𝑥𝐴𝜑}))
16 eqss 3932 . . 3 ({𝑥𝐴𝜑} = {𝑥𝜑} ↔ ({𝑥𝐴𝜑} ⊆ {𝑥𝜑} ∧ {𝑥𝜑} ⊆ {𝑥𝐴𝜑}))
17 rabssab 4014 . . . 4 {𝑥𝐴𝜑} ⊆ {𝑥𝜑}
1817biantrur 530 . . 3 ({𝑥𝜑} ⊆ {𝑥𝐴𝜑} ↔ ({𝑥𝐴𝜑} ⊆ {𝑥𝜑} ∧ {𝑥𝜑} ⊆ {𝑥𝐴𝜑}))
19 dfss2 3903 . . 3 ({𝑥𝜑} ⊆ {𝑥𝐴𝜑} ↔ ∀𝑦(𝑦 ∈ {𝑥𝜑} → 𝑦 ∈ {𝑥𝐴𝜑}))
2016, 18, 193bitr2ri 299 . 2 (∀𝑦(𝑦 ∈ {𝑥𝜑} → 𝑦 ∈ {𝑥𝐴𝜑}) ↔ {𝑥𝐴𝜑} = {𝑥𝜑})
212, 15, 203bitri 296 1 (∀𝑥(𝜑𝑥𝐴) ↔ {𝑥𝐴𝜑} = {𝑥𝜑})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wcel 2108  {cab 2715  {crab 3067  wss 3883
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-rab 3072  df-v 3424  df-in 3890  df-ss 3900
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator