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

Theorem iunxprg 4981
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 4528 . . . 4 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
2 iuneq1 4897 . . . 4 ({𝐴, 𝐵} = ({𝐴} ∪ {𝐵}) → 𝑥 ∈ {𝐴, 𝐵}𝐶 = 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶)
31, 2ax-mp 5 . . 3 𝑥 ∈ {𝐴, 𝐵}𝐶 = 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶
4 iunxun 4979 . . 3 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶 = ( 𝑥 ∈ {𝐴}𝐶 𝑥 ∈ {𝐵}𝐶)
53, 4eqtri 2821 . 2 𝑥 ∈ {𝐴, 𝐵}𝐶 = ( 𝑥 ∈ {𝐴}𝐶 𝑥 ∈ {𝐵}𝐶)
6 iunxprg.1 . . . . 5 (𝑥 = 𝐴𝐶 = 𝐷)
76iunxsng 4975 . . . 4 (𝐴𝑉 𝑥 ∈ {𝐴}𝐶 = 𝐷)
87adantr 484 . . 3 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐴}𝐶 = 𝐷)
9 iunxprg.2 . . . . 5 (𝑥 = 𝐵𝐶 = 𝐸)
109iunxsng 4975 . . . 4 (𝐵𝑊 𝑥 ∈ {𝐵}𝐶 = 𝐸)
1110adantl 485 . . 3 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐵}𝐶 = 𝐸)
128, 11uneq12d 4091 . 2 ((𝐴𝑉𝐵𝑊) → ( 𝑥 ∈ {𝐴}𝐶 𝑥 ∈ {𝐵}𝐶) = (𝐷𝐸))
135, 12syl5eq 2845 1 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐴, 𝐵}𝐶 = (𝐷𝐸))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1538  wcel 2111  cun 3879  {csn 4525  {cpr 4527   ciun 4881
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-v 3443  df-sbc 3721  df-un 3886  df-in 3888  df-ss 3898  df-sn 4526  df-pr 4528  df-iun 4883
This theorem is referenced by:  iunxunpr  30331  ovnsubadd2lem  43284  rnfdmpr  43837
  Copyright terms: Public domain W3C validator