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

Theorem undifdcss 6819
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 3157 . . . 4 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → (𝐵 ∪ (𝐴𝐵)) ⊆ 𝐴)
2 undifss 3448 . . . 4 (𝐵𝐴 ↔ (𝐵 ∪ (𝐴𝐵)) ⊆ 𝐴)
31, 2sylibr 133 . . 3 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → 𝐵𝐴)
4 eleq2 2204 . . . . . . . 8 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → (𝑥𝐴𝑥 ∈ (𝐵 ∪ (𝐴𝐵))))
54biimpa 294 . . . . . . 7 ((𝐴 = (𝐵 ∪ (𝐴𝐵)) ∧ 𝑥𝐴) → 𝑥 ∈ (𝐵 ∪ (𝐴𝐵)))
6 elun 3222 . . . . . . 7 (𝑥 ∈ (𝐵 ∪ (𝐴𝐵)) ↔ (𝑥𝐵𝑥 ∈ (𝐴𝐵)))
75, 6sylib 121 . . . . . 6 ((𝐴 = (𝐵 ∪ (𝐴𝐵)) ∧ 𝑥𝐴) → (𝑥𝐵𝑥 ∈ (𝐴𝐵)))
8 eldifn 3204 . . . . . . 7 (𝑥 ∈ (𝐴𝐵) → ¬ 𝑥𝐵)
98orim2i 751 . . . . . 6 ((𝑥𝐵𝑥 ∈ (𝐴𝐵)) → (𝑥𝐵 ∨ ¬ 𝑥𝐵))
107, 9syl 14 . . . . 5 ((𝐴 = (𝐵 ∪ (𝐴𝐵)) ∧ 𝑥𝐴) → (𝑥𝐵 ∨ ¬ 𝑥𝐵))
11 df-dc 821 . . . . 5 (DECID 𝑥𝐵 ↔ (𝑥𝐵 ∨ ¬ 𝑥𝐵))
1210, 11sylibr 133 . . . 4 ((𝐴 = (𝐵 ∪ (𝐴𝐵)) ∧ 𝑥𝐴) → DECID 𝑥𝐵)
1312ralrimiva 2508 . . 3 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → ∀𝑥𝐴 DECID 𝑥𝐵)
143, 13jca 304 . 2 (𝐴 = (𝐵 ∪ (𝐴𝐵)) → (𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵))
15 elun1 3248 . . . . . . 7 (𝑦𝐵𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
1615adantl 275 . . . . . 6 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ 𝑦𝐵) → 𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
17 simplr 520 . . . . . . . 8 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝐵) → 𝑦𝐴)
18 simpr 109 . . . . . . . 8 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝐵) → ¬ 𝑦𝐵)
1917, 18eldifd 3086 . . . . . . 7 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝐵) → 𝑦 ∈ (𝐴𝐵))
20 elun2 3249 . . . . . . 7 (𝑦 ∈ (𝐴𝐵) → 𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
2119, 20syl 14 . . . . . 6 ((((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) ∧ ¬ 𝑦𝐵) → 𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
22 eleq1 2203 . . . . . . . . 9 (𝑥 = 𝑦 → (𝑥𝐵𝑦𝐵))
2322dcbid 824 . . . . . . . 8 (𝑥 = 𝑦 → (DECID 𝑥𝐵DECID 𝑦𝐵))
24 simplr 520 . . . . . . . 8 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → ∀𝑥𝐴 DECID 𝑥𝐵)
25 simpr 109 . . . . . . . 8 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → 𝑦𝐴)
2623, 24, 25rspcdva 2798 . . . . . . 7 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → DECID 𝑦𝐵)
27 exmiddc 822 . . . . . . 7 (DECID 𝑦𝐵 → (𝑦𝐵 ∨ ¬ 𝑦𝐵))
2826, 27syl 14 . . . . . 6 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → (𝑦𝐵 ∨ ¬ 𝑦𝐵))
2916, 21, 28mpjaodan 788 . . . . 5 (((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) ∧ 𝑦𝐴) → 𝑦 ∈ (𝐵 ∪ (𝐴𝐵)))
3029ex 114 . . . 4 ((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) → (𝑦𝐴𝑦 ∈ (𝐵 ∪ (𝐴𝐵))))
3130ssrdv 3108 . . 3 ((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) → 𝐴 ⊆ (𝐵 ∪ (𝐴𝐵)))
322biimpi 119 . . . 4 (𝐵𝐴 → (𝐵 ∪ (𝐴𝐵)) ⊆ 𝐴)
3332adantr 274 . . 3 ((𝐵𝐴 ∧ ∀𝑥𝐴 DECID 𝑥𝐵) → (𝐵 ∪ (𝐴𝐵)) ⊆ 𝐴)
3431, 33eqssd 3119 . 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 1332  wcel 1481  wral 2417  cdif 3073  cun 3074  wss 3076
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 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122
This theorem depends on definitions:  df-bi 116  df-dc 821  df-tru 1335  df-nf 1438  df-sb 1737  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-v 2691  df-dif 3078  df-un 3080  df-in 3082  df-ss 3089
This theorem is referenced by:  sbthlemi5  6857  sbthlemi6  6858  exmidfodomrlemim  7074
  Copyright terms: Public domain W3C validator