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 48661
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 5414 . . . . 5 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉) → {𝑋, 𝑌} ∈ 𝒫 𝑉)
2 eqidd 2761 . . . . . 6 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉) → {𝑋, 𝑌} = {𝑋, 𝑌})
3 preq1 4690 . . . . . . . 8 (𝑎 = 𝑋 → {𝑎, 𝑏} = {𝑋, 𝑏})
43eqeq2d 2771 . . . . . . 7 (𝑎 = 𝑋 → ({𝑋, 𝑌} = {𝑎, 𝑏} ↔ {𝑋, 𝑌} = {𝑋, 𝑏}))
5 preq2 4691 . . . . . . . 8 (𝑏 = 𝑌 → {𝑋, 𝑏} = {𝑋, 𝑌})
65eqeq2d 2771 . . . . . . 7 (𝑏 = 𝑌 → ({𝑋, 𝑌} = {𝑋, 𝑏} ↔ {𝑋, 𝑌} = {𝑋, 𝑌}))
74, 6rspc2ev 3588 . . . . . 6 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉 ∧ {𝑋, 𝑌} = {𝑋, 𝑌}) → ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 {𝑋, 𝑌} = {𝑎, 𝑏})
82, 7mpd3an3 1491 . . . . 5 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉) → ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 {𝑋, 𝑌} = {𝑎, 𝑏})
91, 8jca 521 . . . 4 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉) → ({𝑋, 𝑌} ∈ 𝒫 𝑉 ∧ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
109adantl 487 . . 3 ((𝑉 ∈ 𝑊 ∧ (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)) → ({𝑋, 𝑌} ∈ 𝒫 𝑉 ∧ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
11 eqeq1 2764 . . . . 5 (𝑝 = {𝑋, 𝑌} → (𝑝 = {𝑎, 𝑏} ↔ {𝑋, 𝑌} = {𝑎, 𝑏}))
12112rexbidv 3227 . . . 4 (𝑝 = {𝑋, 𝑌} → (∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏} ↔ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
1312elrab 3644 . . 3 ({𝑋, 𝑌} ∈ {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}} ↔ ({𝑋, 𝑌} ∈ 𝒫 𝑉 ∧ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 {𝑋, 𝑌} = {𝑎, 𝑏}))
1410, 13sylibr 237 . 2 ((𝑉 ∈ 𝑊 ∧ (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)) → {𝑋, 𝑌} ∈ {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}})
15 sprvalpw 48655 . . 3 (𝑉 ∈ 𝑊 → (Pairs‘𝑉) = {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}})
1615adantr 486 . 2 ((𝑉 ∈ 𝑊 ∧ (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)) → (Pairs‘𝑉) = {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}})
1714, 16eleqtrrd 2863 1 ((𝑉 ∈ 𝑊 ∧ (𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑉)) → {𝑋, 𝑌} ∈ (Pairs‘𝑉))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∃wrex 3086  {crab 3412  𝒫 cpw 4556  {cpr 4586  ‘cfv 6538  Pairscspr 48652
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-pr 5390  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-iota 6494  df-fun 6540  df-fv 6546  df-spr 48653
This theorem is used by:  sprsymrelfolem2  48668  reupr  48697
  Copyright terms: Public domain W3C validator