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 49423
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 49421 . . 3 swapF = (𝑐 ∈ V, 𝑑 ∈ V ↦ (𝑐 ×c 𝑑) / 𝑠(Base‘𝑠) / 𝑏(Hom ‘𝑠) / ⟨(𝑥𝑏 {𝑥}), (𝑢𝑏, 𝑣𝑏 ↦ (𝑓 ∈ (𝑢𝑣) ↦ {𝑓}))⟩)
21a1i 11 . 2 (𝜑 → swapF = (𝑐 ∈ V, 𝑑 ∈ V ↦ (𝑐 ×c 𝑑) / 𝑠(Base‘𝑠) / 𝑏(Hom ‘𝑠) / ⟨(𝑥𝑏 {𝑥}), (𝑢𝑏, 𝑣𝑏 ↦ (𝑓 ∈ (𝑢𝑣) ↦ {𝑓}))⟩))
3 ovexd 7390 . . 3 ((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) → (𝑐 ×c 𝑑) ∈ V)
4 simprl 770 . . . . 5 ((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) → 𝑐 = 𝐶)
5 simprr 772 . . . . 5 ((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) → 𝑑 = 𝐷)
64, 5oveq12d 7373 . . . 4 ((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) → (𝑐 ×c 𝑑) = (𝐶 ×c 𝐷))
7 swapfval.s . . . 4 𝑆 = (𝐶 ×c 𝐷)
86, 7eqtr4di 2786 . . 3 ((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) → (𝑐 ×c 𝑑) = 𝑆)
9 fvexd 6846 . . . 4 (((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → (Base‘𝑠) ∈ V)
10 simpr 484 . . . . . 6 (((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → 𝑠 = 𝑆)
1110fveq2d 6835 . . . . 5 (((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → (Base‘𝑠) = (Base‘𝑆))
12 swapfval.b . . . . 5 𝐵 = (Base‘𝑆)
1311, 12eqtr4di 2786 . . . 4 (((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → (Base‘𝑠) = 𝐵)
14 fvexd 6846 . . . . 5 ((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) ∈ V)
15 simplr 768 . . . . . . 7 ((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → 𝑠 = 𝑆)
1615fveq2d 6835 . . . . . 6 ((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) = (Hom ‘𝑆))
17 swapfval.h . . . . . . 7 (𝜑𝐻 = (Hom ‘𝑆))
1817ad3antrrr 730 . . . . . 6 ((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → 𝐻 = (Hom ‘𝑆))
1916, 18eqtr4d 2771 . . . . 5 ((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) = 𝐻)
20 simplr 768 . . . . . . 7 (((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ = 𝐻) → 𝑏 = 𝐵)
2120mpteq1d 5185 . . . . . 6 (((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ = 𝐻) → (𝑥𝑏 {𝑥}) = (𝑥𝐵 {𝑥}))
22 simpr 484 . . . . . . . . 9 (((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ = 𝐻) → = 𝐻)
2322oveqd 7372 . . . . . . . 8 (((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ = 𝐻) → (𝑢𝑣) = (𝑢𝐻𝑣))
2423mpteq1d 5185 . . . . . . 7 (((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ = 𝐻) → (𝑓 ∈ (𝑢𝑣) ↦ {𝑓}) = (𝑓 ∈ (𝑢𝐻𝑣) ↦ {𝑓}))
2520, 20, 24mpoeq123dv 7430 . . . . . 6 (((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ = 𝐻) → (𝑢𝑏, 𝑣𝑏 ↦ (𝑓 ∈ (𝑢𝑣) ↦ {𝑓})) = (𝑢𝐵, 𝑣𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ {𝑓})))
2621, 25opeq12d 4834 . . . . 5 (((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ = 𝐻) → ⟨(𝑥𝑏 {𝑥}), (𝑢𝑏, 𝑣𝑏 ↦ (𝑓 ∈ (𝑢𝑣) ↦ {𝑓}))⟩ = ⟨(𝑥𝐵 {𝑥}), (𝑢𝐵, 𝑣𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ {𝑓}))⟩)
2714, 19, 26csbied2 3883 . . . 4 ((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) / ⟨(𝑥𝑏 {𝑥}), (𝑢𝑏, 𝑣𝑏 ↦ (𝑓 ∈ (𝑢𝑣) ↦ {𝑓}))⟩ = ⟨(𝑥𝐵 {𝑥}), (𝑢𝐵, 𝑣𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ {𝑓}))⟩)
289, 13, 27csbied2 3883 . . 3 (((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → (Base‘𝑠) / 𝑏(Hom ‘𝑠) / ⟨(𝑥𝑏 {𝑥}), (𝑢𝑏, 𝑣𝑏 ↦ (𝑓 ∈ (𝑢𝑣) ↦ {𝑓}))⟩ = ⟨(𝑥𝐵 {𝑥}), (𝑢𝐵, 𝑣𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ {𝑓}))⟩)
293, 8, 28csbied2 3883 . 2 ((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) → (𝑐 ×c 𝑑) / 𝑠(Base‘𝑠) / 𝑏(Hom ‘𝑠) / ⟨(𝑥𝑏 {𝑥}), (𝑢𝑏, 𝑣𝑏 ↦ (𝑓 ∈ (𝑢𝑣) ↦ {𝑓}))⟩ = ⟨(𝑥𝐵 {𝑥}), (𝑢𝐵, 𝑣𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ {𝑓}))⟩)
30 swapfval.c . . 3 (𝜑𝐶𝑈)
3130elexd 3461 . 2 (𝜑𝐶 ∈ V)
32 swapfval.d . . 3 (𝜑𝐷𝑉)
3332elexd 3461 . 2 (𝜑𝐷 ∈ V)
34 opex 5409 . . 3 ⟨(𝑥𝐵 {𝑥}), (𝑢𝐵, 𝑣𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ {𝑓}))⟩ ∈ V
3534a1i 11 . 2 (𝜑 → ⟨(𝑥𝐵 {𝑥}), (𝑢𝐵, 𝑣𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ {𝑓}))⟩ ∈ V)
362, 29, 31, 33, 35ovmpod 7507 1 (𝜑 → (𝐶 swapF 𝐷) = ⟨(𝑥𝐵 {𝑥}), (𝑢𝐵, 𝑣𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ {𝑓}))⟩)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1541  wcel 2113  Vcvv 3437  csb 3846  {csn 4577  cop 4583   cuni 4860  cmpt 5176  ccnv 5620  cfv 6489  (class class class)co 7355  cmpo 7357  Basecbs 17127  Hom chom 17179   ×c cxpc 18082   swapF cswapf 49420
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2182  ax-ext 2705  ax-sep 5238  ax-nul 5248  ax-pr 5374
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2537  df-eu 2566  df-clab 2712  df-cleq 2725  df-clel 2808  df-nfc 2882  df-ne 2930  df-ral 3049  df-rex 3058  df-rab 3397  df-v 3439  df-sbc 3738  df-csb 3847  df-dif 3901  df-un 3903  df-ss 3915  df-nul 4283  df-if 4477  df-sn 4578  df-pr 4580  df-op 4584  df-uni 4861  df-br 5096  df-opab 5158  df-mpt 5177  df-id 5516  df-xp 5627  df-rel 5628  df-cnv 5629  df-co 5630  df-dm 5631  df-iota 6445  df-fun 6491  df-fv 6497  df-ov 7358  df-oprab 7359  df-mpo 7360  df-swapf 49421
This theorem is referenced by:  swapfelvv  49424  swapf2fvala  49425  swapf1vala  49427
  Copyright terms: Public domain W3C validator