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

Theorem eqsndc 7138
Description: Decidability of equality between a finite subset of a set with decidable equality, and a singleton whose element is an element of the larger set. (Contributed by Jim Kingdon, 15-Feb-2026.)
Hypotheses
Ref Expression
elssdc.b (𝜑 → ∀𝑥𝐵𝑦𝐵 DECID 𝑥 = 𝑦)
elssdc.x (𝜑𝑋𝐵)
elssdc.ss (𝜑𝐴𝐵)
elssdc.a (𝜑𝐴 ∈ Fin)
Assertion
Ref Expression
eqsndc (𝜑DECID 𝐴 = {𝑋})
Distinct variable groups:   𝑥,𝐵,𝑦   𝑥,𝑋,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐴(𝑥,𝑦)

Proof of Theorem eqsndc
Dummy variable 𝑢 is distinct from all other variables.
StepHypRef Expression
1 simpr 110 . . . . 5 ((𝜑𝐴 ≈ {𝑋}) → 𝐴 ≈ {𝑋})
2 elssdc.x . . . . . . 7 (𝜑𝑋𝐵)
3 ensn1g 7014 . . . . . . 7 (𝑋𝐵 → {𝑋} ≈ 1o)
42, 3syl 14 . . . . . 6 (𝜑 → {𝑋} ≈ 1o)
54adantr 276 . . . . 5 ((𝜑𝐴 ≈ {𝑋}) → {𝑋} ≈ 1o)
6 entr 7001 . . . . 5 ((𝐴 ≈ {𝑋} ∧ {𝑋} ≈ 1o) → 𝐴 ≈ 1o)
71, 5, 6syl2anc 411 . . . 4 ((𝜑𝐴 ≈ {𝑋}) → 𝐴 ≈ 1o)
8 en1 7016 . . . 4 (𝐴 ≈ 1o ↔ ∃𝑢 𝐴 = {𝑢})
97, 8sylib 122 . . 3 ((𝜑𝐴 ≈ {𝑋}) → ∃𝑢 𝐴 = {𝑢})
10 elssdc.ss . . . . . . 7 (𝜑𝐴𝐵)
1110ad2antrr 488 . . . . . 6 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → 𝐴𝐵)
12 vsnid 3705 . . . . . . . 8 𝑢 ∈ {𝑢}
13 eleq2 2295 . . . . . . . 8 (𝐴 = {𝑢} → (𝑢𝐴𝑢 ∈ {𝑢}))
1412, 13mpbiri 168 . . . . . . 7 (𝐴 = {𝑢} → 𝑢𝐴)
1514adantl 277 . . . . . 6 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → 𝑢𝐴)
1611, 15sseldd 3229 . . . . 5 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → 𝑢𝐵)
172ad2antrr 488 . . . . 5 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → 𝑋𝐵)
18 elssdc.b . . . . . 6 (𝜑 → ∀𝑥𝐵𝑦𝐵 DECID 𝑥 = 𝑦)
1918ad2antrr 488 . . . . 5 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → ∀𝑥𝐵𝑦𝐵 DECID 𝑥 = 𝑦)
20 eqeq1 2238 . . . . . . 7 (𝑥 = 𝑢 → (𝑥 = 𝑦𝑢 = 𝑦))
2120dcbid 846 . . . . . 6 (𝑥 = 𝑢 → (DECID 𝑥 = 𝑦DECID 𝑢 = 𝑦))
22 eqeq2 2241 . . . . . . 7 (𝑦 = 𝑋 → (𝑢 = 𝑦𝑢 = 𝑋))
2322dcbid 846 . . . . . 6 (𝑦 = 𝑋 → (DECID 𝑢 = 𝑦DECID 𝑢 = 𝑋))
2421, 23rspc2va 2925 . . . . 5 (((𝑢𝐵𝑋𝐵) ∧ ∀𝑥𝐵𝑦𝐵 DECID 𝑥 = 𝑦) → DECID 𝑢 = 𝑋)
2516, 17, 19, 24syl21anc 1273 . . . 4 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → DECID 𝑢 = 𝑋)
26 eqeq1 2238 . . . . . . 7 (𝐴 = {𝑢} → (𝐴 = {𝑋} ↔ {𝑢} = {𝑋}))
2726adantl 277 . . . . . 6 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → (𝐴 = {𝑋} ↔ {𝑢} = {𝑋}))
28 sneqbg 3851 . . . . . . 7 (𝑢 ∈ V → ({𝑢} = {𝑋} ↔ 𝑢 = 𝑋))
2928elv 2807 . . . . . 6 ({𝑢} = {𝑋} ↔ 𝑢 = 𝑋)
3027, 29bitrdi 196 . . . . 5 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → (𝐴 = {𝑋} ↔ 𝑢 = 𝑋))
3130dcbid 846 . . . 4 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → (DECID 𝐴 = {𝑋} ↔ DECID 𝑢 = 𝑋))
3225, 31mpbird 167 . . 3 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → DECID 𝐴 = {𝑋})
339, 32exlimddv 1947 . 2 ((𝜑𝐴 ≈ {𝑋}) → DECID 𝐴 = {𝑋})
34 elssdc.a . . . . . 6 (𝜑𝐴 ∈ Fin)
35 eqeng 6982 . . . . . 6 (𝐴 ∈ Fin → (𝐴 = {𝑋} → 𝐴 ≈ {𝑋}))
3634, 35syl 14 . . . . 5 (𝜑 → (𝐴 = {𝑋} → 𝐴 ≈ {𝑋}))
3736con3dimp 640 . . . 4 ((𝜑 ∧ ¬ 𝐴 ≈ {𝑋}) → ¬ 𝐴 = {𝑋})
3837olcd 742 . . 3 ((𝜑 ∧ ¬ 𝐴 ≈ {𝑋}) → (𝐴 = {𝑋} ∨ ¬ 𝐴 = {𝑋}))
39 df-dc 843 . . 3 (DECID 𝐴 = {𝑋} ↔ (𝐴 = {𝑋} ∨ ¬ 𝐴 = {𝑋}))
4038, 39sylibr 134 . 2 ((𝜑 ∧ ¬ 𝐴 ≈ {𝑋}) → DECID 𝐴 = {𝑋})
41 snfig 7032 . . . . 5 (𝑋𝐵 → {𝑋} ∈ Fin)
422, 41syl 14 . . . 4 (𝜑 → {𝑋} ∈ Fin)
43 fidcen 7131 . . . 4 ((𝐴 ∈ Fin ∧ {𝑋} ∈ Fin) → DECID 𝐴 ≈ {𝑋})
4434, 42, 43syl2anc 411 . . 3 (𝜑DECID 𝐴 ≈ {𝑋})
45 exmiddc 844 . . 3 (DECID 𝐴 ≈ {𝑋} → (𝐴 ≈ {𝑋} ∨ ¬ 𝐴 ≈ {𝑋}))
4644, 45syl 14 . 2 (𝜑 → (𝐴 ≈ {𝑋} ∨ ¬ 𝐴 ≈ {𝑋}))
4733, 40, 46mpjaodan 806 1 (𝜑DECID 𝐴 = {𝑋})
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wb 105  wo 716  DECID wdc 842   = wceq 1398  wex 1541  wcel 2202  wral 2511  Vcvv 2803  wss 3201  {csn 3673   class class class wbr 4093  1oc1o 6618  cen 6950  Fincfn 6952
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 619  ax-in2 620  ax-io 717  ax-5 1496  ax-7 1497  ax-gen 1498  ax-ie1 1542  ax-ie2 1543  ax-8 1553  ax-10 1554  ax-11 1555  ax-i12 1556  ax-bndl 1558  ax-4 1559  ax-17 1575  ax-i9 1579  ax-ial 1583  ax-i5r 1584  ax-13 2204  ax-14 2205  ax-ext 2213  ax-sep 4212  ax-nul 4220  ax-pow 4270  ax-pr 4305  ax-un 4536  ax-setind 4641  ax-iinf 4692
This theorem depends on definitions:  df-bi 117  df-dc 843  df-3or 1006  df-3an 1007  df-tru 1401  df-fal 1404  df-nf 1510  df-sb 1811  df-eu 2082  df-mo 2083  df-clab 2218  df-cleq 2224  df-clel 2227  df-nfc 2364  df-ne 2404  df-ral 2516  df-rex 2517  df-reu 2518  df-rab 2520  df-v 2805  df-sbc 3033  df-dif 3203  df-un 3205  df-in 3207  df-ss 3214  df-nul 3497  df-pw 3658  df-sn 3679  df-pr 3680  df-op 3682  df-uni 3899  df-int 3934  df-br 4094  df-opab 4156  df-tr 4193  df-id 4396  df-iord 4469  df-on 4471  df-suc 4474  df-iom 4695  df-xp 4737  df-rel 4738  df-cnv 4739  df-co 4740  df-dm 4741  df-rn 4742  df-res 4743  df-ima 4744  df-iota 5293  df-fun 5335  df-fn 5336  df-f 5337  df-f1 5338  df-fo 5339  df-f1o 5340  df-fv 5341  df-1o 6625  df-er 6745  df-en 6953  df-fin 6955
This theorem is referenced by:  vtxlpfi  16214
  Copyright terms: Public domain W3C validator