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

Theorem undifdcss 6900
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 3202 . . . 4 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → (𝐵 ∪ (𝐴𝐵)) ⊆ 𝐴)
2 undifss 3495 . . . 4 (𝐵𝐴 ↔ (𝐵 ∪ (𝐴𝐵)) ⊆ 𝐴)
31, 2sylibr 133 . . 3 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → 𝐵𝐴)
4 eleq2 2234 . . . . . . . 8 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → (𝑥𝐴𝑥 ∈ (𝐵 ∪ (𝐴𝐵))))
54biimpa 294 . . . . . . 7 ((𝐴 = (𝐵 ∪ (𝐴𝐵)) ∧ 𝑥𝐴) → 𝑥 ∈ (𝐵 ∪ (𝐴𝐵)))
6 elun 3268 . . . . . . 7 (𝑥 ∈ (𝐵 ∪ (𝐴𝐵)) ↔ (𝑥𝐵𝑥 ∈ (𝐴𝐵)))
75, 6sylib 121 . . . . . 6 ((𝐴 = (𝐵 ∪ (𝐴𝐵)) ∧ 𝑥𝐴) → (𝑥𝐵𝑥 ∈ (𝐴𝐵)))
8 eldifn 3250 . . . . . . 7 (𝑥 ∈ (𝐴𝐵) → ¬ 𝑥𝐵)
98orim2i 756 . . . . . 6 ((𝑥𝐵𝑥 ∈ (𝐴𝐵)) → (𝑥𝐵 ∨ ¬ 𝑥𝐵))
107, 9syl 14 . . . . 5 ((𝐴 = (𝐵 ∪ (𝐴𝐵)) ∧ 𝑥𝐴) → (𝑥𝐵 ∨ ¬ 𝑥𝐵))
11 df-dc 830 . . . . 5 (DECID 𝑥𝐵 ↔ (𝑥𝐵 ∨ ¬ 𝑥𝐵))
1210, 11sylibr 133 . . . 4 ((𝐴 = (𝐵 ∪ (𝐴𝐵)) ∧ 𝑥𝐴) → DECID 𝑥𝐵)
1312ralrimiva 2543 . . 3 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → ∀𝑥𝐴 DECID 𝑥𝐵)
143, 13jca 304 . 2 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → (𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵))
15 elun1 3294 . . . . . . 7 (𝑦𝐵𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
1615adantl 275 . . . . . 6 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ 𝑦𝐵) → 𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
17 simplr 525 . . . . . . . 8 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝐵) → 𝑦𝐴)
18 simpr 109 . . . . . . . 8 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝐵) → ¬ 𝑦𝐵)
1917, 18eldifd 3131 . . . . . . 7 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝐵) → 𝑦 ∈ (𝐴𝐵))
20 elun2 3295 . . . . . . 7 (𝑦 ∈ (𝐴𝐵) → 𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
2119, 20syl 14 . . . . . 6 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝐵) → 𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
22 eleq1 2233 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑥𝐵𝑦𝐵))
2322dcbid 833 . . . . . . . 8 (𝑥 = 𝑦 → (DECID 𝑥𝐵DECID 𝑦𝐵))
24 simplr 525 . . . . . . . 8 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → ∀𝑥𝐴 DECID 𝑥𝐵)
25 simpr 109 . . . . . . . 8 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → 𝑦𝐴)
2623, 24, 25rspcdva 2839 . . . . . . 7 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → DECID 𝑦𝐵)
27 exmiddc 831 . . . . . . 7 (DECID 𝑦𝐵 → (𝑦𝐵 ∨ ¬ 𝑦𝐵))
2826, 27syl 14 . . . . . 6 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → (𝑦𝐵 ∨ ¬ 𝑦𝐵))
2916, 21, 28mpjaodan 793 . . . . 5 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → 𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
3029ex 114 . . . 4 ((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) → (𝑦𝐴𝑦 ∈ (𝐵 ∪ (𝐴𝐵))))
3130ssrdv 3153 . . 3 ((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) → 𝐴 ⊆ (𝐵 ∪ (𝐴𝐵)))
322biimpi 119 . . . 4 (𝐵𝐴 → (𝐵 ∪ (𝐴𝐵)) ⊆ 𝐴)
3332adantr 274 . . 3 ((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) → (𝐵 ∪ (𝐴𝐵)) ⊆ 𝐴)
3431, 33eqssd 3164 . 2 ((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) → 𝐴 = (𝐵 ∪ (𝐴𝐵)))
3514, 34impbii 125 1 (𝐴 = (𝐵 ∪ (𝐴𝐵)) ↔ (𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wa 103  wb 104  wo 703  DECID wdc 829   = wceq 1348  wcel 2141  wral 2448  cdif 3118  cun 3119  wss 3121
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-ext 2152
This theorem depends on definitions:  df-bi 116  df-dc 830  df-tru 1351  df-nf 1454  df-sb 1756  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-v 2732  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134
This theorem is referenced by:  sbthlemi5  6938  sbthlemi6  6939  exmidfodomrlemim  7178  bj-charfundcALT  13844
  Copyright terms: Public domain W3C validator