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

Theorem swapfiso 49867
Description: The swap functor is an isomorphism between product categories. (Contributed by Zhi Wang, 8-Oct-2025.)
Hypotheses
Ref Expression
swapfid.c (𝜑𝐶 ∈ Cat)
swapfid.d (𝜑𝐷 ∈ Cat)
swapfid.s 𝑆 = (𝐶 ×c 𝐷)
swapfid.t 𝑇 = (𝐷 ×c 𝐶)
swapfiso.e 𝐸 = (CatCat‘𝑈)
swapfiso.u (𝜑𝑈𝑉)
swapfiso.s (𝜑𝑆𝑈)
swapfiso.t (𝜑𝑇𝑈)
swapfiso.i 𝐼 = (Iso‘𝐸)
Assertion
Ref Expression
swapfiso (𝜑 → (𝐶 swapF 𝐷) ∈ (𝑆𝐼𝑇))

Proof of Theorem swapfiso
StepHypRef Expression
1 swapfid.c . . . . 5 (𝜑𝐶 ∈ Cat)
2 swapfid.d . . . . 5 (𝜑𝐷 ∈ Cat)
31, 2swapfelvv 49845 . . . 4 (𝜑 → (𝐶 swapF 𝐷) ∈ (V × V))
4 1st2nd2 8004 . . . 4 ((𝐶 swapF 𝐷) ∈ (V × V) → (𝐶 swapF 𝐷) = ⟨(1st ‘(𝐶 swapF 𝐷)), (2nd ‘(𝐶 swapF 𝐷))⟩)
53, 4syl 17 . . 3 (𝜑 → (𝐶 swapF 𝐷) = ⟨(1st ‘(𝐶 swapF 𝐷)), (2nd ‘(𝐶 swapF 𝐷))⟩)
6 swapfid.s . . . . 5 𝑆 = (𝐶 ×c 𝐷)
7 swapfid.t . . . . 5 𝑇 = (𝐷 ×c 𝐶)
81, 2, 6, 7, 5swapfffth 49865 . . . 4 (𝜑 → (1st ‘(𝐶 swapF 𝐷))((𝑆 Full 𝑇) ∩ (𝑆 Faith 𝑇))(2nd ‘(𝐶 swapF 𝐷)))
9 df-br 5098 . . . 4 ((1st ‘(𝐶 swapF 𝐷))((𝑆 Full 𝑇) ∩ (𝑆 Faith 𝑇))(2nd ‘(𝐶 swapF 𝐷)) ↔ ⟨(1st ‘(𝐶 swapF 𝐷)), (2nd ‘(𝐶 swapF 𝐷))⟩ ∈ ((𝑆 Full 𝑇) ∩ (𝑆 Faith 𝑇)))
108, 9sylib 220 . . 3 (𝜑 → ⟨(1st ‘(𝐶 swapF 𝐷)), (2nd ‘(𝐶 swapF 𝐷))⟩ ∈ ((𝑆 Full 𝑇) ∩ (𝑆 Faith 𝑇)))
115, 10eqeltrd 2861 . 2 (𝜑 → (𝐶 swapF 𝐷) ∈ ((𝑆 Full 𝑇) ∩ (𝑆 Faith 𝑇)))
12 eqid 2761 . . 3 (Base‘𝑆) = (Base‘𝑆)
13 eqid 2761 . . 3 (Base‘𝑇) = (Base‘𝑇)
145, 6, 7, 1, 2, 12, 13swapf1f1o 49857 . 2 (𝜑 → (1st ‘(𝐶 swapF 𝐷)):(Base‘𝑆)–1-1-onto→(Base‘𝑇))
15 swapfiso.e . . 3 𝐸 = (CatCat‘𝑈)
16 eqid 2761 . . 3 (Base‘𝐸) = (Base‘𝐸)
17 swapfiso.u . . 3 (𝜑𝑈𝑉)
18 swapfiso.s . . . . 5 (𝜑𝑆𝑈)
196, 1, 2xpccat 18213 . . . . 5 (𝜑𝑆 ∈ Cat)
2018, 19elind 4150 . . . 4 (𝜑𝑆 ∈ (𝑈 ∩ Cat))
2115, 16, 17catcbas 18125 . . . 4 (𝜑 → (Base‘𝐸) = (𝑈 ∩ Cat))
2220, 21eleqtrrd 2864 . . 3 (𝜑𝑆 ∈ (Base‘𝐸))
23 swapfiso.t . . . . 5 (𝜑𝑇𝑈)
247, 2, 1xpccat 18213 . . . . 5 (𝜑𝑇 ∈ Cat)
2523, 24elind 4150 . . . 4 (𝜑𝑇 ∈ (𝑈 ∩ Cat))
2625, 21eleqtrrd 2864 . . 3 (𝜑𝑇 ∈ (Base‘𝐸))
27 swapfiso.i . . 3 𝐼 = (Iso‘𝐸)
2815, 16, 12, 13, 17, 22, 26, 27catciso 18135 . 2 (𝜑 → ((𝐶 swapF 𝐷) ∈ (𝑆𝐼𝑇) ↔ ((𝐶 swapF 𝐷) ∈ ((𝑆 Full 𝑇) ∩ (𝑆 Faith 𝑇)) ∧ (1st ‘(𝐶 swapF 𝐷)):(Base‘𝑆)–1-1-onto→(Base‘𝑇))))
2911, 14, 28mpbir2and 723 1 (𝜑 → (𝐶 swapF 𝐷) ∈ (𝑆𝐼𝑇))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1559  wcel 2141  Vcvv 3453  cin 3901  cop 4585   class class class wbr 5097   × cxp 5641  1-1-ontowf1o 6515  cfv 6516  (class class class)co 7391  1st c1st 7963  2nd c2nd 7964  Basecbs 17236  Catccat 17687  Isociso 17770   Full cful 17928   Faith cfth 17929  CatCatccatc 18122   ×c cxpc 18191   swapF cswapf 49841
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-10 2174  ax-11 2190  ax-12 2211  ax-ext 2733  ax-rep 5224  ax-sep 5243  ax-nul 5253  ax-pow 5319  ax-pr 5387  ax-un 7713  ax-cnex 11123  ax-resscn 11124  ax-1cn 11125  ax-icn 11126  ax-addcl 11127  ax-addrcl 11128  ax-mulcl 11129  ax-mulrcl 11130  ax-mulcom 11131  ax-addass 11132  ax-mulass 11133  ax-distr 11134  ax-i2m1 11135  ax-1ne0 11136  ax-1rid 11137  ax-rnegex 11138  ax-rrecex 11139  ax-cnre 11140  ax-pre-lttri 11141  ax-pre-lttrn 11142  ax-pre-ltadd 11143  ax-pre-mulgt0 11144
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1098  df-3an 1099  df-tru 1562  df-fal 1572  df-ex 1799  df-nf 1803  df-sb 2090  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3061  df-ral 3076  df-rex 3086  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3455  df-sbc 3743  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-pss 3922  df-nul 4284  df-if 4478  df-pw 4554  df-sn 4580  df-pr 4582  df-tp 4584  df-op 4586  df-uni 4863  df-iun 4948  df-br 5098  df-opab 5160  df-mpt 5179  df-tr 5205  df-id 5538  df-eprel 5543  df-po 5551  df-so 5552  df-fr 5596  df-we 5598  df-xp 5649  df-rel 5650  df-cnv 5651  df-co 5652  df-dm 5653  df-rn 5654  df-res 5655  df-ima 5656  df-pred 6283  df-ord 6344  df-on 6345  df-lim 6346  df-suc 6347  df-iota 6472  df-fun 6518  df-fn 6519  df-f 6520  df-f1 6521  df-fo 6522  df-f1o 6523  df-fv 6524  df-riota 7348  df-ov 7394  df-oprab 7395  df-mpo 7396  df-om 7842  df-1st 7965  df-2nd 7966  df-frecs 8256  df-wrecs 8287  df-recs 8336  df-rdg 8375  df-1o 8431  df-er 8672  df-map 8804  df-ixp 8874  df-en 8922  df-dom 8923  df-sdom 8924  df-fin 8925  df-pnf 11212  df-mnf 11213  df-xr 11214  df-ltxr 11215  df-le 11216  df-sub 11410  df-neg 11411  df-nn 12205  df-2 12274  df-3 12275  df-4 12276  df-5 12277  df-6 12278  df-7 12279  df-8 12280  df-9 12281  df-n0 12476  df-z 12563  df-dec 12683  df-uz 12834  df-fz 13507  df-struct 17174  df-slot 17209  df-ndx 17221  df-base 17237  df-hom 17301  df-cco 17302  df-cat 17691  df-cid 17692  df-sect 17771  df-inv 17772  df-iso 17773  df-func 17882  df-idfu 17883  df-cofu 17884  df-full 17930  df-fth 17931  df-catc 18123  df-xpc 18195  df-swapf 49842
This theorem is referenced by:  swapciso  49868
  Copyright terms: Public domain W3C validator