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 45198
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 45195 . . 3 ({𝑋, 𝑌} ∈ (Pairs‘𝑉) → ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏})
2 preq12bg 4794 . . . . . . 7 (((𝑋𝑈𝑌𝑊) ∧ (𝑎𝑉𝑏𝑉)) → ({𝑋, 𝑌} = {𝑎, 𝑏} ↔ ((𝑋 = 𝑎𝑌 = 𝑏) ∨ (𝑋 = 𝑏𝑌 = 𝑎))))
3 eleq1 2825 . . . . . . . . . . . . 13 (𝑎 = 𝑋 → (𝑎𝑉𝑋𝑉))
43eqcoms 2745 . . . . . . . . . . . 12 (𝑋 = 𝑎 → (𝑎𝑉𝑋𝑉))
5 eleq1 2825 . . . . . . . . . . . . 13 (𝑏 = 𝑌 → (𝑏𝑉𝑌𝑉))
65eqcoms 2745 . . . . . . . . . . . 12 (𝑌 = 𝑏 → (𝑏𝑉𝑌𝑉))
74, 6bi2anan9 636 . . . . . . . . . . 11 ((𝑋 = 𝑎𝑌 = 𝑏) → ((𝑎𝑉𝑏𝑉) ↔ (𝑋𝑉𝑌𝑉)))
87biimpd 228 . . . . . . . . . 10 ((𝑋 = 𝑎𝑌 = 𝑏) → ((𝑎𝑉𝑏𝑉) → (𝑋𝑉𝑌𝑉)))
9 eleq1 2825 . . . . . . . . . . . . . 14 (𝑏 = 𝑋 → (𝑏𝑉𝑋𝑉))
109eqcoms 2745 . . . . . . . . . . . . 13 (𝑋 = 𝑏 → (𝑏𝑉𝑋𝑉))
11 eleq1 2825 . . . . . . . . . . . . . 14 (𝑎 = 𝑌 → (𝑎𝑉𝑌𝑉))
1211eqcoms 2745 . . . . . . . . . . . . 13 (𝑌 = 𝑎 → (𝑎𝑉𝑌𝑉))
1310, 12bi2anan9 636 . . . . . . . . . . . 12 ((𝑋 = 𝑏𝑌 = 𝑎) → ((𝑏𝑉𝑎𝑉) ↔ (𝑋𝑉𝑌𝑉)))
1413biimpd 228 . . . . . . . . . . 11 ((𝑋 = 𝑏𝑌 = 𝑎) → ((𝑏𝑉𝑎𝑉) → (𝑋𝑉𝑌𝑉)))
1514ancomsd 466 . . . . . . . . . 10 ((𝑋 = 𝑏𝑌 = 𝑎) → ((𝑎𝑉𝑏𝑉) → (𝑋𝑉𝑌𝑉)))
168, 15jaoi 854 . . . . . . . . 9 (((𝑋 = 𝑎𝑌 = 𝑏) ∨ (𝑋 = 𝑏𝑌 = 𝑎)) → ((𝑎𝑉𝑏𝑉) → (𝑋𝑉𝑌𝑉)))
1716com12 32 . . . . . . . 8 ((𝑎𝑉𝑏𝑉) → (((𝑋 = 𝑎𝑌 = 𝑏) ∨ (𝑋 = 𝑏𝑌 = 𝑎)) → (𝑋𝑉𝑌𝑉)))
1817adantl 482 . . . . . . 7 (((𝑋𝑈𝑌𝑊) ∧ (𝑎𝑉𝑏𝑉)) → (((𝑋 = 𝑎𝑌 = 𝑏) ∨ (𝑋 = 𝑏𝑌 = 𝑎)) → (𝑋𝑉𝑌𝑉)))
192, 18sylbid 239 . . . . . 6 (((𝑋𝑈𝑌𝑊) ∧ (𝑎𝑉𝑏𝑉)) → ({𝑋, 𝑌} = {𝑎, 𝑏} → (𝑋𝑉𝑌𝑉)))
2019expcom 414 . . . . 5 ((𝑎𝑉𝑏𝑉) → ((𝑋𝑈𝑌𝑊) → ({𝑋, 𝑌} = {𝑎, 𝑏} → (𝑋𝑉𝑌𝑉))))
2120com23 86 . . . 4 ((𝑎𝑉𝑏𝑉) → ({𝑋, 𝑌} = {𝑎, 𝑏} → ((𝑋𝑈𝑌𝑊) → (𝑋𝑉𝑌𝑉))))
2221rexlimivv 3193 . . 3 (∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏} → ((𝑋𝑈𝑌𝑊) → (𝑋𝑉𝑌𝑉)))
231, 22syl 17 . 2 ({𝑋, 𝑌} ∈ (Pairs‘𝑉) → ((𝑋𝑈𝑌𝑊) → (𝑋𝑉𝑌𝑉)))
2423imp 407 1 (({𝑋, 𝑌} ∈ (Pairs‘𝑉) ∧ (𝑋𝑈𝑌𝑊)) → (𝑋𝑉𝑌𝑉))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wo 844   = wceq 1540  wcel 2105  wrex 3071  {cpr 4571  cfv 6463  Pairscspr 45188
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2708  ax-rep 5222  ax-sep 5236  ax-nul 5243  ax-pr 5365  ax-un 7626
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2815  df-nfc 2887  df-ral 3063  df-rex 3072  df-rab 3405  df-v 3443  df-sbc 3726  df-csb 3842  df-dif 3899  df-un 3901  df-in 3903  df-ss 3913  df-nul 4267  df-if 4470  df-pw 4545  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4849  df-iun 4937  df-br 5086  df-opab 5148  df-mpt 5169  df-id 5505  df-xp 5611  df-rel 5612  df-cnv 5613  df-co 5614  df-dm 5615  df-iota 6415  df-fun 6465  df-fv 6471  df-spr 45189
This theorem is referenced by:  prsssprel  45199  sprsymrelfolem2  45204
  Copyright terms: Public domain W3C validator