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

Theorem iunxprg 5025
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 4564 . . . 4 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
2 iuneq1 4940 . . . 4 ({𝐴, 𝐵} = ({𝐴} ∪ {𝐵}) → 𝑥 ∈ {𝐴, 𝐵}𝐶 = 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶)
31, 2ax-mp 5 . . 3 𝑥 ∈ {𝐴, 𝐵}𝐶 = 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶
4 iunxun 5023 . . 3 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶 = ( 𝑥 ∈ {𝐴}𝐶 𝑥 ∈ {𝐵}𝐶)
53, 4eqtri 2766 . 2 𝑥 ∈ {𝐴, 𝐵}𝐶 = ( 𝑥 ∈ {𝐴}𝐶 𝑥 ∈ {𝐵}𝐶)
6 iunxprg.1 . . . . 5 (𝑥 = 𝐴𝐶 = 𝐷)
76iunxsng 5019 . . . 4 (𝐴𝑉 𝑥 ∈ {𝐴}𝐶 = 𝐷)
87adantr 481 . . 3 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐴}𝐶 = 𝐷)
9 iunxprg.2 . . . . 5 (𝑥 = 𝐵𝐶 = 𝐸)
109iunxsng 5019 . . . 4 (𝐵𝑊 𝑥 ∈ {𝐵}𝐶 = 𝐸)
1110adantl 482 . . 3 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐵}𝐶 = 𝐸)
128, 11uneq12d 4098 . 2 ((𝐴𝑉𝐵𝑊) → ( 𝑥 ∈ {𝐴}𝐶 𝑥 ∈ {𝐵}𝐶) = (𝐷𝐸))
135, 12eqtrid 2790 1 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐴, 𝐵}𝐶 = (𝐷𝐸))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wcel 2106  cun 3885  {csn 4561  {cpr 4563   ciun 4924
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-v 3434  df-un 3892  df-in 3894  df-ss 3904  df-sn 4562  df-pr 4564  df-iun 4926
This theorem is referenced by:  iunxunpr  30907  ovnsubadd2lem  44183  rnfdmpr  44773
  Copyright terms: Public domain W3C validator