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

Theorem dcextest 4565
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 831 . . . 4 (DECID {𝑥𝜑} ∈ V → ({𝑥𝜑} ∈ V ∨ ¬ {𝑥𝜑} ∈ V))
31, 2ax-mp 5 . . 3 ({𝑥𝜑} ∈ V ∨ ¬ {𝑥𝜑} ∈ V)
4 vprc 4121 . . . . . . 7 ¬ V ∈ V
5 df-v 2732 . . . . . . . . 9 V = {𝑥𝑥 = 𝑥}
6 equid 1694 . . . . . . . . . . 11 𝑥 = 𝑥
7 pm5.1im 172 . . . . . . . . . . 11 (𝑥 = 𝑥 → (𝜑 → (𝑥 = 𝑥𝜑)))
86, 7ax-mp 5 . . . . . . . . . 10 (𝜑 → (𝑥 = 𝑥𝜑))
98abbidv 2288 . . . . . . . . 9 (𝜑 → {𝑥𝑥 = 𝑥} = {𝑥𝜑})
105, 9eqtr2id 2216 . . . . . . . 8 (𝜑 → {𝑥𝜑} = V)
1110eleq1d 2239 . . . . . . 7 (𝜑 → ({𝑥𝜑} ∈ V ↔ V ∈ V))
124, 11mtbiri 670 . . . . . 6 (𝜑 → ¬ {𝑥𝜑} ∈ V)
1312con2i 622 . . . . 5 ({𝑥𝜑} ∈ V → ¬ 𝜑)
14 vex 2733 . . . . . . . . . 10 𝑦 ∈ V
15 biidd 171 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝜑𝜑))
1614, 15elab 2874 . . . . . . . . 9 (𝑦 ∈ {𝑥𝜑} ↔ 𝜑)
1716notbii 663 . . . . . . . 8 𝑦 ∈ {𝑥𝜑} ↔ ¬ 𝜑)
1817biimpri 132 . . . . . . 7 𝜑 → ¬ 𝑦 ∈ {𝑥𝜑})
1918eq0rdv 3459 . . . . . 6 𝜑 → {𝑥𝜑} = ∅)
20 0ex 4116 . . . . . 6 ∅ ∈ V
2119, 20eqeltrdi 2261 . . . . 5 𝜑 → {𝑥𝜑} ∈ V)
2213, 21impbii 125 . . . 4 ({𝑥𝜑} ∈ V ↔ ¬ 𝜑)
2322notbii 663 . . . 4 (¬ {𝑥𝜑} ∈ V ↔ ¬ ¬ 𝜑)
2422, 23orbi12i 759 . . 3 (({𝑥𝜑} ∈ V ∨ ¬ {𝑥𝜑} ∈ V) ↔ (¬ 𝜑 ∨ ¬ ¬ 𝜑))
253, 24mpbi 144 . 2 𝜑 ∨ ¬ ¬ 𝜑)
26 df-dc 830 . 2 (DECID ¬ 𝜑 ↔ (¬ 𝜑 ∨ ¬ ¬ 𝜑))
2725, 26mpbir 145 1 DECID ¬ 𝜑
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wb 104  wo 703  DECID wdc 829  wcel 2141  {cab 2156  Vcvv 2730  c0 3414
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-nul 4115
This theorem depends on definitions:  df-bi 116  df-dc 830  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-v 2732  df-dif 3123  df-in 3127  df-ss 3134  df-nul 3415
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator