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 48783
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 5420 . . . . 5 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉) → {𝑋, 𝑌} ∈ 𝒫 𝑉)
2 eqidd 2764 . . . . . 6 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉) → {𝑋, 𝑌} = {𝑋, 𝑌})
3 preq1 4694 . . . . . . . 8 (𝑎 = 𝑋 → {𝑎, 𝑏} = {𝑋, 𝑏})
43eqeq2d 2774 . . . . . . 7 (𝑎 = 𝑋 → ({𝑋, 𝑌} = {𝑎, 𝑏} ↔ {𝑋, 𝑌} = {𝑋, 𝑏}))
5 preq2 4695 . . . . . . . 8 (𝑏 = 𝑌 → {𝑋, 𝑏} = {𝑋, 𝑌})
65eqeq2d 2774 . . . . . . 7 (𝑏 = 𝑌 → ({𝑋, 𝑌} = {𝑋, 𝑏} ↔ {𝑋, 𝑌} = {𝑋, 𝑌}))
74, 6rspc2ev 3592 . . . . . 6 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉 ∧ {𝑋, 𝑌} = {𝑋, 𝑌}) → ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 {𝑋, 𝑌} = {𝑎, 𝑏})
82, 7mpd3an3 1492 . . . . 5 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉) → ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 {𝑋, 𝑌} = {𝑎, 𝑏})
91, 8jca 521 . . . 4 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉) → ({𝑋, 𝑌} ∈ 𝒫 𝑉 ∧ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
109adantl 487 . . 3 ((𝑉 ∈ 𝑊 ∧ (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)) → ({𝑋, 𝑌} ∈ 𝒫 𝑉 ∧ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
11 eqeq1 2767 . . . . 5 (𝑝 = {𝑋, 𝑌} → (𝑝 = {𝑎, 𝑏} ↔ {𝑋, 𝑌} = {𝑎, 𝑏}))
12112rexbidv 3231 . . . 4 (𝑝 = {𝑋, 𝑌} → (∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏} ↔ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
1312elrab 3648 . . 3 ({𝑋, 𝑌} ∈ {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}} ↔ ({𝑋, 𝑌} ∈ 𝒫 𝑉 ∧ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
1410, 13sylibr 237 . 2 ((𝑉 ∈ 𝑊 ∧ (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)) → {𝑋, 𝑌} ∈ {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}})
15 sprvalpw 48777 . . 3 (𝑉 ∈ 𝑊 → (Pairs‘𝑉) = {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}})
1615adantr 486 . 2 ((𝑉 ∈ 𝑊 ∧ (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)) → (Pairs‘𝑉) = {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}})
1714, 16eleqtrrd 2867 1 ((𝑉 ∈ 𝑊 ∧ (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)) → {𝑋, 𝑌} ∈ (Pairs‘𝑉))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∃wrex 3090  {crab 3416  𝒫 cpw 4560  {cpr 4590  ‘cfv 6561  Pairscspr 48774
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 5236  ax-sep 5253  ax-pr 5396  ax-un 7778
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-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 5172  df-mpt 5191  df-id 5551  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-iota 6515  df-fun 6563  df-fv 6569  df-spr 48775
This theorem is used by:  sprsymrelfolem2  48790  reupr  48819
  Copyright terms: Public domain W3C validator