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 43648
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 43647 . . 3 Pairs = (𝑣 ∈ V ↦ {𝑝 ∣ ∃𝑎𝑣𝑏𝑣 𝑝 = {𝑎, 𝑏}})
21a1i 11 . 2 (𝑉𝑊 → Pairs = (𝑣 ∈ V ↦ {𝑝 ∣ ∃𝑎𝑣𝑏𝑣 𝑝 = {𝑎, 𝑏}}))
3 id 22 . . . . 5 (𝑣 = 𝑉𝑣 = 𝑉)
4 rexeq 3408 . . . . 5 (𝑣 = 𝑉 → (∃𝑏𝑣 𝑝 = {𝑎, 𝑏} ↔ ∃𝑏𝑉 𝑝 = {𝑎, 𝑏}))
53, 4rexeqbidv 3404 . . . 4 (𝑣 = 𝑉 → (∃𝑎𝑣𝑏𝑣 𝑝 = {𝑎, 𝑏} ↔ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
65adantl 484 . . 3 ((𝑉𝑊𝑣 = 𝑉) → (∃𝑎𝑣𝑏𝑣 𝑝 = {𝑎, 𝑏} ↔ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}))
76abbidv 2887 . 2 ((𝑉𝑊𝑣 = 𝑉) → {𝑝 ∣ ∃𝑎𝑣𝑏𝑣 𝑝 = {𝑎, 𝑏}} = {𝑝 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
8 elex 3514 . 2 (𝑉𝑊𝑉 ∈ V)
9 zfpair2 5333 . . . . . . . 8 {𝑎, 𝑏} ∈ V
10 eueq 3701 . . . . . . . 8 ({𝑎, 𝑏} ∈ V ↔ ∃!𝑝 𝑝 = {𝑎, 𝑏})
119, 10mpbi 232 . . . . . . 7 ∃!𝑝 𝑝 = {𝑎, 𝑏}
12 euabex 5355 . . . . . . 7 (∃!𝑝 𝑝 = {𝑎, 𝑏} → {𝑝𝑝 = {𝑎, 𝑏}} ∈ V)
1311, 12mp1i 13 . . . . . 6 (𝑉𝑊 → {𝑝𝑝 = {𝑎, 𝑏}} ∈ V)
1413ralrimivw 3185 . . . . 5 (𝑉𝑊 → ∀𝑏𝑉 {𝑝𝑝 = {𝑎, 𝑏}} ∈ V)
15 abrexex2g 7667 . . . . 5 ((𝑉𝑊 ∧ ∀𝑏𝑉 {𝑝𝑝 = {𝑎, 𝑏}} ∈ V) → {𝑝 ∣ ∃𝑏𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
1614, 15mpdan 685 . . . 4 (𝑉𝑊 → {𝑝 ∣ ∃𝑏𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
1716ralrimivw 3185 . . 3 (𝑉𝑊 → ∀𝑎𝑉 {𝑝 ∣ ∃𝑏𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
18 abrexex2g 7667 . . 3 ((𝑉𝑊 ∧ ∀𝑎𝑉 {𝑝 ∣ ∃𝑏𝑉 𝑝 = {𝑎, 𝑏}} ∈ V) → {𝑝 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
1917, 18mpdan 685 . 2 (𝑉𝑊 → {𝑝 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
202, 7, 8, 19fvmptd 6777 1 (𝑉𝑊 → (Pairs‘𝑉) = {𝑝 ∣ ∃𝑎𝑉𝑏𝑉 𝑝 = {𝑎, 𝑏}})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  ∃!weu 2653  {cab 2801  wral 3140  wrex 3141  Vcvv 3496  {cpr 4571  cmpt 5148  cfv 6357  Pairscspr 43646
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-rep 5192  ax-sep 5205  ax-nul 5212  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-reu 3147  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-iun 4923  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-spr 43647
This theorem is referenced by:  sprvalpw  43649  sprssspr  43650  prprspr2  43687
  Copyright terms: Public domain W3C validator