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

Theorem disjss3 5112
Description: Expand a disjoint collection with any number of empty sets. (Contributed by Mario Carneiro, 15-Nov-2016.)
Assertion
Ref Expression
disjss3 ((𝐴𝐵 ∧ ∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅) → (Disj 𝑥𝐴 𝐶Disj 𝑥𝐵 𝐶))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵
Allowed substitution hint:   𝐶(𝑥)

Proof of Theorem disjss3
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 df-ral 3086 . . . . . . 7 (∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅ ↔ ∀𝑥(𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅))
2 simprr 784 . . . . . . . . . . . 12 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → 𝑦𝐶)
3 n0i 4301 . . . . . . . . . . . 12 (𝑦𝐶 → ¬ 𝐶 = ∅)
42, 3syl 18 . . . . . . . . . . 11 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → ¬ 𝐶 = ∅)
5 simpl 487 . . . . . . . . . . . . 13 ((𝑥𝐵𝑦𝐶) → 𝑥𝐵)
65adantl 486 . . . . . . . . . . . 12 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → 𝑥𝐵)
7 eldif 3923 . . . . . . . . . . . . 13 (𝑥 ∈ (𝐵𝐴) ↔ (𝑥𝐵 ∧ ¬ 𝑥𝐴))
8 simpl 487 . . . . . . . . . . . . 13 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → (𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅))
97, 8biimtrrid 246 . . . . . . . . . . . 12 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → ((𝑥𝐵 ∧ ¬ 𝑥𝐴) → 𝐶 = ∅))
106, 9mpand 707 . . . . . . . . . . 11 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → (¬ 𝑥𝐴𝐶 = ∅))
114, 10mt3d 149 . . . . . . . . . 10 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → 𝑥𝐴)
1211, 2jca 520 . . . . . . . . 9 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → (𝑥𝐴𝑦𝐶))
1312ex 417 . . . . . . . 8 ((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) → ((𝑥𝐵𝑦𝐶) → (𝑥𝐴𝑦𝐶)))
1413alimi 1838 . . . . . . 7 (∀𝑥(𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) → ∀𝑥((𝑥𝐵𝑦𝐶) → (𝑥𝐴𝑦𝐶)))
151, 14sylbi 220 . . . . . 6 (∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅ → ∀𝑥((𝑥𝐵𝑦𝐶) → (𝑥𝐴𝑦𝐶)))
16 moim 2578 . . . . . 6 (∀𝑥((𝑥𝐵𝑦𝐶) → (𝑥𝐴𝑦𝐶)) → (∃*𝑥(𝑥𝐴𝑦𝐶) → ∃*𝑥(𝑥𝐵𝑦𝐶)))
1715, 16syl 18 . . . . 5 (∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅ → (∃*𝑥(𝑥𝐴𝑦𝐶) → ∃*𝑥(𝑥𝐵𝑦𝐶)))
1817alimdv 1943 . . . 4 (∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅ → (∀𝑦∃*𝑥(𝑥𝐴𝑦𝐶) → ∀𝑦∃*𝑥(𝑥𝐵𝑦𝐶)))
19 dfdisj2 5082 . . . 4 (Disj 𝑥𝐴 𝐶 ↔ ∀𝑦∃*𝑥(𝑥𝐴𝑦𝐶))
20 dfdisj2 5082 . . . 4 (Disj 𝑥𝐵 𝐶 ↔ ∀𝑦∃*𝑥(𝑥𝐵𝑦𝐶))
2118, 19, 203imtr4g 299 . . 3 (∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅ → (Disj 𝑥𝐴 𝐶Disj 𝑥𝐵 𝐶))
2221adantl 486 . 2 ((𝐴𝐵 ∧ ∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅) → (Disj 𝑥𝐴 𝐶Disj 𝑥𝐵 𝐶))
23 disjss1 5086 . . 3 (𝐴𝐵 → (Disj 𝑥𝐵 𝐶Disj 𝑥𝐴 𝐶))
2423adantr 485 . 2 ((𝐴𝐵 ∧ ∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅) → (Disj 𝑥𝐵 𝐶Disj 𝑥𝐴 𝐶))
2522, 24impbid 215 1 ((𝐴𝐵 ∧ ∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅) → (Disj 𝑥𝐴 𝐶Disj 𝑥𝐵 𝐶))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 400  wal 1565   = wceq 1567  wcel 2149  ∃*wmo 2571  wral 3085  cdif 3910  wss 3913  c0 4294  Disj wdisj 5080
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1822  ax-4 1836  ax-5 1937  ax-6 1994  ax-7 2035  ax-8 2151  ax-9 2159  ax-ext 2741
This theorem depends on definitions:  df-bi 210  df-an 401  df-tru 1570  df-fal 1580  df-ex 1807  df-sb 2098  df-mo 2573  df-clab 2748  df-cleq 2761  df-clel 2844  df-ral 3086  df-rmo 3376  df-v 3465  df-dif 3916  df-ss 3930  df-nul 4295  df-disj 5081
This theorem is referenced by:  carsggect  34653
  Copyright terms: Public domain W3C validator