let X be non empty set ; for f being finite-support Function of X,NAT holds card (NatMinor f) = multnat $$ (support f),(addnat [:] f,1)
defpred S1[ Element of Fin X] means for f being Function of X,NAT st ( for x being Element of X st not x in $1 holds
f . x = 0 ) holds
card (NatMinor f) = multnat $$ $1,(addnat [:] f,1);
let f be finite-support Function of X,NAT ; card (NatMinor f) = multnat $$ (support f),(addnat [:] f,1)
A1:
for x being Element of X st not x in support f holds
f . x = 0
by Def7;
A2:
for B being Element of Fin X
for b being Element of X st S1[B] & not b in B holds
S1[B \/ {.b.}]
proof
let B be
Element of
Fin X;
for b being Element of X st S1[B] & not b in B holds
S1[B \/ {.b.}]let b be
Element of
X;
( S1[B] & not b in B implies S1[B \/ {.b.}] )
assume that A3:
S1[
B]
and A4:
not
b in B
;
S1[B \/ {.b.}]
let f be
Function of
X,
NAT ;
( ( for x being Element of X st not x in B \/ {.b.} holds
f . x = 0 ) implies card (NatMinor f) = multnat $$ (B \/ {.b.}),(addnat [:] f,1) )
assume A5:
for
x being
Element of
X st not
x in B \/ {b} holds
f . x = 0
;
card (NatMinor f) = multnat $$ (B \/ {.b.}),(addnat [:] f,1)
set g =
f +* b,
0 ;
(f +* b,0 ) | B = f | B
by A4, FUNCT_7:94;
then
(addnat [:] (f +* b,0 ),1) | B = (addnat [:] f,1) | B
by FUNCOP_1:36;
then A6:
multnat $$ B,
(addnat [:] (f +* b,0 ),1) = multnat $$ B,
(addnat [:] f,1)
by SETWOP_2:9;
A7:
dom f = X
by FUNCT_2:def 1;
for
x being
Element of
X st not
x in B holds
(f +* b,0 ) . x = 0
then A11:
card (NatMinor (f +* b,0 )) = multnat $$ B,
(addnat [:] (f +* b,0 ),1)
by A3;
then reconsider ng =
NatMinor (f +* b,0 ) as
functional non
empty finite set ;
reconsider fb1 =
(f . b) + 1 as non
empty Element of
NAT ;
dom (addnat [:] f,1) = X
by FUNCT_2:def 1;
then A12:
(addnat [:] f,1) . b =
addnat . (f . b),1
by FUNCOP_1:35
.=
(f . b) + 1
by BINOP_2:def 23
;
set cng =
card ng;
A13:
f . b < (f . b) + 1
by XREAL_1:31;
[:ng,((f . b) + 1):],
NatMinor f are_equipotent
proof
deffunc H1(
Element of
ng,
Element of
fb1)
-> set = $1
+* b,$2;
A14:
for
p being
Element of
ng for
l being
Element of
fb1 holds
H1(
p,
l)
in NatMinor f
consider r being
Function of
[:ng,fb1:],
(NatMinor f) such that A21:
for
p being
Element of
ng for
l being
Element of
fb1 holds
r . p,
l = H1(
p,
l)
from FUNCT_7:sch 1(A14);
take
r
;
WELLORD2:def 4 ( r is one-to-one & proj1 r = [:ng,((f . b) + 1):] & proj2 r = NatMinor f )
thus
r is
one-to-one
( proj1 r = [:ng,((f . b) + 1):] & proj2 r = NatMinor f )proof
let x1,
x2 be
set ;
FUNCT_1:def 8 ( not x1 in proj1 r or not x2 in proj1 r or not r . x1 = r . x2 or x1 = x2 )
assume that A22:
x1 in dom r
and A23:
x2 in dom r
and A24:
r . x1 = r . x2
;
x1 = x2
consider p2,
l2 being
set such that A25:
x2 = [p2,l2]
by A23, RELAT_1:def 1;
reconsider p2 =
p2 as
Element of
NatMinor (f +* b,0 ) by A23, A25, ZFMISC_1:106;
A26:
dom p2 = X
by FUNCT_2:169;
A27:
l2 in fb1
by A23, A25, ZFMISC_1:106;
consider p1,
l1 being
set such that A28:
x1 = [p1,l1]
by A22, RELAT_1:def 1;
reconsider p1 =
p1 as
Element of
NatMinor (f +* b,0 ) by A22, A28, ZFMISC_1:106;
A29:
dom p1 = X
by FUNCT_2:169;
then reconsider p19 =
p1,
p29 =
p2 as
natural-valued ManySortedSet of
X by A26, PARTFUN1:def 4, RELAT_1:def 18;
l1 in fb1
by A22, A28, ZFMISC_1:106;
then A30:
p1 +* b,
l1 =
r . p1,
l1
by A21
.=
r . p2,
l2
by A24, A28, A25
.=
p2 +* b,
l2
by A21, A27
;
A31:
now let x be
set ;
( x in X implies p19 . b1 = p29 . b1 )assume
x in X
;
p19 . b1 = p29 . b1 end;
l1 =
(p1 +* b,l1) . b
by A29, FUNCT_7:33
.=
l2
by A30, A26, FUNCT_7:33
;
hence
x1 = x2
by A28, A25, A31, PBOOLE:3;
verum
end;
thus A35:
dom r = [:ng,((f . b) + 1):]
by FUNCT_2:def 1;
proj2 r = NatMinor f
thus
rng r c= NatMinor f
;
XBOOLE_0:def 10 NatMinor f c= proj2 r
thus
NatMinor f c= rng r
verumproof
let x be
set ;
TARSKI:def 3 ( not x in NatMinor f or x in rng r )
assume
x in NatMinor f
;
x in rng r
then reconsider e =
x as
Element of
NatMinor f ;
A36:
dom e = X
by FUNCT_2:169;
then
dom (e +* b,0 ) = X
by FUNCT_7:32;
then reconsider eb0 =
e +* b,
0 as
natural-valued ManySortedSet of
X by PARTFUN1:def 4, RELAT_1:def 18;
A37:
e is
ManySortedSet of
X
by A36, PARTFUN1:def 4, RELAT_1:def 18;
then reconsider eb0 =
eb0 as
Element of
NatMinor (f +* b,0 ) by Def17;
e . b <= f . b
by A37, Def17;
then
e . b < fb1
by A13, XXREAL_0:2;
then A41:
e . b in fb1
by NAT_1:45;
then A42:
[eb0,(e . b)] in dom r
by A35, ZFMISC_1:106;
e =
e +* b,
(e . b)
by FUNCT_7:37
.=
eb0 +* b,
(e . b)
by FUNCT_7:36
;
then
e = r . eb0,
(e . b)
by A21, A41;
hence
x in rng r
by A42, FUNCT_1:def 5;
verum
end;
end;
hence card (NatMinor f) =
card [:ng,((f . b) + 1):]
by CARD_1:21
.=
(card ng) * (card ((f . b) + 1))
by CARD_2:65
.=
(card ng) * ((f . b) + 1)
by CARD_1:def 5
.=
multnat . (multnat $$ B,(addnat [:] f,1)),
((f . b) + 1)
by A11, A6, BINOP_2:def 24
.=
multnat $$ (B \/ {.b.}),
(addnat [:] f,1)
by A4, A12, SETWOP_2:4
;
verum
end;
A43:
S1[ {}. X]
for B being Element of Fin X holds S1[B]
from SETWISEO:sch 2(A43, A2);
hence
card (NatMinor f) = multnat $$ (support f),(addnat [:] f,1)
by A1; verum