Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  swapfval Structured version   Visualization version   GIF version

Theorem swapfval 50715
Description: Value of the swap functor. (Contributed by Zhi Wang, 7-Oct-2025.)
Hypotheses
Ref Expression
swapfval.c (𝜑 → 𝐶 ∈ 𝑈)
swapfval.d (𝜑 → 𝐷 ∈ 𝑉)
swapfval.s 𝑆 = (𝐶 ×c 𝐷)
swapfval.b 𝐵 = (Base‘𝑆)
swapfval.h (𝜑 → 𝐻 = (Hom ‘𝑆))
Assertion
Ref Expression
swapfval (𝜑 → (𝐶 swapF 𝐷) = ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩)
Distinct variable groups:   𝑢,𝐵,𝑣,𝑥   𝑢,𝐶,𝑣   𝑢,𝐷,𝑣   𝑓,𝐻,𝑢,𝑣   𝑢,𝑆,𝑣   𝜑,𝑢,𝑣   𝑥,𝑓
Allowed substitution hints:   𝜑(𝑥, 𝑓)   𝐵(𝑓)   𝐶(𝑥, 𝑓)   𝐷(𝑥, 𝑓)   𝑆(𝑥, 𝑓)   𝑈(𝑥, 𝑣, 𝑢, 𝑓)   𝐻(𝑥)   𝑉(𝑥, 𝑣, 𝑢, 𝑓)

Proof of Theorem swapfval
Dummy variables 𝑏 𝑐 𝑑 ℎ 𝑠 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-swapf 50713 . . 3 swapF = (𝑐 ∈ V, 𝑑 ∈ V ↦ ⦋(𝑐 ×c 𝑑) / 𝑠⦌⦋(Base‘𝑠) / 𝑏⦌⦋(Hom ‘𝑠) / ℎ⦌⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩)
21a1i 11 . 2 (𝜑 → swapF = (𝑐 ∈ V, 𝑑 ∈ V ↦ ⦋(𝑐 ×c 𝑑) / 𝑠⦌⦋(Base‘𝑠) / 𝑏⦌⦋(Hom ‘𝑠) / ℎ⦌⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩))
3 ovexd 7486 . . 3 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → (𝑐 ×c 𝑑) ∈ V)
4 simprl 783 . . . . 5 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → 𝑐 = 𝐶)
5 simprr 785 . . . . 5 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → 𝑑 = 𝐷)
64, 5oveq12d 7469 . . . 4 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → (𝑐 ×c 𝑑) = (𝐶 ×c 𝐷))
7 swapfval.s . . . 4 𝑆 = (𝐶 ×c 𝐷)
86, 7eqtr4di 2816 . . 3 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → (𝑐 ×c 𝑑) = 𝑆)
9 fvexd 6931 . . . 4 (((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → (Base‘𝑠) ∈ V)
10 simpr 490 . . . . . 6 (((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → 𝑠 = 𝑆)
1110fveq2d 6920 . . . . 5 (((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → (Base‘𝑠) = (Base‘𝑆))
12 swapfval.b . . . . 5 𝐵 = (Base‘𝑆)
1311, 12eqtr4di 2816 . . . 4 (((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → (Base‘𝑠) = 𝐵)
14 fvexd 6931 . . . . 5 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) ∈ V)
15 simplr 781 . . . . . . 7 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → 𝑠 = 𝑆)
1615fveq2d 6920 . . . . . 6 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) = (Hom ‘𝑆))
17 swapfval.h . . . . . . 7 (𝜑 → 𝐻 = (Hom ‘𝑆))
1817ad3antrrr 743 . . . . . 6 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → 𝐻 = (Hom ‘𝑆))
1916, 18eqtr4d 2801 . . . . 5 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) = 𝐻)
20 simplr 781 . . . . . . 7 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → 𝑏 = 𝐵)
2120mpteq1d 5201 . . . . . 6 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → (𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}) = (𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}))
22 simpr 490 . . . . . . . . 9 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → ℎ = 𝐻)
2322oveqd 7468 . . . . . . . 8 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → (𝑢ℎ𝑣) = (𝑢𝐻𝑣))
2423mpteq1d 5201 . . . . . . 7 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}) = (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))
2520, 20, 24mpoeq123dv 7526 . . . . . 6 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓})) = (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓})))
2621, 25opeq12d 4853 . . . . 5 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → ⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩ = ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩)
2714, 19, 26csbied2 3888 . . . 4 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → ⦋(Hom ‘𝑠) / ℎ⦌⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩ = ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩)
289, 13, 27csbied2 3888 . . 3 (((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → ⦋(Base‘𝑠) / 𝑏⦌⦋(Hom ‘𝑠) / ℎ⦌⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩ = ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩)
293, 8, 28csbied2 3888 . 2 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → ⦋(𝑐 ×c 𝑑) / 𝑠⦌⦋(Base‘𝑠) / 𝑏⦌⦋(Hom ‘𝑠) / ℎ⦌⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩ = ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩)
30 swapfval.c . . 3 (𝜑 → 𝐶 ∈ 𝑈)
3130elexd 3477 . 2 (𝜑 → 𝐶 ∈ V)
32 swapfval.d . . 3 (𝜑 → 𝐷 ∈ 𝑉)
3332elexd 3477 . 2 (𝜑 → 𝐷 ∈ V)
34 opex 5439 . . 3 ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩ ∈ V
3534a1i 11 . 2 (𝜑 → ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩ ∈ V)
362, 29, 31, 33, 35ovmpod 7604 1 (𝜑 → (𝐶 swapF 𝐷) = ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  Vcvv 3454  ⦋csb 3851  {csn 4588  ⟨cop 4840  ∪ cuni 4872   ↦ cmpt 5192  ◡ccnv 5657  ‘cfv 6566  (class class class)co 7451   ∈ cmpo 7453  Basecbs 17431  Hom chom 17483   ×c cxpc 18392   swapF cswapf 50712
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-sep 5255  ax-nul 5266  ax-pr 5398
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-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  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-iota 6520  df-fun 6568  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-swapf 50713
This theorem is used by:  swapfelvv  50716  swapf2fvala  50717  swapf1vala  50719
  Copyright terms: Public domain W3C validator