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

Theorem iinxprg 4871
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 2845 . . . 4 (𝑥 = 𝐴 → (𝑦𝐶𝑦𝐷))
3 iinxprg.2 . . . . 5 (𝑥 = 𝐵𝐶 = 𝐸)
43eleq2d 2845 . . . 4 (𝑥 = 𝐵 → (𝑦𝐶𝑦𝐸))
52, 4ralprg 4500 . . 3 ((𝐴𝑉𝐵𝑊) → (∀𝑥 ∈ {𝐴, 𝐵}𝑦𝐶 ↔ (𝑦𝐷𝑦𝐸)))
65abbidv 2837 . 2 ((𝐴𝑉𝐵𝑊) → {𝑦 ∣ ∀𝑥 ∈ {𝐴, 𝐵}𝑦𝐶} = {𝑦 ∣ (𝑦𝐷𝑦𝐸)})
7 df-iin 4789 . 2 𝑥 ∈ {𝐴, 𝐵}𝐶 = {𝑦 ∣ ∀𝑥 ∈ {𝐴, 𝐵}𝑦𝐶}
8 df-in 3830 . 2 (𝐷𝐸) = {𝑦 ∣ (𝑦𝐷𝑦𝐸)}
96, 7, 83eqtr4g 2833 1 ((𝐴𝑉𝐵𝑊) → 𝑥 ∈ {𝐴, 𝐵}𝐶 = (𝐷𝐸))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 387   = wceq 1507  wcel 2050  {cab 2752  wral 3082  cin 3822  {cpr 4437   ciin 4787
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1758  ax-4 1772  ax-5 1869  ax-6 1928  ax-7 1965  ax-8 2052  ax-9 2059  ax-10 2079  ax-11 2093  ax-12 2106  ax-ext 2744
This theorem depends on definitions:  df-bi 199  df-an 388  df-or 834  df-3an 1070  df-tru 1510  df-ex 1743  df-nf 1747  df-sb 2016  df-clab 2753  df-cleq 2765  df-clel 2840  df-nfc 2912  df-ral 3087  df-v 3411  df-sbc 3676  df-un 3828  df-in 3830  df-sn 4436  df-pr 4438  df-iin 4789
This theorem is referenced by:  pmapmeet  36354  diameetN  37637  dihmeetlem2N  37880  dihmeetcN  37883  dihmeet  37924
  Copyright terms: Public domain W3C validator