Users' Mathboxes Mathbox for Jim Kingdon < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >   Mathboxes  >  wexmiddifxylem GIF version

Theorem wexmiddifxylem 17250
Description: Lemma for wexmiddifxylem 17250. Showing weak excluded middle given a suitable finite set. (Contributed by Jim Kingdon, 1-Aug-2026.)
Assertion
Ref Expression
wexmiddifxylem (({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) ∈ Fin → DECID ¬ 𝜑)
Distinct variable group:   𝜑,𝑥

Proof of Theorem wexmiddifxylem
Dummy variable 𝑗 is distinct from all other variables.
StepHypRef Expression
1 fin0or 7194 . . . 4 (({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) ∈ Fin → (({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) = ∅ ∨ ∃𝑗 𝑗 ∈ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}})))
2 notm0 3542 . . . . . 6 (¬ ∃𝑗 𝑗 ∈ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) ↔ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) = ∅)
3 1oex 6699 . . . . . . . . 9 1o ∈ V
43snm 3833 . . . . . . . 8 ∃𝑗 𝑗 ∈ {1o}
5 0ex 4262 . . . . . . . . . . . . . . . . 17 ∅ ∈ V
65snm 3833 . . . . . . . . . . . . . . . 16 ∃𝑤 𝑤 ∈ {∅}
7 df1o2 6705 . . . . . . . . . . . . . . . . . 18 1o = {∅}
87eleq2i 2305 . . . . . . . . . . . . . . . . 17 (𝑤 ∈ 1o ↔ 𝑤 ∈ {∅})
98exbii 1658 . . . . . . . . . . . . . . . 16 (∃𝑤 𝑤 ∈ 1o ↔ ∃𝑤 𝑤 ∈ {∅})
106, 9mpbir 146 . . . . . . . . . . . . . . 15 ∃𝑤 𝑤 ∈ 1o
11 r19.3rmv 3618 . . . . . . . . . . . . . . 15 (∃𝑤 𝑤 ∈ 1o → (¬ 𝜑 ↔ ∀𝑥 ∈ 1o ¬ 𝜑))
1210, 11ax-mp 5 . . . . . . . . . . . . . 14 (¬ 𝜑 ↔ ∀𝑥 ∈ 1o ¬ 𝜑)
13 rabeq0 3552 . . . . . . . . . . . . . 14 ({𝑥 ∈ 1o ∣ 𝜑} = ∅ ↔ ∀𝑥 ∈ 1o ¬ 𝜑)
1412, 13sylbb2 138 . . . . . . . . . . . . 13 (¬ 𝜑 → {𝑥 ∈ 1o ∣ 𝜑} = ∅)
1514sneqd 3722 . . . . . . . . . . . 12 (¬ 𝜑 → {{𝑥 ∈ 1o ∣ 𝜑}} = {∅})
1615difeq2d 3347 . . . . . . . . . . 11 (¬ 𝜑 → ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) = ({1o} ∖ {∅}))
17 1n0 6709 . . . . . . . . . . . . . 14 1o ≠ ∅
1817nesymi 2466 . . . . . . . . . . . . 13 ¬ ∅ = 1o
19 elsni 3727 . . . . . . . . . . . . 13 (∅ ∈ {1o} → ∅ = 1o)
2018, 19mto 672 . . . . . . . . . . . 12 ¬ ∅ ∈ {1o}
21 difsn 3852 . . . . . . . . . . . 12 (¬ ∅ ∈ {1o} → ({1o} ∖ {∅}) = {1o})
2220, 21ax-mp 5 . . . . . . . . . . 11 ({1o} ∖ {∅}) = {1o}
2316, 22eqtrdi 2287 . . . . . . . . . 10 (¬ 𝜑 → ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) = {1o})
2423eleq2d 2308 . . . . . . . . 9 (¬ 𝜑 → (𝑗 ∈ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) ↔ 𝑗 ∈ {1o}))
2524exbidv 1878 . . . . . . . 8 (¬ 𝜑 → (∃𝑗 𝑗 ∈ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) ↔ ∃𝑗 𝑗 ∈ {1o}))
264, 25mpbiri 168 . . . . . . 7 (¬ 𝜑 → ∃𝑗 𝑗 ∈ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}))
2726con3i 641 . . . . . 6 (¬ ∃𝑗 𝑗 ∈ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) → ¬ ¬ 𝜑)
282, 27sylbir 135 . . . . 5 (({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) = ∅ → ¬ ¬ 𝜑)
29 eldifn 3352 . . . . . . . . . 10 (𝑗 ∈ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) → ¬ 𝑗 ∈ {{𝑥 ∈ 1o ∣ 𝜑}})
30 velsn 3726 . . . . . . . . . 10 (𝑗 ∈ {{𝑥 ∈ 1o ∣ 𝜑}} ↔ 𝑗 = {𝑥 ∈ 1o ∣ 𝜑})
3129, 30sylnib 687 . . . . . . . . 9 (𝑗 ∈ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) → ¬ 𝑗 = {𝑥 ∈ 1o ∣ 𝜑})
32 eldifi 3351 . . . . . . . . . . 11 (𝑗 ∈ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) → 𝑗 ∈ {1o})
33 elsni 3727 . . . . . . . . . . 11 (𝑗 ∈ {1o} → 𝑗 = 1o)
3432, 33syl 14 . . . . . . . . . 10 (𝑗 ∈ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) → 𝑗 = 1o)
3534eqeq1d 2247 . . . . . . . . 9 (𝑗 ∈ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) → (𝑗 = {𝑥 ∈ 1o ∣ 𝜑} ↔ 1o = {𝑥 ∈ 1o ∣ 𝜑}))
3631, 35mtbid 683 . . . . . . . 8 (𝑗 ∈ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) → ¬ 1o = {𝑥 ∈ 1o ∣ 𝜑})
3736neqcomd 2243 . . . . . . 7 (𝑗 ∈ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) → ¬ {𝑥 ∈ 1o ∣ 𝜑} = 1o)
38 rabid1o 17239 . . . . . . 7 ({𝑥 ∈ 1o ∣ 𝜑} = 1o ↔ 𝜑)
3937, 38sylnib 687 . . . . . 6 (𝑗 ∈ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) → ¬ 𝜑)
4039exlimiv 1651 . . . . 5 (∃𝑗 𝑗 ∈ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) → ¬ 𝜑)
4128, 40orim12i 771 . . . 4 ((({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) = ∅ ∨ ∃𝑗 𝑗 ∈ ({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}})) → (¬ ¬ 𝜑 ∨ ¬ 𝜑))
421, 41syl 14 . . 3 (({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) ∈ Fin → (¬ ¬ 𝜑 ∨ ¬ 𝜑))
4342orcomd 741 . 2 (({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) ∈ Fin → (¬ 𝜑 ∨ ¬ ¬ 𝜑))
44 df-dc 847 . 2 (DECID ¬ 𝜑 ↔ (¬ 𝜑 ∨ ¬ ¬ 𝜑))
4543, 44sylibr 134 1 (({1o} ∖ {{𝑥 ∈ 1o ∣ 𝜑}}) ∈ Fin → DECID ¬ 𝜑)
Colors of variables:    wff set class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 105   ∨ wo 720  DECID wdc 846   = wceq 1402  ∃wex 1545   ∈ wcel 2209  ∀wral 2528  {crab 2532   ∖ cdif 3217  ∅c0 3520  {csn 3709  1oc1o 6684  Fincfn 7026
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4251  ax-nul 4261  ax-pow 4313  ax-pr 4348  ax-un 4580  ax-iinf 4737
This proof depends on definitions:  df-bi 117  df-dc 847  df-3an 1011  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ne 2421  df-ral 2533  df-rex 2534  df-rab 2537  df-v 2823  df-sbc 3052  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-nul 3521  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-br 4132  df-opab 4194  df-tr 4232  df-id 4440  df-iord 4513  df-on 4515  df-suc 4518  df-iom 4740  df-xp 4782  df-rel 4783  df-cnv 4784  df-co 4785  df-dm 4786  df-rn 4787  df-res 4788  df-ima 4789  df-iota 5340  df-fun 5382  df-fn 5383  df-f 5384  df-f1 5385  df-fo 5386  df-f1o 5387  df-fv 5388  df-1o 6691  df-er 6811  df-en 7027  df-fin 7029
This theorem is used by:  wexmiddifxy  17251
  Copyright terms: Public domain W3C validator