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

Theorem disjss3 5095
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 3050 . . . . . . 7 (∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅ ↔ ∀𝑥(𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅))
2 simprr 772 . . . . . . . . . . . 12 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → 𝑦𝐶)
3 n0i 4290 . . . . . . . . . . . 12 (𝑦𝐶 → ¬ 𝐶 = ∅)
42, 3syl 17 . . . . . . . . . . 11 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → ¬ 𝐶 = ∅)
5 simpl 482 . . . . . . . . . . . . 13 ((𝑥𝐵𝑦𝐶) → 𝑥𝐵)
65adantl 481 . . . . . . . . . . . 12 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → 𝑥𝐵)
7 eldif 3909 . . . . . . . . . . . . 13 (𝑥 ∈ (𝐵𝐴) ↔ (𝑥𝐵 ∧ ¬ 𝑥𝐴))
8 simpl 482 . . . . . . . . . . . . 13 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → (𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅))
97, 8biimtrrid 243 . . . . . . . . . . . 12 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → ((𝑥𝐵 ∧ ¬ 𝑥𝐴) → 𝐶 = ∅))
106, 9mpand 695 . . . . . . . . . . 11 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → (¬ 𝑥𝐴𝐶 = ∅))
114, 10mt3d 148 . . . . . . . . . 10 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → 𝑥𝐴)
1211, 2jca 511 . . . . . . . . 9 (((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) ∧ (𝑥𝐵𝑦𝐶)) → (𝑥𝐴𝑦𝐶))
1312ex 412 . . . . . . . 8 ((𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) → ((𝑥𝐵𝑦𝐶) → (𝑥𝐴𝑦𝐶)))
1413alimi 1812 . . . . . . 7 (∀𝑥(𝑥 ∈ (𝐵𝐴) → 𝐶 = ∅) → ∀𝑥((𝑥𝐵𝑦𝐶) → (𝑥𝐴𝑦𝐶)))
151, 14sylbi 217 . . . . . 6 (∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅ → ∀𝑥((𝑥𝐵𝑦𝐶) → (𝑥𝐴𝑦𝐶)))
16 moim 2542 . . . . . 6 (∀𝑥((𝑥𝐵𝑦𝐶) → (𝑥𝐴𝑦𝐶)) → (∃*𝑥(𝑥𝐴𝑦𝐶) → ∃*𝑥(𝑥𝐵𝑦𝐶)))
1715, 16syl 17 . . . . 5 (∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅ → (∃*𝑥(𝑥𝐴𝑦𝐶) → ∃*𝑥(𝑥𝐵𝑦𝐶)))
1817alimdv 1917 . . . 4 (∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅ → (∀𝑦∃*𝑥(𝑥𝐴𝑦𝐶) → ∀𝑦∃*𝑥(𝑥𝐵𝑦𝐶)))
19 dfdisj2 5065 . . . 4 (Disj 𝑥𝐴 𝐶 ↔ ∀𝑦∃*𝑥(𝑥𝐴𝑦𝐶))
20 dfdisj2 5065 . . . 4 (Disj 𝑥𝐵 𝐶 ↔ ∀𝑦∃*𝑥(𝑥𝐵𝑦𝐶))
2118, 19, 203imtr4g 296 . . 3 (∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅ → (Disj 𝑥𝐴 𝐶Disj 𝑥𝐵 𝐶))
2221adantl 481 . 2 ((𝐴𝐵 ∧ ∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅) → (Disj 𝑥𝐴 𝐶Disj 𝑥𝐵 𝐶))
23 disjss1 5069 . . 3 (𝐴𝐵 → (Disj 𝑥𝐵 𝐶Disj 𝑥𝐴 𝐶))
2423adantr 480 . 2 ((𝐴𝐵 ∧ ∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅) → (Disj 𝑥𝐵 𝐶Disj 𝑥𝐴 𝐶))
2522, 24impbid 212 1 ((𝐴𝐵 ∧ ∀𝑥 ∈ (𝐵𝐴)𝐶 = ∅) → (Disj 𝑥𝐴 𝐶Disj 𝑥𝐵 𝐶))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 206  wa 395  wal 1539   = wceq 1541  wcel 2113  ∃*wmo 2535  wral 3049  cdif 3896  wss 3899  c0 4283  Disj wdisj 5063
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-ext 2706
This theorem depends on definitions:  df-bi 207  df-an 396  df-tru 1544  df-fal 1554  df-ex 1781  df-sb 2068  df-mo 2537  df-clab 2713  df-cleq 2726  df-clel 2809  df-ral 3050  df-rmo 3348  df-v 3440  df-dif 3902  df-ss 3916  df-nul 4284  df-disj 5064
This theorem is referenced by:  carsggect  34424
  Copyright terms: Public domain W3C validator