Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  iunxunpr Structured version   Visualization version   GIF version

Theorem iunxunpr 33161
Description: Appending two sets to an indexed union. (Contributed by Thierry Arnoux, 20-Nov-2023.)
Hypotheses
Ref Expression
iunxunsn.1 (𝑥 = 𝑋 → 𝐵 = 𝐶)
iunxunpr.2 (𝑥 = 𝑌 → 𝐵 = 𝐷)
Assertion
Ref Expression
iunxunpr ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊) → ∪ 𝑥 ∈ (𝐴 ∪ {𝑋, 𝑌})𝐵 = (∪ 𝑥 ∈ 𝐴 𝐵 ∪ (𝐶 ∪ 𝐷)))
Distinct variable groups:   𝑥,𝐶   𝑥,𝑋   𝑥,𝐷   𝑥,𝑌
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)   𝑉(𝑥)   𝑊(𝑥)

Proof of Theorem iunxunpr
StepHypRef Expression
1 iunxun 5053 . 2 ∪ 𝑥 ∈ (𝐴 ∪ {𝑋, 𝑌})𝐵 = (∪ 𝑥 ∈ 𝐴 𝐵 ∪ ∪ 𝑥 ∈ {𝑋, 𝑌}𝐵)
2 iunxunsn.1 . . . 4 (𝑥 = 𝑋 → 𝐵 = 𝐶)
3 iunxunpr.2 . . . 4 (𝑥 = 𝑌 → 𝐵 = 𝐷)
42, 3iunxprg 5055 . . 3 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊) → ∪ 𝑥 ∈ {𝑋, 𝑌}𝐵 = (𝐶 ∪ 𝐷))
54uneq2d 4167 . 2 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊) → (∪ 𝑥 ∈ 𝐴 𝐵 ∪ ∪ 𝑥 ∈ {𝑋, 𝑌}𝐵) = (∪ 𝑥 ∈ 𝐴 𝐵 ∪ (𝐶 ∪ 𝐷)))
61, 5eqtrid 2807 1 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊) → ∪ 𝑥 ∈ (𝐴 ∪ {𝑋, 𝑌})𝐵 = (∪ 𝑥 ∈ 𝐴 𝐵 ∪ (𝐶 ∪ 𝐷)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144   ∪ cun 4149  {cpr 4585  ∪ ciun 4950
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-v 3452  df-ss 3896  df-un 4151  df-sn 4584  df-pr 4586  df-iun 4952
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator