ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  rabrsndc GIF version

Theorem rabrsndc 3460
Description: A class abstraction over a decidable proposition restricted to a singleton is either the empty set or the singleton itself. (Contributed by Jim Kingdon, 8-Aug-2018.)
Hypotheses
Ref Expression
rabrsndc.1 𝐴 ∈ V
rabrsndc.2 DECID 𝜑
Assertion
Ref Expression
rabrsndc (𝑀 = {𝑥 ∈ {𝐴} ∣ 𝜑} → (𝑀 = ∅ ∨ 𝑀 = {𝐴}))
Distinct variable group:   𝑥,𝐴
Allowed substitution hints:   𝜑(𝑥)   𝑀(𝑥)

Proof of Theorem rabrsndc
StepHypRef Expression
1 rabrsndc.1 . . . . . 6 𝐴 ∈ V
2 rabrsndc.2 . . . . . . . 8 DECID 𝜑
3 pm2.1dc 778 . . . . . . . 8 (DECID 𝜑 → (¬ 𝜑𝜑))
42, 3ax-mp 7 . . . . . . 7 𝜑𝜑)
54sbcth 2828 . . . . . 6 (𝐴 ∈ V → [𝐴 / 𝑥]𝜑𝜑))
61, 5ax-mp 7 . . . . 5 [𝐴 / 𝑥]𝜑𝜑)
7 sbcor 2858 . . . . 5 ([𝐴 / 𝑥]𝜑𝜑) ↔ ([𝐴 / 𝑥] ¬ 𝜑[𝐴 / 𝑥]𝜑))
86, 7mpbi 143 . . . 4 ([𝐴 / 𝑥] ¬ 𝜑[𝐴 / 𝑥]𝜑)
9 ralsns 3431 . . . . . 6 (𝐴 ∈ V → (∀𝑥 ∈ {𝐴} ¬ 𝜑[𝐴 / 𝑥] ¬ 𝜑))
101, 9ax-mp 7 . . . . 5 (∀𝑥 ∈ {𝐴} ¬ 𝜑[𝐴 / 𝑥] ¬ 𝜑)
11 ralsns 3431 . . . . . 6 (𝐴 ∈ V → (∀𝑥 ∈ {𝐴}𝜑[𝐴 / 𝑥]𝜑))
121, 11ax-mp 7 . . . . 5 (∀𝑥 ∈ {𝐴}𝜑[𝐴 / 𝑥]𝜑)
1310, 12orbi12i 713 . . . 4 ((∀𝑥 ∈ {𝐴} ¬ 𝜑 ∨ ∀𝑥 ∈ {𝐴}𝜑) ↔ ([𝐴 / 𝑥] ¬ 𝜑[𝐴 / 𝑥]𝜑))
148, 13mpbir 144 . . 3 (∀𝑥 ∈ {𝐴} ¬ 𝜑 ∨ ∀𝑥 ∈ {𝐴}𝜑)
15 rabeq0 3274 . . . 4 ({𝑥 ∈ {𝐴} ∣ 𝜑} = ∅ ↔ ∀𝑥 ∈ {𝐴} ¬ 𝜑)
16 eqcom 2083 . . . . 5 ({𝑥 ∈ {𝐴} ∣ 𝜑} = {𝐴} ↔ {𝐴} = {𝑥 ∈ {𝐴} ∣ 𝜑})
17 rabid2 2530 . . . . 5 ({𝐴} = {𝑥 ∈ {𝐴} ∣ 𝜑} ↔ ∀𝑥 ∈ {𝐴}𝜑)
1816, 17bitri 182 . . . 4 ({𝑥 ∈ {𝐴} ∣ 𝜑} = {𝐴} ↔ ∀𝑥 ∈ {𝐴}𝜑)
1915, 18orbi12i 713 . . 3 (({𝑥 ∈ {𝐴} ∣ 𝜑} = ∅ ∨ {𝑥 ∈ {𝐴} ∣ 𝜑} = {𝐴}) ↔ (∀𝑥 ∈ {𝐴} ¬ 𝜑 ∨ ∀𝑥 ∈ {𝐴}𝜑))
2014, 19mpbir 144 . 2 ({𝑥 ∈ {𝐴} ∣ 𝜑} = ∅ ∨ {𝑥 ∈ {𝐴} ∣ 𝜑} = {𝐴})
21 eqeq1 2087 . . 3 (𝑀 = {𝑥 ∈ {𝐴} ∣ 𝜑} → (𝑀 = ∅ ↔ {𝑥 ∈ {𝐴} ∣ 𝜑} = ∅))
22 eqeq1 2087 . . 3 (𝑀 = {𝑥 ∈ {𝐴} ∣ 𝜑} → (𝑀 = {𝐴} ↔ {𝑥 ∈ {𝐴} ∣ 𝜑} = {𝐴}))
2321, 22orbi12d 739 . 2 (𝑀 = {𝑥 ∈ {𝐴} ∣ 𝜑} → ((𝑀 = ∅ ∨ 𝑀 = {𝐴}) ↔ ({𝑥 ∈ {𝐴} ∣ 𝜑} = ∅ ∨ {𝑥 ∈ {𝐴} ∣ 𝜑} = {𝐴})))
2420, 23mpbiri 166 1 (𝑀 = {𝑥 ∈ {𝐴} ∣ 𝜑} → (𝑀 = ∅ ∨ 𝑀 = {𝐴}))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wb 103  wo 661  DECID wdc 775   = wceq 1284  wcel 1433  wral 2348  {crab 2352  Vcvv 2601  [wsbc 2815  c0 3251  {csn 3398
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 576  ax-in2 577  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063
This theorem depends on definitions:  df-bi 115  df-dc 776  df-tru 1287  df-fal 1290  df-nf 1390  df-sb 1686  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ral 2353  df-rab 2357  df-v 2603  df-sbc 2816  df-dif 2975  df-nul 3252  df-sn 3404
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator