let C1 be Category; for C2 being Subcategory of C1 st C1 is Subcategory of C2 holds
CatStr(# the carrier of C1, the carrier' of C1, the Source of C1, the Target of C1, the Comp of C1, the Id of C1 #) = CatStr(# the carrier of C2, the carrier' of C2, the Source of C2, the Target of C2, the Comp of C2, the Id of C2 #)
let C2 be Subcategory of C1; ( C1 is Subcategory of C2 implies CatStr(# the carrier of C1, the carrier' of C1, the Source of C1, the Target of C1, the Comp of C1, the Id of C1 #) = CatStr(# the carrier of C2, the carrier' of C2, the Source of C2, the Target of C2, the Comp of C2, the Id of C2 #) )
assume A1:
C1 is Subcategory of C2
; CatStr(# the carrier of C1, the carrier' of C1, the Source of C1, the Target of C1, the Comp of C1, the Id of C1 #) = CatStr(# the carrier of C2, the carrier' of C2, the Source of C2, the Target of C2, the Comp of C2, the Id of C2 #)
then A2:
the carrier of C1 c= the carrier of C2
by CAT_2:def 4;
A3:
the carrier of C2 c= the carrier of C1
by CAT_2:def 4;
then A4:
the carrier of C1 = the carrier of C2
by A2, XBOOLE_0:def 10;
A5:
the carrier' of C1 c= the carrier' of C2
by A1, CAT_2:7;
A6:
the carrier' of C2 c= the carrier' of C1
by CAT_2:7;
then A7:
the carrier' of C1 = the carrier' of C2
by A5, XBOOLE_0:def 10;
A8:
the Comp of C1 c= the Comp of C2
by A1, CAT_2:def 4;
the Comp of C2 c= the Comp of C1
by CAT_2:def 4;
then A9:
the Comp of C1 = the Comp of C2
by A8, XBOOLE_0:def 10;
then A10:
the Source of C1 = the Source of C2
by A4, A7, FUNCT_2:63;
then A11:
the Target of C1 = the Target of C2
by A4, A7, FUNCT_2:63;
hence
CatStr(# the carrier of C1, the carrier' of C1, the Source of C1, the Target of C1, the Comp of C1, the Id of C1 #) = CatStr(# the carrier of C2, the carrier' of C2, the Source of C2, the Target of C2, the Comp of C2, the Id of C2 #)
by A4, A7, A9, A10, A11, FUNCT_2:63; verum