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 45765
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 45762 . 2 (𝑉𝑊 → (Pairs‘𝑉) = {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
2 id 22 . . . . . . . . 9 (𝑝 = {𝑎, 𝑏} → 𝑝 = {𝑎, 𝑏})
3 vex 3451 . . . . . . . . . . 11 𝑎 ∈ V
43prnz 4742 . . . . . . . . . 10 {𝑎, 𝑏} ≠ ∅
54a1i 11 . . . . . . . . 9 (𝑝 = {𝑎, 𝑏} → {𝑎, 𝑏} ≠ ∅)
62, 5eqnetrd 3008 . . . . . . . 8 (𝑝 = {𝑎, 𝑏} → 𝑝 ≠ ∅)
76a1i 11 . . . . . . 7 ((𝑎𝑉𝑏𝑉) → (𝑝 = {𝑎, 𝑏} → 𝑝 ≠ ∅))
87rexlimivv 3193 . . . . . 6 (∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏} → 𝑝 ≠ ∅)
98adantl 483 . . . . 5 ((𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) → 𝑝 ≠ ∅)
109pm4.71ri 562 . . . 4 ((𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ (𝑝 ≠ ∅ ∧ (𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏})))
11 ancom 462 . . . . . 6 ((𝑝 ≠ ∅ ∧ 𝑝 ∈ 𝒫 𝑉) ↔ (𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅))
1211anbi1i 625 . . . . 5 (((𝑝 ≠ ∅ ∧ 𝑝 ∈ 𝒫 𝑉) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ ((𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
13 anass 470 . . . . 5 (((𝑝 ≠ ∅ ∧ 𝑝 ∈ 𝒫 𝑉) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ (𝑝 ≠ ∅ ∧ (𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏})))
14 eldifsn 4751 . . . . . . 7 (𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ↔ (𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅))
1514bicomi 223 . . . . . 6 ((𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅) ↔ 𝑝 ∈ (𝒫 𝑉 ∖ {∅}))
1615anbi1i 625 . . . . 5 (((𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ (𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
1712, 13, 163bitr3i 301 . . . 4 ((𝑝 ≠ ∅ ∧ (𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏})) ↔ (𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
1810, 17bitri 275 . . 3 ((𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ (𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
1918rabbia2 3409 . 2 {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}} = {𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}}
201, 19eqtrdi 2789 1 (𝑉𝑊 → (Pairs‘𝑉) = {𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397   = wceq 1542  wcel 2107  wne 2940  wrex 3070  {crab 3406  cdif 3911  c0 4286  𝒫 cpw 4564  {csn 4590  {cpr 4592  cfv 6500  Pairscspr 45759
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-rep 5246  ax-sep 5260  ax-nul 5267  ax-pr 5388  ax-un 7676
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2941  df-ral 3062  df-rex 3071  df-rab 3407  df-v 3449  df-sbc 3744  df-csb 3860  df-dif 3917  df-un 3919  df-in 3921  df-ss 3931  df-nul 4287  df-if 4491  df-pw 4566  df-sn 4591  df-pr 4593  df-op 4597  df-uni 4870  df-iun 4960  df-br 5110  df-opab 5172  df-mpt 5193  df-id 5535  df-xp 5643  df-rel 5644  df-cnv 5645  df-co 5646  df-dm 5647  df-iota 6452  df-fun 6502  df-fv 6508  df-spr 45760
This theorem is referenced by:  sprvalpwle2  45771
  Copyright terms: Public domain W3C validator