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 50339
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 50337 . . 3 swapF = (𝑐 ∈ V, 𝑑 ∈ V ↦ ⦋(𝑐 ×c 𝑑) / 𝑠⦌⦋(Base‘𝑠) / 𝑏⦌⦋(Hom ‘𝑠) / ℎ⦌⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩)
21a1i 11 . 2 (𝜑 → swapF = (𝑐 ∈ V, 𝑑 ∈ V ↦ ⦋(𝑐 ×c 𝑑) / 𝑠⦌⦋(Base‘𝑠) / 𝑏⦌⦋(Hom ‘𝑠) / ℎ⦌⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩))
3 ovexd 7453 . . 3 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → (𝑐 ×c 𝑑) ∈ V)
4 simprl 783 . . . . 5 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → 𝑐 = 𝐶)
5 simprr 785 . . . . 5 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → 𝑑 = 𝐷)
64, 5oveq12d 7436 . . . 4 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → (𝑐 ×c 𝑑) = (𝐶 ×c 𝐷))
7 swapfval.s . . . 4 𝑆 = (𝐶 ×c 𝐷)
86, 7eqtr4di 2814 . . 3 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → (𝑐 ×c 𝑑) = 𝑆)
9 fvexd 6898 . . . 4 (((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → (Base‘𝑠) ∈ V)
10 simpr 490 . . . . . 6 (((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → 𝑠 = 𝑆)
1110fveq2d 6887 . . . . 5 (((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → (Base‘𝑠) = (Base‘𝑆))
12 swapfval.b . . . . 5 𝐵 = (Base‘𝑆)
1311, 12eqtr4di 2814 . . . 4 (((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → (Base‘𝑠) = 𝐵)
14 fvexd 6898 . . . . 5 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) ∈ V)
15 simplr 781 . . . . . . 7 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → 𝑠 = 𝑆)
1615fveq2d 6887 . . . . . 6 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) = (Hom ‘𝑆))
17 swapfval.h . . . . . . 7 (𝜑 → 𝐻 = (Hom ‘𝑆))
1817ad3antrrr 743 . . . . . 6 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → 𝐻 = (Hom ‘𝑆))
1916, 18eqtr4d 2799 . . . . 5 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → (Hom ‘𝑠) = 𝐻)
20 simplr 781 . . . . . . 7 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → 𝑏 = 𝐵)
2120mpteq1d 5195 . . . . . 6 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → (𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}) = (𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}))
22 simpr 490 . . . . . . . . 9 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → ℎ = 𝐻)
2322oveqd 7435 . . . . . . . 8 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → (𝑢ℎ𝑣) = (𝑢𝐻𝑣))
2423mpteq1d 5195 . . . . . . 7 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}) = (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))
2520, 20, 24mpoeq123dv 7493 . . . . . 6 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓})) = (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓})))
2621, 25opeq12d 4841 . . . . 5 (((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) ∧ ℎ = 𝐻) → ⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩ = ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩)
2714, 19, 26csbied2 3884 . . . 4 ((((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) ∧ 𝑏 = 𝐵) → ⦋(Hom ‘𝑠) / ℎ⦌⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩ = ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩)
289, 13, 27csbied2 3884 . . 3 (((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) ∧ 𝑠 = 𝑆) → ⦋(Base‘𝑠) / 𝑏⦌⦋(Hom ‘𝑠) / ℎ⦌⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩ = ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩)
293, 8, 28csbied2 3884 . 2 ((𝜑 ∧ (𝑐 = 𝐶 ∧ 𝑑 = 𝐷)) → ⦋(𝑐 ×c 𝑑) / 𝑠⦌⦋(Base‘𝑠) / 𝑏⦌⦋(Hom ‘𝑠) / ℎ⦌⟨(𝑥 ∈ 𝑏 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝑏, 𝑣 ∈ 𝑏 ↦ (𝑓 ∈ (𝑢ℎ𝑣) ↦ ∪ ◡{𝑓}))⟩ = ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩)
30 swapfval.c . . 3 (𝜑 → 𝐶 ∈ 𝑈)
3130elexd 3474 . 2 (𝜑 → 𝐶 ∈ V)
32 swapfval.d . . 3 (𝜑 → 𝐷 ∈ 𝑉)
3332elexd 3474 . 2 (𝜑 → 𝐷 ∈ V)
34 opex 5432 . . 3 ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩ ∈ V
3534a1i 11 . 2 (𝜑 → ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩ ∈ V)
362, 29, 31, 33, 35ovmpod 7570 1 (𝜑 → (𝐶 swapF 𝐷) = ⟨(𝑥 ∈ 𝐵 ↦ ∪ ◡{𝑥}), (𝑢 ∈ 𝐵, 𝑣 ∈ 𝐵 ↦ (𝑓 ∈ (𝑢𝐻𝑣) ↦ ∪ ◡{𝑓}))⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Vcvv 3451  ⦋csb 3847  {csn 4584  ⟨cop 4590  ∪ cuni 4867   ↦ cmpt 5186  ◡ccnv 5650  ‘cfv 6537  (class class class)co 7418   ∈ cmpo 7420  Basecbs 17380  Hom chom 17432   ×c cxpc 18335   swapF cswapf 50336
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6493  df-fun 6539  df-fv 6545  df-ov 7421  df-oprab 7422  df-mpo 7423  df-swapf 50337
This theorem is used by:  swapfelvv  50340  swapf2fvala  50341  swapf1vala  50343
  Copyright terms: Public domain W3C validator