Metamath Proof Explorer


Theorem catpropd

Description: Two structures with the same base, hom-sets and composition operation are either both categories or neither. (Contributed by Mario Carneiro, 5-Jan-2017)

Ref Expression
Hypotheses catpropd.1 φHom𝑓C=Hom𝑓D
catpropd.2 φcomp𝑓C=comp𝑓D
catpropd.3 φCV
catpropd.4 φDW
Assertion catpropd φCCatDCat

Proof

Step Hyp Ref Expression
1 catpropd.1 φHom𝑓C=Hom𝑓D
2 catpropd.2 φcomp𝑓C=comp𝑓D
3 catpropd.3 φCV
4 catpropd.4 φDW
5 simpl gxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgxycompCzfxHomCz
6 5 2ralimi fxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzffxHomCygyHomCzgxycompCzfxHomCz
7 6 2ralimi yBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCz
8 7 adantl gxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCz
9 8 ralimi xBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCz
10 9 a1i φxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCz
11 simpl gxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfgxycompCzfxHomCz
12 11 2ralimi fxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzffxHomCygyHomCzgxycompCzfxHomCz
13 12 2ralimi yBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCz
14 13 adantl gxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCz
15 14 ralimi xBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCz
16 15 a1i φxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCz
17 nfra1 yyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCz
18 nfv xzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCw
19 nfra1 zzBaseCfxHomCygyHomCzgxycompCzfxHomCz
20 nfv ywBaseCgxHomCzhzHomCwhxzcompCwgxHomCw
21 nfra1 ggyHomCzgxycompCzfxHomCz
22 nfv fhyHomCzhxycompCzgxHomCz
23 oveq1 g=hgxycompCzf=hxycompCzf
24 23 eleq1d g=hgxycompCzfxHomCzhxycompCzfxHomCz
25 24 cbvralvw gyHomCzgxycompCzfxHomCzhyHomCzhxycompCzfxHomCz
26 oveq2 f=ghxycompCzf=hxycompCzg
27 26 eleq1d f=ghxycompCzfxHomCzhxycompCzgxHomCz
28 27 ralbidv f=ghyHomCzhxycompCzfxHomCzhyHomCzhxycompCzgxHomCz
29 25 28 bitrid f=ggyHomCzgxycompCzfxHomCzhyHomCzhxycompCzgxHomCz
30 21 22 29 cbvralw fxHomCygyHomCzgxycompCzfxHomCzgxHomCyhyHomCzhxycompCzgxHomCz
31 oveq2 z=wyHomCz=yHomCw
32 oveq2 z=wxycompCz=xycompCw
33 32 oveqd z=whxycompCzg=hxycompCwg
34 oveq2 z=wxHomCz=xHomCw
35 33 34 eleq12d z=whxycompCzgxHomCzhxycompCwgxHomCw
36 31 35 raleqbidv z=whyHomCzhxycompCzgxHomCzhyHomCwhxycompCwgxHomCw
37 36 ralbidv z=wgxHomCyhyHomCzhxycompCzgxHomCzgxHomCyhyHomCwhxycompCwgxHomCw
38 30 37 bitrid z=wfxHomCygyHomCzgxycompCzfxHomCzgxHomCyhyHomCwhxycompCwgxHomCw
39 38 cbvralvw zBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseCgxHomCyhyHomCwhxycompCwgxHomCw
40 oveq2 y=zxHomCy=xHomCz
41 oveq1 y=zyHomCw=zHomCw
42 opeq2 y=zxy=xz
43 42 oveq1d y=zxycompCw=xzcompCw
44 43 oveqd y=zhxycompCwg=hxzcompCwg
45 44 eleq1d y=zhxycompCwgxHomCwhxzcompCwgxHomCw
46 41 45 raleqbidv y=zhyHomCwhxycompCwgxHomCwhzHomCwhxzcompCwgxHomCw
47 40 46 raleqbidv y=zgxHomCyhyHomCwhxycompCwgxHomCwgxHomCzhzHomCwhxzcompCwgxHomCw
48 47 ralbidv y=zwBaseCgxHomCyhyHomCwhxycompCwgxHomCwwBaseCgxHomCzhzHomCwhxzcompCwgxHomCw
49 39 48 bitrid y=zzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseCgxHomCzhzHomCwhxzcompCwgxHomCw
50 19 20 49 cbvralw yBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzzBaseCwBaseCgxHomCzhzHomCwhxzcompCwgxHomCw
51 oveq1 x=yxHomCz=yHomCz
52 opeq1 x=yxz=yz
53 52 oveq1d x=yxzcompCw=yzcompCw
54 53 oveqd x=yhxzcompCwg=hyzcompCwg
55 oveq1 x=yxHomCw=yHomCw
56 54 55 eleq12d x=yhxzcompCwgxHomCwhyzcompCwgyHomCw
57 56 ralbidv x=yhzHomCwhxzcompCwgxHomCwhzHomCwhyzcompCwgyHomCw
58 51 57 raleqbidv x=ygxHomCzhzHomCwhxzcompCwgxHomCwgyHomCzhzHomCwhyzcompCwgyHomCw
59 58 ralbidv x=ywBaseCgxHomCzhzHomCwhxzcompCwgxHomCwwBaseCgyHomCzhzHomCwhyzcompCwgyHomCw
60 ralcom wBaseCgyHomCzhzHomCwhyzcompCwgyHomCwgyHomCzwBaseChzHomCwhyzcompCwgyHomCw
61 59 60 bitrdi x=ywBaseCgxHomCzhzHomCwhxzcompCwgxHomCwgyHomCzwBaseChzHomCwhyzcompCwgyHomCw
62 61 ralbidv x=yzBaseCwBaseCgxHomCzhzHomCwhxzcompCwgxHomCwzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCw
63 50 62 bitrid x=yyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCw
64 17 18 63 cbvralw xBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCw
65 64 biimpi xBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCw
66 65 ancri xBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCz
67 r19.26 yBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwzBaseCfxHomCygyHomCzgxycompCzfxHomCzyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCz
68 r19.26 zBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwfxHomCygyHomCzgxycompCzfxHomCzzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwzBaseCfxHomCygyHomCzgxycompCzfxHomCz
69 r19.26 gyHomCzwBaseChzHomCwhyzcompCwgyHomCwgxycompCzfxHomCzgyHomCzwBaseChzHomCwhyzcompCwgyHomCwgyHomCzgxycompCzfxHomCz
70 eqid BaseC=BaseC
71 eqid HomC=HomC
72 eqid compC=compC
73 eqid compD=compD
74 1 adantr φxBaseCHom𝑓C=Hom𝑓D
75 74 ad4antr φxBaseCyBaseCzBaseCfxHomCygyHomCzHom𝑓C=Hom𝑓D
76 75 ad4antr φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwHom𝑓C=Hom𝑓D
77 2 ad5antr φxBaseCyBaseCzBaseCfxHomCygyHomCzcomp𝑓C=comp𝑓D
78 77 ad4antr φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwcomp𝑓C=comp𝑓D
79 simpllr φxBaseCyBaseCzBaseCxBaseC
80 79 ad2antrr φxBaseCyBaseCzBaseCfxHomCygyHomCzxBaseC
81 80 ad4antr φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwxBaseC
82 simp-4r φxBaseCyBaseCzBaseCfxHomCygyHomCzyBaseC
83 82 ad4antr φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwyBaseC
84 simpllr φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwwBaseC
85 simplr φxBaseCyBaseCzBaseCfxHomCygyHomCzfxHomCy
86 85 ad4antr φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwfxHomCy
87 simpr φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwhyzcompCwgyHomCw
88 70 71 72 73 76 78 81 83 84 86 87 comfeqval φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwhyzcompCwgxycompCwf=hyzcompCwgxycompDwf
89 simpllr φxBaseCyBaseCzBaseCfxHomCygyHomCzzBaseC
90 89 ad4antr φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwzBaseC
91 simp-4r φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwgxycompCzfxHomCz
92 simplr φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwhzHomCw
93 70 71 72 73 76 78 81 90 84 91 92 comfeqval φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwhxzcompCwgxycompCzf=hxzcompDwgxycompCzf
94 88 93 eqeq12d φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
95 94 ex φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
96 95 ralimdva φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwhzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
97 ralbi hzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfhyzcompCwgxycompDwf=hxzcompDwgxycompCzfhzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfhzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
98 96 97 syl6 φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwhzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfhzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
99 98 ralimdva φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgyHomCwwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfhzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
100 99 impancom φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwhyzcompCwgyHomCwgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfhzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
101 100 impr φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwhyzcompCwgyHomCwgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfhzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
102 ralbi wBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfhzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
103 101 102 syl φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwhyzcompCwgyHomCwgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
104 103 anbi2d φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwhyzcompCwgyHomCwgxycompCzfxHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
105 104 ex φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwhyzcompCwgyHomCwgxycompCzfxHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
106 105 ralimdva φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwhyzcompCwgyHomCwgxycompCzfxHomCzgyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
107 69 106 biimtrrid φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwhyzcompCwgyHomCwgyHomCzgxycompCzfxHomCzgyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
108 107 expdimp φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwhyzcompCwgyHomCwgyHomCzgxycompCzfxHomCzgyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
109 ralbi gyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfgyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
110 108 109 syl6 φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwhyzcompCwgyHomCwgyHomCzgxycompCzfxHomCzgyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
111 110 an32s φxBaseCyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwfxHomCygyHomCzgxycompCzfxHomCzgyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
112 111 ralimdva φxBaseCyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwfxHomCygyHomCzgxycompCzfxHomCzfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
113 ralbi fxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzffxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzffxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
114 112 113 syl6 φxBaseCyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwfxHomCygyHomCzgxycompCzfxHomCzfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzffxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
115 114 expimpd φxBaseCyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwfxHomCygyHomCzgxycompCzfxHomCzfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzffxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
116 115 ralimdva φxBaseCyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwfxHomCygyHomCzgxycompCzfxHomCzzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzffxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
117 ralbi zBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzffxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
118 116 117 syl6 φxBaseCyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwfxHomCygyHomCzgxycompCzfxHomCzzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
119 68 118 biimtrrid φxBaseCyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwzBaseCfxHomCygyHomCzgxycompCzfxHomCzzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
120 119 ralimdva φxBaseCyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwzBaseCfxHomCygyHomCzgxycompCzfxHomCzyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
121 ralbi yBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
122 120 121 syl6 φxBaseCyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwzBaseCfxHomCygyHomCzgxycompCzfxHomCzyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
123 67 122 biimtrrid φxBaseCyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
124 123 imp φxBaseCyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
125 124 an4s φyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
126 125 anbi2d φyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
127 126 expr φyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
128 127 ralimdva φyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
129 128 expimpd φyBaseCzBaseCgyHomCzwBaseChzHomCwhyzcompCwgyHomCwxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
130 ralbi xBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
131 66 129 130 syl56 φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
132 10 16 131 pm5.21ndd φxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzf
133 1 homfeqbas φBaseC=BaseD
134 eqid HomD=HomD
135 simpr φxBaseCxBaseC
136 70 71 134 74 135 135 homfeqval φxBaseCxHomCx=xHomDx
137 133 ad2antrr φxBaseCgxHomCxBaseC=BaseD
138 74 ad2antrr φxBaseCgxHomCxyBaseCHom𝑓C=Hom𝑓D
139 simpr φxBaseCgxHomCxyBaseCyBaseC
140 simpllr φxBaseCgxHomCxyBaseCxBaseC
141 70 71 134 138 139 140 homfeqval φxBaseCgxHomCxyBaseCyHomCx=yHomDx
142 1 ad4antr φxBaseCgxHomCxyBaseCfyHomCxHom𝑓C=Hom𝑓D
143 2 ad4antr φxBaseCgxHomCxyBaseCfyHomCxcomp𝑓C=comp𝑓D
144 simplr φxBaseCgxHomCxyBaseCfyHomCxyBaseC
145 simp-4r φxBaseCgxHomCxyBaseCfyHomCxxBaseC
146 simpr φxBaseCgxHomCxyBaseCfyHomCxfyHomCx
147 simpllr φxBaseCgxHomCxyBaseCfyHomCxgxHomCx
148 70 71 72 73 142 143 144 145 145 146 147 comfeqval φxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=gyxcompDxf
149 148 eqeq1d φxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=fgyxcompDxf=f
150 141 149 raleqbidva φxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffyHomDxgyxcompDxf=f
151 70 71 134 138 140 139 homfeqval φxBaseCgxHomCxyBaseCxHomCy=xHomDy
152 1 ad4antr φxBaseCgxHomCxyBaseCfxHomCyHom𝑓C=Hom𝑓D
153 2 ad4antr φxBaseCgxHomCxyBaseCfxHomCycomp𝑓C=comp𝑓D
154 simp-4r φxBaseCgxHomCxyBaseCfxHomCyxBaseC
155 simplr φxBaseCgxHomCxyBaseCfxHomCyyBaseC
156 simpllr φxBaseCgxHomCxyBaseCfxHomCygxHomCx
157 simpr φxBaseCgxHomCxyBaseCfxHomCyfxHomCy
158 70 71 72 73 152 153 154 154 155 156 157 comfeqval φxBaseCgxHomCxyBaseCfxHomCyfxxcompCyg=fxxcompDyg
159 158 eqeq1d φxBaseCgxHomCxyBaseCfxHomCyfxxcompCyg=ffxxcompDyg=f
160 151 159 raleqbidva φxBaseCgxHomCxyBaseCfxHomCyfxxcompCyg=ffxHomDyfxxcompDyg=f
161 150 160 anbi12d φxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=ffyHomDxgyxcompDxf=ffxHomDyfxxcompDyg=f
162 137 161 raleqbidva φxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseDfyHomDxgyxcompDxf=ffxHomDyfxxcompDyg=f
163 136 162 rexeqbidva φxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fgxHomDxyBaseDfyHomDxgyxcompDxf=ffxHomDyfxxcompDyg=f
164 133 adantr φxBaseCBaseC=BaseD
165 164 adantr φxBaseCyBaseCBaseC=BaseD
166 74 ad2antrr φxBaseCyBaseCzBaseCHom𝑓C=Hom𝑓D
167 simplr φxBaseCyBaseCzBaseCyBaseC
168 70 71 134 166 79 167 homfeqval φxBaseCyBaseCzBaseCxHomCy=xHomDy
169 simpr φxBaseCyBaseCzBaseCzBaseC
170 70 71 134 166 167 169 homfeqval φxBaseCyBaseCzBaseCyHomCz=yHomDz
171 170 adantr φxBaseCyBaseCzBaseCfxHomCyyHomCz=yHomDz
172 simpr φxBaseCyBaseCzBaseCfxHomCygyHomCzgyHomCz
173 70 71 72 73 75 77 80 82 89 85 172 comfeqval φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzf=gxycompDzf
174 70 71 134 166 79 169 homfeqval φxBaseCyBaseCzBaseCxHomCz=xHomDz
175 174 ad2antrr φxBaseCyBaseCzBaseCfxHomCygyHomCzxHomCz=xHomDz
176 173 175 eleq12d φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzgxycompDzfxHomDz
177 164 ad4antr φxBaseCyBaseCzBaseCfxHomCygyHomCzBaseC=BaseD
178 75 adantr φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseCHom𝑓C=Hom𝑓D
179 simp-4r φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseCzBaseC
180 simpr φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseCwBaseC
181 70 71 134 178 179 180 homfeqval φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseCzHomCw=zHomDw
182 166 ad4antr φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwHom𝑓C=Hom𝑓D
183 2 ad7antr φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwcomp𝑓C=comp𝑓D
184 167 ad4antr φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwyBaseC
185 169 ad4antr φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwzBaseC
186 simplr φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwwBaseC
187 simpllr φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwgyHomCz
188 simpr φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwhzHomCw
189 70 71 72 73 182 183 184 185 186 187 188 comfeqval φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwhyzcompCwg=hyzcompDwg
190 189 oveq1d φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hyzcompDwgxycompDwf
191 79 ad4antr φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwxBaseC
192 simp-4r φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwfxHomCy
193 70 71 72 73 182 183 191 184 185 192 187 comfeqval φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwgxycompCzf=gxycompDzf
194 193 oveq2d φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwhxzcompDwgxycompCzf=hxzcompDwgxycompDzf
195 190 194 eqeq12d φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfhyzcompDwgxycompDwf=hxzcompDwgxycompDzf
196 181 195 raleqbidva φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfhzHomDwhyzcompDwgxycompDwf=hxzcompDwgxycompDzf
197 177 196 raleqbidva φxBaseCyBaseCzBaseCfxHomCygyHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfwBaseDhzHomDwhyzcompDwgxycompDwf=hxzcompDwgxycompDzf
198 176 197 anbi12d φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfgxycompDzfxHomDzwBaseDhzHomDwhyzcompDwgxycompDwf=hxzcompDwgxycompDzf
199 171 198 raleqbidva φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfgyHomDzgxycompDzfxHomDzwBaseDhzHomDwhyzcompDwgxycompDwf=hxzcompDwgxycompDzf
200 168 199 raleqbidva φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzffxHomDygyHomDzgxycompDzfxHomDzwBaseDhzHomDwhyzcompDwgxycompDwf=hxzcompDwgxycompDzf
201 165 200 raleqbidva φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfzBaseDfxHomDygyHomDzgxycompDzfxHomDzwBaseDhzHomDwhyzcompDwgxycompDwf=hxzcompDwgxycompDzf
202 164 201 raleqbidva φxBaseCyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfyBaseDzBaseDfxHomDygyHomDzgxycompDzfxHomDzwBaseDhzHomDwhyzcompDwgxycompDwf=hxzcompDwgxycompDzf
203 163 202 anbi12d φxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfgxHomDxyBaseDfyHomDxgyxcompDxf=ffxHomDyfxxcompDyg=fyBaseDzBaseDfxHomDygyHomDzgxycompDzfxHomDzwBaseDhzHomDwhyzcompDwgxycompDwf=hxzcompDwgxycompDzf
204 133 203 raleqbidva φxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompDwf=hxzcompDwgxycompCzfxBaseDgxHomDxyBaseDfyHomDxgyxcompDxf=ffxHomDyfxxcompDyg=fyBaseDzBaseDfxHomDygyHomDzgxycompDzfxHomDzwBaseDhzHomDwhyzcompDwgxycompDwf=hxzcompDwgxycompDzf
205 132 204 bitrd φxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzfxBaseDgxHomDxyBaseDfyHomDxgyxcompDxf=ffxHomDyfxxcompDyg=fyBaseDzBaseDfxHomDygyHomDzgxycompDzfxHomDzwBaseDhzHomDwhyzcompDwgxycompDwf=hxzcompDwgxycompDzf
206 70 71 72 iscat CVCCatxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzf
207 3 206 syl φCCatxBaseCgxHomCxyBaseCfyHomCxgyxcompCxf=ffxHomCyfxxcompCyg=fyBaseCzBaseCfxHomCygyHomCzgxycompCzfxHomCzwBaseChzHomCwhyzcompCwgxycompCwf=hxzcompCwgxycompCzf
208 eqid BaseD=BaseD
209 208 134 73 iscat DWDCatxBaseDgxHomDxyBaseDfyHomDxgyxcompDxf=ffxHomDyfxxcompDyg=fyBaseDzBaseDfxHomDygyHomDzgxycompDzfxHomDzwBaseDhzHomDwhyzcompDwgxycompDwf=hxzcompDwgxycompDzf
210 4 209 syl φDCatxBaseDgxHomDxyBaseDfyHomDxgyxcompDxf=ffxHomDyfxxcompDyg=fyBaseDzBaseDfxHomDygyHomDzgxycompDzfxHomDzwBaseDhzHomDwhyzcompDwgxycompDwf=hxzcompDwgxycompDzf
211 205 207 210 3bitr4d φCCatDCat