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

Theorem iunxprg 5020
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 4572 . . . 4 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
2 iuneq1 4937 . . . 4 ({𝐴, 𝐵} = ({𝐴} ∪ {𝐵}) → 𝑥 ∈ {𝐴, 𝐵}𝐶 = 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶)
31, 2ax-mp 5 . . 3 𝑥 ∈ {𝐴, 𝐵}𝐶 = 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶
4 iunxun 5018 . . 3 𝑥 ∈ ({𝐴} ∪ {𝐵})𝐶 = ( 𝑥 ∈ {𝐴}𝐶 𝑥 ∈ {𝐵}𝐶)
53, 4eqtri 2846 . 2 𝑥 ∈ {𝐴, 𝐵}𝐶 = ( 𝑥 ∈ {𝐴}𝐶 𝑥 ∈ {𝐵}𝐶)
6 iunxprg.1 . . . . 5 (𝑥 = 𝐴𝐶 = 𝐷)
76iunxsng 5014 . . . 4 (𝐴𝑉 𝑥 ∈ {𝐴}𝐶 = 𝐷)
87adantr 483 . . 3 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐴}𝐶 = 𝐷)
9 iunxprg.2 . . . . 5 (𝑥 = 𝐵𝐶 = 𝐸)
109iunxsng 5014 . . . 4 (𝐵𝑊 𝑥 ∈ {𝐵}𝐶 = 𝐸)
1110adantl 484 . . 3 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐵}𝐶 = 𝐸)
128, 11uneq12d 4142 . 2 ((𝐴𝑉𝐵𝑊) → ( 𝑥 ∈ {𝐴}𝐶 𝑥 ∈ {𝐵}𝐶) = (𝐷𝐸))
135, 12syl5eq 2870 1 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐴, 𝐵}𝐶 = (𝐷𝐸))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wcel 2114  cun 3936  {csn 4569  {cpr 4571   ciun 4921
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rex 3146  df-v 3498  df-sbc 3775  df-un 3943  df-in 3945  df-ss 3954  df-sn 4570  df-pr 4572  df-iun 4923
This theorem is referenced by:  iunxunpr  30321  ovnsubadd2lem  42934  rnfdmpr  43487
  Copyright terms: Public domain W3C validator