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 48684
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 48679 . . . . 5 (𝑝 ⊆ (Pairs‘𝑉) → {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} ∈ 𝒫 (𝑉 × 𝑉))
3 prcom 4689 . . . . . . . . . 10 {𝑥, 𝑦} = {𝑦, 𝑥}
43a1i 11 . . . . . . . . 9 (((𝑝 ⊆ (Pairs‘𝑉) ∧ (𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉)) ∧ 𝑐 ∈ 𝑝) → {𝑥, 𝑦} = {𝑦, 𝑥})
54eqeq2d 2771 . . . . . . . 8 (((𝑝 ⊆ (Pairs‘𝑉) ∧ (𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉)) ∧ 𝑐 ∈ 𝑝) → (𝑐 = {𝑥, 𝑦} ↔ 𝑐 = {𝑦, 𝑥}))
65rexbidva 3184 . . . . . . 7 ((𝑝 ⊆ (Pairs‘𝑉) ∧ (𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉)) → (∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦} ↔ ∃𝑐 ∈ 𝑝 𝑐 = {𝑦, 𝑥}))
7 df-br 5103 . . . . . . . 8 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}})
8 opabidw 5497 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} ↔ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦})
97, 8bitri 278 . . . . . . 7 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦})
10 vex 3454 . . . . . . . 8 𝑦 ∈ V
11 vex 3454 . . . . . . . 8 𝑥 ∈ V
12 preq12 4692 . . . . . . . . . 10 ((𝑎 = 𝑦 ∧ 𝑏 = 𝑥) → {𝑎, 𝑏} = {𝑦, 𝑥})
1312eqeq2d 2771 . . . . . . . . 9 ((𝑎 = 𝑦 ∧ 𝑏 = 𝑥) → (𝑐 = {𝑎, 𝑏} ↔ 𝑐 = {𝑦, 𝑥}))
1413rexbidv 3186 . . . . . . . 8 ((𝑎 = 𝑦 ∧ 𝑏 = 𝑥) → (∃𝑐 ∈ 𝑝 𝑐 = {𝑎, 𝑏} ↔ ∃𝑐 ∈ 𝑝 𝑐 = {𝑦, 𝑥}))
15 preq12 4692 . . . . . . . . . . 11 ((𝑥 = 𝑎 ∧ 𝑦 = 𝑏) → {𝑥, 𝑦} = {𝑎, 𝑏})
1615eqeq2d 2771 . . . . . . . . . 10 ((𝑥 = 𝑎 ∧ 𝑦 = 𝑏) → (𝑐 = {𝑥, 𝑦} ↔ 𝑐 = {𝑎, 𝑏}))
1716rexbidv 3186 . . . . . . . . 9 ((𝑥 = 𝑎 ∧ 𝑦 = 𝑏) → (∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦} ↔ ∃𝑐 ∈ 𝑝 𝑐 = {𝑎, 𝑏}))
1817cbvopabv 5177 . . . . . . . 8 {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑎, 𝑏}}
1910, 11, 14, 18braba 5510 . . . . . . 7 (𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥 ↔ ∃𝑐 ∈ 𝑝 𝑐 = {𝑦, 𝑥})
206, 9, 193bitr4g 317 . . . . . 6 ((𝑝 ⊆ (Pairs‘𝑉) ∧ (𝑥 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉)) → (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥))
2120ralrimivva 3205 . . . . 5 (𝑝 ⊆ (Pairs‘𝑉) → ∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥))
222, 21jca 521 . . . 4 (𝑝 ⊆ (Pairs‘𝑉) → ({⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} ∈ 𝒫 (𝑉 × 𝑉) ∧ ∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
23 sprsymrelf.p . . . . . 6 𝑃 = 𝒫 (Pairs‘𝑉)
2423eleq2i 2852 . . . . 5 (𝑝 ∈ 𝑃 ↔ 𝑝 ∈ 𝒫 (Pairs‘𝑉))
25 vex 3454 . . . . . 6 𝑝 ∈ V
2625elpw 4560 . . . . 5 (𝑝 ∈ 𝒫 (Pairs‘𝑉) ↔ 𝑝 ⊆ (Pairs‘𝑉))
2724, 26bitri 278 . . . 4 (𝑝 ∈ 𝑃 ↔ 𝑝 ⊆ (Pairs‘𝑉))
28 nfopab1 5174 . . . . . . 7 Ⅎ𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}
2928nfeq2 2939 . . . . . 6 Ⅎ𝑥 𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}
30 nfopab2 5175 . . . . . . . 8 Ⅎ𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}
3130nfeq2 2939 . . . . . . 7 Ⅎ𝑦 𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}
32 breq 5104 . . . . . . . 8 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} → (𝑥𝑟𝑦 ↔ 𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦))
33 breq 5104 . . . . . . . 8 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} → (𝑦𝑟𝑥 ↔ 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥))
3432, 33bibi12d 348 . . . . . . 7 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} → ((𝑥𝑟𝑦 ↔ 𝑦𝑟𝑥) ↔ (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
3531, 34ralbid 3275 . . . . . 6 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} → (∀𝑦 ∈ 𝑉 (𝑥𝑟𝑦 ↔ 𝑦𝑟𝑥) ↔ ∀𝑦 ∈ 𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
3629, 35ralbid 3275 . . . . 5 (𝑟 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} → (∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥𝑟𝑦 ↔ 𝑦𝑟𝑥) ↔ ∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
3736elrab 3644 . . . 4 ({⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} ∈ {𝑟 ∈ 𝒫 (𝑉 × 𝑉) ∣ ∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥𝑟𝑦 ↔ 𝑦𝑟𝑥)} ↔ ({⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} ∈ 𝒫 (𝑉 × 𝑉) ∧ ∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑦 ↔ 𝑦{⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}}𝑥)))
3822, 27, 373imtr4i 295 . . 3 (𝑝 ∈ 𝑃 → {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} ∈ {𝑟 ∈ 𝒫 (𝑉 × 𝑉) ∣ ∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥𝑟𝑦 ↔ 𝑦𝑟𝑥)})
39 sprsymrelf.r . . 3 𝑅 = {𝑟 ∈ 𝒫 (𝑉 × 𝑉) ∣ ∀𝑥 ∈ 𝑉 ∀𝑦 ∈ 𝑉 (𝑥𝑟𝑦 ↔ 𝑦𝑟𝑥)}
4038, 39eleqtrrdi 2871 . 2 (𝑝 ∈ 𝑃 → {⟨𝑥, 𝑦⟩ ∣ ∃𝑐 ∈ 𝑝 𝑐 = {𝑥, 𝑦}} ∈ 𝑅)
411, 40fmpti 7115 1 𝐹:𝑃⟶𝑅
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∀wral 3076  ∃wrex 3086  {crab 3412   ⊆ wss 3896  𝒫 cpw 4556  {cpr 4586  ⟨cop 4834   class class class wbr 5102  {copab 5166   ↦ cmpt 5185   × cxp 5648  ⟶wf 6537  ‘cfv 6541  Pairscspr 48666
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7753
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6496  df-fun 6543  df-fn 6544  df-f 6545  df-fv 6549  df-spr 48667
This theorem is used by:  sprsymrelf1  48685  sprsymrelfo  48686
  Copyright terms: Public domain W3C validator