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 36898
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 571 . . 3 ((𝜑𝑥𝐴) ↔ (𝜑 → (𝑥𝐴𝜑)))
21albii 1737 . 2 (∀𝑥(𝜑𝑥𝐴) ↔ ∀𝑥(𝜑 → (𝑥𝐴𝜑)))
3 nfv 1830 . . 3 𝑦(𝜑 → (𝑥𝐴𝜑))
4 nfsab1 2600 . . . 4 𝑥 𝑦 ∈ {𝑥𝜑}
5 nfrab1 3099 . . . . 5 𝑥{𝑥𝐴𝜑}
65nfcri 2745 . . . 4 𝑥 𝑦 ∈ {𝑥𝐴𝜑}
74, 6nfim 1813 . . 3 𝑥(𝑦 ∈ {𝑥𝜑} → 𝑦 ∈ {𝑥𝐴𝜑})
8 abid 2598 . . . . 5 (𝑥 ∈ {𝑥𝜑} ↔ 𝜑)
9 eleq1 2676 . . . . 5 (𝑥 = 𝑦 → (𝑥 ∈ {𝑥𝜑} ↔ 𝑦 ∈ {𝑥𝜑}))
108, 9syl5bbr 273 . . . 4 (𝑥 = 𝑦 → (𝜑𝑦 ∈ {𝑥𝜑}))
11 rabid 3095 . . . . 5 (𝑥 ∈ {𝑥𝐴𝜑} ↔ (𝑥𝐴𝜑))
12 eleq1 2676 . . . . 5 (𝑥 = 𝑦 → (𝑥 ∈ {𝑥𝐴𝜑} ↔ 𝑦 ∈ {𝑥𝐴𝜑}))
1311, 12syl5bbr 273 . . . 4 (𝑥 = 𝑦 → ((𝑥𝐴𝜑) ↔ 𝑦 ∈ {𝑥𝐴𝜑}))
1410, 13imbi12d 333 . . 3 (𝑥 = 𝑦 → ((𝜑 → (𝑥𝐴𝜑)) ↔ (𝑦 ∈ {𝑥𝜑} → 𝑦 ∈ {𝑥𝐴𝜑})))
153, 7, 14cbval 2259 . 2 (∀𝑥(𝜑 → (𝑥𝐴𝜑)) ↔ ∀𝑦(𝑦 ∈ {𝑥𝜑} → 𝑦 ∈ {𝑥𝐴𝜑}))
16 eqss 3583 . . 3 ({𝑥𝐴𝜑} = {𝑥𝜑} ↔ ({𝑥𝐴𝜑} ⊆ {𝑥𝜑} ∧ {𝑥𝜑} ⊆ {𝑥𝐴𝜑}))
17 rabssab 3652 . . . 4 {𝑥𝐴𝜑} ⊆ {𝑥𝜑}
1817biantrur 526 . . 3 ({𝑥𝜑} ⊆ {𝑥𝐴𝜑} ↔ ({𝑥𝐴𝜑} ⊆ {𝑥𝜑} ∧ {𝑥𝜑} ⊆ {𝑥𝐴𝜑}))
19 dfss2 3557 . . 3 ({𝑥𝜑} ⊆ {𝑥𝐴𝜑} ↔ ∀𝑦(𝑦 ∈ {𝑥𝜑} → 𝑦 ∈ {𝑥𝐴𝜑}))
2016, 18, 193bitr2ri 288 . 2 (∀𝑦(𝑦 ∈ {𝑥𝜑} → 𝑦 ∈ {𝑥𝐴𝜑}) ↔ {𝑥𝐴𝜑} = {𝑥𝜑})
212, 15, 203bitri 285 1 (∀𝑥(𝜑𝑥𝐴) ↔ {𝑥𝐴𝜑} = {𝑥𝜑})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383  wal 1473   = wceq 1475  wcel 1977  {cab 2596  {crab 2900  wss 3540
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-rab 2905  df-in 3547  df-ss 3554
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator