let I be set ; :: thesis: for F being ManySortedFunction of I st doms F is non-empty & ( for A, B being ManySortedSet of I st A in doms F & B in doms F & F .. A = F .. B holds
A = B ) holds
F is "1-1"
let F be ManySortedFunction of I; :: thesis: ( doms F is non-empty & ( for A, B being ManySortedSet of I st A in doms F & B in doms F & F .. A = F .. B holds
A = B ) implies F is "1-1" )
assume that
A1:
doms F is non-empty
and
A2:
for A, B being ManySortedSet of I st A in doms F & B in doms F & F .. A = F .. B holds
A = B
; :: thesis: F is "1-1"
consider K being ManySortedSet of I such that
A3:
K in doms F
by A1, PBOOLE:146;
let i be set ; :: according to MSUALG_3:def 2 :: thesis: for b1 being set holds
( not i in dom F or not F . i = b1 or b1 is one-to-one )
let f be Function; :: thesis: ( not i in dom F or not F . i = f or f is one-to-one )
assume that
A4:
i in dom F
and
A5:
F . i = f
; :: thesis: f is one-to-one
let x1, x2 be set ; :: according to FUNCT_1:def 8 :: thesis: ( not x1 in dom f or not x2 in dom f or not f . x1 = f . x2 or x1 = x2 )
assume that
A6:
( x1 in dom f & x2 in dom f )
and
A7:
f . x1 = f . x2
; :: thesis: x1 = x2
A8:
dom F = I
by PBOOLE:def 3;
then
dom (K +* (i .--> x1)) = I
by A4, PZFMISC1:1;
then reconsider X1 = K +* (i .--> x1) as ManySortedSet of I by PBOOLE:def 3;
A9:
dom (i .--> x1) = {i}
by FUNCOP_1:19;
i in {i}
by TARSKI:def 1;
then A10: X1 . i =
(i .--> x1) . i
by A9, FUNCT_4:14
.=
x1
by FUNCOP_1:87
;
dom (K +* (i .--> x2)) = I
by A4, A8, PZFMISC1:1;
then reconsider X2 = K +* (i .--> x2) as ManySortedSet of I by PBOOLE:def 3;
A11:
dom (i .--> x2) = {i}
by FUNCOP_1:19;
i in {i}
by TARSKI:def 1;
then A12: X2 . i =
(i .--> x2) . i
by A11, FUNCT_4:14
.=
x2
by FUNCOP_1:87
;
A13:
X1 in doms F
A15:
X2 in doms F
then
F .. X1 = F .. X2
by PBOOLE:3;
hence
x1 = x2
by A2, A10, A12, A13, A15; :: thesis: verum