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

Theorem swapf2f1oa 50055
Description: The morphism part of the swap functor is a bijection between hom-sets. (Contributed by Zhi Wang, 9-Oct-2025.)
Hypotheses
Ref Expression
swapf1f1o.o (𝜑 → (𝐶 swapF 𝐷) = ⟨𝑂, 𝑃⟩)
swapf1f1o.s 𝑆 = (𝐶 ×c 𝐷)
swapf1f1o.t 𝑇 = (𝐷 ×c 𝐶)
swapf2f1o.h 𝐻 = (Hom ‘𝑆)
swapf2f1o.j 𝐽 = (Hom ‘𝑇)
swapf2f1oa.b 𝐵 = (Base‘𝑆)
swapf2f1oa.x (𝜑𝑋𝐵)
swapf2f1oa.y (𝜑𝑌𝐵)
Assertion
Ref Expression
swapf2f1oa (𝜑 → (𝑋𝑃𝑌):(𝑋𝐻𝑌)–1-1-onto→((𝑂𝑋)𝐽(𝑂𝑌)))

Proof of Theorem swapf2f1oa
StepHypRef Expression
1 swapf1f1o.o . . 3 (𝜑 → (𝐶 swapF 𝐷) = ⟨𝑂, 𝑃⟩)
2 swapf1f1o.s . . 3 𝑆 = (𝐶 ×c 𝐷)
3 swapf1f1o.t . . 3 𝑇 = (𝐷 ×c 𝐶)
4 swapf2f1o.h . . 3 𝐻 = (Hom ‘𝑆)
5 swapf2f1o.j . . 3 𝐽 = (Hom ‘𝑇)
6 swapf2f1oa.x . . . . 5 (𝜑𝑋𝐵)
7 swapf2f1oa.b . . . . . 6 𝐵 = (Base‘𝑆)
8 eqid 2763 . . . . . . 7 (Base‘𝐶) = (Base‘𝐶)
9 eqid 2763 . . . . . . 7 (Base‘𝐷) = (Base‘𝐷)
102, 8, 9xpcbas 18229 . . . . . 6 ((Base‘𝐶) × (Base‘𝐷)) = (Base‘𝑆)
117, 10eqtr4i 2789 . . . . 5 𝐵 = ((Base‘𝐶) × (Base‘𝐷))
126, 11eleqtrdi 2873 . . . 4 (𝜑𝑋 ∈ ((Base‘𝐶) × (Base‘𝐷)))
13 xp1st 8014 . . . 4 (𝑋 ∈ ((Base‘𝐶) × (Base‘𝐷)) → (1st𝑋) ∈ (Base‘𝐶))
1412, 13syl 18 . . 3 (𝜑 → (1st𝑋) ∈ (Base‘𝐶))
15 xp2nd 8015 . . . 4 (𝑋 ∈ ((Base‘𝐶) × (Base‘𝐷)) → (2nd𝑋) ∈ (Base‘𝐷))
1612, 15syl 18 . . 3 (𝜑 → (2nd𝑋) ∈ (Base‘𝐷))
17 swapf2f1oa.y . . . . 5 (𝜑𝑌𝐵)
1817, 11eleqtrdi 2873 . . . 4 (𝜑𝑌 ∈ ((Base‘𝐶) × (Base‘𝐷)))
19 xp1st 8014 . . . 4 (𝑌 ∈ ((Base‘𝐶) × (Base‘𝐷)) → (1st𝑌) ∈ (Base‘𝐶))
2018, 19syl 18 . . 3 (𝜑 → (1st𝑌) ∈ (Base‘𝐶))
21 xp2nd 8015 . . . 4 (𝑌 ∈ ((Base‘𝐶) × (Base‘𝐷)) → (2nd𝑌) ∈ (Base‘𝐷))
2218, 21syl 18 . . 3 (𝜑 → (2nd𝑌) ∈ (Base‘𝐷))
231, 2, 3, 4, 5, 14, 16, 20, 22swapf2f1o 50054 . 2 (𝜑 → (⟨(1st𝑋), (2nd𝑋)⟩𝑃⟨(1st𝑌), (2nd𝑌)⟩):(⟨(1st𝑋), (2nd𝑋)⟩𝐻⟨(1st𝑌), (2nd𝑌)⟩)–1-1-onto→(⟨(2nd𝑋), (1st𝑋)⟩𝐽⟨(2nd𝑌), (1st𝑌)⟩))
24 1st2nd2 8021 . . . . 5 (𝑋 ∈ ((Base‘𝐶) × (Base‘𝐷)) → 𝑋 = ⟨(1st𝑋), (2nd𝑋)⟩)
2512, 24syl 18 . . . 4 (𝜑𝑋 = ⟨(1st𝑋), (2nd𝑋)⟩)
26 1st2nd2 8021 . . . . 5 (𝑌 ∈ ((Base‘𝐶) × (Base‘𝐷)) → 𝑌 = ⟨(1st𝑌), (2nd𝑌)⟩)
2718, 26syl 18 . . . 4 (𝜑𝑌 = ⟨(1st𝑌), (2nd𝑌)⟩)
2825, 27oveq12d 7428 . . 3 (𝜑 → (𝑋𝑃𝑌) = (⟨(1st𝑋), (2nd𝑋)⟩𝑃⟨(1st𝑌), (2nd𝑌)⟩))
2925, 27oveq12d 7428 . . 3 (𝜑 → (𝑋𝐻𝑌) = (⟨(1st𝑋), (2nd𝑋)⟩𝐻⟨(1st𝑌), (2nd𝑌)⟩))
301, 2, 7, 6swapf1a 50047 . . . 4 (𝜑 → (𝑂𝑋) = ⟨(2nd𝑋), (1st𝑋)⟩)
311, 2, 7, 17swapf1a 50047 . . . 4 (𝜑 → (𝑂𝑌) = ⟨(2nd𝑌), (1st𝑌)⟩)
3230, 31oveq12d 7428 . . 3 (𝜑 → ((𝑂𝑋)𝐽(𝑂𝑌)) = (⟨(2nd𝑋), (1st𝑋)⟩𝐽⟨(2nd𝑌), (1st𝑌)⟩))
3328, 29, 32f1oeq123d 6814 . 2 (𝜑 → ((𝑋𝑃𝑌):(𝑋𝐻𝑌)–1-1-onto→((𝑂𝑋)𝐽(𝑂𝑌)) ↔ (⟨(1st𝑋), (2nd𝑋)⟩𝑃⟨(1st𝑌), (2nd𝑌)⟩):(⟨(1st𝑋), (2nd𝑋)⟩𝐻⟨(1st𝑌), (2nd𝑌)⟩)–1-1-onto→(⟨(2nd𝑋), (1st𝑋)⟩𝐽⟨(2nd𝑌), (1st𝑌)⟩)))
3423, 33mpbird 260 1 (𝜑 → (𝑋𝑃𝑌):(𝑋𝐻𝑌)–1-1-onto→((𝑂𝑋)𝐽(𝑂𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1570  wcel 2143  cop 4595   × cxp 5659  1-1-ontowf1o 6535  cfv 6536  (class class class)co 7410  1st c1st 7980  2nd c2nd 7981  Basecbs 17264  Hom chom 17316   ×c cxpc 18219   swapF cswapf 50037
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1825  ax-4 1839  ax-5 1940  ax-6 1997  ax-7 2038  ax-8 2145  ax-9 2153  ax-10 2176  ax-11 2192  ax-12 2213  ax-ext 2735  ax-rep 5238  ax-sep 5257  ax-nul 5269  ax-pow 5336  ax-pr 5404  ax-un 7732  ax-cnex 11151  ax-resscn 11152  ax-1cn 11153  ax-icn 11154  ax-addcl 11155  ax-addrcl 11156  ax-mulcl 11157  ax-mulrcl 11158  ax-mulcom 11159  ax-addass 11160  ax-mulass 11161  ax-distr 11162  ax-i2m1 11163  ax-1ne0 11164  ax-1rid 11165  ax-rnegex 11166  ax-rrecex 11167  ax-cnre 11168  ax-pre-lttri 11169  ax-pre-lttrn 11170  ax-pre-ltadd 11171  ax-pre-mulgt0 11172
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1810  df-nf 1814  df-sb 2097  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-nel 3065  df-ral 3080  df-rex 3090  df-reu 3370  df-rab 3417  df-v 3457  df-sbc 3745  df-csb 3854  df-dif 3908  df-un 3910  df-in 3912  df-ss 3922  df-pss 3925  df-nul 4287  df-if 4488  df-pw 4564  df-sn 4590  df-pr 4592  df-tp 4594  df-op 4596  df-uni 4873  df-iun 4958  df-br 5110  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6302  df-ord 6363  df-on 6364  df-lim 6365  df-suc 6366  df-iota 6492  df-fun 6538  df-fn 6539  df-f 6540  df-f1 6541  df-fo 6542  df-f1o 6543  df-fv 6544  df-riota 7367  df-ov 7413  df-oprab 7414  df-mpo 7415  df-om 7859  df-1st 7982  df-2nd 7983  df-frecs 8274  df-wrecs 8305  df-recs 8354  df-rdg 8393  df-1o 8449  df-er 8690  df-en 8940  df-dom 8941  df-sdom 8942  df-fin 8943  df-pnf 11240  df-mnf 11241  df-xr 11242  df-ltxr 11243  df-le 11244  df-sub 11438  df-neg 11439  df-nn 12229  df-2 12298  df-3 12299  df-4 12300  df-5 12301  df-6 12302  df-7 12303  df-8 12304  df-9 12305  df-n0 12500  df-z 12587  df-dec 12707  df-uz 12858  df-fz 13531  df-struct 17202  df-slot 17237  df-ndx 17249  df-base 17265  df-hom 17329  df-cco 17330  df-xpc 18223  df-swapf 50038
This theorem is referenced by:  swapfcoa  50059  swapffunc  50060  swapfffth  50061
  Copyright terms: Public domain W3C validator