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 48505
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 48504 . . 3 Pairs = (𝑣 ∈ V ↦ {𝑝 ∣ ∃𝑎 ∈ 𝑣 ∃𝑏 ∈ 𝑣 𝑝 = {𝑎, 𝑏}})
21a1i 11 . 2 (𝑉 ∈ 𝑊 → Pairs = (𝑣 ∈ V ↦ {𝑝 ∣ ∃𝑎 ∈ 𝑣 ∃𝑏 ∈ 𝑣 𝑝 = {𝑎, 𝑏}}))
3 id 23 . . . . 5 (𝑣 = 𝑉 → 𝑣 = 𝑉)
4 rexeq 3316 . . . . 5 (𝑣 = 𝑉 → (∃𝑏 ∈ 𝑣 𝑝 = {𝑎, 𝑏} ↔ ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}))
53, 4rexeqbidv 3336 . . . 4 (𝑣 = 𝑉 → (∃𝑎 ∈ 𝑣 ∃𝑏 ∈ 𝑣 𝑝 = {𝑎, 𝑏} ↔ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}))
65adantl 487 . . 3 ((𝑉 ∈ 𝑊 ∧ 𝑣 = 𝑉) → (∃𝑎 ∈ 𝑣 ∃𝑏 ∈ 𝑣 𝑝 = {𝑎, 𝑏} ↔ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}))
76abbidv 2827 . 2 ((𝑉 ∈ 𝑊 ∧ 𝑣 = 𝑉) → {𝑝 ∣ ∃𝑎 ∈ 𝑣 ∃𝑏 ∈ 𝑣 𝑝 = {𝑎, 𝑏}} = {𝑝 ∣ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}})
8 elex 3472 . 2 (𝑉 ∈ 𝑊 → 𝑉 ∈ V)
9 zfpair2 5392 . . . . . . . 8 {𝑎, 𝑏} ∈ V
10 eueq 3666 . . . . . . . 8 ({𝑎, 𝑏} ∈ V ↔ ∃!𝑝 𝑝 = {𝑎, 𝑏})
119, 10mpbi 233 . . . . . . 7 ∃!𝑝 𝑝 = {𝑎, 𝑏}
12 euabex 5429 . . . . . . 7 (∃!𝑝 𝑝 = {𝑎, 𝑏} → {𝑝 ∣ 𝑝 = {𝑎, 𝑏}} ∈ V)
1311, 12mp1i 14 . . . . . 6 (𝑉 ∈ 𝑊 → {𝑝 ∣ 𝑝 = {𝑎, 𝑏}} ∈ V)
1413ralrimivw 3159 . . . . 5 (𝑉 ∈ 𝑊 → ∀𝑏 ∈ 𝑉 {𝑝 ∣ 𝑝 = {𝑎, 𝑏}} ∈ V)
15 abrexex2g 7965 . . . . 5 ((𝑉 ∈ 𝑊 ∧ ∀𝑏 ∈ 𝑉 {𝑝 ∣ 𝑝 = {𝑎, 𝑏}} ∈ V) → {𝑝 ∣ ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
1614, 15mpdan 700 . . . 4 (𝑉 ∈ 𝑊 → {𝑝 ∣ ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
1716ralrimivw 3159 . . 3 (𝑉 ∈ 𝑊 → ∀𝑎 ∈ 𝑉 {𝑝 ∣ ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
18 abrexex2g 7965 . . 3 ((𝑉 ∈ 𝑊 ∧ ∀𝑎 ∈ 𝑉 {𝑝 ∣ ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}} ∈ V) → {𝑝 ∣ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
1917, 18mpdan 700 . 2 (𝑉 ∈ 𝑊 → {𝑝 ∣ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}} ∈ V)
202, 7, 8, 19fvmptd 6993 1 (𝑉 ∈ 𝑊 → (Pairs‘𝑉) = {𝑝 ∣ ∃𝑎 ∈ 𝑉 ∃𝑏 ∈ 𝑉 𝑝 = {𝑎, 𝑏}})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ∃!weu 2594  {cab 2739  ∀wral 3077  ∃wrex 3087  Vcvv 3451  {cpr 4586   ↦ cmpt 5186  ‘cfv 6531  Pairscspr 48503
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-pr 5391  ax-un 7740
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6487  df-fun 6533  df-fv 6539  df-spr 48504
This theorem is used by:  sprvalpw  48506  sprssspr  48507  prprspr2  48544
  Copyright terms: Public domain W3C validator