let D be non empty set ; for S being non empty Subset of D
for f being BinOp of D
for g being BinOp of S
for d being Element of D
for d9 being Element of S st g = f || S & d9 = d holds
( ( d is_a_left_unity_wrt f implies d9 is_a_left_unity_wrt g ) & ( d is_a_right_unity_wrt f implies d9 is_a_right_unity_wrt g ) & ( d is_a_unity_wrt f implies d9 is_a_unity_wrt g ) )
let S be non empty Subset of D; for f being BinOp of D
for g being BinOp of S
for d being Element of D
for d9 being Element of S st g = f || S & d9 = d holds
( ( d is_a_left_unity_wrt f implies d9 is_a_left_unity_wrt g ) & ( d is_a_right_unity_wrt f implies d9 is_a_right_unity_wrt g ) & ( d is_a_unity_wrt f implies d9 is_a_unity_wrt g ) )
let f be BinOp of D; for g being BinOp of S
for d being Element of D
for d9 being Element of S st g = f || S & d9 = d holds
( ( d is_a_left_unity_wrt f implies d9 is_a_left_unity_wrt g ) & ( d is_a_right_unity_wrt f implies d9 is_a_right_unity_wrt g ) & ( d is_a_unity_wrt f implies d9 is_a_unity_wrt g ) )
let g be BinOp of S; for d being Element of D
for d9 being Element of S st g = f || S & d9 = d holds
( ( d is_a_left_unity_wrt f implies d9 is_a_left_unity_wrt g ) & ( d is_a_right_unity_wrt f implies d9 is_a_right_unity_wrt g ) & ( d is_a_unity_wrt f implies d9 is_a_unity_wrt g ) )
let d be Element of D; for d9 being Element of S st g = f || S & d9 = d holds
( ( d is_a_left_unity_wrt f implies d9 is_a_left_unity_wrt g ) & ( d is_a_right_unity_wrt f implies d9 is_a_right_unity_wrt g ) & ( d is_a_unity_wrt f implies d9 is_a_unity_wrt g ) )
let d9 be Element of S; ( g = f || S & d9 = d implies ( ( d is_a_left_unity_wrt f implies d9 is_a_left_unity_wrt g ) & ( d is_a_right_unity_wrt f implies d9 is_a_right_unity_wrt g ) & ( d is_a_unity_wrt f implies d9 is_a_unity_wrt g ) ) )
assume that
A1:
g = f || S
and
A2:
d9 = d
; ( ( d is_a_left_unity_wrt f implies d9 is_a_left_unity_wrt g ) & ( d is_a_right_unity_wrt f implies d9 is_a_right_unity_wrt g ) & ( d is_a_unity_wrt f implies d9 is_a_unity_wrt g ) )
A3:
dom g = [:S,S:]
by FUNCT_2:def 1;
thus
( d is_a_left_unity_wrt f implies d9 is_a_left_unity_wrt g )
( ( d is_a_right_unity_wrt f implies d9 is_a_right_unity_wrt g ) & ( d is_a_unity_wrt f implies d9 is_a_unity_wrt g ) )
thus
( d is_a_right_unity_wrt f implies d9 is_a_right_unity_wrt g )
( d is_a_unity_wrt f implies d9 is_a_unity_wrt g )
assume A6:
d is_a_unity_wrt f
; d9 is_a_unity_wrt g
now let s be
Element of
S;
( g . d9,s = s & g . s,d9 = s )reconsider s9 =
s as
Element of
D ;
A7:
dom g = [:S,S:]
by FUNCT_2:def 1;
[d9,s] in [:S,S:]
;
hence g . d9,
s =
f . d,
s9
by A1, A2, A7, FUNCT_1:70
.=
s
by A6, BINOP_1:11
;
g . s,d9 = s
[s,d9] in [:S,S:]
;
hence g . s,
d9 =
f . s9,
d
by A1, A2, A7, FUNCT_1:70
.=
s
by A6, BINOP_1:11
;
verum end;
hence
d9 is_a_unity_wrt g
by BINOP_1:11; verum