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

Theorem dcextest 4673
Description: If it is decidable whether {𝑥𝜑} is a set, then ¬ 𝜑 is decidable (where 𝑥 does not occur in 𝜑). From this fact, we can deduce (outside the formal system, since we cannot quantify over classes) that if it is decidable whether any class is a set, then "weak excluded middle" (that is, any negated proposition ¬ 𝜑 is decidable) holds. (Contributed by Jim Kingdon, 3-Jul-2022.)
Hypothesis
Ref Expression
dcextest.ex DECID {𝑥𝜑} ∈ V
Assertion
Ref Expression
dcextest DECID ¬ 𝜑
Distinct variable group:   𝜑,𝑥

Proof of Theorem dcextest
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 dcextest.ex . . . 4 DECID {𝑥𝜑} ∈ V
2 exmiddc 841 . . . 4 (DECID {𝑥𝜑} ∈ V → ({𝑥𝜑} ∈ V ∨ ¬ {𝑥𝜑} ∈ V))
31, 2ax-mp 5 . . 3 ({𝑥𝜑} ∈ V ∨ ¬ {𝑥𝜑} ∈ V)
4 vprc 4216 . . . . . . 7 ¬ V ∈ V
5 df-v 2801 . . . . . . . . 9 V = {𝑥𝑥 = 𝑥}
6 equid 1747 . . . . . . . . . . 11 𝑥 = 𝑥
7 pm5.1im 173 . . . . . . . . . . 11 (𝑥 = 𝑥 → (𝜑 → (𝑥 = 𝑥𝜑)))
86, 7ax-mp 5 . . . . . . . . . 10 (𝜑 → (𝑥 = 𝑥𝜑))
98abbidv 2347 . . . . . . . . 9 (𝜑 → {𝑥𝑥 = 𝑥} = {𝑥𝜑})
105, 9eqtr2id 2275 . . . . . . . 8 (𝜑 → {𝑥𝜑} = V)
1110eleq1d 2298 . . . . . . 7 (𝜑 → ({𝑥𝜑} ∈ V ↔ V ∈ V))
124, 11mtbiri 679 . . . . . 6 (𝜑 → ¬ {𝑥𝜑} ∈ V)
1312con2i 630 . . . . 5 ({𝑥𝜑} ∈ V → ¬ 𝜑)
14 vex 2802 . . . . . . . . . 10 𝑦 ∈ V
15 biidd 172 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝜑𝜑))
1614, 15elab 2947 . . . . . . . . 9 (𝑦 ∈ {𝑥𝜑} ↔ 𝜑)
1716notbii 672 . . . . . . . 8 𝑦 ∈ {𝑥𝜑} ↔ ¬ 𝜑)
1817biimpri 133 . . . . . . 7 𝜑 → ¬ 𝑦 ∈ {𝑥𝜑})
1918eq0rdv 3536 . . . . . 6 𝜑 → {𝑥𝜑} = ∅)
20 0ex 4211 . . . . . 6 ∅ ∈ V
2119, 20eqeltrdi 2320 . . . . 5 𝜑 → {𝑥𝜑} ∈ V)
2213, 21impbii 126 . . . 4 ({𝑥𝜑} ∈ V ↔ ¬ 𝜑)
2322notbii 672 . . . 4 (¬ {𝑥𝜑} ∈ V ↔ ¬ ¬ 𝜑)
2422, 23orbi12i 769 . . 3 (({𝑥𝜑} ∈ V ∨ ¬ {𝑥𝜑} ∈ V) ↔ (¬ 𝜑 ∨ ¬ ¬ 𝜑))
253, 24mpbi 145 . 2 𝜑 ∨ ¬ ¬ 𝜑)
26 df-dc 840 . 2 (DECID ¬ 𝜑 ↔ (¬ 𝜑 ∨ ¬ ¬ 𝜑))
2725, 26mpbir 146 1 DECID ¬ 𝜑
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wb 105  wo 713  DECID wdc 839  wcel 2200  {cab 2215  Vcvv 2799  c0 3491
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 617  ax-in2 618  ax-io 714  ax-5 1493  ax-7 1494  ax-gen 1495  ax-ie1 1539  ax-ie2 1540  ax-8 1550  ax-10 1551  ax-11 1552  ax-i12 1553  ax-bndl 1555  ax-4 1556  ax-17 1572  ax-i9 1576  ax-ial 1580  ax-i5r 1581  ax-13 2202  ax-14 2203  ax-ext 2211  ax-sep 4202  ax-nul 4210
This theorem depends on definitions:  df-bi 117  df-dc 840  df-tru 1398  df-fal 1401  df-nf 1507  df-sb 1809  df-clab 2216  df-cleq 2222  df-clel 2225  df-nfc 2361  df-v 2801  df-dif 3199  df-in 3203  df-ss 3210  df-nul 3492
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator