set X = the carrier of G;
defpred S1[ object , object ] means ex a, b being Element of G st
( $1 = [a,b] & $2 = (a * b) * (a ") );
A: for x being object st x in [: the carrier of G, the carrier of G:] holds
ex y being object st
( y in the carrier of G & S1[x,y] )
proof
let x be object ; :: thesis: ( x in [: the carrier of G, the carrier of G:] implies ex y being object st
( y in the carrier of G & S1[x,y] ) )

assume x in [: the carrier of G, the carrier of G:] ; :: thesis: ex y being object st
( y in the carrier of G & S1[x,y] )

then consider g, a being object such that
A1: ( g in the carrier of G & a in the carrier of G & x = [g,a] ) by ZFMISC_1:def 2;
reconsider a = a, g = g as Element of G by A1;
take (g * a) * (g ") ; :: thesis: ( (g * a) * (g ") in the carrier of G & S1[x,(g * a) * (g ")] )
thus ( (g * a) * (g ") in the carrier of G & S1[x,(g * a) * (g ")] ) by A1; :: thesis: verum
end;
consider f being Function of [: the carrier of G, the carrier of G:], the carrier of G such that
B: for x being object st x in [: the carrier of G, the carrier of G:] holds
S1[x,f . x] from FUNCT_2:sch 1(A);
C: now :: thesis: for a being Element of the carrier of G holds f . ((1_ G),a) = a
let a be Element of the carrier of G; :: thesis: f . ((1_ G),a) = a
consider c, b being Element of G such that
C1: ( [(1_ G),a] = [c,b] & f . [(1_ G),a] = (c * b) * (c ") ) by B;
( a = b & 1_ G = c ) by C1, XTUPLE_0:1;
hence f . ((1_ G),a) = a * ((1_ G) ") by C1, GROUP_1:def 4
.= a * (1_ G) by GROUP_1:8
.= a by GROUP_1:def 4 ;
:: thesis: verum
end;
now :: thesis: for a, g, h being Element of the carrier of G holds f . ((g * h),a) = f . (g,(f . (h,a)))
let a be Element of the carrier of G; :: thesis: for g, h being Element of the carrier of G holds f . ((g * h),a) = f . (g,(f . (h,a)))
let g, h be Element of the carrier of G; :: thesis: f . ((g * h),a) = f . (g,(f . (h,a)))
consider c, b being Element of G such that
C1: ( [h,a] = [c,b] & f . [h,a] = (c * b) * (c ") ) by B;
C2: ( a = b & h = c ) by C1, XTUPLE_0:1;
consider c, b being Element of G such that
C3: ( [g,((h * a) * (h "))] = [c,b] & f . [g,((h * a) * (h "))] = (c * b) * (c ") ) by B;
( (h * a) * (h ") = b & g = c ) by C3, XTUPLE_0:1;
then C4: f . (g,(f . (h,a))) = (g * (h * (a * (h ")))) * (g ") by C1, C2, C3, GROUP_1:def 3
.= g * ((h * (a * (h "))) * (g ")) by GROUP_1:def 3
.= g * (h * ((a * (h ")) * (g "))) by GROUP_1:def 3
.= (g * h) * ((a * (h ")) * (g ")) by GROUP_1:def 3
.= (g * h) * (a * ((h ") * (g "))) by GROUP_1:def 3
.= ((g * h) * a) * ((h ") * (g ")) by GROUP_1:def 3 ;
consider c, b being Element of G such that
C5: ( [(g * h),a] = [c,b] & f . [(g * h),a] = (c * b) * (c ") ) by B;
thus f . ((g * h),a) = ((g * h) * a) * ((g * h) ") by C5, XTUPLE_0:1
.= f . (g,(f . (h,a))) by C4, GROUP_1:17 ; :: thesis: verum
end;
then reconsider f = f as Action of G, the carrier of G by C, defAC;
take f ; :: thesis: for g1, g2 being Element of G holds f . (g1,g2) = (g1 * g2) * (g1 ")
now :: thesis: for a being Element of the carrier of G
for g being Element of G holds f . (g,a) = (g * a) * (g ")
let a be Element of the carrier of G; :: thesis: for g being Element of G holds f . (g,a) = (g * a) * (g ")
let g be Element of G; :: thesis: f . (g,a) = (g * a) * (g ")
consider c, b being Element of G such that
B1: ( [g,a] = [c,b] & f . [g,a] = (c * b) * (c ") ) by B;
thus f . (g,a) = (g * a) * (g ") by B1, XTUPLE_0:1; :: thesis: verum
end;
hence for g1, g2 being Element of G holds f . (g1,g2) = (g1 * g2) * (g1 ") ; :: thesis: verum