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 41736
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 4915 . . . . 5 ((𝑋𝑉𝑌𝑉) → {𝑋, 𝑌} ∈ 𝒫 𝑉)
2 eqidd 2623 . . . . . 6 ((𝑋𝑉𝑌𝑉) → {𝑋, 𝑌} = {𝑋, 𝑌})
3 preq1 4268 . . . . . . . 8 (𝑎 = 𝑋 → {𝑎, 𝑏} = {𝑋, 𝑏})
43eqeq2d 2632 . . . . . . 7 (𝑎 = 𝑋 → ({𝑋, 𝑌} = {𝑎, 𝑏} ↔ {𝑋, 𝑌} = {𝑋, 𝑏}))
5 preq2 4269 . . . . . . . 8 (𝑏 = 𝑌 → {𝑋, 𝑏} = {𝑋, 𝑌})
65eqeq2d 2632 . . . . . . 7 (𝑏 = 𝑌 → ({𝑋, 𝑌} = {𝑋, 𝑏} ↔ {𝑋, 𝑌} = {𝑋, 𝑌}))
74, 6rspc2ev 3324 . . . . . 6 ((𝑋𝑉𝑌𝑉 ∧ {𝑋, 𝑌} = {𝑋, 𝑌}) → ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏})
82, 7mpd3an3 1425 . . . . 5 ((𝑋𝑉𝑌𝑉) → ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏})
91, 8jca 554 . . . 4 ((𝑋𝑉𝑌𝑉) → ({𝑋, 𝑌} ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
109adantl 482 . . 3 ((𝑉𝑊 ∧ (𝑋𝑉𝑌𝑉)) → ({𝑋, 𝑌} ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
11 eqeq1 2626 . . . . 5 (𝑝 = {𝑋, 𝑌} → (𝑝 = {𝑎, 𝑏} ↔ {𝑋, 𝑌} = {𝑎, 𝑏}))
12112rexbidv 3057 . . . 4 (𝑝 = {𝑋, 𝑌} → (∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏} ↔ ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
1312elrab 3363 . . 3 ({𝑋, 𝑌} ∈ {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}} ↔ ({𝑋, 𝑌} ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
1410, 13sylibr 224 . 2 ((𝑉𝑊 ∧ (𝑋𝑉𝑌𝑉)) → {𝑋, 𝑌} ∈ {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
15 sprvalpw 41730 . . 3 (𝑉𝑊 → (Pairs‘𝑉) = {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
1615adantr 481 . 2 ((𝑉𝑊 ∧ (𝑋𝑉𝑌𝑉)) → (Pairs‘𝑉) = {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
1714, 16eleqtrrd 2704 1 ((𝑉𝑊 ∧ (𝑋𝑉𝑌𝑉)) → {𝑋, 𝑌} ∈ (Pairs‘𝑉))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1483  wcel 1990  wrex 2913  {crab 2916  𝒫 cpw 4158  {cpr 4179  cfv 5888  Pairscspr 41727
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-rep 4771  ax-sep 4781  ax-nul 4789  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-iun 4522  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-spr 41728
This theorem is referenced by:  sprsymrelfolem2  41743
  Copyright terms: Public domain W3C validator