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

Theorem iunxdif3 4542
Description: An indexed union where some terms are the empty set. See iunxdif2 4504. (Contributed by Thierry Arnoux, 4-May-2020.)
Hypothesis
Ref Expression
iunxdif3.1 𝑥𝐸
Assertion
Ref Expression
iunxdif3 (∀𝑥𝐸 𝐵 = ∅ → 𝑥 ∈ (𝐴𝐸)𝐵 = 𝑥𝐴 𝐵)
Distinct variable group:   𝑥,𝐴
Allowed substitution hints:   𝐵(𝑥)   𝐸(𝑥)

Proof of Theorem iunxdif3
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 inss2 3796 . . . . . 6 (𝐴𝐸) ⊆ 𝐸
2 nfcv 2751 . . . . . . . . . 10 𝑥𝐴
3 iunxdif3.1 . . . . . . . . . 10 𝑥𝐸
42, 3nfin 3782 . . . . . . . . 9 𝑥(𝐴𝐸)
54, 3ssrexf 3628 . . . . . . . 8 ((𝐴𝐸) ⊆ 𝐸 → (∃𝑥 ∈ (𝐴𝐸)𝑦𝐵 → ∃𝑥𝐸 𝑦𝐵))
6 eliun 4460 . . . . . . . 8 (𝑦 𝑥 ∈ (𝐴𝐸)𝐵 ↔ ∃𝑥 ∈ (𝐴𝐸)𝑦𝐵)
7 eliun 4460 . . . . . . . 8 (𝑦 𝑥𝐸 𝐵 ↔ ∃𝑥𝐸 𝑦𝐵)
85, 6, 73imtr4g 284 . . . . . . 7 ((𝐴𝐸) ⊆ 𝐸 → (𝑦 𝑥 ∈ (𝐴𝐸)𝐵𝑦 𝑥𝐸 𝐵))
98ssrdv 3574 . . . . . 6 ((𝐴𝐸) ⊆ 𝐸 𝑥 ∈ (𝐴𝐸)𝐵 𝑥𝐸 𝐵)
101, 9ax-mp 5 . . . . 5 𝑥 ∈ (𝐴𝐸)𝐵 𝑥𝐸 𝐵
11 iuneq2 4473 . . . . . 6 (∀𝑥𝐸 𝐵 = ∅ → 𝑥𝐸 𝐵 = 𝑥𝐸 ∅)
12 iun0 4512 . . . . . 6 𝑥𝐸 ∅ = ∅
1311, 12syl6eq 2660 . . . . 5 (∀𝑥𝐸 𝐵 = ∅ → 𝑥𝐸 𝐵 = ∅)
1410, 13syl5sseq 3616 . . . 4 (∀𝑥𝐸 𝐵 = ∅ → 𝑥 ∈ (𝐴𝐸)𝐵 ⊆ ∅)
15 ss0 3926 . . . 4 ( 𝑥 ∈ (𝐴𝐸)𝐵 ⊆ ∅ → 𝑥 ∈ (𝐴𝐸)𝐵 = ∅)
1614, 15syl 17 . . 3 (∀𝑥𝐸 𝐵 = ∅ → 𝑥 ∈ (𝐴𝐸)𝐵 = ∅)
1716uneq1d 3728 . 2 (∀𝑥𝐸 𝐵 = ∅ → ( 𝑥 ∈ (𝐴𝐸)𝐵 𝑥 ∈ (𝐴𝐸)𝐵) = (∅ ∪ 𝑥 ∈ (𝐴𝐸)𝐵))
18 iunxun 4541 . . . 4 𝑥 ∈ ((𝐴𝐸) ∪ (𝐴𝐸))𝐵 = ( 𝑥 ∈ (𝐴𝐸)𝐵 𝑥 ∈ (𝐴𝐸)𝐵)
19 inundif 3998 . . . . 5 ((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴
2019nfth 1718 . . . . . 6 𝑥((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴
212, 3nfdif 3693 . . . . . . 7 𝑥(𝐴𝐸)
224, 21nfun 3731 . . . . . 6 𝑥((𝐴𝐸) ∪ (𝐴𝐸))
23 id 22 . . . . . 6 (((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴 → ((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴)
24 eqidd 2611 . . . . . 6 (((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴𝐵 = 𝐵)
2520, 22, 2, 23, 24iuneq12df 4480 . . . . 5 (((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴 𝑥 ∈ ((𝐴𝐸) ∪ (𝐴𝐸))𝐵 = 𝑥𝐴 𝐵)
2619, 25ax-mp 5 . . . 4 𝑥 ∈ ((𝐴𝐸) ∪ (𝐴𝐸))𝐵 = 𝑥𝐴 𝐵
2718, 26eqtr3i 2634 . . 3 ( 𝑥 ∈ (𝐴𝐸)𝐵 𝑥 ∈ (𝐴𝐸)𝐵) = 𝑥𝐴 𝐵
2827a1i 11 . 2 (∀𝑥𝐸 𝐵 = ∅ → ( 𝑥 ∈ (𝐴𝐸)𝐵 𝑥 ∈ (𝐴𝐸)𝐵) = 𝑥𝐴 𝐵)
29 uncom 3719 . . . 4 (∅ ∪ 𝑥 ∈ (𝐴𝐸)𝐵) = ( 𝑥 ∈ (𝐴𝐸)𝐵 ∪ ∅)
30 un0 3919 . . . 4 ( 𝑥 ∈ (𝐴𝐸)𝐵 ∪ ∅) = 𝑥 ∈ (𝐴𝐸)𝐵
3129, 30eqtri 2632 . . 3 (∅ ∪ 𝑥 ∈ (𝐴𝐸)𝐵) = 𝑥 ∈ (𝐴𝐸)𝐵
3231a1i 11 . 2 (∀𝑥𝐸 𝐵 = ∅ → (∅ ∪ 𝑥 ∈ (𝐴𝐸)𝐵) = 𝑥 ∈ (𝐴𝐸)𝐵)
3317, 28, 323eqtr3rd 2653 1 (∀𝑥𝐸 𝐵 = ∅ → 𝑥 ∈ (𝐴𝐸)𝐵 = 𝑥𝐴 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1475  wcel 1977  wnfc 2738  wral 2896  wrex 2897  cdif 3537  cun 3538  cin 3539  wss 3540  c0 3874   ciun 4455
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-iun 4457
This theorem is referenced by:  aciunf1  28845  ovnsubadd2lem  39535
  Copyright terms: Public domain W3C validator