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

Theorem diffitest 6832
Description: If subtracting any set from a finite set gives a finite set, any proposition of the form ¬ 𝜑 is decidable. This is not a proof of full excluded middle, but it is close enough to show we won't be able to prove 𝐴 ∈ Fin → (𝐴𝐵) ∈ Fin. (Contributed by Jim Kingdon, 8-Sep-2021.)
Hypothesis
Ref Expression
diffitest.1 𝑎 ∈ Fin ∀𝑏(𝑎𝑏) ∈ Fin
Assertion
Ref Expression
diffitest 𝜑 ∨ ¬ ¬ 𝜑)
Distinct variable groups:   𝑎,𝑏   𝜑,𝑏
Allowed substitution hint:   𝜑(𝑎)

Proof of Theorem diffitest
Dummy variables 𝑥 𝑛 𝑤 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 0ex 4091 . . . . . 6 ∅ ∈ V
2 snfig 6759 . . . . . 6 (∅ ∈ V → {∅} ∈ Fin)
31, 2ax-mp 5 . . . . 5 {∅} ∈ Fin
4 diffitest.1 . . . . 5 𝑎 ∈ Fin ∀𝑏(𝑎𝑏) ∈ Fin
5 difeq1 3218 . . . . . . . 8 (𝑎 = {∅} → (𝑎𝑏) = ({∅} ∖ 𝑏))
65eleq1d 2226 . . . . . . 7 (𝑎 = {∅} → ((𝑎𝑏) ∈ Fin ↔ ({∅} ∖ 𝑏) ∈ Fin))
76albidv 1804 . . . . . 6 (𝑎 = {∅} → (∀𝑏(𝑎𝑏) ∈ Fin ↔ ∀𝑏({∅} ∖ 𝑏) ∈ Fin))
87rspcv 2812 . . . . 5 ({∅} ∈ Fin → (∀𝑎 ∈ Fin ∀𝑏(𝑎𝑏) ∈ Fin → ∀𝑏({∅} ∖ 𝑏) ∈ Fin))
93, 4, 8mp2 16 . . . 4 𝑏({∅} ∖ 𝑏) ∈ Fin
10 rabexg 4107 . . . . . 6 ({∅} ∈ Fin → {𝑥 ∈ {∅} ∣ 𝜑} ∈ V)
113, 10ax-mp 5 . . . . 5 {𝑥 ∈ {∅} ∣ 𝜑} ∈ V
12 difeq2 3219 . . . . . 6 (𝑏 = {𝑥 ∈ {∅} ∣ 𝜑} → ({∅} ∖ 𝑏) = ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}))
1312eleq1d 2226 . . . . 5 (𝑏 = {𝑥 ∈ {∅} ∣ 𝜑} → (({∅} ∖ 𝑏) ∈ Fin ↔ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ∈ Fin))
1411, 13spcv 2806 . . . 4 (∀𝑏({∅} ∖ 𝑏) ∈ Fin → ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ∈ Fin)
159, 14ax-mp 5 . . 3 ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ∈ Fin
16 isfi 6706 . . 3 (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ∈ Fin ↔ ∃𝑛 ∈ ω ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛)
1715, 16mpbi 144 . 2 𝑛 ∈ ω ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛
18 0elnn 4578 . . . . 5 (𝑛 ∈ ω → (𝑛 = ∅ ∨ ∅ ∈ 𝑛))
19 breq2 3969 . . . . . . . . . 10 (𝑛 = ∅ → (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 ↔ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ ∅))
20 en0 6740 . . . . . . . . . 10 (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ ∅ ↔ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = ∅)
2119, 20bitrdi 195 . . . . . . . . 9 (𝑛 = ∅ → (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 ↔ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = ∅))
2221biimpac 296 . . . . . . . 8 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛𝑛 = ∅) → ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = ∅)
23 rabeq0 3423 . . . . . . . . 9 ({𝑥 ∈ {∅} ∣ ¬ 𝜑} = ∅ ↔ ∀𝑥 ∈ {∅} ¬ ¬ 𝜑)
24 notrab 3384 . . . . . . . . . 10 ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = {𝑥 ∈ {∅} ∣ ¬ 𝜑}
2524eqeq1i 2165 . . . . . . . . 9 (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = ∅ ↔ {𝑥 ∈ {∅} ∣ ¬ 𝜑} = ∅)
261snm 3679 . . . . . . . . . 10 𝑤 𝑤 ∈ {∅}
27 r19.3rmv 3484 . . . . . . . . . 10 (∃𝑤 𝑤 ∈ {∅} → (¬ ¬ 𝜑 ↔ ∀𝑥 ∈ {∅} ¬ ¬ 𝜑))
2826, 27ax-mp 5 . . . . . . . . 9 (¬ ¬ 𝜑 ↔ ∀𝑥 ∈ {∅} ¬ ¬ 𝜑)
2923, 25, 283bitr4i 211 . . . . . . . 8 (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = ∅ ↔ ¬ ¬ 𝜑)
3022, 29sylib 121 . . . . . . 7 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛𝑛 = ∅) → ¬ ¬ 𝜑)
3130olcd 724 . . . . . 6 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛𝑛 = ∅) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
32 ensym 6726 . . . . . . . 8 (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛𝑛 ≈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}))
33 elex2 2728 . . . . . . . 8 (∅ ∈ 𝑛 → ∃𝑤 𝑤𝑛)
34 enm 6765 . . . . . . . 8 ((𝑛 ≈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ∧ ∃𝑤 𝑤𝑛) → ∃𝑦 𝑦 ∈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}))
3532, 33, 34syl2an 287 . . . . . . 7 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 ∧ ∅ ∈ 𝑛) → ∃𝑦 𝑦 ∈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}))
36 biidd 171 . . . . . . . . . . . 12 (𝑥 = 𝑦 → (¬ 𝜑 ↔ ¬ 𝜑))
3736elrab 2868 . . . . . . . . . . 11 (𝑦 ∈ {𝑥 ∈ {∅} ∣ ¬ 𝜑} ↔ (𝑦 ∈ {∅} ∧ ¬ 𝜑))
3837simprbi 273 . . . . . . . . . 10 (𝑦 ∈ {𝑥 ∈ {∅} ∣ ¬ 𝜑} → ¬ 𝜑)
3938orcd 723 . . . . . . . . 9 (𝑦 ∈ {𝑥 ∈ {∅} ∣ ¬ 𝜑} → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4039, 24eleq2s 2252 . . . . . . . 8 (𝑦 ∈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4140exlimiv 1578 . . . . . . 7 (∃𝑦 𝑦 ∈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4235, 41syl 14 . . . . . 6 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 ∧ ∅ ∈ 𝑛) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4331, 42jaodan 787 . . . . 5 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 ∧ (𝑛 = ∅ ∨ ∅ ∈ 𝑛)) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4418, 43sylan2 284 . . . 4 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛𝑛 ∈ ω) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4544ancoms 266 . . 3 ((𝑛 ∈ ω ∧ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4645rexlimiva 2569 . 2 (∃𝑛 ∈ ω ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4717, 46ax-mp 5 1 𝜑 ∨ ¬ ¬ 𝜑)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wa 103  wb 104  wo 698  wal 1333   = wceq 1335  wex 1472  wcel 2128  wral 2435  wrex 2436  {crab 2439  Vcvv 2712  cdif 3099  c0 3394  {csn 3560   class class class wbr 3965  ωcom 4549  cen 6683  Fincfn 6685
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 1427  ax-7 1428  ax-gen 1429  ax-ie1 1473  ax-ie2 1474  ax-8 1484  ax-10 1485  ax-11 1486  ax-i12 1487  ax-bndl 1489  ax-4 1490  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-13 2130  ax-14 2131  ax-ext 2139  ax-sep 4082  ax-nul 4090  ax-pow 4135  ax-pr 4169  ax-un 4393  ax-iinf 4547
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1338  df-fal 1341  df-nf 1441  df-sb 1743  df-eu 2009  df-mo 2010  df-clab 2144  df-cleq 2150  df-clel 2153  df-nfc 2288  df-ral 2440  df-rex 2441  df-rab 2444  df-v 2714  df-sbc 2938  df-dif 3104  df-un 3106  df-in 3108  df-ss 3115  df-nul 3395  df-pw 3545  df-sn 3566  df-pr 3567  df-op 3569  df-uni 3773  df-int 3808  df-br 3966  df-opab 4026  df-id 4253  df-suc 4331  df-iom 4550  df-xp 4592  df-rel 4593  df-cnv 4594  df-co 4595  df-dm 4596  df-rn 4597  df-res 4598  df-ima 4599  df-iota 5135  df-fun 5172  df-fn 5173  df-f 5174  df-f1 5175  df-fo 5176  df-f1o 5177  df-fv 5178  df-1o 6363  df-er 6480  df-en 6686  df-fin 6688
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator