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

Theorem ssddif 3171
Description: Double complement and subset. Similar to ddifss 3175 but inside a class 𝐵 instead of the universal class V. In classical logic the subset operation on the right hand side could be an equality (that is, 𝐴𝐵 ↔ (𝐵 ∖ (𝐵𝐴)) = 𝐴). (Contributed by Jim Kingdon, 24-Jul-2018.)
Assertion
Ref Expression
ssddif (𝐴𝐵𝐴 ⊆ (𝐵 ∖ (𝐵𝐴)))

Proof of Theorem ssddif
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 ancr 304 . . . . 5 ((𝑥𝐴𝑥𝐵) → (𝑥𝐴 → (𝑥𝐵𝑥𝐴)))
2 simpr 103 . . . . . . . 8 ((𝑥𝐵 ∧ ¬ 𝑥𝐴) → ¬ 𝑥𝐴)
32con2i 557 . . . . . . 7 (𝑥𝐴 → ¬ (𝑥𝐵 ∧ ¬ 𝑥𝐴))
43anim2i 324 . . . . . 6 ((𝑥𝐵𝑥𝐴) → (𝑥𝐵 ∧ ¬ (𝑥𝐵 ∧ ¬ 𝑥𝐴)))
5 eldif 2927 . . . . . . 7 (𝑥 ∈ (𝐵 ∖ (𝐵𝐴)) ↔ (𝑥𝐵 ∧ ¬ 𝑥 ∈ (𝐵𝐴)))
6 eldif 2927 . . . . . . . . 9 (𝑥 ∈ (𝐵𝐴) ↔ (𝑥𝐵 ∧ ¬ 𝑥𝐴))
76notbii 594 . . . . . . . 8 𝑥 ∈ (𝐵𝐴) ↔ ¬ (𝑥𝐵 ∧ ¬ 𝑥𝐴))
87anbi2i 430 . . . . . . 7 ((𝑥𝐵 ∧ ¬ 𝑥 ∈ (𝐵𝐴)) ↔ (𝑥𝐵 ∧ ¬ (𝑥𝐵 ∧ ¬ 𝑥𝐴)))
95, 8bitri 173 . . . . . 6 (𝑥 ∈ (𝐵 ∖ (𝐵𝐴)) ↔ (𝑥𝐵 ∧ ¬ (𝑥𝐵 ∧ ¬ 𝑥𝐴)))
104, 9sylibr 137 . . . . 5 ((𝑥𝐵𝑥𝐴) → 𝑥 ∈ (𝐵 ∖ (𝐵𝐴)))
111, 10syl6 29 . . . 4 ((𝑥𝐴𝑥𝐵) → (𝑥𝐴𝑥 ∈ (𝐵 ∖ (𝐵𝐴))))
12 eldifi 3066 . . . . 5 (𝑥 ∈ (𝐵 ∖ (𝐵𝐴)) → 𝑥𝐵)
1312imim2i 12 . . . 4 ((𝑥𝐴𝑥 ∈ (𝐵 ∖ (𝐵𝐴))) → (𝑥𝐴𝑥𝐵))
1411, 13impbii 117 . . 3 ((𝑥𝐴𝑥𝐵) ↔ (𝑥𝐴𝑥 ∈ (𝐵 ∖ (𝐵𝐴))))
1514albii 1359 . 2 (∀𝑥(𝑥𝐴𝑥𝐵) ↔ ∀𝑥(𝑥𝐴𝑥 ∈ (𝐵 ∖ (𝐵𝐴))))
16 dfss2 2934 . 2 (𝐴𝐵 ↔ ∀𝑥(𝑥𝐴𝑥𝐵))
17 dfss2 2934 . 2 (𝐴 ⊆ (𝐵 ∖ (𝐵𝐴)) ↔ ∀𝑥(𝑥𝐴𝑥 ∈ (𝐵 ∖ (𝐵𝐴))))
1815, 16, 173bitr4i 201 1 (𝐴𝐵𝐴 ⊆ (𝐵 ∖ (𝐵𝐴)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 97  wb 98  wal 1241  wcel 1393  cdif 2914  wss 2917
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-in1 544  ax-in2 545  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022
This theorem depends on definitions:  df-bi 110  df-tru 1246  df-nf 1350  df-sb 1646  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-v 2559  df-dif 2920  df-in 2924  df-ss 2931
This theorem is referenced by:  ddifss  3175  inssddif  3178
  Copyright terms: Public domain W3C validator