let f, g be BinOp of S; :: thesis: ( ( for a, b being Element of S holds w . a,(f . a,b) = w . (f . a,b),b ) & ( for a, b being Element of S holds w . a,(g . a,b) = w . (g . a,b),b ) implies f = g )
assume that
A6: for a, b being Element of S holds w . a,(f . a,b) = w . (f . a,b),b and
A7: for a, b being Element of S holds w . a,(g . a,b) = w . (g . a,b),b ; :: thesis: f = g
defpred S1[ Element of S, Element of S, Element of S] means w . $1,$3 = w . $3,$2;
A8: for a, b, c, c' being Element of S st S1[a,b,c] & S1[a,b,c'] holds
c = c'
proof
let a, b, c, c' be Element of S; :: thesis: ( S1[a,b,c] & S1[a,b,c'] implies c = c' )
assume that
A9: S1[a,b,c] and
A10: S1[a,b,c'] ; :: thesis: c = c'
w . c,c' = (w . c,a) + (w . a,c') by A1, Def3
.= (w . c',b) + (w . b,c) by A1, A9, A10, Th7
.= w . c',c by A1, Def3
.= - (w . c,c') by A1, Th6 ;
then w . c,c' = 0. G by Th19;
hence c = c' by A1, Th5; :: thesis: verum
end;
for a, b being Element of S holds f . a,b = g . a,b
proof
let a, b be Element of S; :: thesis: f . a,b = g . a,b
( w . a,(f . a,b) = w . (f . a,b),b & w . a,(g . a,b) = w . (g . a,b),b ) by A6, A7;
hence f . a,b = g . a,b by A8; :: thesis: verum
end;
hence f = g by BINOP_1:2; :: thesis: verum