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 44012
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 44007 . . . . 5 (𝑝 ⊆ (Pairs‘𝑉) → {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} ∈ 𝒫 (𝑉 × 𝑉))
3 prcom 4628 . . . . . . . . . 10 {𝑥, 𝑦} = {𝑦, 𝑥}
43a1i 11 . . . . . . . . 9 (((𝑝 ⊆ (Pairs‘𝑉) ∧ (𝑥𝑉𝑦𝑉)) ∧ 𝑐𝑝) → {𝑥, 𝑦} = {𝑦, 𝑥})
54eqeq2d 2809 . . . . . . . 8 (((𝑝 ⊆ (Pairs‘𝑉) ∧ (𝑥𝑉𝑦𝑉)) ∧ 𝑐𝑝) → (𝑐 = {𝑥, 𝑦} ↔ 𝑐 = {𝑦, 𝑥}))
65rexbidva 3255 . . . . . . 7 ((𝑝 ⊆ (Pairs‘𝑉) ∧ (𝑥𝑉𝑦𝑉)) → (∃𝑐𝑝 𝑐 = {𝑥, 𝑦} ↔ ∃𝑐𝑝 𝑐 = {𝑦, 𝑥}))
7 df-br 5031 . . . . . . . 8 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}})
8 opabidw 5377 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} ↔ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦})
97, 8bitri 278 . . . . . . 7 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦})
10 vex 3444 . . . . . . . 8 𝑦 ∈ V
11 vex 3444 . . . . . . . 8 𝑥 ∈ V
12 preq12 4631 . . . . . . . . . 10 ((𝑎 = 𝑦𝑏 = 𝑥) → {𝑎, 𝑏} = {𝑦, 𝑥})
1312eqeq2d 2809 . . . . . . . . 9 ((𝑎 = 𝑦𝑏 = 𝑥) → (𝑐 = {𝑎, 𝑏} ↔ 𝑐 = {𝑦, 𝑥}))
1413rexbidv 3256 . . . . . . . 8 ((𝑎 = 𝑦𝑏 = 𝑥) → (∃𝑐𝑝 𝑐 = {𝑎, 𝑏} ↔ ∃𝑐𝑝 𝑐 = {𝑦, 𝑥}))
15 preq12 4631 . . . . . . . . . . 11 ((𝑥 = 𝑎𝑦 = 𝑏) → {𝑥, 𝑦} = {𝑎, 𝑏})
1615eqeq2d 2809 . . . . . . . . . 10 ((𝑥 = 𝑎𝑦 = 𝑏) → (𝑐 = {𝑥, 𝑦} ↔ 𝑐 = {𝑎, 𝑏}))
1716rexbidv 3256 . . . . . . . . 9 ((𝑥 = 𝑎𝑦 = 𝑏) → (∃𝑐𝑝 𝑐 = {𝑥, 𝑦} ↔ ∃𝑐𝑝 𝑐 = {𝑎, 𝑏}))
1817cbvopabv 5102 . . . . . . . 8 {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑎, 𝑏}}
1910, 11, 14, 18braba 5389 . . . . . . 7 (𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥 ↔ ∃𝑐𝑝 𝑐 = {𝑦, 𝑥})
206, 9, 193bitr4g 317 . . . . . 6 ((𝑝 ⊆ (Pairs‘𝑉) ∧ (𝑥𝑉𝑦𝑉)) → (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥))
2120ralrimivva 3156 . . . . 5 (𝑝 ⊆ (Pairs‘𝑉) → ∀𝑥𝑉𝑦𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥))
222, 21jca 515 . . . 4 (𝑝 ⊆ (Pairs‘𝑉) → ({⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} ∈ 𝒫 (𝑉 × 𝑉) ∧ ∀𝑥𝑉𝑦𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
23 sprsymrelf.p . . . . . 6 𝑃 = 𝒫 (Pairs‘𝑉)
2423eleq2i 2881 . . . . 5 (𝑝𝑃𝑝 ∈ 𝒫 (Pairs‘𝑉))
25 vex 3444 . . . . . 6 𝑝 ∈ V
2625elpw 4501 . . . . 5 (𝑝 ∈ 𝒫 (Pairs‘𝑉) ↔ 𝑝 ⊆ (Pairs‘𝑉))
2724, 26bitri 278 . . . 4 (𝑝𝑃𝑝 ⊆ (Pairs‘𝑉))
28 nfopab1 5099 . . . . . . 7 𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}
2928nfeq2 2972 . . . . . 6 𝑥 𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}
30 nfopab2 5100 . . . . . . . 8 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}
3130nfeq2 2972 . . . . . . 7 𝑦 𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}
32 breq 5032 . . . . . . . 8 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} → (𝑥𝑟𝑦𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦))
33 breq 5032 . . . . . . . 8 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} → (𝑦𝑟𝑥𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥))
3432, 33bibi12d 349 . . . . . . 7 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} → ((𝑥𝑟𝑦𝑦𝑟𝑥) ↔ (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
3531, 34ralbid 3195 . . . . . 6 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} → (∀𝑦𝑉 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑦𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
3629, 35ralbid 3195 . . . . 5 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} → (∀𝑥𝑉𝑦𝑉 (𝑥𝑟𝑦𝑦𝑟𝑥) ↔ ∀𝑥𝑉𝑦𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
3736elrab 3628 . . . 4 ({⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} ∈ {𝑟 ∈ 𝒫 (𝑉 × 𝑉) ∣ ∀𝑥𝑉𝑦𝑉 (𝑥𝑟𝑦𝑦𝑟𝑥)} ↔ ({⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} ∈ 𝒫 (𝑉 × 𝑉) ∧ ∀𝑥𝑉𝑦𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑦𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
3822, 27, 373imtr4i 295 . . 3 (𝑝𝑃 → {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} ∈ {𝑟 ∈ 𝒫 (𝑉 × 𝑉) ∣ ∀𝑥𝑉𝑦𝑉 (𝑥𝑟𝑦𝑦𝑟𝑥)})
39 sprsymrelf.r . . 3 𝑅 = {𝑟 ∈ 𝒫 (𝑉 × 𝑉) ∣ ∀𝑥𝑉𝑦𝑉 (𝑥𝑟𝑦𝑦𝑟𝑥)}
4038, 39eleqtrrdi 2901 . 2 (𝑝𝑃 → {⟨𝑥, 𝑦⟩ ∣ ∃𝑐𝑝 𝑐 = {𝑥, 𝑦}} ∈ 𝑅)
411, 40fmpti 6853 1 𝐹:𝑃𝑅
Colors of variables: wff setvar class
Syntax hints:  wb 209  wa 399   = wceq 1538  wcel 2111  wral 3106  wrex 3107  {crab 3110  wss 3881  𝒫 cpw 4497  {cpr 4527  cop 4531   class class class wbr 5030  {copab 5092  cmpt 5110   × cxp 5517  wf 6320  cfv 6324  Pairscspr 43994
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-spr 43995
This theorem is referenced by:  sprsymrelf1  44013  sprsymrelfo  44014
  Copyright terms: Public domain W3C validator