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

Theorem eqsndc 7163
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 7037 . . . . . . 7 (𝑋𝐵 → {𝑋} ≈ 1o)
42, 3syl 14 . . . . . 6 (𝜑 → {𝑋} ≈ 1o)
54adantr 276 . . . . 5 ((𝜑𝐴 ≈ {𝑋}) → {𝑋} ≈ 1o)
6 entr 7024 . . . . 5 ((𝐴 ≈ {𝑋} ∧ {𝑋} ≈ 1o) → 𝐴 ≈ 1o)
71, 5, 6syl2anc 411 . . . 4 ((𝜑𝐴 ≈ {𝑋}) → 𝐴 ≈ 1o)
8 en1 7039 . . . 4 (𝐴 ≈ 1o ↔ ∃𝑢 𝐴 = {𝑢})
97, 8sylib 122 . . 3 ((𝜑𝐴 ≈ {𝑋}) → ∃𝑢 𝐴 = {𝑢})
10 elssdc.ss . . . . . . 7 (𝜑𝐴𝐵)
1110ad2antrr 488 . . . . . 6 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → 𝐴𝐵)
12 vsnid 3721 . . . . . . . 8 𝑢 ∈ {𝑢}
13 eleq2 2296 . . . . . . . 8 (𝐴 = {𝑢} → (𝑢𝐴𝑢 ∈ {𝑢}))
1412, 13mpbiri 168 . . . . . . 7 (𝐴 = {𝑢} → 𝑢𝐴)
1514adantl 277 . . . . . 6 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → 𝑢𝐴)
1611, 15sseldd 3239 . . . . 5 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → 𝑢𝐵)
172ad2antrr 488 . . . . 5 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → 𝑋𝐵)
18 elssdc.b . . . . . 6 (𝜑 → ∀𝑥𝐵𝑦𝐵 DECID 𝑥 = 𝑦)
1918ad2antrr 488 . . . . 5 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → ∀𝑥𝐵𝑦𝐵 DECID 𝑥 = 𝑦)
20 eqeq1 2239 . . . . . . 7 (𝑥 = 𝑢 → (𝑥 = 𝑦𝑢 = 𝑦))
2120dcbid 846 . . . . . 6 (𝑥 = 𝑢 → (DECID 𝑥 = 𝑦DECID 𝑢 = 𝑦))
22 eqeq2 2242 . . . . . . 7 (𝑦 = 𝑋 → (𝑢 = 𝑦𝑢 = 𝑋))
2322dcbid 846 . . . . . 6 (𝑦 = 𝑋 → (DECID 𝑢 = 𝑦DECID 𝑢 = 𝑋))
2421, 23rspc2va 2935 . . . . 5 (((𝑢𝐵𝑋𝐵) ∧ ∀𝑥𝐵𝑦𝐵 DECID 𝑥 = 𝑦) → DECID 𝑢 = 𝑋)
2516, 17, 19, 24syl21anc 1273 . . . 4 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → DECID 𝑢 = 𝑋)
26 eqeq1 2239 . . . . . . 7 (𝐴 = {𝑢} → (𝐴 = {𝑋} ↔ {𝑢} = {𝑋}))
2726adantl 277 . . . . . 6 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → (𝐴 = {𝑋} ↔ {𝑢} = {𝑋}))
28 sneqbg 3867 . . . . . . 7 (𝑢 ∈ V → ({𝑢} = {𝑋} ↔ 𝑢 = 𝑋))
2928elv 2817 . . . . . 6 ({𝑢} = {𝑋} ↔ 𝑢 = 𝑋)
3027, 29bitrdi 196 . . . . 5 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → (𝐴 = {𝑋} ↔ 𝑢 = 𝑋))
3130dcbid 846 . . . 4 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → (DECID 𝐴 = {𝑋} ↔ DECID 𝑢 = 𝑋))
3225, 31mpbird 167 . . 3 (((𝜑𝐴 ≈ {𝑋}) ∧ 𝐴 = {𝑢}) → DECID 𝐴 = {𝑋})
339, 32exlimddv 1948 . 2 ((𝜑𝐴 ≈ {𝑋}) → DECID 𝐴 = {𝑋})
34 elssdc.a . . . . . 6 (𝜑𝐴 ∈ Fin)
35 eqeng 7005 . . . . . 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 7056 . . . . 5 (𝑋𝐵 → {𝑋} ∈ Fin)
422, 41syl 14 . . . 4 (𝜑 → {𝑋} ∈ Fin)
43 fidcen 7156 . . . 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 2203  wral 2520  Vcvv 2813  wss 3211  {csn 3689   class class class wbr 4109  1oc1o 6640  cen 6973  Fincfn 6975
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 2205  ax-14 2206  ax-ext 2214  ax-sep 4228  ax-nul 4236  ax-pow 4287  ax-pr 4322  ax-un 4554  ax-setind 4659  ax-iinf 4710
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 1812  df-eu 2083  df-mo 2084  df-clab 2219  df-cleq 2225  df-clel 2228  df-nfc 2373  df-ne 2413  df-ral 2525  df-rex 2526  df-reu 2527  df-rab 2529  df-v 2815  df-sbc 3043  df-dif 3213  df-un 3215  df-in 3217  df-ss 3224  df-nul 3509  df-pw 3671  df-sn 3695  df-pr 3696  df-op 3698  df-uni 3915  df-int 3950  df-br 4110  df-opab 4172  df-tr 4209  df-id 4414  df-iord 4487  df-on 4489  df-suc 4492  df-iom 4713  df-xp 4755  df-rel 4756  df-cnv 4757  df-co 4758  df-dm 4759  df-rn 4760  df-res 4761  df-ima 4762  df-iota 5312  df-fun 5354  df-fn 5355  df-f 5356  df-f1 5357  df-fo 5358  df-f1o 5359  df-fv 5360  df-1o 6647  df-er 6767  df-en 6976  df-fin 6978
This theorem is referenced by:  vtxlpfi  16285
  Copyright terms: Public domain W3C validator