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

Theorem difin0ss 4324
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 4300 . 2 (((𝐴 ∖ 𝐵) ∩ 𝐶) = ∅ ↔ ∀𝑥 ¬ 𝑥 ∈ ((𝐴 ∖ 𝐵) ∩ 𝐶))
2 iman 407 . . . . . 6 ((𝑥 ∈ 𝐶 → (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵)) ↔ ¬ (𝑥 ∈ 𝐶 ∧ ¬ (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵)))
3 elin 4096 . . . . . . 7 (𝑥 ∈ ((𝐴 ∖ 𝐵) ∩ 𝐶) ↔ (𝑥 ∈ (𝐴 ∖ 𝐵) ∧ 𝑥 ∈ 𝐶))
4 eldif 4052 . . . . . . . 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 1848 . . 3 (∀𝑥 ¬ 𝑥 ∈ ((𝐴 ∖ 𝐵) ∩ 𝐶) → (∀𝑥(𝑥 ∈ 𝐶 → 𝑥 ∈ 𝐴) → ∀𝑥(𝑥 ∈ 𝐶 → 𝑥 ∈ 𝐵)))
13 df-ss 3901 . . 3 (𝐶 ⊆ 𝐴 ↔ ∀𝑥(𝑥 ∈ 𝐶 → 𝑥 ∈ 𝐴))
14 df-ss 3901 . . 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 1568   = wceq 1570   ∈ wcel 2147   ⊆ wss 3900   ∖ cdif 4048   ∩ cin 4092  ∅c0 4281
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-nul 4282
This theorem is used by:  tz7.7  6414  tfi  7898  lebnumlem3  25339
  Copyright terms: Public domain W3C validator