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

Theorem undifdcss 6888
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 3197 . . . 4 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → (𝐵 ∪ (𝐴𝐵)) ⊆ 𝐴)
2 undifss 3489 . . . 4 (𝐵𝐴 ↔ (𝐵 ∪ (𝐴𝐵)) ⊆ 𝐴)
31, 2sylibr 133 . . 3 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → 𝐵𝐴)
4 eleq2 2230 . . . . . . . 8 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → (𝑥𝐴𝑥 ∈ (𝐵 ∪ (𝐴𝐵))))
54biimpa 294 . . . . . . 7 ((𝐴 = (𝐵 ∪ (𝐴𝐵)) ∧ 𝑥𝐴) → 𝑥 ∈ (𝐵 ∪ (𝐴𝐵)))
6 elun 3263 . . . . . . 7 (𝑥 ∈ (𝐵 ∪ (𝐴𝐵)) ↔ (𝑥𝐵𝑥 ∈ (𝐴𝐵)))
75, 6sylib 121 . . . . . 6 ((𝐴 = (𝐵 ∪ (𝐴𝐵)) ∧ 𝑥𝐴) → (𝑥𝐵𝑥 ∈ (𝐴𝐵)))
8 eldifn 3245 . . . . . . 7 (𝑥 ∈ (𝐴𝐵) → ¬ 𝑥𝐵)
98orim2i 751 . . . . . 6 ((𝑥𝐵𝑥 ∈ (𝐴𝐵)) → (𝑥𝐵 ∨ ¬ 𝑥𝐵))
107, 9syl 14 . . . . 5 ((𝐴 = (𝐵 ∪ (𝐴𝐵)) ∧ 𝑥𝐴) → (𝑥𝐵 ∨ ¬ 𝑥𝐵))
11 df-dc 825 . . . . 5 (DECID 𝑥𝐵 ↔ (𝑥𝐵 ∨ ¬ 𝑥𝐵))
1210, 11sylibr 133 . . . 4 ((𝐴 = (𝐵 ∪ (𝐴𝐵)) ∧ 𝑥𝐴) → DECID 𝑥𝐵)
1312ralrimiva 2539 . . 3 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → ∀𝑥𝐴 DECID 𝑥𝐵)
143, 13jca 304 . 2 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → (𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵))
15 elun1 3289 . . . . . . 7 (𝑦𝐵𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
1615adantl 275 . . . . . 6 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ 𝑦𝐵) → 𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
17 simplr 520 . . . . . . . 8 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝐵) → 𝑦𝐴)
18 simpr 109 . . . . . . . 8 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝐵) → ¬ 𝑦𝐵)
1917, 18eldifd 3126 . . . . . . 7 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝐵) → 𝑦 ∈ (𝐴𝐵))
20 elun2 3290 . . . . . . 7 (𝑦 ∈ (𝐴𝐵) → 𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
2119, 20syl 14 . . . . . 6 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝐵) → 𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
22 eleq1 2229 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑥𝐵𝑦𝐵))
2322dcbid 828 . . . . . . . 8 (𝑥 = 𝑦 → (DECID 𝑥𝐵DECID 𝑦𝐵))
24 simplr 520 . . . . . . . 8 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → ∀𝑥𝐴 DECID 𝑥𝐵)
25 simpr 109 . . . . . . . 8 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → 𝑦𝐴)
2623, 24, 25rspcdva 2835 . . . . . . 7 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → DECID 𝑦𝐵)
27 exmiddc 826 . . . . . . 7 (DECID 𝑦𝐵 → (𝑦𝐵 ∨ ¬ 𝑦𝐵))
2826, 27syl 14 . . . . . 6 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → (𝑦𝐵 ∨ ¬ 𝑦𝐵))
2916, 21, 28mpjaodan 788 . . . . 5 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → 𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
3029ex 114 . . . 4 ((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) → (𝑦𝐴𝑦 ∈ (𝐵 ∪ (𝐴𝐵))))
3130ssrdv 3148 . . 3 ((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) → 𝐴 ⊆ (𝐵 ∪ (𝐴𝐵)))
322biimpi 119 . . . 4 (𝐵𝐴 → (𝐵 ∪ (𝐴𝐵)) ⊆ 𝐴)
3332adantr 274 . . 3 ((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) → (𝐵 ∪ (𝐴𝐵)) ⊆ 𝐴)
3431, 33eqssd 3159 . 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 824   = wceq 1343  wcel 2136  wral 2444  cdif 3113  cun 3114  wss 3116
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 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-ext 2147
This theorem depends on definitions:  df-bi 116  df-dc 825  df-tru 1346  df-nf 1449  df-sb 1751  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-v 2728  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129
This theorem is referenced by:  sbthlemi5  6926  sbthlemi6  6927  exmidfodomrlemim  7157  bj-charfundcALT  13691
  Copyright terms: Public domain W3C validator