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

Theorem iinxprg 5089
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 2827 . . . 4 (𝑥 = 𝐴 → (𝑦𝐶𝑦𝐷))
3 iinxprg.2 . . . . 5 (𝑥 = 𝐵𝐶 = 𝐸)
43eleq2d 2827 . . . 4 (𝑥 = 𝐵 → (𝑦𝐶𝑦𝐸))
52, 4ralprg 4696 . . 3 ((𝐴𝑉𝐵𝑊) → (∀𝑥 ∈ {𝐴, 𝐵}𝑦𝐶 ↔ (𝑦𝐷𝑦𝐸)))
65abbidv 2808 . 2 ((𝐴𝑉𝐵𝑊) → {𝑦 ∣ ∀𝑥 ∈ {𝐴, 𝐵}𝑦𝐶} = {𝑦 ∣ (𝑦𝐷𝑦𝐸)})
7 df-iin 4994 . 2 𝑥 ∈ {𝐴, 𝐵}𝐶 = {𝑦 ∣ ∀𝑥 ∈ {𝐴, 𝐵}𝑦𝐶}
8 df-in 3958 . 2 (𝐷𝐸) = {𝑦 ∣ (𝑦𝐷𝑦𝐸)}
96, 7, 83eqtr4g 2802 1 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐴, 𝐵}𝐶 = (𝐷𝐸))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1540  wcel 2108  {cab 2714  wral 3061  cin 3950  {cpr 4628   ciin 4992
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-ext 2708
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-tru 1543  df-ex 1780  df-sb 2065  df-clab 2715  df-cleq 2729  df-clel 2816  df-ral 3062  df-rex 3071  df-v 3482  df-un 3956  df-in 3958  df-sn 4627  df-pr 4629  df-iin 4994
This theorem is referenced by:  pmapmeet  39775  diameetN  41058  dihmeetlem2N  41301  dihmeetcN  41304  dihmeet  41345
  Copyright terms: Public domain W3C validator