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 50881
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 50879 . . 3 swapF = (𝑐 ∈ V, 𝑑 ∈ V ↦ ⦋(𝑐 ×c 𝑑) / 𝑠⦌⦋(Base‘𝑠) / 𝑏⦌⦋(Hom ‘𝑠) / ℎ⦌⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩)
21a1i 11 . 2 (𝜑 → swapF = (𝑐 ∈ V, 𝑑 ∈ V ↦ ⦋(𝑐 ×c 𝑑) / 𝑠⦌⦋(Base‘𝑠) / 𝑏⦌⦋(Hom ‘𝑠) / ℎ⦌⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩))
3 ovexd 7502 . . 3 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → (𝑐 ×c 𝑑) ∈ V)
4 simprl 783 . . . . 5 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → 𝑐 = 𝐶)
5 simprr 785 . . . . 5 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → 𝑑 = 𝐷)
64, 5oveq12d 7485 . . . 4 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → (𝑐 ×c 𝑑) = (𝐶 ×c 𝐷))
7 swapfval.s . . . 4 𝑆 = (𝐶 ×c 𝐷)
86, 7eqtr4di 2827 . . 3 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → (𝑐 ×c 𝑑) = 𝑆)
9 fvexd 6946 . . . 4 (((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → (Base‘𝑠) ∈ V)
10 simpr 490 . . . . . 6 (((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → 𝑠 = 𝑆)
1110fveq2d 6935 . . . . 5 (((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → (Base‘𝑠) = (Base‘𝑆))
12 swapfval.b . . . . 5 𝐵 = (Base‘𝑆)
1311, 12eqtr4di 2827 . . . 4 (((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → (Base‘𝑠) = 𝐵)
14 fvexd 6946 . . . . 5 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) ∈ V)
15 simplr 781 . . . . . . 7 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → 𝑠 = 𝑆)
1615fveq2d 6935 . . . . . 6 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) = (Hom ‘𝑆))
17 swapfval.h . . . . . . 7 (𝜑 → 𝐻 = (Hom ‘𝑆))
1817ad3antrrr 743 . . . . . 6 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → 𝐻 = (Hom ‘𝑆))
1916, 18eqtr4d 2812 . . . . 5 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) = 𝐻)
20 simplr 781 . . . . . . 7 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → 𝑏 = 𝐵)
2120mpteq1d 5209 . . . . . 6 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → (𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}) = (𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}))
22 simpr 490 . . . . . . . . 9 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → ℎ = 𝐻)
2322oveqd 7484 . . . . . . . 8 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → (𝑢ℎ𝑣) = (𝑢𝐻𝑣))
2423mpteq1d 5209 . . . . . . 7 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}) = (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))
2520, 20, 24mpoeq123dv 7542 . . . . . 6 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓})) = (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓})))
2621, 25opeq12d 4861 . . . . 5 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → ⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩ = ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩)
2714, 19, 26csbied2 3895 . . . 4 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → ⦋(Hom ‘𝑠) / ℎ⦌⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩ = ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩)
289, 13, 27csbied2 3895 . . 3 (((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → ⦋(Base‘𝑠) / 𝑏⦌⦋(Hom ‘𝑠) / ℎ⦌⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩ = ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩)
293, 8, 28csbied2 3895 . 2 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → ⦋(𝑐 ×c 𝑑) / 𝑠⦌⦋(Base‘𝑠) / 𝑏⦌⦋(Hom ‘𝑠) / ℎ⦌⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩ = ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩)
30 swapfval.c . . 3 (𝜑 → 𝐶 ∈ 𝑈)
3130elexd 3484 . 2 (𝜑 → 𝐶 ∈ V)
32 swapfval.d . . 3 (𝜑 → 𝐷 ∈ 𝑉)
3332elexd 3484 . 2 (𝜑 → 𝐷 ∈ V)
34 opex 5447 . . 3 ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩ ∈ V
3534a1i 11 . 2 (𝜑 → ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩ ∈ V)
362, 29, 31, 33, 35ovmpod 7620 1 (𝜑 → (𝐶 swapF 𝐷) = ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2156  Vcvv 3461  ⦋csb 3858  {csn 4595  ⟨cop 4848  ∪ cuni 4880   ↦ cmpt 5200  ◡ccnv 5665  ‘cfv 6578  (class class class)co 7467   ∈ cmpo 7469  Basecbs 17452  Hom chom 17504   ×c cxpc 18417   swapF cswapf 50878
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-iota 6532  df-fun 6580  df-fv 6586  df-ov 7470  df-oprab 7471  df-mpo 7472  df-swapf 50879
This theorem is used by:  swapfelvv  50882  swapf2fvala  50883  swapf1vala  50885
  Copyright terms: Public domain W3C validator