let A be set ; for D being non empty set
for o being BinOp of D st o is uniquely-decomposable holds
o,D .: A is uniquely-decomposable
let D be non empty set ; for o being BinOp of D st o is uniquely-decomposable holds
o,D .: A is uniquely-decomposable
let o be BinOp of D; ( o is uniquely-decomposable implies o,D .: A is uniquely-decomposable )
assume that
A1:
o is having_a_unity
and
A2:
for a, b being Element of D st o . a,b = the_unity_wrt o holds
( a = b & b = the_unity_wrt o )
; MONOID_0:def 9 o,D .: A is uniquely-decomposable
A3:
the_unity_wrt (o,D .: A) = A --> (the_unity_wrt o)
by A1, Th11;
thus
o,D .: A is having_a_unity
by A1, Th11; MONOID_0:def 9 for b1, b2 being Element of Funcs A,D holds
( not (o,D .: A) . b1,b2 = the_unity_wrt (o,D .: A) or ( b1 = b2 & b2 = the_unity_wrt (o,D .: A) ) )
let f, g be Element of Funcs A,D; ( not (o,D .: A) . f,g = the_unity_wrt (o,D .: A) or ( f = g & g = the_unity_wrt (o,D .: A) ) )
assume A4:
(o,D .: A) . f,g = the_unity_wrt (o,D .: A)
; ( f = g & g = the_unity_wrt (o,D .: A) )
A5:
dom (o .: f,g) = A
by FUNCT_2:def 1;
A6:
(o,D .: A) . f,g = o .: f,g
by Def2;
A11:
dom g = A
by FUNCT_2:def 1;
dom f = A
by FUNCT_2:def 1;
hence
f = g
by A11, A7, FUNCT_1:9; g = the_unity_wrt (o,D .: A)
dom (A --> (the_unity_wrt o)) = A
by FUNCT_2:def 1;
hence
g = the_unity_wrt (o,D .: A)
by A3, A11, A9, FUNCT_1:9; verum