begin
:: deftheorem Def1 defines is_one-to-one_at FINSEQ_4:def 1 :
for f being Function
for x being set holds
( f is_one-to-one_at x iff f " (Im (f,x)) = {x} );
theorem
canceled;
theorem Th2:
theorem Th3:
theorem Th4:
theorem
:: deftheorem Def2 defines just_once_values FINSEQ_4:def 2 :
for f being Function
for y being set holds
( f just_once_values y iff ex B being finite set st
( B = f " {y} & card B = 1 ) );
theorem
canceled;
theorem Th7:
theorem Th8:
theorem Th9:
theorem Th10:
theorem Th11:
:: deftheorem Def3 defines <- FINSEQ_4:def 3 :
for f being Function
for y being set st f just_once_values y holds
for b3 being set holds
( b3 = f <- y iff ( b3 in dom f & f . b3 = y ) );
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
theorem Th17:
theorem
theorem
canceled;
theorem
theorem
theorem
canceled;
theorem
canceled;
theorem
theorem
theorem
theorem
:: deftheorem FINSEQ_4:def 4 :
canceled;
:: deftheorem defines .. FINSEQ_4:def 5 :
for p being FinSequence
for x being set holds x .. p = (Sgm (p " {x})) . 1;
theorem
canceled;
theorem Th29:
theorem Th30:
theorem Th31:
theorem Th32:
theorem Th33:
theorem Th34:
theorem Th35:
theorem Th36:
theorem Th37:
theorem Th38:
theorem
theorem Th40:
theorem Th41:
theorem
:: deftheorem Def6 defines -| FINSEQ_4:def 6 :
for p being FinSequence
for x being set st x in rng p holds
for b3 being FinSequence holds
( b3 = p -| x iff ex n being Nat st
( n = (x .. p) - 1 & b3 = p | (Seg n) ) );
theorem
canceled;
theorem
canceled;
theorem Th45:
theorem Th46:
theorem Th47:
theorem Th48:
theorem Th49:
theorem
theorem
theorem
theorem
:: deftheorem Def7 defines |-- FINSEQ_4:def 7 :
for p being FinSequence
for x being set st x in rng p holds
for b3 being FinSequence holds
( b3 = p |-- x iff ( len b3 = (len p) - (x .. p) & ( for k being Nat st k in dom b3 holds
b3 . k = p . (k + (x .. p)) ) ) );
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem Th57:
theorem Th58:
theorem
theorem Th60:
theorem Th61:
theorem
theorem
theorem
theorem
theorem Th66:
theorem
theorem
theorem Th69:
theorem
theorem Th71:
theorem
theorem Th73:
theorem Th74:
theorem Th75:
theorem
Lm1:
for A, B being finite set
for f being Function of A,B st card A = card B & rng f = B holds
f is one-to-one
theorem Th77:
theorem
theorem Th79:
theorem
theorem Th81:
begin
theorem
theorem
theorem
theorem
theorem
theorem
theorem
definition
let x1,
x2,
x3,
x4 be
set ;
func <*x1,x2,x3,x4*> -> set equals
<*x1,x2,x3*> ^ <*x4*>;
correctness
coherence
<*x1,x2,x3*> ^ <*x4*> is set ;
;
let x5 be
set ;
func <*x1,x2,x3,x4,x5*> -> set equals
<*x1,x2,x3*> ^ <*x4,x5*>;
correctness
coherence
<*x1,x2,x3*> ^ <*x4,x5*> is set ;
;
end;
:: deftheorem defines <* FINSEQ_4:def 8 :
for x1, x2, x3, x4 being set holds <*x1,x2,x3,x4*> = <*x1,x2,x3*> ^ <*x4*>;
:: deftheorem defines <* FINSEQ_4:def 9 :
for x1, x2, x3, x4, x5 being set holds <*x1,x2,x3,x4,x5*> = <*x1,x2,x3*> ^ <*x4,x5*>;
registration
let x1,
x2,
x3,
x4 be
set ;
cluster <*x1,x2,x3,x4*> -> Relation-like Function-like ;
coherence
( <*x1,x2,x3,x4*> is Function-like & <*x1,x2,x3,x4*> is Relation-like )
;
let x5 be
set ;
cluster <*x1,x2,x3,x4,x5*> -> Relation-like Function-like ;
coherence
( <*x1,x2,x3,x4,x5*> is Function-like & <*x1,x2,x3,x4,x5*> is Relation-like )
;
end;
registration
let x1,
x2,
x3,
x4 be
set ;
cluster <*x1,x2,x3,x4*> -> FinSequence-like ;
coherence
<*x1,x2,x3,x4*> is FinSequence-like
;
let x5 be
set ;
cluster <*x1,x2,x3,x4,x5*> -> FinSequence-like ;
coherence
<*x1,x2,x3,x4,x5*> is FinSequence-like
;
end;
definition
let D be non
empty set ;
let x1,
x2,
x3,
x4,
x5 be
Element of
D;
<*redefine func <*x1,x2,x3,x4,x5*> -> FinSequence of
D;
coherence
<*x1,x2,x3,x4,x5*> is FinSequence of D
end;
theorem Th89:
for
x1,
x2,
x3,
x4 being
set holds
(
<*x1,x2,x3,x4*> = <*x1,x2,x3*> ^ <*x4*> &
<*x1,x2,x3,x4*> = <*x1,x2*> ^ <*x3,x4*> &
<*x1,x2,x3,x4*> = <*x1*> ^ <*x2,x3,x4*> &
<*x1,x2,x3,x4*> = ((<*x1*> ^ <*x2*>) ^ <*x3*>) ^ <*x4*> )
theorem Th90:
for
x1,
x2,
x3,
x4,
x5 being
set holds
(
<*x1,x2,x3,x4,x5*> = <*x1,x2,x3*> ^ <*x4,x5*> &
<*x1,x2,x3,x4,x5*> = <*x1,x2,x3,x4*> ^ <*x5*> &
<*x1,x2,x3,x4,x5*> = (((<*x1*> ^ <*x2*>) ^ <*x3*>) ^ <*x4*>) ^ <*x5*> &
<*x1,x2,x3,x4,x5*> = <*x1,x2*> ^ <*x3,x4,x5*> &
<*x1,x2,x3,x4,x5*> = <*x1*> ^ <*x2,x3,x4,x5*> )
theorem Th91:
theorem Th92:
theorem Th93:
for
x1,
x2,
x3,
x4,
x5 being
set for
p being
FinSequence holds
(
p = <*x1,x2,x3,x4,x5*> iff (
len p = 5 &
p . 1
= x1 &
p . 2
= x2 &
p . 3
= x3 &
p . 4
= x4 &
p . 5
= x5 ) )
theorem Th94:
theorem
for
ND being non
empty set for
y1,
y2,
y3,
y4 being
Element of
ND holds
(
<*y1,y2,y3,y4*> /. 1
= y1 &
<*y1,y2,y3,y4*> /. 2
= y2 &
<*y1,y2,y3,y4*> /. 3
= y3 &
<*y1,y2,y3,y4*> /. 4
= y4 )
theorem
for
ND being non
empty set for
y1,
y2,
y3,
y4,
y5 being
Element of
ND holds
(
<*y1,y2,y3,y4,y5*> /. 1
= y1 &
<*y1,y2,y3,y4,y5*> /. 2
= y2 &
<*y1,y2,y3,y4,y5*> /. 3
= y3 &
<*y1,y2,y3,y4,y5*> /. 4
= y4 &
<*y1,y2,y3,y4,y5*> /. 5
= y5 )
theorem Th97:
theorem
registration
let x1,
x2,
x3,
x4 be
set ;
cluster <*x1,x2,x3,x4*> -> 4
-long ;
coherence
<*x1,x2,x3,x4*> is 4 -long
;
let x5 be
set ;
cluster <*x1,x2,x3,x4,x5*> -> 5
-long ;
coherence
<*x1,x2,x3,x4,x5*> is 5 -long
;
end;
begin
theorem
theorem
theorem
theorem Th11:
theorem
theorem
theorem Th14:
theorem