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 48654
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 48653 . . 3 Pairs = (𝑣 ∈ V ↦ {𝑝 ∣ ∃𝑎 ∈ 𝑣 ∃𝑏 ∈ 𝑣 𝑝 = {𝑎, 𝑏}})
21a1i 11 . 2 (𝑉 ∈ 𝑊 → Pairs = (𝑣 ∈ V ↦ {𝑝 ∣ ∃𝑎 ∈ 𝑣 ∃𝑏 ∈ 𝑣 𝑝 = {𝑎, 𝑏}}))
3 id 23 . . . . 5 (𝑣 = 𝑉 → 𝑣 = 𝑉)
4 rexeq 3315 . . . . 5 (𝑣 = 𝑉 → (∃𝑏 ∈ 𝑣 𝑝 = {𝑎, 𝑏} ↔ ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}))
53, 4rexeqbidv 3335 . . . 4 (𝑣 = 𝑉 → (∃𝑎 ∈ 𝑣 ∃𝑏 ∈ 𝑣 𝑝 = {𝑎, 𝑏} ↔ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}))
65adantl 487 . . 3 ((𝑉 ∈ 𝑊 ∧ 𝑣 = 𝑉) → (∃𝑎 ∈ 𝑣 ∃𝑏 ∈ 𝑣 𝑝 = {𝑎, 𝑏} ↔ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}))
76abbidv 2826 . 2 ((𝑉 ∈ 𝑊 ∧ 𝑣 = 𝑉) → {𝑝 ∣ ∃𝑎 ∈ 𝑣 ∃𝑏 ∈ 𝑣 𝑝 = {𝑎, 𝑏}} = {𝑝 ∣ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}})
8 elex 3471 . 2 (𝑉 ∈ 𝑊 → 𝑉 ∈ V)
9 zfpair2 5391 . . . . . . . 8 {𝑎, 𝑏} ∈ V
10 eueq 3665 . . . . . . . 8 ({𝑎, 𝑏} ∈ V ↔ ∃!𝑝 𝑝 = {𝑎, 𝑏})
119, 10mpbi 233 . . . . . . 7 ∃!𝑝 𝑝 = {𝑎, 𝑏}
12 euabex 5428 . . . . . . 7 (∃!𝑝 𝑝 = {𝑎, 𝑏} → {𝑝 ∣ 𝑝 = {𝑎, 𝑏}} ∈ V)
1311, 12mp1i 14 . . . . . 6 (𝑉 ∈ 𝑊 → {𝑝 ∣ 𝑝 = {𝑎, 𝑏}} ∈ V)
1413ralrimivw 3158 . . . . 5 (𝑉 ∈ 𝑊 → ∀𝑏 ∈ 𝑉 {𝑝 ∣ 𝑝 = {𝑎, 𝑏}} ∈ V)
15 abrexex2g 7976 . . . . 5 ((𝑉 ∈ 𝑊 ∧ ∀𝑏 ∈ 𝑉 {𝑝 ∣ 𝑝 = {𝑎, 𝑏}} ∈ V) → {𝑝 ∣ ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
1614, 15mpdan 700 . . . 4 (𝑉 ∈ 𝑊 → {𝑝 ∣ ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
1716ralrimivw 3158 . . 3 (𝑉 ∈ 𝑊 → ∀𝑎 ∈ 𝑉 {𝑝 ∣ ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
18 abrexex2g 7976 . . 3 ((𝑉 ∈ 𝑊 ∧ ∀𝑎 ∈ 𝑉 {𝑝 ∣ ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}} ∈ V) → {𝑝 ∣ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
1917, 18mpdan 700 . 2 (𝑉 ∈ 𝑊 → {𝑝 ∣ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
202, 7, 8, 19fvmptd 7001 1 (𝑉 ∈ 𝑊 → (Pairs‘𝑉) = {𝑝 ∣ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∃!weu 2593  {cab 2738  ∀wral 3076  ∃wrex 3086  Vcvv 3450  {cpr 4586   ↦ cmpt 5185  ‘cfv 6538  Pairscspr 48652
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-pr 5390  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-iota 6494  df-fun 6540  df-fv 6546  df-spr 48653
This theorem is used by:  sprvalpw  48655  sprssspr  48656  prprspr2  48693
  Copyright terms: Public domain W3C validator