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 48850
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 48845 . . . . 5 (𝑝 ⊆ (Pairs‘𝑉) → {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} ∈ 𝒫 (𝑉 × 𝑉))
3 prcom 4695 . . . . . . . . . 10 {𝑥, 𝑦} = {𝑦, 𝑥}
43a1i 11 . . . . . . . . 9 (((𝑝 ⊆ (Pairs‘𝑉) ∧ (𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉)) ∧ 𝑐 ∈ 𝑝) → {𝑥, 𝑦} = {𝑦, 𝑥})
54eqeq2d 2774 . . . . . . . 8 (((𝑝 ⊆ (Pairs‘𝑉) ∧ (𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉)) ∧ 𝑐 ∈ 𝑝) → (𝑐 = {𝑥, 𝑦} ↔ 𝑐 = {𝑦, 𝑥}))
65rexbidva 3188 . . . . . . 7 ((𝑝 ⊆ (Pairs‘𝑉) ∧ (𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉)) → (∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦} ↔ ∃𝑐 ∈ 𝑝 𝑐 = {𝑦, 𝑥}))
7 df-br 5109 . . . . . . . 8 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}})
8 opabidw 5505 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} ↔ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦})
97, 8bitri 278 . . . . . . 7 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦})
10 vex 3458 . . . . . . . 8 𝑦 ∈ V
11 vex 3458 . . . . . . . 8 𝑥 ∈ V
12 preq12 4698 . . . . . . . . . 10 ((𝑎 = 𝑦 ∧ 𝑏 = 𝑥) → {𝑎, 𝑏} = {𝑦, 𝑥})
1312eqeq2d 2774 . . . . . . . . 9 ((𝑎 = 𝑦 ∧ 𝑏 = 𝑥) → (𝑐 = {𝑎, 𝑏} ↔ 𝑐 = {𝑦, 𝑥}))
1413rexbidv 3190 . . . . . . . 8 ((𝑎 = 𝑦 ∧ 𝑏 = 𝑥) → (∃𝑐 ∈ 𝑝 𝑐 = {𝑎, 𝑏} ↔ ∃𝑐 ∈ 𝑝 𝑐 = {𝑦, 𝑥}))
15 preq12 4698 . . . . . . . . . . 11 ((𝑥 = 𝑎 ∧ 𝑦 = 𝑏) → {𝑥, 𝑦} = {𝑎, 𝑏})
1615eqeq2d 2774 . . . . . . . . . 10 ((𝑥 = 𝑎 ∧ 𝑦 = 𝑏) → (𝑐 = {𝑥, 𝑦} ↔ 𝑐 = {𝑎, 𝑏}))
1716rexbidv 3190 . . . . . . . . 9 ((𝑥 = 𝑎 ∧ 𝑦 = 𝑏) → (∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦} ↔ ∃𝑐 ∈ 𝑝 𝑐 = {𝑎, 𝑏}))
1817cbvopabv 5184 . . . . . . . 8 {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑎, 𝑏}}
1910, 11, 14, 18braba 5518 . . . . . . 7 (𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥 ↔ ∃𝑐 ∈ 𝑝 𝑐 = {𝑦, 𝑥})
206, 9, 193bitr4g 317 . . . . . 6 ((𝑝 ⊆ (Pairs‘𝑉) ∧ (𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉)) → (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥))
2120ralrimivva 3209 . . . . 5 (𝑝 ⊆ (Pairs‘𝑉) → ∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥))
222, 21jca 521 . . . 4 (𝑝 ⊆ (Pairs‘𝑉) → ({⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} ∈ 𝒫 (𝑉 × 𝑉) ∧ ∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
23 sprsymrelf.p . . . . . 6 𝑃 = 𝒫 (Pairs‘𝑉)
2423eleq2i 2856 . . . . 5 (𝑝 ∈ 𝑃 ↔ 𝑝 ∈ 𝒫 (Pairs‘𝑉))
25 vex 3458 . . . . . 6 𝑝 ∈ V
2625elpw 4564 . . . . 5 (𝑝 ∈ 𝒫 (Pairs‘𝑉) ↔ 𝑝 ⊆ (Pairs‘𝑉))
2724, 26bitri 278 . . . 4 (𝑝 ∈ 𝑃 ↔ 𝑝 ⊆ (Pairs‘𝑉))
28 nfopab1 5181 . . . . . . 7 Ⅎ𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}
2928nfeq2 2943 . . . . . 6 Ⅎ𝑥 𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}
30 nfopab2 5182 . . . . . . . 8 Ⅎ𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}
3130nfeq2 2943 . . . . . . 7 Ⅎ𝑦 𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}
32 breq 5110 . . . . . . . 8 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} → (𝑥𝑟𝑦 ↔ 𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦))
33 breq 5110 . . . . . . . 8 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} → (𝑦𝑟𝑥 ↔ 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥))
3432, 33bibi12d 348 . . . . . . 7 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} → ((𝑥𝑟𝑦 ↔ 𝑦𝑟𝑥) ↔ (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
3531, 34ralbid 3279 . . . . . 6 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} → (∀𝑦 ∈ 𝑉 (𝑥𝑟𝑦 ↔ 𝑦𝑟𝑥) ↔ ∀𝑦 ∈ 𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
3629, 35ralbid 3279 . . . . 5 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} → (∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥𝑟𝑦 ↔ 𝑦𝑟𝑥) ↔ ∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
3736elrab 3648 . . . 4 ({⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} ∈ {𝑟 ∈ 𝒫 (𝑉 × 𝑉) ∣ ∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥𝑟𝑦 ↔ 𝑦𝑟𝑥)} ↔ ({⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} ∈ 𝒫 (𝑉 × 𝑉) ∧ ∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
3822, 27, 373imtr4i 295 . . 3 (𝑝 ∈ 𝑃 → {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} ∈ {𝑟 ∈ 𝒫 (𝑉 × 𝑉) ∣ ∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥𝑟𝑦 ↔ 𝑦𝑟𝑥)})
39 sprsymrelf.r . . 3 𝑅 = {𝑟 ∈ 𝒫 (𝑉 × 𝑉) ∣ ∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥𝑟𝑦 ↔ 𝑦𝑟𝑥)}
4038, 39eleqtrrdi 2875 . 2 (𝑝 ∈ 𝑃 → {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} ∈ 𝑅)
411, 40fmpti 7144 1 𝐹:𝑃⟶𝑅
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∀wral 3080  ∃wrex 3090  {crab 3416   ⊆ wss 3900  𝒫 cpw 4560  {cpr 4590  ⟨cop 4840   class class class wbr 5108  {copab 5173   ↦ cmpt 5192   × cxp 5656  ⟶wf 6562  ‘cfv 6566  Pairscspr 48832
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5238  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-fv 6574  df-spr 48833
This theorem is used by:  sprsymrelf1  48851  sprsymrelfo  48852
  Copyright terms: Public domain W3C validator