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

Theorem iunxdif3 5020
Description: An indexed union where some terms are the empty set. See iunxdif2 4979. (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 4160 . . . . . 6 (𝐴𝐸) ⊆ 𝐸
2 nfcv 2906 . . . . . . . . . 10 𝑥𝐴
3 iunxdif3.1 . . . . . . . . . 10 𝑥𝐸
42, 3nfin 4147 . . . . . . . . 9 𝑥(𝐴𝐸)
54, 3ssrexf 3981 . . . . . . . 8 ((𝐴𝐸) ⊆ 𝐸 → (∃𝑥 ∈ (𝐴𝐸)𝑦𝐵 → ∃𝑥𝐸 𝑦𝐵))
6 eliun 4925 . . . . . . . 8 (𝑦 𝑥 ∈ (𝐴𝐸)𝐵 ↔ ∃𝑥 ∈ (𝐴𝐸)𝑦𝐵)
7 eliun 4925 . . . . . . . 8 (𝑦 𝑥𝐸 𝐵 ↔ ∃𝑥𝐸 𝑦𝐵)
85, 6, 73imtr4g 295 . . . . . . 7 ((𝐴𝐸) ⊆ 𝐸 → (𝑦 𝑥 ∈ (𝐴𝐸)𝐵𝑦 𝑥𝐸 𝐵))
98ssrdv 3923 . . . . . 6 ((𝐴𝐸) ⊆ 𝐸 𝑥 ∈ (𝐴𝐸)𝐵 𝑥𝐸 𝐵)
101, 9ax-mp 5 . . . . 5 𝑥 ∈ (𝐴𝐸)𝐵 𝑥𝐸 𝐵
11 iuneq2 4940 . . . . . 6 (∀𝑥𝐸 𝐵 = ∅ → 𝑥𝐸 𝐵 = 𝑥𝐸 ∅)
12 iun0 4987 . . . . . 6 𝑥𝐸 ∅ = ∅
1311, 12eqtrdi 2795 . . . . 5 (∀𝑥𝐸 𝐵 = ∅ → 𝑥𝐸 𝐵 = ∅)
1410, 13sseqtrid 3969 . . . 4 (∀𝑥𝐸 𝐵 = ∅ → 𝑥 ∈ (𝐴𝐸)𝐵 ⊆ ∅)
15 ss0 4329 . . . 4 ( 𝑥 ∈ (𝐴𝐸)𝐵 ⊆ ∅ → 𝑥 ∈ (𝐴𝐸)𝐵 = ∅)
1614, 15syl 17 . . 3 (∀𝑥𝐸 𝐵 = ∅ → 𝑥 ∈ (𝐴𝐸)𝐵 = ∅)
1716uneq1d 4092 . 2 (∀𝑥𝐸 𝐵 = ∅ → ( 𝑥 ∈ (𝐴𝐸)𝐵 𝑥 ∈ (𝐴𝐸)𝐵) = (∅ ∪ 𝑥 ∈ (𝐴𝐸)𝐵))
18 iunxun 5019 . . . 4 𝑥 ∈ ((𝐴𝐸) ∪ (𝐴𝐸))𝐵 = ( 𝑥 ∈ (𝐴𝐸)𝐵 𝑥 ∈ (𝐴𝐸)𝐵)
19 inundif 4409 . . . . 5 ((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴
2019nfth 1805 . . . . . 6 𝑥((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴
212, 3nfdif 4056 . . . . . . 7 𝑥(𝐴𝐸)
224, 21nfun 4095 . . . . . 6 𝑥((𝐴𝐸) ∪ (𝐴𝐸))
23 id 22 . . . . . 6 (((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴 → ((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴)
24 eqidd 2739 . . . . . 6 (((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴𝐵 = 𝐵)
2520, 22, 2, 23, 24iuneq12df 4947 . . . . 5 (((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴 𝑥 ∈ ((𝐴𝐸) ∪ (𝐴𝐸))𝐵 = 𝑥𝐴 𝐵)
2619, 25ax-mp 5 . . . 4 𝑥 ∈ ((𝐴𝐸) ∪ (𝐴𝐸))𝐵 = 𝑥𝐴 𝐵
2718, 26eqtr3i 2768 . . 3 ( 𝑥 ∈ (𝐴𝐸)𝐵 𝑥 ∈ (𝐴𝐸)𝐵) = 𝑥𝐴 𝐵
2827a1i 11 . 2 (∀𝑥𝐸 𝐵 = ∅ → ( 𝑥 ∈ (𝐴𝐸)𝐵 𝑥 ∈ (𝐴𝐸)𝐵) = 𝑥𝐴 𝐵)
29 uncom 4083 . . . 4 (∅ ∪ 𝑥 ∈ (𝐴𝐸)𝐵) = ( 𝑥 ∈ (𝐴𝐸)𝐵 ∪ ∅)
30 un0 4321 . . . 4 ( 𝑥 ∈ (𝐴𝐸)𝐵 ∪ ∅) = 𝑥 ∈ (𝐴𝐸)𝐵
3129, 30eqtri 2766 . . 3 (∅ ∪ 𝑥 ∈ (𝐴𝐸)𝐵) = 𝑥 ∈ (𝐴𝐸)𝐵
3231a1i 11 . 2 (∀𝑥𝐸 𝐵 = ∅ → (∅ ∪ 𝑥 ∈ (𝐴𝐸)𝐵) = 𝑥 ∈ (𝐴𝐸)𝐵)
3317, 28, 323eqtr3rd 2787 1 (∀𝑥𝐸 𝐵 = ∅ → 𝑥 ∈ (𝐴𝐸)𝐵 = 𝑥𝐴 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  wcel 2108  wnfc 2886  wral 3063  wrex 3064  cdif 3880  cun 3881  cin 3882  wss 3883  c0 4253   ciun 4921
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-iun 4923
This theorem is referenced by:  aciunf1  30902  suppovss  30919  ovnsubadd2lem  44073
  Copyright terms: Public domain W3C validator