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

Theorem diffitest 6853
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 4109 . . . . . 6 ∅ ∈ V
2 snfig 6780 . . . . . 6 (∅ ∈ V → {∅} ∈ Fin)
31, 2ax-mp 5 . . . . 5 {∅} ∈ Fin
4 diffitest.1 . . . . 5 𝑎 ∈ Fin ∀𝑏(𝑎𝑏) ∈ Fin
5 difeq1 3233 . . . . . . . 8 (𝑎 = {∅} → (𝑎𝑏) = ({∅} ∖ 𝑏))
65eleq1d 2235 . . . . . . 7 (𝑎 = {∅} → ((𝑎𝑏) ∈ Fin ↔ ({∅} ∖ 𝑏) ∈ Fin))
76albidv 1812 . . . . . 6 (𝑎 = {∅} → (∀𝑏(𝑎𝑏) ∈ Fin ↔ ∀𝑏({∅} ∖ 𝑏) ∈ Fin))
87rspcv 2826 . . . . 5 ({∅} ∈ Fin → (∀𝑎 ∈ Fin ∀𝑏(𝑎𝑏) ∈ Fin → ∀𝑏({∅} ∖ 𝑏) ∈ Fin))
93, 4, 8mp2 16 . . . 4 𝑏({∅} ∖ 𝑏) ∈ Fin
10 rabexg 4125 . . . . . 6 ({∅} ∈ Fin → {𝑥 ∈ {∅} ∣ 𝜑} ∈ V)
113, 10ax-mp 5 . . . . 5 {𝑥 ∈ {∅} ∣ 𝜑} ∈ V
12 difeq2 3234 . . . . . 6 (𝑏 = {𝑥 ∈ {∅} ∣ 𝜑} → ({∅} ∖ 𝑏) = ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}))
1312eleq1d 2235 . . . . 5 (𝑏 = {𝑥 ∈ {∅} ∣ 𝜑} → (({∅} ∖ 𝑏) ∈ Fin ↔ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ∈ Fin))
1411, 13spcv 2820 . . . 4 (∀𝑏({∅} ∖ 𝑏) ∈ Fin → ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ∈ Fin)
159, 14ax-mp 5 . . 3 ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ∈ Fin
16 isfi 6727 . . 3 (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ∈ Fin ↔ ∃𝑛 ∈ ω ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛)
1715, 16mpbi 144 . 2 𝑛 ∈ ω ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛
18 0elnn 4596 . . . . 5 (𝑛 ∈ ω → (𝑛 = ∅ ∨ ∅ ∈ 𝑛))
19 breq2 3986 . . . . . . . . . 10 (𝑛 = ∅ → (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 ↔ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ ∅))
20 en0 6761 . . . . . . . . . 10 (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ ∅ ↔ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = ∅)
2119, 20bitrdi 195 . . . . . . . . 9 (𝑛 = ∅ → (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 ↔ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = ∅))
2221biimpac 296 . . . . . . . 8 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛𝑛 = ∅) → ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = ∅)
23 rabeq0 3438 . . . . . . . . 9 ({𝑥 ∈ {∅} ∣ ¬ 𝜑} = ∅ ↔ ∀𝑥 ∈ {∅} ¬ ¬ 𝜑)
24 notrab 3399 . . . . . . . . . 10 ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = {𝑥 ∈ {∅} ∣ ¬ 𝜑}
2524eqeq1i 2173 . . . . . . . . 9 (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = ∅ ↔ {𝑥 ∈ {∅} ∣ ¬ 𝜑} = ∅)
261snm 3696 . . . . . . . . . 10 𝑤 𝑤 ∈ {∅}
27 r19.3rmv 3499 . . . . . . . . . 10 (∃𝑤 𝑤 ∈ {∅} → (¬ ¬ 𝜑 ↔ ∀𝑥 ∈ {∅} ¬ ¬ 𝜑))
2826, 27ax-mp 5 . . . . . . . . 9 (¬ ¬ 𝜑 ↔ ∀𝑥 ∈ {∅} ¬ ¬ 𝜑)
2923, 25, 283bitr4i 211 . . . . . . . 8 (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = ∅ ↔ ¬ ¬ 𝜑)
3022, 29sylib 121 . . . . . . 7 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛𝑛 = ∅) → ¬ ¬ 𝜑)
3130olcd 724 . . . . . 6 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛𝑛 = ∅) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
32 ensym 6747 . . . . . . . 8 (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛𝑛 ≈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}))
33 elex2 2742 . . . . . . . 8 (∅ ∈ 𝑛 → ∃𝑤 𝑤𝑛)
34 enm 6786 . . . . . . . 8 ((𝑛 ≈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ∧ ∃𝑤 𝑤𝑛) → ∃𝑦 𝑦 ∈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}))
3532, 33, 34syl2an 287 . . . . . . 7 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 ∧ ∅ ∈ 𝑛) → ∃𝑦 𝑦 ∈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}))
36 biidd 171 . . . . . . . . . . . 12 (𝑥 = 𝑦 → (¬ 𝜑 ↔ ¬ 𝜑))
3736elrab 2882 . . . . . . . . . . 11 (𝑦 ∈ {𝑥 ∈ {∅} ∣ ¬ 𝜑} ↔ (𝑦 ∈ {∅} ∧ ¬ 𝜑))
3837simprbi 273 . . . . . . . . . 10 (𝑦 ∈ {𝑥 ∈ {∅} ∣ ¬ 𝜑} → ¬ 𝜑)
3938orcd 723 . . . . . . . . 9 (𝑦 ∈ {𝑥 ∈ {∅} ∣ ¬ 𝜑} → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4039, 24eleq2s 2261 . . . . . . . 8 (𝑦 ∈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4140exlimiv 1586 . . . . . . 7 (∃𝑦 𝑦 ∈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4235, 41syl 14 . . . . . 6 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 ∧ ∅ ∈ 𝑛) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4331, 42jaodan 787 . . . . 5 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 ∧ (𝑛 = ∅ ∨ ∅ ∈ 𝑛)) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4418, 43sylan2 284 . . . 4 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛𝑛 ∈ ω) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4544ancoms 266 . . 3 ((𝑛 ∈ ω ∧ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4645rexlimiva 2578 . 2 (∃𝑛 ∈ ω ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4717, 46ax-mp 5 1 𝜑 ∨ ¬ ¬ 𝜑)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wa 103  wb 104  wo 698  wal 1341   = wceq 1343  wex 1480  wcel 2136  wral 2444  wrex 2445  {crab 2448  Vcvv 2726  cdif 3113  c0 3409  {csn 3576   class class class wbr 3982  ωcom 4567  cen 6704  Fincfn 6706
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 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-iinf 4565
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-rab 2453  df-v 2728  df-sbc 2952  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-br 3983  df-opab 4044  df-id 4271  df-suc 4349  df-iom 4568  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-1o 6384  df-er 6501  df-en 6707  df-fin 6709
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator