let N be non empty with_non-empty_elements set ; for S being non empty stored-program IC-Ins-separated steady-programmed definite standard AMI-Struct of N
for F being Subset of NAT holds F, LocNums F,S are_equipotent
let S be non empty stored-program IC-Ins-separated steady-programmed definite standard AMI-Struct of N; for F being Subset of NAT holds F, LocNums F,S are_equipotent
let F be Subset of NAT ; F, LocNums F,S are_equipotent
per cases
( F is empty or not F is empty )
;
suppose A1:
not
F is
empty
;
F, LocNums F,S are_equipotent
LocNums F,
S,
F are_equipotent
proof
defpred S1[
set ,
set ]
means ex
n being
Element of
NAT st
(
n = $1 & $2
= il. S,
n );
A2:
for
x being
set st
x in LocNums F,
S holds
ex
y being
set st
(
y in F &
S1[
x,
y] )
proof
let x be
set ;
( x in LocNums F,S implies ex y being set st
( y in F & S1[x,y] ) )
assume
x in LocNums F,
S
;
ex y being set st
( y in F & S1[x,y] )
then consider l being
Element of
NAT such that A3:
x = locnum l,
S
and A4:
l in F
;
take
l
;
( l in F & S1[x,l] )
thus
l in F
by A4;
S1[x,l]
take
locnum l,
S
;
( locnum l,S = x & l = il. S,(locnum l,S) )
thus
(
locnum l,
S = x &
l = il. S,
(locnum l,S) )
by A3, AMISTD_1:def 13;
verum
end;
consider f being
Function of
(LocNums F,S),
F such that A5:
for
x being
set st
x in LocNums F,
S holds
S1[
x,
f . x]
from FUNCT_2:sch 1(A2);
take
f
;
WELLORD2:def 4 ( f is one-to-one & proj1 f = LocNums F,S & proj2 f = F )
thus
f is
one-to-one
( proj1 f = LocNums F,S & proj2 f = F )
thus A8:
dom f = LocNums F,
S
by A1, FUNCT_2:def 1;
proj2 f = F
thus
rng f c= F
by RELAT_1:def 19;
XBOOLE_0:def 10 F c= proj2 f
let a be
set ;
TARSKI:def 3 ( not a in F or a in proj2 f )
assume A9:
a in F
;
a in proj2 f
then reconsider l =
a as
Element of
NAT ;
A10:
locnum l,
S in dom f
by A8, A9;
then
S1[
locnum l,
S,
f . (locnum l,S)]
by A5, A8;
then
f . (locnum l,S) = a
by AMISTD_1:def 13;
hence
a in proj2 f
by A10, FUNCT_1:def 5;
verum
end; hence
F,
LocNums F,
S are_equipotent
;
verum end; end;