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 41181
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 548 . . 3 ((𝜑𝑥𝐴) ↔ (𝜑 → (𝑥𝐴𝜑)))
21albii 1822 . 2 (∀𝑥(𝜑𝑥𝐴) ↔ ∀𝑥(𝜑 → (𝑥𝐴𝜑)))
3 nfv 1917 . . 3 𝑦(𝜑 → (𝑥𝐴𝜑))
4 nfsab1 2723 . . . 4 𝑥 𝑦 ∈ {𝑥𝜑}
5 nfrab1 3317 . . . . 5 𝑥{𝑥𝐴𝜑}
65nfcri 2894 . . . 4 𝑥 𝑦 ∈ {𝑥𝐴𝜑}
74, 6nfim 1899 . . 3 𝑥(𝑦 ∈ {𝑥𝜑} → 𝑦 ∈ {𝑥𝐴𝜑})
8 abid 2719 . . . . 5 (𝑥 ∈ {𝑥𝜑} ↔ 𝜑)
9 eleq1w 2821 . . . . 5 (𝑥 = 𝑦 → (𝑥 ∈ {𝑥𝜑} ↔ 𝑦 ∈ {𝑥𝜑}))
108, 9bitr3id 285 . . . 4 (𝑥 = 𝑦 → (𝜑𝑦 ∈ {𝑥𝜑}))
11 rabid 3310 . . . . 5 (𝑥 ∈ {𝑥𝐴𝜑} ↔ (𝑥𝐴𝜑))
12 eleq1w 2821 . . . . 5 (𝑥 = 𝑦 → (𝑥 ∈ {𝑥𝐴𝜑} ↔ 𝑦 ∈ {𝑥𝐴𝜑}))
1311, 12bitr3id 285 . . . 4 (𝑥 = 𝑦 → ((𝑥𝐴𝜑) ↔ 𝑦 ∈ {𝑥𝐴𝜑}))
1410, 13imbi12d 345 . . 3 (𝑥 = 𝑦 → ((𝜑 → (𝑥𝐴𝜑)) ↔ (𝑦 ∈ {𝑥𝜑} → 𝑦 ∈ {𝑥𝐴𝜑})))
153, 7, 14cbvalv1 2338 . 2 (∀𝑥(𝜑 → (𝑥𝐴𝜑)) ↔ ∀𝑦(𝑦 ∈ {𝑥𝜑} → 𝑦 ∈ {𝑥𝐴𝜑}))
16 eqss 3936 . . 3 ({𝑥𝐴𝜑} = {𝑥𝜑} ↔ ({𝑥𝐴𝜑} ⊆ {𝑥𝜑} ∧ {𝑥𝜑} ⊆ {𝑥𝐴𝜑}))
17 rabssab 4018 . . . 4 {𝑥𝐴𝜑} ⊆ {𝑥𝜑}
1817biantrur 531 . . 3 ({𝑥𝜑} ⊆ {𝑥𝐴𝜑} ↔ ({𝑥𝐴𝜑} ⊆ {𝑥𝜑} ∧ {𝑥𝜑} ⊆ {𝑥𝐴𝜑}))
19 dfss2 3907 . . 3 ({𝑥𝜑} ⊆ {𝑥𝐴𝜑} ↔ ∀𝑦(𝑦 ∈ {𝑥𝜑} → 𝑦 ∈ {𝑥𝐴𝜑}))
2016, 18, 193bitr2ri 300 . 2 (∀𝑦(𝑦 ∈ {𝑥𝜑} → 𝑦 ∈ {𝑥𝐴𝜑}) ↔ {𝑥𝐴𝜑} = {𝑥𝜑})
212, 15, 203bitri 297 1 (∀𝑥(𝜑𝑥𝐴) ↔ {𝑥𝐴𝜑} = {𝑥𝜑})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1537   = wceq 1539  wcel 2106  {cab 2715  {crab 3068  wss 3887
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-rab 3073  df-v 3434  df-in 3894  df-ss 3904
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator