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

Theorem sprval 43996
Description: The set of all unordered pairs over a given set 𝑉. (Contributed by AV, 21-Nov-2021.)
Assertion
Ref Expression
sprval (𝑉𝑊 → (Pairs‘𝑉) = {𝑝 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
Distinct variable groups:   𝑉,𝑎,𝑏,𝑝   𝑊,𝑎,𝑏,𝑝

Proof of Theorem sprval
Dummy variable 𝑣 is distinct from all other variables.
StepHypRef Expression
1 df-spr 43995 . . 3 Pairs = (𝑣 ∈ V ↦ {𝑝 ∣ ∃𝑎𝑣𝑏𝑣 𝑝 = {𝑎, 𝑏}})
21a1i 11 . 2 (𝑉𝑊 → Pairs = (𝑣 ∈ V ↦ {𝑝 ∣ ∃𝑎𝑣𝑏𝑣 𝑝 = {𝑎, 𝑏}}))
3 id 22 . . . . 5 (𝑣 = 𝑉𝑣 = 𝑉)
4 rexeq 3359 . . . . 5 (𝑣 = 𝑉 → (∃𝑏𝑣 𝑝 = {𝑎, 𝑏} ↔ ∃𝑏𝑉 𝑝 = {𝑎, 𝑏}))
53, 4rexeqbidv 3355 . . . 4 (𝑣 = 𝑉 → (∃𝑎𝑣𝑏𝑣 𝑝 = {𝑎, 𝑏} ↔ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
65adantl 485 . . 3 ((𝑉𝑊𝑣 = 𝑉) → (∃𝑎𝑣𝑏𝑣 𝑝 = {𝑎, 𝑏} ↔ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
76abbidv 2862 . 2 ((𝑉𝑊𝑣 = 𝑉) → {𝑝 ∣ ∃𝑎𝑣𝑏𝑣 𝑝 = {𝑎, 𝑏}} = {𝑝 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
8 elex 3459 . 2 (𝑉𝑊𝑉 ∈ V)
9 zfpair2 5296 . . . . . . . 8 {𝑎, 𝑏} ∈ V
10 eueq 3647 . . . . . . . 8 ({𝑎, 𝑏} ∈ V ↔ ∃!𝑝 𝑝 = {𝑎, 𝑏})
119, 10mpbi 233 . . . . . . 7 ∃!𝑝 𝑝 = {𝑎, 𝑏}
12 euabex 5318 . . . . . . 7 (∃!𝑝 𝑝 = {𝑎, 𝑏} → {𝑝𝑝 = {𝑎, 𝑏}} ∈ V)
1311, 12mp1i 13 . . . . . 6 (𝑉𝑊 → {𝑝𝑝 = {𝑎, 𝑏}} ∈ V)
1413ralrimivw 3150 . . . . 5 (𝑉𝑊 → ∀𝑏𝑉 {𝑝𝑝 = {𝑎, 𝑏}} ∈ V)
15 abrexex2g 7647 . . . . 5 ((𝑉𝑊 ∧ ∀𝑏𝑉 {𝑝𝑝 = {𝑎, 𝑏}} ∈ V) → {𝑝 ∣ ∃𝑏𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
1614, 15mpdan 686 . . . 4 (𝑉𝑊 → {𝑝 ∣ ∃𝑏𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
1716ralrimivw 3150 . . 3 (𝑉𝑊 → ∀𝑎𝑉 {𝑝 ∣ ∃𝑏𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
18 abrexex2g 7647 . . 3 ((𝑉𝑊 ∧ ∀𝑎𝑉 {𝑝 ∣ ∃𝑏𝑉 𝑝 = {𝑎, 𝑏}} ∈ V) → {𝑝 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
1917, 18mpdan 686 . 2 (𝑉𝑊 → {𝑝 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
202, 7, 8, 19fvmptd 6752 1 (𝑉𝑊 → (Pairs‘𝑉) = {𝑝 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wcel 2111  ∃!weu 2628  {cab 2776  wral 3106  wrex 3107  Vcvv 3441  {cpr 4527  cmpt 5110  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-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:  sprvalpw  43997  sprssspr  43998  prprspr2  44035
  Copyright terms: Public domain W3C validator