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

Theorem rabrsndc 3599
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 823 . . . . . . . 8 (DECID 𝜑 → (¬ 𝜑𝜑))
42, 3ax-mp 5 . . . . . . 7 𝜑𝜑)
54sbcth 2926 . . . . . 6 (𝐴 ∈ V → [𝐴 / 𝑥]𝜑𝜑))
61, 5ax-mp 5 . . . . 5 [𝐴 / 𝑥]𝜑𝜑)
7 sbcor 2957 . . . . 5 ([𝐴 / 𝑥]𝜑𝜑) ↔ ([𝐴 / 𝑥] ¬ 𝜑[𝐴 / 𝑥]𝜑))
86, 7mpbi 144 . . . 4 ([𝐴 / 𝑥] ¬ 𝜑[𝐴 / 𝑥]𝜑)
9 ralsns 3569 . . . . . 6 (𝐴 ∈ V → (∀𝑥 ∈ {𝐴} ¬ 𝜑[𝐴 / 𝑥] ¬ 𝜑))
101, 9ax-mp 5 . . . . 5 (∀𝑥 ∈ {𝐴} ¬ 𝜑[𝐴 / 𝑥] ¬ 𝜑)
11 ralsns 3569 . . . . . 6 (𝐴 ∈ V → (∀𝑥 ∈ {𝐴}𝜑[𝐴 / 𝑥]𝜑))
121, 11ax-mp 5 . . . . 5 (∀𝑥 ∈ {𝐴}𝜑[𝐴 / 𝑥]𝜑)
1310, 12orbi12i 754 . . . 4 ((∀𝑥 ∈ {𝐴} ¬ 𝜑 ∨ ∀𝑥 ∈ {𝐴}𝜑) ↔ ([𝐴 / 𝑥] ¬ 𝜑[𝐴 / 𝑥]𝜑))
148, 13mpbir 145 . . 3 (∀𝑥 ∈ {𝐴} ¬ 𝜑 ∨ ∀𝑥 ∈ {𝐴}𝜑)
15 rabeq0 3397 . . . 4 ({𝑥 ∈ {𝐴} ∣ 𝜑} = ∅ ↔ ∀𝑥 ∈ {𝐴} ¬ 𝜑)
16 eqcom 2142 . . . . 5 ({𝑥 ∈ {𝐴} ∣ 𝜑} = {𝐴} ↔ {𝐴} = {𝑥 ∈ {𝐴} ∣ 𝜑})
17 rabid2 2610 . . . . 5 ({𝐴} = {𝑥 ∈ {𝐴} ∣ 𝜑} ↔ ∀𝑥 ∈ {𝐴}𝜑)
1816, 17bitri 183 . . . 4 ({𝑥 ∈ {𝐴} ∣ 𝜑} = {𝐴} ↔ ∀𝑥 ∈ {𝐴}𝜑)
1915, 18orbi12i 754 . . 3 (({𝑥 ∈ {𝐴} ∣ 𝜑} = ∅ ∨ {𝑥 ∈ {𝐴} ∣ 𝜑} = {𝐴}) ↔ (∀𝑥 ∈ {𝐴} ¬ 𝜑 ∨ ∀𝑥 ∈ {𝐴}𝜑))
2014, 19mpbir 145 . 2 ({𝑥 ∈ {𝐴} ∣ 𝜑} = ∅ ∨ {𝑥 ∈ {𝐴} ∣ 𝜑} = {𝐴})
21 eqeq1 2147 . . 3 (𝑀 = {𝑥 ∈ {𝐴} ∣ 𝜑} → (𝑀 = ∅ ↔ {𝑥 ∈ {𝐴} ∣ 𝜑} = ∅))
22 eqeq1 2147 . . 3 (𝑀 = {𝑥 ∈ {𝐴} ∣ 𝜑} → (𝑀 = {𝐴} ↔ {𝑥 ∈ {𝐴} ∣ 𝜑} = {𝐴}))
2321, 22orbi12d 783 . 2 (𝑀 = {𝑥 ∈ {𝐴} ∣ 𝜑} → ((𝑀 = ∅ ∨ 𝑀 = {𝐴}) ↔ ({𝑥 ∈ {𝐴} ∣ 𝜑} = ∅ ∨ {𝑥 ∈ {𝐴} ∣ 𝜑} = {𝐴})))
2420, 23mpbiri 167 1 (𝑀 = {𝑥 ∈ {𝐴} ∣ 𝜑} → (𝑀 = ∅ ∨ 𝑀 = {𝐴}))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wb 104  wo 698  DECID wdc 820   = wceq 1332  wcel 1481  wral 2417  {crab 2421  Vcvv 2689  [wsbc 2913  c0 3368  {csn 3532
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122
This theorem depends on definitions:  df-bi 116  df-dc 821  df-tru 1335  df-fal 1338  df-nf 1438  df-sb 1737  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-rab 2426  df-v 2691  df-sbc 2914  df-dif 3078  df-nul 3369  df-sn 3538
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator