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

Theorem iinxprg 5112
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 2830 . . . 4 (𝑥 = 𝐴 → (𝑦𝐶𝑦𝐷))
3 iinxprg.2 . . . . 5 (𝑥 = 𝐵𝐶 = 𝐸)
43eleq2d 2830 . . . 4 (𝑥 = 𝐵 → (𝑦𝐶𝑦𝐸))
52, 4ralprg 4719 . . 3 ((𝐴𝑉𝐵𝑊) → (∀𝑥 ∈ {𝐴, 𝐵}𝑦𝐶 ↔ (𝑦𝐷𝑦𝐸)))
65abbidv 2811 . 2 ((𝐴𝑉𝐵𝑊) → {𝑦 ∣ ∀𝑥 ∈ {𝐴, 𝐵}𝑦𝐶} = {𝑦 ∣ (𝑦𝐷𝑦𝐸)})
7 df-iin 5018 . 2 𝑥 ∈ {𝐴, 𝐵}𝐶 = {𝑦 ∣ ∀𝑥 ∈ {𝐴, 𝐵}𝑦𝐶}
8 df-in 3983 . 2 (𝐷𝐸) = {𝑦 ∣ (𝑦𝐷𝑦𝐸)}
96, 7, 83eqtr4g 2805 1 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐴, 𝐵}𝐶 = (𝐷𝐸))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1537  wcel 2108  {cab 2717  wral 3067  cin 3975  {cpr 4650   ciin 5016
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-ext 2711
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-tru 1540  df-ex 1778  df-sb 2065  df-clab 2718  df-cleq 2732  df-clel 2819  df-ral 3068  df-rex 3077  df-v 3490  df-un 3981  df-in 3983  df-sn 4649  df-pr 4651  df-iin 5018
This theorem is referenced by:  pmapmeet  39730  diameetN  41013  dihmeetlem2N  41256  dihmeetcN  41259  dihmeet  41300
  Copyright terms: Public domain W3C validator