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

Theorem sprvalpwn0 46886
Description: The set of all unordered pairs over a given set 𝑉, expressed by a restricted class abstraction. (Contributed by AV, 21-Nov-2021.)
Assertion
Ref Expression
sprvalpwn0 (𝑉𝑊 → (Pairs‘𝑉) = {𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
Distinct variable groups:   𝑉,𝑎,𝑏,𝑝   𝑊,𝑎,𝑏,𝑝

Proof of Theorem sprvalpwn0
StepHypRef Expression
1 sprvalpw 46883 . 2 (𝑉𝑊 → (Pairs‘𝑉) = {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
2 id 22 . . . . . . . . 9 (𝑝 = {𝑎, 𝑏} → 𝑝 = {𝑎, 𝑏})
3 vex 3467 . . . . . . . . . . 11 𝑎 ∈ V
43prnz 4782 . . . . . . . . . 10 {𝑎, 𝑏} ≠ ∅
54a1i 11 . . . . . . . . 9 (𝑝 = {𝑎, 𝑏} → {𝑎, 𝑏} ≠ ∅)
62, 5eqnetrd 2998 . . . . . . . 8 (𝑝 = {𝑎, 𝑏} → 𝑝 ≠ ∅)
76a1i 11 . . . . . . 7 ((𝑎𝑉𝑏𝑉) → (𝑝 = {𝑎, 𝑏} → 𝑝 ≠ ∅))
87rexlimivv 3190 . . . . . 6 (∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏} → 𝑝 ≠ ∅)
98adantl 480 . . . . 5 ((𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) → 𝑝 ≠ ∅)
109pm4.71ri 559 . . . 4 ((𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ (𝑝 ≠ ∅ ∧ (𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏})))
11 ancom 459 . . . . . 6 ((𝑝 ≠ ∅ ∧ 𝑝 ∈ 𝒫 𝑉) ↔ (𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅))
1211anbi1i 622 . . . . 5 (((𝑝 ≠ ∅ ∧ 𝑝 ∈ 𝒫 𝑉) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ ((𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
13 anass 467 . . . . 5 (((𝑝 ≠ ∅ ∧ 𝑝 ∈ 𝒫 𝑉) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ (𝑝 ≠ ∅ ∧ (𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏})))
14 eldifsn 4791 . . . . . . 7 (𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ↔ (𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅))
1514bicomi 223 . . . . . 6 ((𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅) ↔ 𝑝 ∈ (𝒫 𝑉 ∖ {∅}))
1615anbi1i 622 . . . . 5 (((𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ (𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
1712, 13, 163bitr3i 300 . . . 4 ((𝑝 ≠ ∅ ∧ (𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏})) ↔ (𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
1810, 17bitri 274 . . 3 ((𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ (𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
1918rabbia2 3422 . 2 {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}} = {𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}}
201, 19eqtrdi 2781 1 (𝑉𝑊 → (Pairs‘𝑉) = {𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 394   = wceq 1533  wcel 2098  wne 2930  wrex 3060  {crab 3419  cdif 3942  c0 4323  𝒫 cpw 4603  {csn 4629  {cpr 4631  cfv 6547  Pairscspr 46880
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2166  ax-ext 2696  ax-rep 5285  ax-sep 5299  ax-nul 5306  ax-pr 5428  ax-un 7739
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2528  df-eu 2557  df-clab 2703  df-cleq 2717  df-clel 2802  df-nfc 2877  df-ne 2931  df-ral 3052  df-rex 3061  df-rab 3420  df-v 3465  df-sbc 3775  df-csb 3891  df-dif 3948  df-un 3950  df-in 3952  df-ss 3962  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4909  df-iun 4998  df-br 5149  df-opab 5211  df-mpt 5232  df-id 5575  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-iota 6499  df-fun 6549  df-fv 6555  df-spr 46881
This theorem is referenced by:  sprvalpwle2  46892
  Copyright terms: Public domain W3C validator