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 46154
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 5448 . . . . 5 ((𝑋𝑉𝑌𝑉) → {𝑋, 𝑌} ∈ 𝒫 𝑉)
2 eqidd 2734 . . . . . 6 ((𝑋𝑉𝑌𝑉) → {𝑋, 𝑌} = {𝑋, 𝑌})
3 preq1 4738 . . . . . . . 8 (𝑎 = 𝑋 → {𝑎, 𝑏} = {𝑋, 𝑏})
43eqeq2d 2744 . . . . . . 7 (𝑎 = 𝑋 → ({𝑋, 𝑌} = {𝑎, 𝑏} ↔ {𝑋, 𝑌} = {𝑋, 𝑏}))
5 preq2 4739 . . . . . . . 8 (𝑏 = 𝑌 → {𝑋, 𝑏} = {𝑋, 𝑌})
65eqeq2d 2744 . . . . . . 7 (𝑏 = 𝑌 → ({𝑋, 𝑌} = {𝑋, 𝑏} ↔ {𝑋, 𝑌} = {𝑋, 𝑌}))
74, 6rspc2ev 3625 . . . . . 6 ((𝑋𝑉𝑌𝑉 ∧ {𝑋, 𝑌} = {𝑋, 𝑌}) → ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏})
82, 7mpd3an3 1463 . . . . 5 ((𝑋𝑉𝑌𝑉) → ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏})
91, 8jca 513 . . . 4 ((𝑋𝑉𝑌𝑉) → ({𝑋, 𝑌} ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
109adantl 483 . . 3 ((𝑉𝑊 ∧ (𝑋𝑉𝑌𝑉)) → ({𝑋, 𝑌} ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
11 eqeq1 2737 . . . . 5 (𝑝 = {𝑋, 𝑌} → (𝑝 = {𝑎, 𝑏} ↔ {𝑋, 𝑌} = {𝑎, 𝑏}))
12112rexbidv 3220 . . . 4 (𝑝 = {𝑋, 𝑌} → (∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏} ↔ ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
1312elrab 3684 . . 3 ({𝑋, 𝑌} ∈ {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}} ↔ ({𝑋, 𝑌} ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
1410, 13sylibr 233 . 2 ((𝑉𝑊 ∧ (𝑋𝑉𝑌𝑉)) → {𝑋, 𝑌} ∈ {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
15 sprvalpw 46148 . . 3 (𝑉𝑊 → (Pairs‘𝑉) = {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
1615adantr 482 . 2 ((𝑉𝑊 ∧ (𝑋𝑉𝑌𝑉)) → (Pairs‘𝑉) = {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
1714, 16eleqtrrd 2837 1 ((𝑉𝑊 ∧ (𝑋𝑉𝑌𝑉)) → {𝑋, 𝑌} ∈ (Pairs‘𝑉))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397   = wceq 1542  wcel 2107  wrex 3071  {crab 3433  𝒫 cpw 4603  {cpr 4631  cfv 6544  Pairscspr 46145
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-rep 5286  ax-sep 5300  ax-nul 5307  ax-pr 5428  ax-un 7725
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ral 3063  df-rex 3072  df-rab 3434  df-v 3477  df-sbc 3779  df-csb 3895  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-iun 5000  df-br 5150  df-opab 5212  df-mpt 5233  df-id 5575  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-iota 6496  df-fun 6546  df-fv 6552  df-spr 46146
This theorem is referenced by:  sprsymrelfolem2  46161  reupr  46190
  Copyright terms: Public domain W3C validator