MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  difin0ss Structured version   Visualization version   GIF version

Theorem difin0ss 4331
Description: Difference, intersection, and subclass relationship. (Contributed by NM, 30-Apr-1994.) (Proof shortened by Wolf Lammen, 30-Sep-2014.)
Assertion
Ref Expression
difin0ss (((𝐴 ∖ 𝐵) ∩ 𝐶) = ∅ → (𝐶 ⊆ 𝐴 → 𝐶 ⊆ 𝐵))

Proof of Theorem difin0ss
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 eq0 4307 . 2 (((𝐴 ∖ 𝐵) ∩ 𝐶) = ∅ ↔ ∀𝑥 ¬ 𝑥 ∈ ((𝐴 ∖ 𝐵) ∩ 𝐶))
2 iman 407 . . . . . 6 ((𝑥 ∈ 𝐶 → (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵)) ↔ ¬ (𝑥 ∈ 𝐶 ∧ ¬ (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵)))
3 elin 4103 . . . . . . 7 (𝑥 ∈ ((𝐴 ∖ 𝐵) ∩ 𝐶) ↔ (𝑥 ∈ (𝐴 ∖ 𝐵) ∧ 𝑥 ∈ 𝐶))
4 eldif 4059 . . . . . . . 8 (𝑥 ∈ (𝐴 ∖ 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵))
54anbi2ci 637 . . . . . . 7 ((𝑥 ∈ (𝐴 ∖ 𝐵) ∧ 𝑥 ∈ 𝐶) ↔ (𝑥 ∈ 𝐶 ∧ (𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵)))
6 annim 409 . . . . . . . 8 ((𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵) ↔ ¬ (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵))
76anbi2i 635 . . . . . . 7 ((𝑥 ∈ 𝐶 ∧ (𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵)) ↔ (𝑥 ∈ 𝐶 ∧ ¬ (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵)))
83, 5, 73bitri 300 . . . . . 6 (𝑥 ∈ ((𝐴 ∖ 𝐵) ∩ 𝐶) ↔ (𝑥 ∈ 𝐶 ∧ ¬ (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵)))
92, 8xchbinxr 338 . . . . 5 ((𝑥 ∈ 𝐶 → (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵)) ↔ ¬ 𝑥 ∈ ((𝐴 ∖ 𝐵) ∩ 𝐶))
10 ax-2 7 . . . . 5 ((𝑥 ∈ 𝐶 → (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵)) → ((𝑥 ∈ 𝐶 → 𝑥 ∈ 𝐴) → (𝑥 ∈ 𝐶 → 𝑥 ∈ 𝐵)))
119, 10sylbir 238 . . . 4 (¬ 𝑥 ∈ ((𝐴 ∖ 𝐵) ∩ 𝐶) → ((𝑥 ∈ 𝐶 → 𝑥 ∈ 𝐴) → (𝑥 ∈ 𝐶 → 𝑥 ∈ 𝐵)))
1211al2imi 1854 . . 3 (∀𝑥 ¬ 𝑥 ∈ ((𝐴 ∖ 𝐵) ∩ 𝐶) → (∀𝑥(𝑥 ∈ 𝐶 → 𝑥 ∈ 𝐴) → ∀𝑥(𝑥 ∈ 𝐶 → 𝑥 ∈ 𝐵)))
13 df-ss 3908 . . 3 (𝐶 ⊆ 𝐴 ↔ ∀𝑥(𝑥 ∈ 𝐶 → 𝑥 ∈ 𝐴))
14 df-ss 3908 . . 3 (𝐶 ⊆ 𝐵 ↔ ∀𝑥(𝑥 ∈ 𝐶 → 𝑥 ∈ 𝐵))
1512, 13, 143imtr4g 299 . 2 (∀𝑥 ¬ 𝑥 ∈ ((𝐴 ∖ 𝐵) ∩ 𝐶) → (𝐶 ⊆ 𝐴 → 𝐶 ⊆ 𝐵))
161, 15sylbi 220 1 (((𝐴 ∖ 𝐵) ∩ 𝐶) = ∅ → (𝐶 ⊆ 𝐴 → 𝐶 ⊆ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401  ∀wal 1570   = wceq 1572   ∈ wcel 2156   ⊆ wss 3907   ∖ cdif 4055   ∩ cin 4099  ∅c0 4288
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1575  df-fal 1585  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-nul 4289
This theorem is used by:  tz7.7  6427  tfi  7917  lebnumlem3  25392
  Copyright terms: Public domain W3C validator