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

Theorem iunxdif3 5019
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 4208 . . . . . 6 (𝐴𝐸) ⊆ 𝐸
2 nfcv 2979 . . . . . . . . . 10 𝑥𝐴
3 iunxdif3.1 . . . . . . . . . 10 𝑥𝐸
42, 3nfin 4195 . . . . . . . . 9 𝑥(𝐴𝐸)
54, 3ssrexf 4033 . . . . . . . 8 ((𝐴𝐸) ⊆ 𝐸 → (∃𝑥 ∈ (𝐴𝐸)𝑦𝐵 → ∃𝑥𝐸 𝑦𝐵))
6 eliun 4925 . . . . . . . 8 (𝑦 𝑥 ∈ (𝐴𝐸)𝐵 ↔ ∃𝑥 ∈ (𝐴𝐸)𝑦𝐵)
7 eliun 4925 . . . . . . . 8 (𝑦 𝑥𝐸 𝐵 ↔ ∃𝑥𝐸 𝑦𝐵)
85, 6, 73imtr4g 298 . . . . . . 7 ((𝐴𝐸) ⊆ 𝐸 → (𝑦 𝑥 ∈ (𝐴𝐸)𝐵𝑦 𝑥𝐸 𝐵))
98ssrdv 3975 . . . . . 6 ((𝐴𝐸) ⊆ 𝐸 𝑥 ∈ (𝐴𝐸)𝐵 𝑥𝐸 𝐵)
101, 9ax-mp 5 . . . . 5 𝑥 ∈ (𝐴𝐸)𝐵 𝑥𝐸 𝐵
11 iuneq2 4940 . . . . . 6 (∀𝑥𝐸 𝐵 = ∅ → 𝑥𝐸 𝐵 = 𝑥𝐸 ∅)
12 iun0 4987 . . . . . 6 𝑥𝐸 ∅ = ∅
1311, 12syl6eq 2874 . . . . 5 (∀𝑥𝐸 𝐵 = ∅ → 𝑥𝐸 𝐵 = ∅)
1410, 13sseqtrid 4021 . . . 4 (∀𝑥𝐸 𝐵 = ∅ → 𝑥 ∈ (𝐴𝐸)𝐵 ⊆ ∅)
15 ss0 4354 . . . 4 ( 𝑥 ∈ (𝐴𝐸)𝐵 ⊆ ∅ → 𝑥 ∈ (𝐴𝐸)𝐵 = ∅)
1614, 15syl 17 . . 3 (∀𝑥𝐸 𝐵 = ∅ → 𝑥 ∈ (𝐴𝐸)𝐵 = ∅)
1716uneq1d 4140 . 2 (∀𝑥𝐸 𝐵 = ∅ → ( 𝑥 ∈ (𝐴𝐸)𝐵 𝑥 ∈ (𝐴𝐸)𝐵) = (∅ ∪ 𝑥 ∈ (𝐴𝐸)𝐵))
18 iunxun 5018 . . . 4 𝑥 ∈ ((𝐴𝐸) ∪ (𝐴𝐸))𝐵 = ( 𝑥 ∈ (𝐴𝐸)𝐵 𝑥 ∈ (𝐴𝐸)𝐵)
19 inundif 4429 . . . . 5 ((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴
2019nfth 1802 . . . . . 6 𝑥((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴
212, 3nfdif 4104 . . . . . . 7 𝑥(𝐴𝐸)
224, 21nfun 4143 . . . . . 6 𝑥((𝐴𝐸) ∪ (𝐴𝐸))
23 id 22 . . . . . 6 (((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴 → ((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴)
24 eqidd 2824 . . . . . 6 (((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴𝐵 = 𝐵)
2520, 22, 2, 23, 24iuneq12df 4947 . . . . 5 (((𝐴𝐸) ∪ (𝐴𝐸)) = 𝐴 𝑥 ∈ ((𝐴𝐸) ∪ (𝐴𝐸))𝐵 = 𝑥𝐴 𝐵)
2619, 25ax-mp 5 . . . 4 𝑥 ∈ ((𝐴𝐸) ∪ (𝐴𝐸))𝐵 = 𝑥𝐴 𝐵
2718, 26eqtr3i 2848 . . 3 ( 𝑥 ∈ (𝐴𝐸)𝐵 𝑥 ∈ (𝐴𝐸)𝐵) = 𝑥𝐴 𝐵
2827a1i 11 . 2 (∀𝑥𝐸 𝐵 = ∅ → ( 𝑥 ∈ (𝐴𝐸)𝐵 𝑥 ∈ (𝐴𝐸)𝐵) = 𝑥𝐴 𝐵)
29 uncom 4131 . . . 4 (∅ ∪ 𝑥 ∈ (𝐴𝐸)𝐵) = ( 𝑥 ∈ (𝐴𝐸)𝐵 ∪ ∅)
30 un0 4346 . . . 4 ( 𝑥 ∈ (𝐴𝐸)𝐵 ∪ ∅) = 𝑥 ∈ (𝐴𝐸)𝐵
3129, 30eqtri 2846 . . 3 (∅ ∪ 𝑥 ∈ (𝐴𝐸)𝐵) = 𝑥 ∈ (𝐴𝐸)𝐵
3231a1i 11 . 2 (∀𝑥𝐸 𝐵 = ∅ → (∅ ∪ 𝑥 ∈ (𝐴𝐸)𝐵) = 𝑥 ∈ (𝐴𝐸)𝐵)
3317, 28, 323eqtr3rd 2867 1 (∀𝑥𝐸 𝐵 = ∅ → 𝑥 ∈ (𝐴𝐸)𝐵 = 𝑥𝐴 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1537  wcel 2114  wnfc 2963  wral 3140  wrex 3141  cdif 3935  cun 3936  cin 3937  wss 3938  c0 4293   ciun 4921
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 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-iun 4923
This theorem is referenced by:  aciunf1  30410  suppovss  30428  ovnsubadd2lem  42934
  Copyright terms: Public domain W3C validator