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 33262
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 5058 . 2 ∪ 𝑥 ∈ (𝐴 ∪ {𝑋, 𝑌})𝐵 = (∪ 𝑥 ∈ 𝐴 𝐵 ∪ ∪ 𝑥 ∈ {𝑋, 𝑌}𝐵)
2 iunxunsn.1 . . . 4 (𝑥 = 𝑋 → 𝐵 = 𝐶)
3 iunxunpr.2 . . . 4 (𝑥 = 𝑌 → 𝐵 = 𝐷)
42, 3iunxprg 5060 . . 3 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊) → ∪ 𝑥 ∈ {𝑋, 𝑌}𝐵 = (𝐶 ∪ 𝐷))
54uneq2d 4169 . 2 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊) → (∪ 𝑥 ∈ 𝐴 𝐵 ∪ ∪ 𝑥 ∈ {𝑋, 𝑌}𝐵) = (∪ 𝑥 ∈ 𝐴 𝐵 ∪ (𝐶 ∪ 𝐷)))
61, 5eqtrid 2813 1 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊) → ∪ 𝑥 ∈ (𝐴 ∪ {𝑋, 𝑌})𝐵 = (∪ 𝑥 ∈ 𝐴 𝐵 ∪ (𝐶 ∪ 𝐷)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2150   ∪ cun 4151  {cpr 4589  ∪ ciun 4955
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1815  df-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-ral 3084  df-rex 3094  df-v 3455  df-ss 3900  df-un 4153  df-sn 4588  df-pr 4590  df-iun 4957
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator