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

Theorem undifdcss 6867
Description: Union of complementary parts into whole and decidability. (Contributed by Jim Kingdon, 17-Jun-2022.)
Assertion
Ref Expression
undifdcss (𝐴 = (𝐵 ∪ (𝐴𝐵)) ↔ (𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵

Proof of Theorem undifdcss
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 eqimss2 3183 . . . 4 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → (𝐵 ∪ (𝐴𝐵)) ⊆ 𝐴)
2 undifss 3474 . . . 4 (𝐵𝐴 ↔ (𝐵 ∪ (𝐴𝐵)) ⊆ 𝐴)
31, 2sylibr 133 . . 3 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → 𝐵𝐴)
4 eleq2 2221 . . . . . . . 8 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → (𝑥𝐴𝑥 ∈ (𝐵 ∪ (𝐴𝐵))))
54biimpa 294 . . . . . . 7 ((𝐴 = (𝐵 ∪ (𝐴𝐵)) ∧ 𝑥𝐴) → 𝑥 ∈ (𝐵 ∪ (𝐴𝐵)))
6 elun 3248 . . . . . . 7 (𝑥 ∈ (𝐵 ∪ (𝐴𝐵)) ↔ (𝑥𝐵𝑥 ∈ (𝐴𝐵)))
75, 6sylib 121 . . . . . 6 ((𝐴 = (𝐵 ∪ (𝐴𝐵)) ∧ 𝑥𝐴) → (𝑥𝐵𝑥 ∈ (𝐴𝐵)))
8 eldifn 3230 . . . . . . 7 (𝑥 ∈ (𝐴𝐵) → ¬ 𝑥𝐵)
98orim2i 751 . . . . . 6 ((𝑥𝐵𝑥 ∈ (𝐴𝐵)) → (𝑥𝐵 ∨ ¬ 𝑥𝐵))
107, 9syl 14 . . . . 5 ((𝐴 = (𝐵 ∪ (𝐴𝐵)) ∧ 𝑥𝐴) → (𝑥𝐵 ∨ ¬ 𝑥𝐵))
11 df-dc 821 . . . . 5 (DECID 𝑥𝐵 ↔ (𝑥𝐵 ∨ ¬ 𝑥𝐵))
1210, 11sylibr 133 . . . 4 ((𝐴 = (𝐵 ∪ (𝐴𝐵)) ∧ 𝑥𝐴) → DECID 𝑥𝐵)
1312ralrimiva 2530 . . 3 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → ∀𝑥𝐴 DECID 𝑥𝐵)
143, 13jca 304 . 2 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → (𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵))
15 elun1 3274 . . . . . . 7 (𝑦𝐵𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
1615adantl 275 . . . . . 6 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ 𝑦𝐵) → 𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
17 simplr 520 . . . . . . . 8 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝐵) → 𝑦𝐴)
18 simpr 109 . . . . . . . 8 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝐵) → ¬ 𝑦𝐵)
1917, 18eldifd 3112 . . . . . . 7 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝐵) → 𝑦 ∈ (𝐴𝐵))
20 elun2 3275 . . . . . . 7 (𝑦 ∈ (𝐴𝐵) → 𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
2119, 20syl 14 . . . . . 6 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝐵) → 𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
22 eleq1 2220 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑥𝐵𝑦𝐵))
2322dcbid 824 . . . . . . . 8 (𝑥 = 𝑦 → (DECID 𝑥𝐵DECID 𝑦𝐵))
24 simplr 520 . . . . . . . 8 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → ∀𝑥𝐴 DECID 𝑥𝐵)
25 simpr 109 . . . . . . . 8 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → 𝑦𝐴)
2623, 24, 25rspcdva 2821 . . . . . . 7 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → DECID 𝑦𝐵)
27 exmiddc 822 . . . . . . 7 (DECID 𝑦𝐵 → (𝑦𝐵 ∨ ¬ 𝑦𝐵))
2826, 27syl 14 . . . . . 6 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → (𝑦𝐵 ∨ ¬ 𝑦𝐵))
2916, 21, 28mpjaodan 788 . . . . 5 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → 𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
3029ex 114 . . . 4 ((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) → (𝑦𝐴𝑦 ∈ (𝐵 ∪ (𝐴𝐵))))
3130ssrdv 3134 . . 3 ((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) → 𝐴 ⊆ (𝐵 ∪ (𝐴𝐵)))
322biimpi 119 . . . 4 (𝐵𝐴 → (𝐵 ∪ (𝐴𝐵)) ⊆ 𝐴)
3332adantr 274 . . 3 ((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) → (𝐵 ∪ (𝐴𝐵)) ⊆ 𝐴)
3431, 33eqssd 3145 . 2 ((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) → 𝐴 = (𝐵 ∪ (𝐴𝐵)))
3514, 34impbii 125 1 (𝐴 = (𝐵 ∪ (𝐴𝐵)) ↔ (𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wa 103  wb 104  wo 698  DECID wdc 820   = wceq 1335  wcel 2128  wral 2435  cdif 3099  cun 3100  wss 3102
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 1427  ax-7 1428  ax-gen 1429  ax-ie1 1473  ax-ie2 1474  ax-8 1484  ax-10 1485  ax-11 1486  ax-i12 1487  ax-bndl 1489  ax-4 1490  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2139
This theorem depends on definitions:  df-bi 116  df-dc 821  df-tru 1338  df-nf 1441  df-sb 1743  df-clab 2144  df-cleq 2150  df-clel 2153  df-nfc 2288  df-ral 2440  df-v 2714  df-dif 3104  df-un 3106  df-in 3108  df-ss 3115
This theorem is referenced by:  sbthlemi5  6905  sbthlemi6  6906  exmidfodomrlemim  7136  bj-charfundcALT  13384
  Copyright terms: Public domain W3C validator