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

Theorem diffitest 6789
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 4063 . . . . . 6 ∅ ∈ V
2 snfig 6716 . . . . . 6 (∅ ∈ V → {∅} ∈ Fin)
31, 2ax-mp 5 . . . . 5 {∅} ∈ Fin
4 diffitest.1 . . . . 5 𝑎 ∈ Fin ∀𝑏(𝑎𝑏) ∈ Fin
5 difeq1 3192 . . . . . . . 8 (𝑎 = {∅} → (𝑎𝑏) = ({∅} ∖ 𝑏))
65eleq1d 2209 . . . . . . 7 (𝑎 = {∅} → ((𝑎𝑏) ∈ Fin ↔ ({∅} ∖ 𝑏) ∈ Fin))
76albidv 1797 . . . . . 6 (𝑎 = {∅} → (∀𝑏(𝑎𝑏) ∈ Fin ↔ ∀𝑏({∅} ∖ 𝑏) ∈ Fin))
87rspcv 2789 . . . . 5 ({∅} ∈ Fin → (∀𝑎 ∈ Fin ∀𝑏(𝑎𝑏) ∈ Fin → ∀𝑏({∅} ∖ 𝑏) ∈ Fin))
93, 4, 8mp2 16 . . . 4 𝑏({∅} ∖ 𝑏) ∈ Fin
10 rabexg 4079 . . . . . 6 ({∅} ∈ Fin → {𝑥 ∈ {∅} ∣ 𝜑} ∈ V)
113, 10ax-mp 5 . . . . 5 {𝑥 ∈ {∅} ∣ 𝜑} ∈ V
12 difeq2 3193 . . . . . 6 (𝑏 = {𝑥 ∈ {∅} ∣ 𝜑} → ({∅} ∖ 𝑏) = ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}))
1312eleq1d 2209 . . . . 5 (𝑏 = {𝑥 ∈ {∅} ∣ 𝜑} → (({∅} ∖ 𝑏) ∈ Fin ↔ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ∈ Fin))
1411, 13spcv 2783 . . . 4 (∀𝑏({∅} ∖ 𝑏) ∈ Fin → ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ∈ Fin)
159, 14ax-mp 5 . . 3 ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ∈ Fin
16 isfi 6663 . . 3 (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ∈ Fin ↔ ∃𝑛 ∈ ω ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛)
1715, 16mpbi 144 . 2 𝑛 ∈ ω ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛
18 0elnn 4540 . . . . 5 (𝑛 ∈ ω → (𝑛 = ∅ ∨ ∅ ∈ 𝑛))
19 breq2 3941 . . . . . . . . . 10 (𝑛 = ∅ → (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 ↔ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ ∅))
20 en0 6697 . . . . . . . . . 10 (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ ∅ ↔ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = ∅)
2119, 20syl6bb 195 . . . . . . . . 9 (𝑛 = ∅ → (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 ↔ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = ∅))
2221biimpac 296 . . . . . . . 8 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛𝑛 = ∅) → ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = ∅)
23 rabeq0 3397 . . . . . . . . 9 ({𝑥 ∈ {∅} ∣ ¬ 𝜑} = ∅ ↔ ∀𝑥 ∈ {∅} ¬ ¬ 𝜑)
24 notrab 3358 . . . . . . . . . 10 ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = {𝑥 ∈ {∅} ∣ ¬ 𝜑}
2524eqeq1i 2148 . . . . . . . . 9 (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = ∅ ↔ {𝑥 ∈ {∅} ∣ ¬ 𝜑} = ∅)
261snm 3651 . . . . . . . . . 10 𝑤 𝑤 ∈ {∅}
27 r19.3rmv 3458 . . . . . . . . . 10 (∃𝑤 𝑤 ∈ {∅} → (¬ ¬ 𝜑 ↔ ∀𝑥 ∈ {∅} ¬ ¬ 𝜑))
2826, 27ax-mp 5 . . . . . . . . 9 (¬ ¬ 𝜑 ↔ ∀𝑥 ∈ {∅} ¬ ¬ 𝜑)
2923, 25, 283bitr4i 211 . . . . . . . 8 (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) = ∅ ↔ ¬ ¬ 𝜑)
3022, 29sylib 121 . . . . . . 7 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛𝑛 = ∅) → ¬ ¬ 𝜑)
3130olcd 724 . . . . . 6 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛𝑛 = ∅) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
32 ensym 6683 . . . . . . . 8 (({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛𝑛 ≈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}))
33 elex2 2705 . . . . . . . 8 (∅ ∈ 𝑛 → ∃𝑤 𝑤𝑛)
34 enm 6722 . . . . . . . 8 ((𝑛 ≈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ∧ ∃𝑤 𝑤𝑛) → ∃𝑦 𝑦 ∈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}))
3532, 33, 34syl2an 287 . . . . . . 7 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 ∧ ∅ ∈ 𝑛) → ∃𝑦 𝑦 ∈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}))
36 biidd 171 . . . . . . . . . . . 12 (𝑥 = 𝑦 → (¬ 𝜑 ↔ ¬ 𝜑))
3736elrab 2844 . . . . . . . . . . 11 (𝑦 ∈ {𝑥 ∈ {∅} ∣ ¬ 𝜑} ↔ (𝑦 ∈ {∅} ∧ ¬ 𝜑))
3837simprbi 273 . . . . . . . . . 10 (𝑦 ∈ {𝑥 ∈ {∅} ∣ ¬ 𝜑} → ¬ 𝜑)
3938orcd 723 . . . . . . . . 9 (𝑦 ∈ {𝑥 ∈ {∅} ∣ ¬ 𝜑} → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4039, 24eleq2s 2235 . . . . . . . 8 (𝑦 ∈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4140exlimiv 1578 . . . . . . 7 (∃𝑦 𝑦 ∈ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4235, 41syl 14 . . . . . 6 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 ∧ ∅ ∈ 𝑛) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4331, 42jaodan 787 . . . . 5 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 ∧ (𝑛 = ∅ ∨ ∅ ∈ 𝑛)) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4418, 43sylan2 284 . . . 4 ((({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛𝑛 ∈ ω) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4544ancoms 266 . . 3 ((𝑛 ∈ ω ∧ ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛) → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4645rexlimiva 2547 . 2 (∃𝑛 ∈ ω ({∅} ∖ {𝑥 ∈ {∅} ∣ 𝜑}) ≈ 𝑛 → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4717, 46ax-mp 5 1 𝜑 ∨ ¬ ¬ 𝜑)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wa 103  wb 104  wo 698  wal 1330   = wceq 1332  wex 1469  wcel 1481  wral 2417  wrex 2418  {crab 2421  Vcvv 2689  cdif 3073  c0 3368  {csn 3532   class class class wbr 3937  ωcom 4512  cen 6640  Fincfn 6642
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-13 1492  ax-14 1493  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122  ax-sep 4054  ax-nul 4062  ax-pow 4106  ax-pr 4139  ax-un 4363  ax-iinf 4510
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1335  df-fal 1338  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-rex 2423  df-rab 2426  df-v 2691  df-sbc 2914  df-dif 3078  df-un 3080  df-in 3082  df-ss 3089  df-nul 3369  df-pw 3517  df-sn 3538  df-pr 3539  df-op 3541  df-uni 3745  df-int 3780  df-br 3938  df-opab 3998  df-id 4223  df-suc 4301  df-iom 4513  df-xp 4553  df-rel 4554  df-cnv 4555  df-co 4556  df-dm 4557  df-rn 4558  df-res 4559  df-ima 4560  df-iota 5096  df-fun 5133  df-fn 5134  df-f 5135  df-f1 5136  df-fo 5137  df-f1o 5138  df-fv 5139  df-1o 6321  df-er 6437  df-en 6643  df-fin 6645
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator