MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  fucinv Structured version   Unicode version

Theorem fucinv 15464
Description: Two natural transformations are inverses of each other iff all the components are inverse. (Contributed by Mario Carneiro, 28-Jan-2017.)
Hypotheses
Ref Expression
fuciso.q  |-  Q  =  ( C FuncCat  D )
fuciso.b  |-  B  =  ( Base `  C
)
fuciso.n  |-  N  =  ( C Nat  D )
fuciso.f  |-  ( ph  ->  F  e.  ( C 
Func  D ) )
fuciso.g  |-  ( ph  ->  G  e.  ( C 
Func  D ) )
fucinv.i  |-  I  =  (Inv `  Q )
fucinv.j  |-  J  =  (Inv `  D )
Assertion
Ref Expression
fucinv  |-  ( ph  ->  ( U ( F I G ) V  <-> 
( U  e.  ( F N G )  /\  V  e.  ( G N F )  /\  A. x  e.  B  ( U `  x ) ( ( ( 1st `  F
) `  x ) J ( ( 1st `  G ) `  x
) ) ( V `
 x ) ) ) )
Distinct variable groups:    x, B    x, C    x, D    x, I    x, F    x, G    x, J    x, N    x, V    ph, x    x, Q    x, U

Proof of Theorem fucinv
StepHypRef Expression
1 fuciso.q . . . 4  |-  Q  =  ( C FuncCat  D )
2 fuciso.b . . . 4  |-  B  =  ( Base `  C
)
3 fuciso.n . . . 4  |-  N  =  ( C Nat  D )
4 fuciso.f . . . 4  |-  ( ph  ->  F  e.  ( C 
Func  D ) )
5 fuciso.g . . . 4  |-  ( ph  ->  G  e.  ( C 
Func  D ) )
6 eqid 2454 . . . 4  |-  (Sect `  Q )  =  (Sect `  Q )
7 eqid 2454 . . . 4  |-  (Sect `  D )  =  (Sect `  D )
81, 2, 3, 4, 5, 6, 7fucsect 15463 . . 3  |-  ( ph  ->  ( U ( F (Sect `  Q ) G ) V  <->  ( U  e.  ( F N G )  /\  V  e.  ( G N F )  /\  A. x  e.  B  ( U `  x ) ( ( ( 1st `  F
) `  x )
(Sect `  D )
( ( 1st `  G
) `  x )
) ( V `  x ) ) ) )
91, 2, 3, 5, 4, 6, 7fucsect 15463 . . 3  |-  ( ph  ->  ( V ( G (Sect `  Q ) F ) U  <->  ( V  e.  ( G N F )  /\  U  e.  ( F N G )  /\  A. x  e.  B  ( V `  x ) ( ( ( 1st `  G
) `  x )
(Sect `  D )
( ( 1st `  F
) `  x )
) ( U `  x ) ) ) )
108, 9anbi12d 708 . 2  |-  ( ph  ->  ( ( U ( F (Sect `  Q
) G ) V  /\  V ( G (Sect `  Q ) F ) U )  <-> 
( ( U  e.  ( F N G )  /\  V  e.  ( G N F )  /\  A. x  e.  B  ( U `  x ) ( ( ( 1st `  F
) `  x )
(Sect `  D )
( ( 1st `  G
) `  x )
) ( V `  x ) )  /\  ( V  e.  ( G N F )  /\  U  e.  ( F N G )  /\  A. x  e.  B  ( V `  x )
( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) ) ) ) )
111fucbas 15451 . . 3  |-  ( C 
Func  D )  =  (
Base `  Q )
12 fucinv.i . . 3  |-  I  =  (Inv `  Q )
13 funcrcl 15354 . . . . . 6  |-  ( F  e.  ( C  Func  D )  ->  ( C  e.  Cat  /\  D  e. 
Cat ) )
144, 13syl 16 . . . . 5  |-  ( ph  ->  ( C  e.  Cat  /\  D  e.  Cat )
)
1514simpld 457 . . . 4  |-  ( ph  ->  C  e.  Cat )
1614simprd 461 . . . 4  |-  ( ph  ->  D  e.  Cat )
171, 15, 16fuccat 15461 . . 3  |-  ( ph  ->  Q  e.  Cat )
1811, 12, 17, 4, 5, 6isinv 15251 . 2  |-  ( ph  ->  ( U ( F I G ) V  <-> 
( U ( F (Sect `  Q ) G ) V  /\  V ( G (Sect `  Q ) F ) U ) ) )
19 eqid 2454 . . . . . . 7  |-  ( Base `  D )  =  (
Base `  D )
20 fucinv.j . . . . . . 7  |-  J  =  (Inv `  D )
2116adantr 463 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  D  e.  Cat )
22 relfunc 15353 . . . . . . . . . 10  |-  Rel  ( C  Func  D )
23 1st2ndbr 6822 . . . . . . . . . 10  |-  ( ( Rel  ( C  Func  D )  /\  F  e.  ( C  Func  D
) )  ->  ( 1st `  F ) ( C  Func  D )
( 2nd `  F
) )
2422, 4, 23sylancr 661 . . . . . . . . 9  |-  ( ph  ->  ( 1st `  F
) ( C  Func  D ) ( 2nd `  F
) )
252, 19, 24funcf1 15357 . . . . . . . 8  |-  ( ph  ->  ( 1st `  F
) : B --> ( Base `  D ) )
2625ffvelrnda 6007 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (
( 1st `  F
) `  x )  e.  ( Base `  D
) )
27 1st2ndbr 6822 . . . . . . . . . 10  |-  ( ( Rel  ( C  Func  D )  /\  G  e.  ( C  Func  D
) )  ->  ( 1st `  G ) ( C  Func  D )
( 2nd `  G
) )
2822, 5, 27sylancr 661 . . . . . . . . 9  |-  ( ph  ->  ( 1st `  G
) ( C  Func  D ) ( 2nd `  G
) )
292, 19, 28funcf1 15357 . . . . . . . 8  |-  ( ph  ->  ( 1st `  G
) : B --> ( Base `  D ) )
3029ffvelrnda 6007 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  (
( 1st `  G
) `  x )  e.  ( Base `  D
) )
3119, 20, 21, 26, 30, 7isinv 15251 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  (
( U `  x
) ( ( ( 1st `  F ) `
 x ) J ( ( 1st `  G
) `  x )
) ( V `  x )  <->  ( ( U `  x )
( ( ( 1st `  F ) `  x
) (Sect `  D
) ( ( 1st `  G ) `  x
) ) ( V `
 x )  /\  ( V `  x ) ( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) ) ) )
3231ralbidva 2890 . . . . 5  |-  ( ph  ->  ( A. x  e.  B  ( U `  x ) ( ( ( 1st `  F
) `  x ) J ( ( 1st `  G ) `  x
) ) ( V `
 x )  <->  A. x  e.  B  ( ( U `  x )
( ( ( 1st `  F ) `  x
) (Sect `  D
) ( ( 1st `  G ) `  x
) ) ( V `
 x )  /\  ( V `  x ) ( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) ) ) )
33 r19.26 2981 . . . . 5  |-  ( A. x  e.  B  (
( U `  x
) ( ( ( 1st `  F ) `
 x ) (Sect `  D ) ( ( 1st `  G ) `
 x ) ) ( V `  x
)  /\  ( V `  x ) ( ( ( 1st `  G
) `  x )
(Sect `  D )
( ( 1st `  F
) `  x )
) ( U `  x ) )  <->  ( A. x  e.  B  ( U `  x )
( ( ( 1st `  F ) `  x
) (Sect `  D
) ( ( 1st `  G ) `  x
) ) ( V `
 x )  /\  A. x  e.  B  ( V `  x ) ( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) ) )
3432, 33syl6bb 261 . . . 4  |-  ( ph  ->  ( A. x  e.  B  ( U `  x ) ( ( ( 1st `  F
) `  x ) J ( ( 1st `  G ) `  x
) ) ( V `
 x )  <->  ( A. x  e.  B  ( U `  x )
( ( ( 1st `  F ) `  x
) (Sect `  D
) ( ( 1st `  G ) `  x
) ) ( V `
 x )  /\  A. x  e.  B  ( V `  x ) ( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) ) ) )
3534anbi2d 701 . . 3  |-  ( ph  ->  ( ( ( U  e.  ( F N G )  /\  V  e.  ( G N F ) )  /\  A. x  e.  B  ( U `  x )
( ( ( 1st `  F ) `  x
) J ( ( 1st `  G ) `
 x ) ) ( V `  x
) )  <->  ( ( U  e.  ( F N G )  /\  V  e.  ( G N F ) )  /\  ( A. x  e.  B  ( U `  x ) ( ( ( 1st `  F ) `  x
) (Sect `  D
) ( ( 1st `  G ) `  x
) ) ( V `
 x )  /\  A. x  e.  B  ( V `  x ) ( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) ) ) ) )
36 df-3an 973 . . 3  |-  ( ( U  e.  ( F N G )  /\  V  e.  ( G N F )  /\  A. x  e.  B  ( U `  x )
( ( ( 1st `  F ) `  x
) J ( ( 1st `  G ) `
 x ) ) ( V `  x
) )  <->  ( ( U  e.  ( F N G )  /\  V  e.  ( G N F ) )  /\  A. x  e.  B  ( U `  x )
( ( ( 1st `  F ) `  x
) J ( ( 1st `  G ) `
 x ) ) ( V `  x
) ) )
37 df-3an 973 . . . . 5  |-  ( ( U  e.  ( F N G )  /\  V  e.  ( G N F )  /\  A. x  e.  B  ( U `  x )
( ( ( 1st `  F ) `  x
) (Sect `  D
) ( ( 1st `  G ) `  x
) ) ( V `
 x ) )  <-> 
( ( U  e.  ( F N G )  /\  V  e.  ( G N F ) )  /\  A. x  e.  B  ( U `  x )
( ( ( 1st `  F ) `  x
) (Sect `  D
) ( ( 1st `  G ) `  x
) ) ( V `
 x ) ) )
38 3ancoma 978 . . . . . 6  |-  ( ( V  e.  ( G N F )  /\  U  e.  ( F N G )  /\  A. x  e.  B  ( V `  x )
( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) )  <-> 
( U  e.  ( F N G )  /\  V  e.  ( G N F )  /\  A. x  e.  B  ( V `  x ) ( ( ( 1st `  G
) `  x )
(Sect `  D )
( ( 1st `  F
) `  x )
) ( U `  x ) ) )
39 df-3an 973 . . . . . 6  |-  ( ( U  e.  ( F N G )  /\  V  e.  ( G N F )  /\  A. x  e.  B  ( V `  x )
( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) )  <-> 
( ( U  e.  ( F N G )  /\  V  e.  ( G N F ) )  /\  A. x  e.  B  ( V `  x )
( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) ) )
4038, 39bitri 249 . . . . 5  |-  ( ( V  e.  ( G N F )  /\  U  e.  ( F N G )  /\  A. x  e.  B  ( V `  x )
( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) )  <-> 
( ( U  e.  ( F N G )  /\  V  e.  ( G N F ) )  /\  A. x  e.  B  ( V `  x )
( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) ) )
4137, 40anbi12i 695 . . . 4  |-  ( ( ( U  e.  ( F N G )  /\  V  e.  ( G N F )  /\  A. x  e.  B  ( U `  x ) ( ( ( 1st `  F
) `  x )
(Sect `  D )
( ( 1st `  G
) `  x )
) ( V `  x ) )  /\  ( V  e.  ( G N F )  /\  U  e.  ( F N G )  /\  A. x  e.  B  ( V `  x )
( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) ) )  <->  ( ( ( U  e.  ( F N G )  /\  V  e.  ( G N F ) )  /\  A. x  e.  B  ( U `  x ) ( ( ( 1st `  F ) `  x
) (Sect `  D
) ( ( 1st `  G ) `  x
) ) ( V `
 x ) )  /\  ( ( U  e.  ( F N G )  /\  V  e.  ( G N F ) )  /\  A. x  e.  B  ( V `  x )
( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) ) ) )
42 anandi 826 . . . 4  |-  ( ( ( U  e.  ( F N G )  /\  V  e.  ( G N F ) )  /\  ( A. x  e.  B  ( U `  x )
( ( ( 1st `  F ) `  x
) (Sect `  D
) ( ( 1st `  G ) `  x
) ) ( V `
 x )  /\  A. x  e.  B  ( V `  x ) ( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) ) )  <->  ( ( ( U  e.  ( F N G )  /\  V  e.  ( G N F ) )  /\  A. x  e.  B  ( U `  x ) ( ( ( 1st `  F ) `  x
) (Sect `  D
) ( ( 1st `  G ) `  x
) ) ( V `
 x ) )  /\  ( ( U  e.  ( F N G )  /\  V  e.  ( G N F ) )  /\  A. x  e.  B  ( V `  x )
( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) ) ) )
4341, 42bitr4i 252 . . 3  |-  ( ( ( U  e.  ( F N G )  /\  V  e.  ( G N F )  /\  A. x  e.  B  ( U `  x ) ( ( ( 1st `  F
) `  x )
(Sect `  D )
( ( 1st `  G
) `  x )
) ( V `  x ) )  /\  ( V  e.  ( G N F )  /\  U  e.  ( F N G )  /\  A. x  e.  B  ( V `  x )
( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) ) )  <->  ( ( U  e.  ( F N G )  /\  V  e.  ( G N F ) )  /\  ( A. x  e.  B  ( U `  x ) ( ( ( 1st `  F ) `  x
) (Sect `  D
) ( ( 1st `  G ) `  x
) ) ( V `
 x )  /\  A. x  e.  B  ( V `  x ) ( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) ) ) )
4435, 36, 433bitr4g 288 . 2  |-  ( ph  ->  ( ( U  e.  ( F N G )  /\  V  e.  ( G N F )  /\  A. x  e.  B  ( U `  x ) ( ( ( 1st `  F
) `  x ) J ( ( 1st `  G ) `  x
) ) ( V `
 x ) )  <-> 
( ( U  e.  ( F N G )  /\  V  e.  ( G N F )  /\  A. x  e.  B  ( U `  x ) ( ( ( 1st `  F
) `  x )
(Sect `  D )
( ( 1st `  G
) `  x )
) ( V `  x ) )  /\  ( V  e.  ( G N F )  /\  U  e.  ( F N G )  /\  A. x  e.  B  ( V `  x )
( ( ( 1st `  G ) `  x
) (Sect `  D
) ( ( 1st `  F ) `  x
) ) ( U `
 x ) ) ) ) )
4510, 18, 443bitr4d 285 1  |-  ( ph  ->  ( U ( F I G ) V  <-> 
( U  e.  ( F N G )  /\  V  e.  ( G N F )  /\  A. x  e.  B  ( U `  x ) ( ( ( 1st `  F
) `  x ) J ( ( 1st `  G ) `  x
) ) ( V `
 x ) ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 367    /\ w3a 971    = wceq 1398    e. wcel 1823   A.wral 2804   class class class wbr 4439   Rel wrel 4993   ` cfv 5570  (class class class)co 6270   1stc1st 6771   2ndc2nd 6772   Basecbs 14719   Catccat 15156  Sectcsect 15235  Invcinv 15236    Func cfunc 15345   Nat cnat 15432   FuncCat cfuc 15433
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1623  ax-4 1636  ax-5 1709  ax-6 1752  ax-7 1795  ax-8 1825  ax-9 1827  ax-10 1842  ax-11 1847  ax-12 1859  ax-13 2004  ax-ext 2432  ax-rep 4550  ax-sep 4560  ax-nul 4568  ax-pow 4615  ax-pr 4676  ax-un 6565  ax-cnex 9537  ax-resscn 9538  ax-1cn 9539  ax-icn 9540  ax-addcl 9541  ax-addrcl 9542  ax-mulcl 9543  ax-mulrcl 9544  ax-mulcom 9545  ax-addass 9546  ax-mulass 9547  ax-distr 9548  ax-i2m1 9549  ax-1ne0 9550  ax-1rid 9551  ax-rnegex 9552  ax-rrecex 9553  ax-cnre 9554  ax-pre-lttri 9555  ax-pre-lttrn 9556  ax-pre-ltadd 9557  ax-pre-mulgt0 9558
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-3or 972  df-3an 973  df-tru 1401  df-fal 1404  df-ex 1618  df-nf 1622  df-sb 1745  df-eu 2288  df-mo 2289  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ne 2651  df-nel 2652  df-ral 2809  df-rex 2810  df-reu 2811  df-rmo 2812  df-rab 2813  df-v 3108  df-sbc 3325  df-csb 3421  df-dif 3464  df-un 3466  df-in 3468  df-ss 3475  df-pss 3477  df-nul 3784  df-if 3930  df-pw 4001  df-sn 4017  df-pr 4019  df-tp 4021  df-op 4023  df-uni 4236  df-int 4272  df-iun 4317  df-br 4440  df-opab 4498  df-mpt 4499  df-tr 4533  df-eprel 4780  df-id 4784  df-po 4789  df-so 4790  df-fr 4827  df-we 4829  df-ord 4870  df-on 4871  df-lim 4872  df-suc 4873  df-xp 4994  df-rel 4995  df-cnv 4996  df-co 4997  df-dm 4998  df-rn 4999  df-res 5000  df-ima 5001  df-iota 5534  df-fun 5572  df-fn 5573  df-f 5574  df-f1 5575  df-fo 5576  df-f1o 5577  df-fv 5578  df-riota 6232  df-ov 6273  df-oprab 6274  df-mpt2 6275  df-om 6674  df-1st 6773  df-2nd 6774  df-recs 7034  df-rdg 7068  df-1o 7122  df-oadd 7126  df-er 7303  df-map 7414  df-ixp 7463  df-en 7510  df-dom 7511  df-sdom 7512  df-fin 7513  df-pnf 9619  df-mnf 9620  df-xr 9621  df-ltxr 9622  df-le 9623  df-sub 9798  df-neg 9799  df-nn 10532  df-2 10590  df-3 10591  df-4 10592  df-5 10593  df-6 10594  df-7 10595  df-8 10596  df-9 10597  df-10 10598  df-n0 10792  df-z 10861  df-dec 10977  df-uz 11083  df-fz 11676  df-struct 14721  df-ndx 14722  df-slot 14723  df-base 14724  df-hom 14811  df-cco 14812  df-cat 15160  df-cid 15161  df-sect 15238  df-inv 15239  df-func 15349  df-nat 15434  df-fuc 15435
This theorem is referenced by:  invfuc  15465  fuciso  15466
  Copyright terms: Public domain W3C validator