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 49251
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 49249 . . 3 swapF = (𝑐 ∈ V, 𝑑 ∈ V ↦ (𝑐 ×c 𝑑) / 𝑠(Base‘𝑠) / 𝑏(Hom ‘𝑠) / ⟨(𝑥𝑏 {𝑥}), (𝑢𝑏, 𝑣𝑏 ↦ (𝑓 ∈ (𝑢𝑣) ↦ {𝑓}))⟩)
21a1i 11 . 2 (𝜑 → swapF = (𝑐 ∈ V, 𝑑 ∈ V ↦ (𝑐 ×c 𝑑) / 𝑠(Base‘𝑠) / 𝑏(Hom ‘𝑠) / ⟨(𝑥𝑏 {𝑥}), (𝑢𝑏, 𝑣𝑏 ↦ (𝑓 ∈ (𝑢𝑣) ↦ {𝑓}))⟩))
3 ovexd 7384 . . 3 ((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) → (𝑐 ×c 𝑑) ∈ V)
4 simprl 770 . . . . 5 ((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) → 𝑐 = 𝐶)
5 simprr 772 . . . . 5 ((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) → 𝑑 = 𝐷)
64, 5oveq12d 7367 . . . 4 ((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) → (𝑐 ×c 𝑑) = (𝐶 ×c 𝐷))
7 swapfval.s . . . 4 𝑆 = (𝐶 ×c 𝐷)
86, 7eqtr4di 2782 . . 3 ((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) → (𝑐 ×c 𝑑) = 𝑆)
9 fvexd 6837 . . . 4 (((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → (Base‘𝑠) ∈ V)
10 simpr 484 . . . . . 6 (((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → 𝑠 = 𝑆)
1110fveq2d 6826 . . . . 5 (((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → (Base‘𝑠) = (Base‘𝑆))
12 swapfval.b . . . . 5 𝐵 = (Base‘𝑆)
1311, 12eqtr4di 2782 . . . 4 (((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → (Base‘𝑠) = 𝐵)
14 fvexd 6837 . . . . 5 ((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) ∈ V)
15 simplr 768 . . . . . . 7 ((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → 𝑠 = 𝑆)
1615fveq2d 6826 . . . . . 6 ((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) = (Hom ‘𝑆))
17 swapfval.h . . . . . . 7 (𝜑𝐻 = (Hom ‘𝑆))
1817ad3antrrr 730 . . . . . 6 ((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → 𝐻 = (Hom ‘𝑆))
1916, 18eqtr4d 2767 . . . . 5 ((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) = 𝐻)
20 simplr 768 . . . . . . 7 (((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ = 𝐻) → 𝑏 = 𝐵)
2120mpteq1d 5182 . . . . . 6 (((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ = 𝐻) → (𝑥𝑏 {𝑥}) = (𝑥𝐵 {𝑥}))
22 simpr 484 . . . . . . . . 9 (((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ = 𝐻) → = 𝐻)
2322oveqd 7366 . . . . . . . 8 (((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ = 𝐻) → (𝑢𝑣) = (𝑢𝐻𝑣))
2423mpteq1d 5182 . . . . . . 7 (((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ = 𝐻) → (𝑓 ∈ (𝑢𝑣) ↦ {𝑓}) = (𝑓 ∈ (𝑢𝐻𝑣) ↦ {𝑓}))
2520, 20, 24mpoeq123dv 7424 . . . . . 6 (((((𝜑 ∧ (𝑐 = 𝐶𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ = 𝐻) → (𝑢𝑏, 𝑣𝑏 ↦ (𝑓 ∈ (𝑢𝑣) ↦ {𝑓})) = (𝑢𝐵, 𝑣𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ {𝑓})))
2621, 25opeq12d 4832 . . . . 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 3460 . 2 (𝜑𝐶 ∈ V)
32 swapfval.d . . 3 (𝜑𝐷𝑉)
3332elexd 3460 . 2 (𝜑𝐷 ∈ V)
34 opex 5407 . . 3 ⟨(𝑥𝐵 {𝑥}), (𝑢𝐵, 𝑣𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ {𝑓}))⟩ ∈ V
3534a1i 11 . 2 (𝜑 → ⟨(𝑥𝐵 {𝑥}), (𝑢𝐵, 𝑣𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ {𝑓}))⟩ ∈ V)
362, 29, 31, 33, 35ovmpod 7501 1 (𝜑 → (𝐶 swapF 𝐷) = ⟨(𝑥𝐵 {𝑥}), (𝑢𝐵, 𝑣𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ {𝑓}))⟩)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1540  wcel 2109  Vcvv 3436  csb 3851  {csn 4577  cop 4583   cuni 4858  cmpt 5173  ccnv 5618  cfv 6482  (class class class)co 7349  cmpo 7351  Basecbs 17120  Hom chom 17172   ×c cxpc 18074   swapF cswapf 49248
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-sep 5235  ax-nul 5245  ax-pr 5371
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-ral 3045  df-rex 3054  df-rab 3395  df-v 3438  df-sbc 3743  df-csb 3852  df-dif 3906  df-un 3908  df-ss 3920  df-nul 4285  df-if 4477  df-sn 4578  df-pr 4580  df-op 4584  df-uni 4859  df-br 5093  df-opab 5155  df-mpt 5174  df-id 5514  df-xp 5625  df-rel 5626  df-cnv 5627  df-co 5628  df-dm 5629  df-iota 6438  df-fun 6484  df-fv 6490  df-ov 7352  df-oprab 7353  df-mpo 7354  df-swapf 49249
This theorem is referenced by:  swapfelvv  49252  swapf2fvala  49253  swapf1vala  49255
  Copyright terms: Public domain W3C validator