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

Theorem iinxprg 5037
Description: Indexed intersection with an unordered pair index. (Contributed by NM, 25-Jan-2012.)
Hypotheses
Ref Expression
iinxprg.1 (𝑥 = 𝐴𝐶 = 𝐷)
iinxprg.2 (𝑥 = 𝐵𝐶 = 𝐸)
Assertion
Ref Expression
iinxprg ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐴, 𝐵}𝐶 = (𝐷𝐸))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐷   𝑥,𝐸
Allowed substitution hints:   𝐶(𝑥)   𝑉(𝑥)   𝑊(𝑥)

Proof of Theorem iinxprg
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 iinxprg.1 . . . . 5 (𝑥 = 𝐴𝐶 = 𝐷)
21eleq2d 2817 . . . 4 (𝑥 = 𝐴 → (𝑦𝐶𝑦𝐷))
3 iinxprg.2 . . . . 5 (𝑥 = 𝐵𝐶 = 𝐸)
43eleq2d 2817 . . . 4 (𝑥 = 𝐵 → (𝑦𝐶𝑦𝐸))
52, 4ralprg 4649 . . 3 ((𝐴𝑉𝐵𝑊) → (∀𝑥 ∈ {𝐴, 𝐵}𝑦𝐶 ↔ (𝑦𝐷𝑦𝐸)))
65abbidv 2797 . 2 ((𝐴𝑉𝐵𝑊) → {𝑦 ∣ ∀𝑥 ∈ {𝐴, 𝐵}𝑦𝐶} = {𝑦 ∣ (𝑦𝐷𝑦𝐸)})
7 df-iin 4944 . 2 𝑥 ∈ {𝐴, 𝐵}𝐶 = {𝑦 ∣ ∀𝑥 ∈ {𝐴, 𝐵}𝑦𝐶}
8 df-in 3909 . 2 (𝐷𝐸) = {𝑦 ∣ (𝑦𝐷𝑦𝐸)}
96, 7, 83eqtr4g 2791 1 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐴, 𝐵}𝐶 = (𝐷𝐸))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1541  wcel 2111  {cab 2709  wral 3047  cin 3901  {cpr 4578   ciin 4942
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 1968  ax-7 2009  ax-8 2113  ax-9 2121  ax-ext 2703
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-tru 1544  df-ex 1781  df-sb 2068  df-clab 2710  df-cleq 2723  df-clel 2806  df-ral 3048  df-rex 3057  df-v 3438  df-un 3907  df-in 3909  df-sn 4577  df-pr 4579  df-iin 4944
This theorem is referenced by:  pmapmeet  39811  diameetN  41094  dihmeetlem2N  41337  dihmeetcN  41340  dihmeet  41381  iinfprg  49090  infsubc2  49092
  Copyright terms: Public domain W3C validator