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

Theorem disjss3 5073
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 3069 . . . . . . 7 (∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅ ↔ ∀𝑥(𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅))
2 simprr 770 . . . . . . . . . . . 12 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → 𝑦𝐶)
3 n0i 4267 . . . . . . . . . . . 12 (𝑦𝐶 → ¬ 𝐶 = ∅)
42, 3syl 17 . . . . . . . . . . 11 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → ¬ 𝐶 = ∅)
5 simpl 483 . . . . . . . . . . . . 13 ((𝑥𝐵𝑦𝐶) → 𝑥𝐵)
65adantl 482 . . . . . . . . . . . 12 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → 𝑥𝐵)
7 eldif 3897 . . . . . . . . . . . . 13 (𝑥 ∈ (𝐵𝐴) ↔ (𝑥𝐵 ∧ ¬ 𝑥𝐴))
8 simpl 483 . . . . . . . . . . . . 13 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → (𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅))
97, 8syl5bir 242 . . . . . . . . . . . 12 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → ((𝑥𝐵 ∧ ¬ 𝑥𝐴) → 𝐶 = ∅))
106, 9mpand 692 . . . . . . . . . . 11 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → (¬ 𝑥𝐴𝐶 = ∅))
114, 10mt3d 148 . . . . . . . . . 10 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → 𝑥𝐴)
1211, 2jca 512 . . . . . . . . 9 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → (𝑥𝐴𝑦𝐶))
1312ex 413 . . . . . . . 8 ((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) → ((𝑥𝐵𝑦𝐶) → (𝑥𝐴𝑦𝐶)))
1413alimi 1814 . . . . . . 7 (∀𝑥(𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) → ∀𝑥((𝑥𝐵𝑦𝐶) → (𝑥𝐴𝑦𝐶)))
151, 14sylbi 216 . . . . . 6 (∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅ → ∀𝑥((𝑥𝐵𝑦𝐶) → (𝑥𝐴𝑦𝐶)))
16 moim 2544 . . . . . 6 (∀𝑥((𝑥𝐵𝑦𝐶) → (𝑥𝐴𝑦𝐶)) → (∃*𝑥(𝑥𝐴𝑦𝐶) → ∃*𝑥(𝑥𝐵𝑦𝐶)))
1715, 16syl 17 . . . . 5 (∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅ → (∃*𝑥(𝑥𝐴𝑦𝐶) → ∃*𝑥(𝑥𝐵𝑦𝐶)))
1817alimdv 1919 . . . 4 (∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅ → (∀𝑦∃*𝑥(𝑥𝐴𝑦𝐶) → ∀𝑦∃*𝑥(𝑥𝐵𝑦𝐶)))
19 dfdisj2 5041 . . . 4 (Disj 𝑥𝐴 𝐶 ↔ ∀𝑦∃*𝑥(𝑥𝐴𝑦𝐶))
20 dfdisj2 5041 . . . 4 (Disj 𝑥𝐵 𝐶 ↔ ∀𝑦∃*𝑥(𝑥𝐵𝑦𝐶))
2118, 19, 203imtr4g 296 . . 3 (∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅ → (Disj 𝑥𝐴 𝐶Disj 𝑥𝐵 𝐶))
2221adantl 482 . 2 ((𝐴𝐵 ∧ ∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅) → (Disj 𝑥𝐴 𝐶Disj 𝑥𝐵 𝐶))
23 disjss1 5045 . . 3 (𝐴𝐵 → (Disj 𝑥𝐵 𝐶Disj 𝑥𝐴 𝐶))
2423adantr 481 . 2 ((𝐴𝐵 ∧ ∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅) → (Disj 𝑥𝐵 𝐶Disj 𝑥𝐴 𝐶))
2522, 24impbid 211 1 ((𝐴𝐵 ∧ ∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅) → (Disj 𝑥𝐴 𝐶Disj 𝑥𝐵 𝐶))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wal 1537   = wceq 1539  wcel 2106  ∃*wmo 2538  wral 3064  cdif 3884  wss 3887  c0 4256  Disj wdisj 5039
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-mo 2540  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rmo 3071  df-v 3434  df-dif 3890  df-in 3894  df-ss 3904  df-nul 4257  df-disj 5040
This theorem is referenced by:  carsggect  32285
  Copyright terms: Public domain W3C validator