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

Theorem iunxprg 5021
Description: A pair index picks out two instances of an indexed union's argument. (Contributed by Alexander van der Vekens, 2-Feb-2018.)
Hypotheses
Ref Expression
iunxprg.1 (𝑥 = 𝐴𝐶 = 𝐷)
iunxprg.2 (𝑥 = 𝐵𝐶 = 𝐸)
Assertion
Ref Expression
iunxprg ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐴, 𝐵}𝐶 = (𝐷𝐸))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐷   𝑥,𝐸
Allowed substitution hints:   𝐶(𝑥)   𝑉(𝑥)   𝑊(𝑥)

Proof of Theorem iunxprg
StepHypRef Expression
1 df-pr 4561 . . . 4 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
2 iuneq1 4937 . . . 4 ({𝐴, 𝐵} = ({𝐴} ∪ {𝐵}) → 𝑥 ∈ {𝐴, 𝐵}𝐶 = 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶)
31, 2ax-mp 5 . . 3 𝑥 ∈ {𝐴, 𝐵}𝐶 = 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶
4 iunxun 5019 . . 3 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶 = ( 𝑥 ∈ {𝐴}𝐶 𝑥 ∈ {𝐵}𝐶)
53, 4eqtri 2766 . 2 𝑥 ∈ {𝐴, 𝐵}𝐶 = ( 𝑥 ∈ {𝐴}𝐶 𝑥 ∈ {𝐵}𝐶)
6 iunxprg.1 . . . . 5 (𝑥 = 𝐴𝐶 = 𝐷)
76iunxsng 5015 . . . 4 (𝐴𝑉 𝑥 ∈ {𝐴}𝐶 = 𝐷)
87adantr 480 . . 3 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐴}𝐶 = 𝐷)
9 iunxprg.2 . . . . 5 (𝑥 = 𝐵𝐶 = 𝐸)
109iunxsng 5015 . . . 4 (𝐵𝑊 𝑥 ∈ {𝐵}𝐶 = 𝐸)
1110adantl 481 . . 3 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐵}𝐶 = 𝐸)
128, 11uneq12d 4094 . 2 ((𝐴𝑉𝐵𝑊) → ( 𝑥 ∈ {𝐴}𝐶 𝑥 ∈ {𝐵}𝐶) = (𝐷𝐸))
135, 12eqtrid 2790 1 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐴, 𝐵}𝐶 = (𝐷𝐸))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  cun 3881  {csn 4558  {cpr 4560   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-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-v 3424  df-un 3888  df-in 3890  df-ss 3900  df-sn 4559  df-pr 4561  df-iun 4923
This theorem is referenced by:  iunxunpr  30808  ovnsubadd2lem  44073  rnfdmpr  44660
  Copyright terms: Public domain W3C validator