Lm1:
now for S being non empty non void ManySortedSign
for A being non-empty MSAlgebra over S
for C1, C2 being MSCongruence of A
for G being ManySortedFunction of (QuotMSAlg (A,C1)),(QuotMSAlg (A,C2)) st ( for i being Element of S
for x being Element of the Sorts of (QuotMSAlg (A,C1)) . i
for xx being Element of the Sorts of A . i st x = Class (C1,xx) holds
(G . i) . x = Class (C2,xx) ) holds
G is "onto"
let S be non
empty non
void ManySortedSign ;
for A being non-empty MSAlgebra over S
for C1, C2 being MSCongruence of A
for G being ManySortedFunction of (QuotMSAlg (A,C1)),(QuotMSAlg (A,C2)) st ( for i being Element of S
for x being Element of the Sorts of (QuotMSAlg (A,C1)) . i
for xx being Element of the Sorts of A . i st x = Class (C1,xx) holds
(G . i) . x = Class (C2,xx) ) holds
G is "onto" let A be
non-empty MSAlgebra over
S;
for C1, C2 being MSCongruence of A
for G being ManySortedFunction of (QuotMSAlg (A,C1)),(QuotMSAlg (A,C2)) st ( for i being Element of S
for x being Element of the Sorts of (QuotMSAlg (A,C1)) . i
for xx being Element of the Sorts of A . i st x = Class (C1,xx) holds
(G . i) . x = Class (C2,xx) ) holds
G is "onto" let C1,
C2 be
MSCongruence of
A;
for G being ManySortedFunction of (QuotMSAlg (A,C1)),(QuotMSAlg (A,C2)) st ( for i being Element of S
for x being Element of the Sorts of (QuotMSAlg (A,C1)) . i
for xx being Element of the Sorts of A . i st x = Class (C1,xx) holds
(G . i) . x = Class (C2,xx) ) holds
G is "onto" let G be
ManySortedFunction of
(QuotMSAlg (A,C1)),
(QuotMSAlg (A,C2));
( ( for i being Element of S
for x being Element of the Sorts of (QuotMSAlg (A,C1)) . i
for xx being Element of the Sorts of A . i st x = Class (C1,xx) holds
(G . i) . x = Class (C2,xx) ) implies G is "onto" )assume A1:
for
i being
Element of
S for
x being
Element of the
Sorts of
(QuotMSAlg (A,C1)) . i for
xx being
Element of the
Sorts of
A . i st
x = Class (
C1,
xx) holds
(G . i) . x = Class (
C2,
xx)
;
G is "onto" thus
G is
"onto"
verum
proof
let i be
set ;
MSUALG_3:def 3 ( not i in the carrier of S or rng (G . i) = the Sorts of (QuotMSAlg (A,C2)) . i )
set sL = the
Sorts of
(QuotMSAlg (A,C1));
set sP = the
Sorts of
(QuotMSAlg (A,C2));
assume
i in the
carrier of
S
;
rng (G . i) = the Sorts of (QuotMSAlg (A,C2)) . i
then reconsider s =
i as
SortSymbol of
S ;
A2:
dom (G . s) = the
Sorts of
(QuotMSAlg (A,C1)) . s
by FUNCT_2:def 1;
rng (G . s) c= the
Sorts of
(QuotMSAlg (A,C2)) . s
;
hence
rng (G . i) c= the
Sorts of
(QuotMSAlg (A,C2)) . i
;
XBOOLE_0:def 10 the Sorts of (QuotMSAlg (A,C2)) . i c= rng (G . i)
let q be
object ;
TARSKI:def 3 ( not q in the Sorts of (QuotMSAlg (A,C2)) . i or q in rng (G . i) )
assume
q in the
Sorts of
(QuotMSAlg (A,C2)) . i
;
q in rng (G . i)
then
q in Class (C2 . s)
by MSUALG_4:def 6;
then consider a being
object such that A3:
a in the
Sorts of
A . s
and A4:
q = Class (
(C2 . s),
a)
by EQREL_1:def 3;
reconsider a =
a as
Element of the
Sorts of
A . s by A3;
Class (
(C1 . s),
a)
in Class (C1 . s)
by EQREL_1:def 3;
then reconsider x =
Class (
C1,
a) as
Element of the
Sorts of
(QuotMSAlg (A,C1)) . s by MSUALG_4:def 6;
(G . s) . x =
Class (
C2,
a)
by A1
.=
Class (
(C2 . s),
a)
;
hence
q in rng (G . i)
by A4, A2, FUNCT_1:def 3;
verum
end;
end;
theorem Th35:
for
S being non
empty non
void ManySortedSign for
A being
non-empty MSAlgebra over
S for
C1,
C2 being
MSCongruence of
A for
G being
ManySortedFunction of
(QuotMSAlg (A,C1)),
(QuotMSAlg (A,C2)) st ( for
i being
Element of
S for
x being
Element of the
Sorts of
(QuotMSAlg (A,C1)) . i for
xx being
Element of the
Sorts of
A . i st
x = Class (
C1,
xx) holds
(G . i) . x = Class (
C2,
xx) ) holds
G is_epimorphism QuotMSAlg (
A,
C1),
QuotMSAlg (
A,
C2)