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

Theorem iinxprg 5018
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 2824 . . . 4 (𝑥 = 𝐴 → (𝑦𝐶𝑦𝐷))
3 iinxprg.2 . . . . 5 (𝑥 = 𝐵𝐶 = 𝐸)
43eleq2d 2824 . . . 4 (𝑥 = 𝐵 → (𝑦𝐶𝑦𝐸))
52, 4ralprg 4630 . . 3 ((𝐴𝑉𝐵𝑊) → (∀𝑥 ∈ {𝐴, 𝐵}𝑦𝐶 ↔ (𝑦𝐷𝑦𝐸)))
65abbidv 2807 . 2 ((𝐴𝑉𝐵𝑊) → {𝑦 ∣ ∀𝑥 ∈ {𝐴, 𝐵}𝑦𝐶} = {𝑦 ∣ (𝑦𝐷𝑦𝐸)})
7 df-iin 4927 . 2 𝑥 ∈ {𝐴, 𝐵}𝐶 = {𝑦 ∣ ∀𝑥 ∈ {𝐴, 𝐵}𝑦𝐶}
8 df-in 3894 . 2 (𝐷𝐸) = {𝑦 ∣ (𝑦𝐷𝑦𝐸)}
96, 7, 83eqtr4g 2803 1 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐴, 𝐵}𝐶 = (𝐷𝐸))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wcel 2106  {cab 2715  wral 3064  cin 3886  {cpr 4563   ciin 4925
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-v 3434  df-un 3892  df-in 3894  df-sn 4562  df-pr 4564  df-iin 4927
This theorem is referenced by:  pmapmeet  37787  diameetN  39070  dihmeetlem2N  39313  dihmeetcN  39316  dihmeet  39357
  Copyright terms: Public domain W3C validator