Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  prsprel Structured version   Visualization version   GIF version

Theorem prsprel 48513
Description: The elements of a pair from the set of all unordered pairs over a given set 𝑉 are elements of the set 𝑉. (Contributed by AV, 22-Nov-2021.)
Assertion
Ref Expression
prsprel (({𝑋, 𝑌} ∈ (Pairs‘𝑉) ∧ (𝑋 ∈ 𝑈 ∧ 𝑌 ∈ 𝑊)) → (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉))

Proof of Theorem prsprel
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sprel 48510 . . 3 ({𝑋, 𝑌} ∈ (Pairs‘𝑉) → ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 {𝑋, 𝑌} = {𝑎, 𝑏})
2 preq12bg 4813 . . . . . . 7 (((𝑋 ∈ 𝑈 ∧ 𝑌 ∈ 𝑊) ∧ (𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉)) → ({𝑋, 𝑌} = {𝑎, 𝑏} ↔ ((𝑋 = 𝑎 ∧ 𝑌 = 𝑏) ∨ (𝑋 = 𝑏 ∧ 𝑌 = 𝑎))))
3 eleq1 2849 . . . . . . . . . . . . 13 (𝑎 = 𝑋 → (𝑎 ∈ 𝑉 ↔ 𝑋 ∈ 𝑉))
43eqcoms 2769 . . . . . . . . . . . 12 (𝑋 = 𝑎 → (𝑎 ∈ 𝑉 ↔ 𝑋 ∈ 𝑉))
5 eleq1 2849 . . . . . . . . . . . . 13 (𝑏 = 𝑌 → (𝑏 ∈ 𝑉 ↔ 𝑌 ∈ 𝑉))
65eqcoms 2769 . . . . . . . . . . . 12 (𝑌 = 𝑏 → (𝑏 ∈ 𝑉 ↔ 𝑌 ∈ 𝑉))
74, 6bi2anan9 650 . . . . . . . . . . 11 ((𝑋 = 𝑎 ∧ 𝑌 = 𝑏) → ((𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉) ↔ (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)))
87biimpd 232 . . . . . . . . . 10 ((𝑋 = 𝑎 ∧ 𝑌 = 𝑏) → ((𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉) → (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)))
9 eleq1 2849 . . . . . . . . . . . . . 14 (𝑏 = 𝑋 → (𝑏 ∈ 𝑉 ↔ 𝑋 ∈ 𝑉))
109eqcoms 2769 . . . . . . . . . . . . 13 (𝑋 = 𝑏 → (𝑏 ∈ 𝑉 ↔ 𝑋 ∈ 𝑉))
11 eleq1 2849 . . . . . . . . . . . . . 14 (𝑎 = 𝑌 → (𝑎 ∈ 𝑉 ↔ 𝑌 ∈ 𝑉))
1211eqcoms 2769 . . . . . . . . . . . . 13 (𝑌 = 𝑎 → (𝑎 ∈ 𝑉 ↔ 𝑌 ∈ 𝑉))
1310, 12bi2anan9 650 . . . . . . . . . . . 12 ((𝑋 = 𝑏 ∧ 𝑌 = 𝑎) → ((𝑏 ∈ 𝑉 ∧ 𝑎 ∈ 𝑉) ↔ (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)))
1413biimpd 232 . . . . . . . . . . 11 ((𝑋 = 𝑏 ∧ 𝑌 = 𝑎) → ((𝑏 ∈ 𝑉 ∧ 𝑎 ∈ 𝑉) → (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)))
1514ancomsd 471 . . . . . . . . . 10 ((𝑋 = 𝑏 ∧ 𝑌 = 𝑎) → ((𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉) → (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)))
168, 15jaoi 871 . . . . . . . . 9 (((𝑋 = 𝑎 ∧ 𝑌 = 𝑏) ∨ (𝑋 = 𝑏 ∧ 𝑌 = 𝑎)) → ((𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉) → (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)))
1716com12 33 . . . . . . . 8 ((𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉) → (((𝑋 = 𝑎 ∧ 𝑌 = 𝑏) ∨ (𝑋 = 𝑏 ∧ 𝑌 = 𝑎)) → (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)))
1817adantl 487 . . . . . . 7 (((𝑋 ∈ 𝑈 ∧ 𝑌 ∈ 𝑊) ∧ (𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉)) → (((𝑋 = 𝑎 ∧ 𝑌 = 𝑏) ∨ (𝑋 = 𝑏 ∧ 𝑌 = 𝑎)) → (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)))
192, 18sylbid 243 . . . . . 6 (((𝑋 ∈ 𝑈 ∧ 𝑌 ∈ 𝑊) ∧ (𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉)) → ({𝑋, 𝑌} = {𝑎, 𝑏} → (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)))
2019expcom 419 . . . . 5 ((𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉) → ((𝑋 ∈ 𝑈 ∧ 𝑌 ∈ 𝑊) → ({𝑋, 𝑌} = {𝑎, 𝑏} → (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉))))
2120com23 87 . . . 4 ((𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉) → ({𝑋, 𝑌} = {𝑎, 𝑏} → ((𝑋 ∈ 𝑈 ∧ 𝑌 ∈ 𝑊) → (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉))))
2221rexlimivv 3205 . . 3 (∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 {𝑋, 𝑌} = {𝑎, 𝑏} → ((𝑋 ∈ 𝑈 ∧ 𝑌 ∈ 𝑊) → (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)))
231, 22syl 18 . 2 ({𝑋, 𝑌} ∈ (Pairs‘𝑉) → ((𝑋 ∈ 𝑈 ∧ 𝑌 ∈ 𝑊) → (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)))
2423imp 412 1 (({𝑋, 𝑌} ∈ (Pairs‘𝑉) ∧ (𝑋 ∈ 𝑈 ∧ 𝑌 ∈ 𝑊)) → (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2145  ∃wrex 3087  {cpr 4586  ‘cfv 6531  Pairscspr 48503
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7740
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6487  df-fun 6533  df-fv 6539  df-spr 48504
This theorem is used by:  prsssprel  48514  sprsymrelfolem2  48519
  Copyright terms: Public domain W3C validator