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

Theorem prprval 43683
Description: The set of all proper unordered pairs over a given set 𝑉. (Contributed by AV, 29-Apr-2023.)
Assertion
Ref Expression
prprval (𝑉𝑊 → (Pairsproper𝑉) = {𝑝 ∣ ∃𝑎𝑉𝑏𝑉 (𝑎𝑏𝑝 = {𝑎, 𝑏})})
Distinct variable groups:   𝑉,𝑎,𝑏,𝑝   𝑊,𝑎,𝑏,𝑝

Proof of Theorem prprval
Dummy variable 𝑣 is distinct from all other variables.
StepHypRef Expression
1 df-prpr 43682 . 2 Pairsproper = (𝑣 ∈ V ↦ {𝑝 ∣ ∃𝑎𝑣𝑏𝑣 (𝑎𝑏𝑝 = {𝑎, 𝑏})})
2 rexeq 3408 . . . . 5 (𝑣 = 𝑉 → (∃𝑏𝑣 (𝑎𝑏𝑝 = {𝑎, 𝑏}) ↔ ∃𝑏𝑉 (𝑎𝑏𝑝 = {𝑎, 𝑏})))
32rexeqbi1dv 3406 . . . 4 (𝑣 = 𝑉 → (∃𝑎𝑣𝑏𝑣 (𝑎𝑏𝑝 = {𝑎, 𝑏}) ↔ ∃𝑎𝑉𝑏𝑉 (𝑎𝑏𝑝 = {𝑎, 𝑏})))
43abbidv 2887 . . 3 (𝑣 = 𝑉 → {𝑝 ∣ ∃𝑎𝑣𝑏𝑣 (𝑎𝑏𝑝 = {𝑎, 𝑏})} = {𝑝 ∣ ∃𝑎𝑉𝑏𝑉 (𝑎𝑏𝑝 = {𝑎, 𝑏})})
54adantl 484 . 2 ((𝑉𝑊𝑣 = 𝑉) → {𝑝 ∣ ∃𝑎𝑣𝑏𝑣 (𝑎𝑏𝑝 = {𝑎, 𝑏})} = {𝑝 ∣ ∃𝑎𝑉𝑏𝑉 (𝑎𝑏𝑝 = {𝑎, 𝑏})})
6 elex 3514 . 2 (𝑉𝑊𝑉 ∈ V)
7 simpr 487 . . . . . . . 8 ((𝑎𝑏𝑝 = {𝑎, 𝑏}) → 𝑝 = {𝑎, 𝑏})
87ss2abi 4045 . . . . . . 7 {𝑝 ∣ (𝑎𝑏𝑝 = {𝑎, 𝑏})} ⊆ {𝑝𝑝 = {𝑎, 𝑏}}
9 zfpair2 5333 . . . . . . . . 9 {𝑎, 𝑏} ∈ V
109eueqi 3702 . . . . . . . 8 ∃!𝑝 𝑝 = {𝑎, 𝑏}
11 euabex 5355 . . . . . . . 8 (∃!𝑝 𝑝 = {𝑎, 𝑏} → {𝑝𝑝 = {𝑎, 𝑏}} ∈ V)
1210, 11mp1i 13 . . . . . . 7 (𝑉𝑊 → {𝑝𝑝 = {𝑎, 𝑏}} ∈ V)
13 ssexg 5229 . . . . . . 7 (({𝑝 ∣ (𝑎𝑏𝑝 = {𝑎, 𝑏})} ⊆ {𝑝𝑝 = {𝑎, 𝑏}} ∧ {𝑝𝑝 = {𝑎, 𝑏}} ∈ V) → {𝑝 ∣ (𝑎𝑏𝑝 = {𝑎, 𝑏})} ∈ V)
148, 12, 13sylancr 589 . . . . . 6 (𝑉𝑊 → {𝑝 ∣ (𝑎𝑏𝑝 = {𝑎, 𝑏})} ∈ V)
1514ralrimivw 3185 . . . . 5 (𝑉𝑊 → ∀𝑏𝑉 {𝑝 ∣ (𝑎𝑏𝑝 = {𝑎, 𝑏})} ∈ V)
16 abrexex2g 7667 . . . . 5 ((𝑉𝑊 ∧ ∀𝑏𝑉 {𝑝 ∣ (𝑎𝑏𝑝 = {𝑎, 𝑏})} ∈ V) → {𝑝 ∣ ∃𝑏𝑉 (𝑎𝑏𝑝 = {𝑎, 𝑏})} ∈ V)
1715, 16mpdan 685 . . . 4 (𝑉𝑊 → {𝑝 ∣ ∃𝑏𝑉 (𝑎𝑏𝑝 = {𝑎, 𝑏})} ∈ V)
1817ralrimivw 3185 . . 3 (𝑉𝑊 → ∀𝑎𝑉 {𝑝 ∣ ∃𝑏𝑉 (𝑎𝑏𝑝 = {𝑎, 𝑏})} ∈ V)
19 abrexex2g 7667 . . 3 ((𝑉𝑊 ∧ ∀𝑎𝑉 {𝑝 ∣ ∃𝑏𝑉 (𝑎𝑏𝑝 = {𝑎, 𝑏})} ∈ V) → {𝑝 ∣ ∃𝑎𝑉𝑏𝑉 (𝑎𝑏𝑝 = {𝑎, 𝑏})} ∈ V)
2018, 19mpdan 685 . 2 (𝑉𝑊 → {𝑝 ∣ ∃𝑎𝑉𝑏𝑉 (𝑎𝑏𝑝 = {𝑎, 𝑏})} ∈ V)
211, 5, 6, 20fvmptd2 6778 1 (𝑉𝑊 → (Pairsproper𝑉) = {𝑝 ∣ ∃𝑎𝑉𝑏𝑉 (𝑎𝑏𝑝 = {𝑎, 𝑏})})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wcel 2114  ∃!weu 2653  {cab 2801  wne 3018  wral 3140  wrex 3141  Vcvv 3496  wss 3938  {cpr 4571  cfv 6357  Pairspropercprpr 43681
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-prpr 43682
This theorem is referenced by:  prprvalpw  43684  prprspr2  43687
  Copyright terms: Public domain W3C validator