set A = product (Carrier F);
defpred S1[ Element of product (Carrier F), Element of product (Carrier F), set ] means for i being set st i in I holds
ex Fi being non empty multMagma ex h being Function st
( Fi = F . i & h = $3 & h . i = the multF of Fi . (($1 . i),($2 . i)) );
A1:
dom (Carrier F) = I
by PARTFUN1:def 2;
A2:
for x, y being Element of product (Carrier F) ex z being Element of product (Carrier F) st S1[x,y,z]
proof
let x,
y be
Element of
product (Carrier F);
ex z being Element of product (Carrier F) st S1[x,y,z]
defpred S2[
object ,
object ]
means ex
Fi being non
empty multMagma st
(
Fi = F . $1 & $2
= the
multF of
Fi . (
(x . $1),
(y . $1)) );
A3:
for
i being
object st
i in I holds
ex
w being
object st
(
w in union (rng (Carrier F)) &
S2[
i,
w] )
proof
let i be
object ;
( i in I implies ex w being object st
( w in union (rng (Carrier F)) & S2[i,w] ) )
assume A4:
i in I
;
ex w being object st
( w in union (rng (Carrier F)) & S2[i,w] )
then reconsider I1 =
I as non
empty set ;
reconsider i1 =
i as
Element of
I1 by A4;
reconsider F1 =
F as
multMagma-Family of
I1 ;
take w = the
multF of
(F1 . i1) . (
(x . i1),
(y . i1));
( w in union (rng (Carrier F)) & S2[i,w] )
A5:
(Carrier F) . i1 in rng (Carrier F)
by A1, FUNCT_1:def 3;
A6:
ex
R being
1-sorted st
(
R = F . i1 &
(Carrier F1) . i1 = the
carrier of
R )
by PRALG_1:def 15;
then A7:
y . i1 in the
carrier of
(F1 . i1)
by A1, CARD_3:9;
x . i1 in the
carrier of
(F1 . i1)
by A1, A6, CARD_3:9;
then
the
multF of
(F1 . i1) . (
(x . i1),
(y . i1))
in the
carrier of
(F1 . i1)
by A7, BINOP_1:17;
hence
w in union (rng (Carrier F))
by A6, A5, TARSKI:def 4;
S2[i,w]
thus
S2[
i,
w]
;
verum
end;
consider z being
Function such that A8:
(
dom z = I &
rng z c= union (rng (Carrier F)) & ( for
x being
object st
x in I holds
S2[
x,
z . x] ) )
from FUNCT_1:sch 6(A3);
A9:
for
i being
object st
i in dom (Carrier F) holds
z . i in (Carrier F) . i
dom z = dom (Carrier F)
by A8, PARTFUN1:def 2;
then reconsider z =
z as
Element of
product (Carrier F) by A9, CARD_3:9;
take
z
;
S1[x,y,z]
let i be
set ;
( i in I implies ex Fi being non empty multMagma ex h being Function st
( Fi = F . i & h = z & h . i = the multF of Fi . ((x . i),(y . i)) ) )
assume
i in I
;
ex Fi being non empty multMagma ex h being Function st
( Fi = F . i & h = z & h . i = the multF of Fi . ((x . i),(y . i)) )
then consider Fi being non
empty multMagma such that A14:
Fi = F . i
and A15:
z . i = the
multF of
Fi . (
(x . i),
(y . i))
by A8;
take
Fi
;
ex h being Function st
( Fi = F . i & h = z & h . i = the multF of Fi . ((x . i),(y . i)) )
take
z
;
( Fi = F . i & z = z & z . i = the multF of Fi . ((x . i),(y . i)) )
thus
(
Fi = F . i &
z = z &
z . i = the
multF of
Fi . (
(x . i),
(y . i)) )
by A14, A15;
verum
end;
consider B being BinOp of (product (Carrier F)) such that
A16:
for a, b being Element of product (Carrier F) holds S1[a,b,B . (a,b)]
from BINOP_1:sch 3(A2);
take
multMagma(# (product (Carrier F)),B #)
; ( the carrier of multMagma(# (product (Carrier F)),B #) = product (Carrier F) & ( for f, g being Element of product (Carrier F)
for i being set st i in I holds
ex Fi being non empty multMagma ex h being Function st
( Fi = F . i & h = the multF of multMagma(# (product (Carrier F)),B #) . (f,g) & h . i = the multF of Fi . ((f . i),(g . i)) ) ) )
thus
the carrier of multMagma(# (product (Carrier F)),B #) = product (Carrier F)
; for f, g being Element of product (Carrier F)
for i being set st i in I holds
ex Fi being non empty multMagma ex h being Function st
( Fi = F . i & h = the multF of multMagma(# (product (Carrier F)),B #) . (f,g) & h . i = the multF of Fi . ((f . i),(g . i)) )
let f, g be Element of product (Carrier F); for i being set st i in I holds
ex Fi being non empty multMagma ex h being Function st
( Fi = F . i & h = the multF of multMagma(# (product (Carrier F)),B #) . (f,g) & h . i = the multF of Fi . ((f . i),(g . i)) )
let i be set ; ( i in I implies ex Fi being non empty multMagma ex h being Function st
( Fi = F . i & h = the multF of multMagma(# (product (Carrier F)),B #) . (f,g) & h . i = the multF of Fi . ((f . i),(g . i)) ) )
assume
i in I
; ex Fi being non empty multMagma ex h being Function st
( Fi = F . i & h = the multF of multMagma(# (product (Carrier F)),B #) . (f,g) & h . i = the multF of Fi . ((f . i),(g . i)) )
hence
ex Fi being non empty multMagma ex h being Function st
( Fi = F . i & h = the multF of multMagma(# (product (Carrier F)),B #) . (f,g) & h . i = the multF of Fi . ((f . i),(g . i)) )
by A16; verum