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

Theorem sprsymrelf 44835
Description: The mapping 𝐹 is a function from the subsets of the set of pairs over a fixed set 𝑉 into the symmetric relations 𝑅 on the fixed set 𝑉. (Contributed by AV, 19-Nov-2021.)
Hypotheses
Ref Expression
sprsymrelf.p 𝑃 = 𝒫 (Pairs‘𝑉)
sprsymrelf.r 𝑅 = {𝑟 ∈ 𝒫 (𝑉 × 𝑉) ∣ ∀𝑥𝑉𝑦𝑉 (𝑥𝑟𝑦𝑦𝑟𝑥)}
sprsymrelf.f 𝐹 = (𝑝𝑃 ↦ {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}})
Assertion
Ref Expression
sprsymrelf 𝐹:𝑃𝑅
Distinct variable groups:   𝑃,𝑝   𝑉,𝑐,𝑥,𝑦   𝑝,𝑐,𝑥,𝑦,𝑟   𝑅,𝑝   𝑉,𝑟,𝑐,𝑥,𝑦
Allowed substitution hints:   𝑃(𝑥,𝑦,𝑟,𝑐)   𝑅(𝑥,𝑦,𝑟,𝑐)   𝐹(𝑥,𝑦,𝑟,𝑝,𝑐)   𝑉(𝑝)

Proof of Theorem sprsymrelf
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sprsymrelf.f . 2 𝐹 = (𝑝𝑃 ↦ {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}})
2 sprsymrelfvlem 44830 . . . . 5 (𝑝 ⊆ (Pairs‘𝑉) → {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} ∈ 𝒫 (𝑉 × 𝑉))
3 prcom 4665 . . . . . . . . . 10 {𝑥, 𝑦} = {𝑦, 𝑥}
43a1i 11 . . . . . . . . 9 (((𝑝 ⊆ (Pairs‘𝑉) ∧ (𝑥𝑉𝑦𝑉)) ∧ 𝑐𝑝) → {𝑥, 𝑦} = {𝑦, 𝑥})
54eqeq2d 2749 . . . . . . . 8 (((𝑝 ⊆ (Pairs‘𝑉) ∧ (𝑥𝑉𝑦𝑉)) ∧ 𝑐𝑝) → (𝑐 = {𝑥, 𝑦} ↔ 𝑐 = {𝑦, 𝑥}))
65rexbidva 3224 . . . . . . 7 ((𝑝 ⊆ (Pairs‘𝑉) ∧ (𝑥𝑉𝑦𝑉)) → (∃𝑐𝑝 𝑐 = {𝑥, 𝑦} ↔ ∃𝑐𝑝 𝑐 = {𝑦, 𝑥}))
7 df-br 5071 . . . . . . . 8 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}})
8 opabidw 5431 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} ↔ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦})
97, 8bitri 274 . . . . . . 7 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦})
10 vex 3426 . . . . . . . 8 𝑦 ∈ V
11 vex 3426 . . . . . . . 8 𝑥 ∈ V
12 preq12 4668 . . . . . . . . . 10 ((𝑎 = 𝑦𝑏 = 𝑥) → {𝑎, 𝑏} = {𝑦, 𝑥})
1312eqeq2d 2749 . . . . . . . . 9 ((𝑎 = 𝑦𝑏 = 𝑥) → (𝑐 = {𝑎, 𝑏} ↔ 𝑐 = {𝑦, 𝑥}))
1413rexbidv 3225 . . . . . . . 8 ((𝑎 = 𝑦𝑏 = 𝑥) → (∃𝑐𝑝 𝑐 = {𝑎, 𝑏} ↔ ∃𝑐𝑝 𝑐 = {𝑦, 𝑥}))
15 preq12 4668 . . . . . . . . . . 11 ((𝑥 = 𝑎𝑦 = 𝑏) → {𝑥, 𝑦} = {𝑎, 𝑏})
1615eqeq2d 2749 . . . . . . . . . 10 ((𝑥 = 𝑎𝑦 = 𝑏) → (𝑐 = {𝑥, 𝑦} ↔ 𝑐 = {𝑎, 𝑏}))
1716rexbidv 3225 . . . . . . . . 9 ((𝑥 = 𝑎𝑦 = 𝑏) → (∃𝑐𝑝 𝑐 = {𝑥, 𝑦} ↔ ∃𝑐𝑝 𝑐 = {𝑎, 𝑏}))
1817cbvopabv 5143 . . . . . . . 8 {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑎, 𝑏}}
1910, 11, 14, 18braba 5443 . . . . . . 7 (𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥 ↔ ∃𝑐𝑝 𝑐 = {𝑦, 𝑥})
206, 9, 193bitr4g 313 . . . . . 6 ((𝑝 ⊆ (Pairs‘𝑉) ∧ (𝑥𝑉𝑦𝑉)) → (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥))
2120ralrimivva 3114 . . . . 5 (𝑝 ⊆ (Pairs‘𝑉) → ∀𝑥𝑉𝑦𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥))
222, 21jca 511 . . . 4 (𝑝 ⊆ (Pairs‘𝑉) → ({⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} ∈ 𝒫 (𝑉 × 𝑉) ∧ ∀𝑥𝑉𝑦𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
23 sprsymrelf.p . . . . . 6 𝑃 = 𝒫 (Pairs‘𝑉)
2423eleq2i 2830 . . . . 5 (𝑝𝑃𝑝 ∈ 𝒫 (Pairs‘𝑉))
25 vex 3426 . . . . . 6 𝑝 ∈ V
2625elpw 4534 . . . . 5 (𝑝 ∈ 𝒫 (Pairs‘𝑉) ↔ 𝑝 ⊆ (Pairs‘𝑉))
2724, 26bitri 274 . . . 4 (𝑝𝑃𝑝 ⊆ (Pairs‘𝑉))
28 nfopab1 5140 . . . . . . 7 𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}
2928nfeq2 2923 . . . . . 6 𝑥 𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}
30 nfopab2 5141 . . . . . . . 8 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}
3130nfeq2 2923 . . . . . . 7 𝑦 𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}
32 breq 5072 . . . . . . . 8 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} → (𝑥𝑟𝑦𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦))
33 breq 5072 . . . . . . . 8 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} → (𝑦𝑟𝑥𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥))
3432, 33bibi12d 345 . . . . . . 7 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} → ((𝑥𝑟𝑦𝑦𝑟𝑥) ↔ (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
3531, 34ralbid 3158 . . . . . 6 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} → (∀𝑦𝑉 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑦𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
3629, 35ralbid 3158 . . . . 5 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} → (∀𝑥𝑉𝑦𝑉 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝑉𝑦𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
3736elrab 3617 . . . 4 ({⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} ∈ {𝑟 ∈ 𝒫 (𝑉 × 𝑉) ∣ ∀𝑥𝑉𝑦𝑉 (𝑥𝑟𝑦𝑦𝑟𝑥)} ↔ ({⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} ∈ 𝒫 (𝑉 × 𝑉) ∧ ∀𝑥𝑉𝑦𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
3822, 27, 373imtr4i 291 . . 3 (𝑝𝑃 → {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} ∈ {𝑟 ∈ 𝒫 (𝑉 × 𝑉) ∣ ∀𝑥𝑉𝑦𝑉 (𝑥𝑟𝑦𝑦𝑟𝑥)})
39 sprsymrelf.r . . 3 𝑅 = {𝑟 ∈ 𝒫 (𝑉 × 𝑉) ∣ ∀𝑥𝑉𝑦𝑉 (𝑥𝑟𝑦𝑦𝑟𝑥)}
4038, 39eleqtrrdi 2850 . 2 (𝑝𝑃 → {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} ∈ 𝑅)
411, 40fmpti 6968 1 𝐹:𝑃𝑅
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395   = wceq 1539  wcel 2108  wral 3063  wrex 3064  {crab 3067  wss 3883  𝒫 cpw 4530  {cpr 4560  cop 4564   class class class wbr 5070  {copab 5132  cmpt 5153   × cxp 5578  wf 6414  cfv 6418  Pairscspr 44817
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-spr 44818
This theorem is referenced by:  sprsymrelf1  44836  sprsymrelfo  44837
  Copyright terms: Public domain W3C validator