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 45923
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 45920 . 2 (𝑉𝑊 → (Pairs‘𝑉) = {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
2 id 22 . . . . . . . . 9 (𝑝 = {𝑎, 𝑏} → 𝑝 = {𝑎, 𝑏})
3 vex 3477 . . . . . . . . . . 11 𝑎 ∈ V
43prnz 4774 . . . . . . . . . 10 {𝑎, 𝑏} ≠ ∅
54a1i 11 . . . . . . . . 9 (𝑝 = {𝑎, 𝑏} → {𝑎, 𝑏} ≠ ∅)
62, 5eqnetrd 3007 . . . . . . . 8 (𝑝 = {𝑎, 𝑏} → 𝑝 ≠ ∅)
76a1i 11 . . . . . . 7 ((𝑎𝑉𝑏𝑉) → (𝑝 = {𝑎, 𝑏} → 𝑝 ≠ ∅))
87rexlimivv 3198 . . . . . 6 (∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏} → 𝑝 ≠ ∅)
98adantl 482 . . . . 5 ((𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) → 𝑝 ≠ ∅)
109pm4.71ri 561 . . . 4 ((𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ (𝑝 ≠ ∅ ∧ (𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏})))
11 ancom 461 . . . . . 6 ((𝑝 ≠ ∅ ∧ 𝑝 ∈ 𝒫 𝑉) ↔ (𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅))
1211anbi1i 624 . . . . 5 (((𝑝 ≠ ∅ ∧ 𝑝 ∈ 𝒫 𝑉) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ ((𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
13 anass 469 . . . . 5 (((𝑝 ≠ ∅ ∧ 𝑝 ∈ 𝒫 𝑉) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ (𝑝 ≠ ∅ ∧ (𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏})))
14 eldifsn 4783 . . . . . . 7 (𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ↔ (𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅))
1514bicomi 223 . . . . . 6 ((𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅) ↔ 𝑝 ∈ (𝒫 𝑉 ∖ {∅}))
1615anbi1i 624 . . . . 5 (((𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ (𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
1712, 13, 163bitr3i 300 . . . 4 ((𝑝 ≠ ∅ ∧ (𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏})) ↔ (𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
1810, 17bitri 274 . . 3 ((𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ (𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
1918rabbia2 3434 . 2 {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}} = {𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}}
201, 19eqtrdi 2787 1 (𝑉𝑊 → (Pairs‘𝑉) = {𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1541  wcel 2106  wne 2939  wrex 3069  {crab 3431  cdif 3941  c0 4318  𝒫 cpw 4596  {csn 4622  {cpr 4624  cfv 6532  Pairscspr 45917
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2702  ax-rep 5278  ax-sep 5292  ax-nul 5299  ax-pr 5420  ax-un 7708
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-ral 3061  df-rex 3070  df-rab 3432  df-v 3475  df-sbc 3774  df-csb 3890  df-dif 3947  df-un 3949  df-in 3951  df-ss 3961  df-nul 4319  df-if 4523  df-pw 4598  df-sn 4623  df-pr 4625  df-op 4629  df-uni 4902  df-iun 4992  df-br 5142  df-opab 5204  df-mpt 5225  df-id 5567  df-xp 5675  df-rel 5676  df-cnv 5677  df-co 5678  df-dm 5679  df-iota 6484  df-fun 6534  df-fv 6540  df-spr 45918
This theorem is referenced by:  sprvalpwle2  45929
  Copyright terms: Public domain W3C validator