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 48774
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 48771 . . 3 ({𝑋, 𝑌} ∈ (Pairs‘𝑉) → ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 {𝑋, 𝑌} = {𝑎, 𝑏})
2 preq12bg 4811 . . . . . . 7 (((𝑋 ∈ 𝑈 ∧ 𝑌 ∈ 𝑊) ∧ (𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉)) → ({𝑋, 𝑌} = {𝑎, 𝑏} ↔ ((𝑋 = 𝑎 ∧ 𝑌 = 𝑏) ∨ (𝑋 = 𝑏 ∧ 𝑌 = 𝑎))))
3 eleq1 2852 . . . . . . . . . . . . 13 (𝑎 = 𝑋 → (𝑎 ∈ 𝑉 ↔ 𝑋 ∈ 𝑉))
43eqcoms 2771 . . . . . . . . . . . 12 (𝑋 = 𝑎 → (𝑎 ∈ 𝑉 ↔ 𝑋 ∈ 𝑉))
5 eleq1 2852 . . . . . . . . . . . . 13 (𝑏 = 𝑌 → (𝑏 ∈ 𝑉 ↔ 𝑌 ∈ 𝑉))
65eqcoms 2771 . . . . . . . . . . . 12 (𝑌 = 𝑏 → (𝑏 ∈ 𝑉 ↔ 𝑌 ∈ 𝑉))
74, 6bi2anan9 650 . . . . . . . . . . 11 ((𝑋 = 𝑎 ∧ 𝑌 = 𝑏) → ((𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉) ↔ (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)))
87biimpd 232 . . . . . . . . . 10 ((𝑋 = 𝑎 ∧ 𝑌 = 𝑏) → ((𝑎 ∈ 𝑉 ∧ 𝑏 ∈ 𝑉) → (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)))
9 eleq1 2852 . . . . . . . . . . . . . 14 (𝑏 = 𝑋 → (𝑏 ∈ 𝑉 ↔ 𝑋 ∈ 𝑉))
109eqcoms 2771 . . . . . . . . . . . . 13 (𝑋 = 𝑏 → (𝑏 ∈ 𝑉 ↔ 𝑋 ∈ 𝑉))
11 eleq1 2852 . . . . . . . . . . . . . 14 (𝑎 = 𝑌 → (𝑎 ∈ 𝑉 ↔ 𝑌 ∈ 𝑉))
1211eqcoms 2771 . . . . . . . . . . . . 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 3208 . . 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 2147  ∃wrex 3090  {cpr 4590  ‘cfv 6558  Pairscspr 48764
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7775
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-iota 6512  df-fun 6560  df-fv 6566  df-spr 48765
This theorem is used by:  prsssprel  48775  sprsymrelfolem2  48780
  Copyright terms: Public domain W3C validator