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 48925
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 48922 . . 3 ({𝑋, 𝑌} ∈ (Pairs‘𝑉) → ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 {𝑋, 𝑌} = {𝑎, 𝑏})
2 preq12bg 4816 . . . . . . 7 (((𝑋 ∈ 𝑈 ∧ 𝑌 ∈ 𝑊) ∧ (𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉)) → ({𝑋, 𝑌} = {𝑎, 𝑏} ↔ ((𝑋 = 𝑎 ∧ 𝑌 = 𝑏) ∨ (𝑋 = 𝑏 ∧ 𝑌 = 𝑎))))
3 eleq1 2858 . . . . . . . . . . . . 13 (𝑎 = 𝑋 → (𝑎 ∈ 𝑉 ↔ 𝑋 ∈ 𝑉))
43eqcoms 2777 . . . . . . . . . . . 12 (𝑋 = 𝑎 → (𝑎 ∈ 𝑉 ↔ 𝑋 ∈ 𝑉))
5 eleq1 2858 . . . . . . . . . . . . 13 (𝑏 = 𝑌 → (𝑏 ∈ 𝑉 ↔ 𝑌 ∈ 𝑉))
65eqcoms 2777 . . . . . . . . . . . 12 (𝑌 = 𝑏 → (𝑏 ∈ 𝑉 ↔ 𝑌 ∈ 𝑉))
74, 6bi2anan9 650 . . . . . . . . . . 11 ((𝑋 = 𝑎 ∧ 𝑌 = 𝑏) → ((𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉) ↔ (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)))
87biimpd 232 . . . . . . . . . 10 ((𝑋 = 𝑎 ∧ 𝑌 = 𝑏) → ((𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉) → (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)))
9 eleq1 2858 . . . . . . . . . . . . . 14 (𝑏 = 𝑋 → (𝑏 ∈ 𝑉 ↔ 𝑋 ∈ 𝑉))
109eqcoms 2777 . . . . . . . . . . . . 13 (𝑋 = 𝑏 → (𝑏 ∈ 𝑉 ↔ 𝑋 ∈ 𝑉))
11 eleq1 2858 . . . . . . . . . . . . . 14 (𝑎 = 𝑌 → (𝑎 ∈ 𝑉 ↔ 𝑌 ∈ 𝑉))
1211eqcoms 2777 . . . . . . . . . . . . 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 3214 . . 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 1572   ∈ wcel 2151  ∃wrex 3096  {cpr 4592  ‘cfv 6573  Pairscspr 48915
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pr 5401  ax-un 7793
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-iota 6527  df-fun 6575  df-fv 6581  df-spr 48916
This theorem is used by:  prsssprel  48926  sprsymrelfolem2  48931
  Copyright terms: Public domain W3C validator