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 44000
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 43997 . 2 (𝑉𝑊 → (Pairs‘𝑉) = {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
2 id 22 . . . . . . . . 9 (𝑝 = {𝑎, 𝑏} → 𝑝 = {𝑎, 𝑏})
3 vex 3444 . . . . . . . . . . 11 𝑎 ∈ V
43prnz 4673 . . . . . . . . . 10 {𝑎, 𝑏} ≠ ∅
54a1i 11 . . . . . . . . 9 (𝑝 = {𝑎, 𝑏} → {𝑎, 𝑏} ≠ ∅)
62, 5eqnetrd 3054 . . . . . . . 8 (𝑝 = {𝑎, 𝑏} → 𝑝 ≠ ∅)
76a1i 11 . . . . . . 7 ((𝑎𝑉𝑏𝑉) → (𝑝 = {𝑎, 𝑏} → 𝑝 ≠ ∅))
87rexlimivv 3251 . . . . . 6 (∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏} → 𝑝 ≠ ∅)
98adantl 485 . . . . 5 ((𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) → 𝑝 ≠ ∅)
109pm4.71ri 564 . . . 4 ((𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ (𝑝 ≠ ∅ ∧ (𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏})))
11 ancom 464 . . . . . 6 ((𝑝 ≠ ∅ ∧ 𝑝 ∈ 𝒫 𝑉) ↔ (𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅))
1211anbi1i 626 . . . . 5 (((𝑝 ≠ ∅ ∧ 𝑝 ∈ 𝒫 𝑉) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ ((𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
13 anass 472 . . . . 5 (((𝑝 ≠ ∅ ∧ 𝑝 ∈ 𝒫 𝑉) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ (𝑝 ≠ ∅ ∧ (𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏})))
14 eldifsn 4680 . . . . . . 7 (𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ↔ (𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅))
1514bicomi 227 . . . . . 6 ((𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅) ↔ 𝑝 ∈ (𝒫 𝑉 ∖ {∅}))
1615anbi1i 626 . . . . 5 (((𝑝 ∈ 𝒫 𝑉𝑝 ≠ ∅) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ (𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
1712, 13, 163bitr3i 304 . . . 4 ((𝑝 ≠ ∅ ∧ (𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏})) ↔ (𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
1810, 17bitri 278 . . 3 ((𝑝 ∈ 𝒫 𝑉 ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}) ↔ (𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∧ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
1918rabbia2 3424 . 2 {𝑝 ∈ 𝒫 𝑉 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}} = {𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}}
201, 19eqtrdi 2849 1 (𝑉𝑊 → (Pairs‘𝑉) = {𝑝 ∈ (𝒫 𝑉 ∖ {∅}) ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1538  wcel 2111  wne 2987  wrex 3107  {crab 3110  cdif 3878  c0 4243  𝒫 cpw 4497  {csn 4525  {cpr 4527  cfv 6324  Pairscspr 43994
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 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-spr 43995
This theorem is referenced by:  sprvalpwle2  44006
  Copyright terms: Public domain W3C validator