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

Theorem prelspr 44996
Description: An unordered pair of elements of a fixed set 𝑉 belongs to the set of all unordered pairs over the set 𝑉. (Contributed by AV, 21-Nov-2021.)
Assertion
Ref Expression
prelspr ((𝑉𝑊 ∧ (𝑋𝑉𝑌𝑉)) → {𝑋, 𝑌} ∈ (Pairs‘𝑉))

Proof of Theorem prelspr
Dummy variables 𝑎 𝑏 𝑝 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 prelpwi 5376 . . . . 5 ((𝑋𝑉𝑌𝑉) → {𝑋, 𝑌} ∈ 𝒫 𝑉)
2 eqidd 2737 . . . . . 6 ((𝑋𝑉𝑌𝑉) → {𝑋, 𝑌} = {𝑋, 𝑌})
3 preq1 4673 . . . . . . . 8 (𝑎 = 𝑋 → {𝑎, 𝑏} = {𝑋, 𝑏})
43eqeq2d 2747 . . . . . . 7 (𝑎 = 𝑋 → ({𝑋, 𝑌} = {𝑎, 𝑏} ↔ {𝑋, 𝑌} = {𝑋, 𝑏}))
5 preq2 4674 . . . . . . . 8 (𝑏 = 𝑌 → {𝑋, 𝑏} = {𝑋, 𝑌})
65eqeq2d 2747 . . . . . . 7 (𝑏 = 𝑌 → ({𝑋, 𝑌} = {𝑋, 𝑏} ↔ {𝑋, 𝑌} = {𝑋, 𝑌}))
74, 6rspc2ev 3577 . . . . . 6 ((𝑋𝑉𝑌𝑉 ∧ {𝑋, 𝑌} = {𝑋, 𝑌}) → ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏})
82, 7mpd3an3 1462 . . . . 5 ((𝑋𝑉𝑌𝑉) → ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏})
91, 8jca 513 . . . 4 ((𝑋𝑉𝑌𝑉) → ({𝑋, 𝑌} ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
109adantl 483 . . 3 ((𝑉𝑊 ∧ (𝑋𝑉𝑌𝑉)) → ({𝑋, 𝑌} ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
11 eqeq1 2740 . . . . 5 (𝑝 = {𝑋, 𝑌} → (𝑝 = {𝑎, 𝑏} ↔ {𝑋, 𝑌} = {𝑎, 𝑏}))
12112rexbidv 3210 . . . 4 (𝑝 = {𝑋, 𝑌} → (∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏} ↔ ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
1312elrab 3629 . . 3 ({𝑋, 𝑌} ∈ {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}} ↔ ({𝑋, 𝑌} ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
1410, 13sylibr 233 . 2 ((𝑉𝑊 ∧ (𝑋𝑉𝑌𝑉)) → {𝑋, 𝑌} ∈ {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
15 sprvalpw 44990 . . 3 (𝑉𝑊 → (Pairs‘𝑉) = {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
1615adantr 482 . 2 ((𝑉𝑊 ∧ (𝑋𝑉𝑌𝑉)) → (Pairs‘𝑉) = {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
1714, 16eleqtrrd 2840 1 ((𝑉𝑊 ∧ (𝑋𝑉𝑌𝑉)) → {𝑋, 𝑌} ∈ (Pairs‘𝑉))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397   = wceq 1539  wcel 2104  wrex 3071  {crab 3284  𝒫 cpw 4539  {cpr 4567  cfv 6458  Pairscspr 44987
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-rep 5218  ax-sep 5232  ax-nul 5239  ax-pr 5361  ax-un 7620
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ral 3063  df-rex 3072  df-rab 3287  df-v 3439  df-sbc 3722  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4566  df-pr 4568  df-op 4572  df-uni 4845  df-iun 4933  df-br 5082  df-opab 5144  df-mpt 5165  df-id 5500  df-xp 5606  df-rel 5607  df-cnv 5608  df-co 5609  df-dm 5610  df-iota 6410  df-fun 6460  df-fv 6466  df-spr 44988
This theorem is referenced by:  sprsymrelfolem2  45003  reupr  45032
  Copyright terms: Public domain W3C validator