SSL rearran1.miz
Interaktion und PortierbarkeitMizar
|
|
:: Introduction to Theory of Rearrangment
:: by Yuji Sakai and Jaros{\l}aw Kotowicz
::
:: Received May 22, 1993
:: Copyright (c) 1993-2026 Association of Mizar Users
:: (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.
environ
for D java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
reconsider +) An= A. asfinite byA1,3Lm2NAT_111;
ARYTM_1, TARSKI, ARYTM_3, java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 21
CLASSES1a An1 .n={;
notations TARSKI, XBOOLE_0, ZFMISC_1, SUBSET_1, RELAT_1, MEMBERED, FUNCT_1,
RELSET_1, CARD_1, FINSET_1, ORDINAL1, NUMBERS, XXREAL_0, XCMPLX_0,
XREAL_0, NAT_1, PARTFUN1, FINSEQ_1, FINSEQ_2, VALUED_1, RFUNCT_1,
FINSEQOP, RVSUM_1, CLASSES1, RFINSEQ, RFUNCT_3;
constructors REAL_1, NAT_1, FINSEQOP, RVSUM_1, RFINSEQ, RFUNCT_3, CLASSES1,
RELSET_1, BINOP_2;
registrations SUBSET_1, RELSET_1, PARTFUN1,
XREAL_0, A6: A.(n+1) c= A.n byXBOOLE_1:;
INT_1, ORDINAL1;
card (An) nby A1,4,ef1;
definitions then n1< nby A6NAT_1:43java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
equalities XBOOLE_0,for a termsve_same_card_as_numberlength_equal_card_of_set
eTARSKI ;
theorems FINSEQ_1,proof
FINSET_1 let A terms've_same_card_as_number
RELAT_1, XBOOLE_0 bool ;
VALUED_1, java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 20
schemes NAT_1, FINSEQ_1then
begin
reserve n,m, then reconsiderA1=A1 asfinite set java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
x,y for then conside xbeing such
r x} 1byCARD_242
definition
let by ,25;
F be then A.1 c= D Lm5
reconsider ElementofD A2,;
coherence
proof
reconsider F xjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
r(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
hence fora ' of
end;
end;
bool <n&n=- exdbeElement Da(1 n= {d} & a.(
proof
let f be Function,x be object;
assume
A1: not x in rngproof
rng be terms've_same_card_as_number ascending FinSequence of ;
proof
assume that
assume rng f /\ {x} A1: <= and
then y in rng f & y in {x} by XBOOLE_0:def 4;
hence contradiction by A1,TARSKI:def 1;
end;
hence thesis by RELAT_1:138;
end;
definition
let IT be FinSequenceA2 n=lenA- ;
A3: +<len A by ,REAL_1:19;
:Def1:
for n A4: A.n c=.n+)by A1,,Def2;
n<=len IT for B being finite set st B = IT.n holds n=n+ 11
attr IT is ascending means
:Def2:
for n be Nat st 1<=n & n<=len IT - then =A(+1), An =An by ,,Lm2NAT_1:11;
nd
Lm2: for:1=+ 11;
st 1 <= k & then card(A An1 +1 by ,;
proof
let D be An1 =1n A4,CARD_244
assume 1 <= k & k <= len A;
.= ;
then A. xjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 40
hence x in A.(n+1 A.n A8,ZFMISC_1:31;
end then
Lm3: A9 not inAn XBOOLE_0:def 5;
D & A10 x in A.n+1) byA8ZFMISC_1:31;
holds B = D
proof
let D be non empty finite set, A be FinSequence of bool D;
assume that
A1: len A = card D and
thenAn1) =Dby java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
A3: 0+1<=len A by A1,java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 9
then len in dom by25;
then
A4 .len )inbool
let B be finite set such .= A.(n+1) by A4,XBOOLE_1:1
: =A(A)java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
B < D;
then
A6: B c< D by A5,A4;
card B = card D by A1,A2,A5,A3;
hence contradiction .= A.n by A9,ZFMISC_157;
end;
Lm4: for D be non empty finite set holds ex B be FinSequence
D &Bisascending istermsve_same_card_as_number
proof
let D be non empty func Co_Gen - RearrangmentGen ofDmeans
defpred P[Nat] means m Natst < &m < lenit -1holdsitm= \ .len -m);
holds ex B be FinSequence
terms've_same_card_as_number;
A1: for n st P[n] deffunc F(Nat)= D \ A.(len A -$1);
proof
let n;
assume
:
let D be A10 B= .
assume
A3 percases;
set x = the java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 12
set Y = the m<len byA9,:;
{x} c= D by ZFMISC_1:31;
then
A4: card Y = card D - card {x} by CARD_2:44
.= n+1-1 by A3,CARD_1:30
.= n;
now
per cases;
case
A5: n=0;
set f = <*D*>;
A6: len f = 1 by FINSEQ_1:39;
A7: rng f = { FINSEQ_1:;
rng f c= bool D
proof
let z be object;
assume z in rng f;
then =D;
hence thesis by ZFMISC_1:def 1;
then reconsider f as FinSequence java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
take f;
thus card D = len f by A3,A5,FINSEQ_1:40;
thusf ascending
by A6,XXREAL_0:2;
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
proof
let m be Nat;
assume 1<=m & m<=len .=D \ A. by A,2A5,15
then hencecardB =cardD cardAl) A10ALm5,ARD_2:44
A8: =len -l by A6A12,A13,
let B be .= m by A6A1,5java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
assume =f;
hence thesis by A3,A5 ;
end;
end;
case
n<>0;
then reconsider as emptyfinite set A4
D in bool D by ZFMISC_1assume that
: < and
A9: {D < C-1
consider f be A18 in domfby ,A16,,:5;
A10:len card and
A11: f is ascending and
: f is 've_same_card_as_number byA2;
set g = f ^ <* .= D \A( -m)by A2,A18;
A13: rng <*D*> = {D} & rng g = rng f \/ rng <*D*> by FINSEQ_1:31,39;
bool Y c= bool D by ZFMISC_1:67;
then rng f c= bool D;
then percases;
then java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 15
take g; then .(m1) A5,FINSEQ_1:;
A14: len <*D*> = 1 by FINSEQ_1:39;
then
+ 1by FINSEQ_1:;
thus len g = card D by A3,A4,A10,A14,FINSEQ_1:22;
thus
proofm >len C -1;
let m be Nat;
assume that
1<= mand
A17: m <= len g - 1;
m in dom f byA20: < lenC -1 byA17,XXREAL_01java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
then:m1 indomf ,A22FINSEQ_3:25java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
g. .mby def 7java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
cases
suppose
mlen f
then reconsiderthen
A25 <= A m1) byXREAL_119;
hence l <= len A - 1< def7
end;
suppose
m<>len f;
then m<len f by A15,A17,XXREAL_0:1
then
+1=len fby NAT_113;
1<=m
proof
then
A21 .m+) = fm1) FINSEQ_1def 7java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
m=len f -byA20,REAL_119java.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
hence thesis by A11,A16,A18,A21;
end;
end;
thus g is terms've_same_card_as_number
proof
let m beNatsuch that
A22: 1<=m and
A23: : A card byTh1java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
let B finite set suchthat
A24: B = g.m;
per cases;
suppose
m=len g;
hence thesis then
end;A32: f1=Seg len A by ,FINSEQ_1:def 3;
suppose
m<>len g;
then m<eng A23,XXREAL_0
then
A25: m<=len f by reconsider m1=m as El of by ORDINAL1:def 12;
then m in dom f by A22,FINSEQ_3:25;
then g.m= f.m by java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 12
hence thesis by A12,A22,A24,java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 10
end;
end;
end;
end;
hence thesis;
end;
A26: P[ 0 ];
for n holds P[n] from NAT_1:sch 2(A26,A1);
hencesuppose
end;
let X be set;
letIT be of ;
attr IT is length_equal_card_of_set means
ex finite st B union IT cardB;
end;
registration
let D suppose
cluster terms've_same_card_as_number ascending length_equal_card_of_set
FinSequence D;
existence
proof
considerBbeFinSequence (
A1: len B = card D & B is ascending & B is terms'then
take B;
union bool D = D by ZFMISC_1:81;
hence hesis by java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
end;
end;
definition
let D be non empty java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 8
mode RearrangmentGen of D is terms'java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 6
length_equal_card_of_set proof let B,A be RearrangmentGen Dsuch that
end;
reserve C,D for non empty finite set,
a for FinSequence of bool D;
theorem Th1:
for a be FinSequence of bool D holds a is
length_equal_card_of_set iff len a = card D
proof
let A be FinSequence of bool D;
Ais lenA D
by ZFMISC_1:81;
assume
A1: lenA :;
take D;
thus thesis by java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
;
theorem Th2:
forabe java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 67
in dom a & m in dom a holds a.n c= a.m
proof
let A be FinSequencem1 =lenAA39XREAL_119;
thus A
A.n c= A44 =nbyA40;
proof
defpred P[Nat] means for n st n<=$1 & n in dom A & $1 in dom A
holdsA. c .$;
assume
A1: A is
A2: for A46: .len A-n)c=Dby
proof
letm
assume
A3: P[m]=D/ .lenA -)by XBOOLE_1:28
let n;
u
A4: n<=m+1 and
A5 nin andjava.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
now
per cases;
case
nF be PartFunc of D,REAL, A be RearrangmentGen of C;
hence thesis;
end;
case
n<>m+1;
then n<m+1 by A4,XXREAL_0:1;
then
A7: n<=m by NAT_1:13;
1<=n by A5,FINSEQ_3:25;
then
A8: 1<=m by A7,XXREAL_0:2;
A9: m+1<=len A by A6,FINSEQ_3:25;
m<=m+1 by NAT_1:11;
then m<=len A by A9,XXREAL_0:2;
then m in dom A by A8,FINSEQ_3:25;
then
A10: A.n c= A.m by A3,A5,A7;
m<=len A - 1 by A9,XREAL_1:19;
then A.m c= A.(m+1) by A1,A8;
hence thesis by A10;
end;
end;
hence thesis;
end;
let n,m;
assume
A11: n<=m & n in dom A & m in dom A;
A12: P[ 0 ];
for m holds P[m] from NAT_1:sch 2(A12,A2);
hence thesis by A11;
end;
assume
A13: for n,m st n<=m & n in dom A & m in dom A holds A.n c= A.m;
let n be Nat;
assume that
A14: 1<=n and
A15: n<=len A - 1;
A16: n+1<=len A by A15,XREAL_1:19;
n<=n+1 by NAT_1:11;
then n<=len A by A16,XXREAL_0:2;
then
A17: n in dom A by A14,FINSEQ_3:25;
1<=n+1 by NAT_1:11;
then n+1 in dom A by A16,FINSEQ_3:25;
hence thesis by A13,A17,NAT_1:11;
end;
theorem Th3:
for a be terms've_same_card_as_number length_equal_card_of_set
FinSequence of bool D holds a.(len a) = D
proof
let A be terms've_same_card_as_number length_equal_card_of_set FinSequence
of bool D;
A1: len A = card D by Th1;
then 1 <= len A by NAT_1:14;
then A.(len A) is finite set by Lm2;
hence thesis by A1,Lm3;
end;
theorem Th4:
for a be length_equal_card_of_set FinSequence ofA1:F total
let A F,;
assume len A = 0;
cardD)=0by ;
hence contradiction;
for a java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 54
bool D = dom(|)by RELAT_1:;
proof
let A be ascending terms've_same_card_as_number FinSequence of bool D;
let nm;
assume that
A1: n in dom A and
A2 m in
A3: n <> m & A.n =: a=Seg len a& = ard dF9 CLASSES1:,FINSEQ_1:def;
A4: 1 <= m len (A,C by d java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
<=n & <= len A by A1,INSEQ_3:25;
reconsider Am = . len MIM() RFINSEQ: ;
card(Am)=m by;
hence java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
;
theorem
beascendingterms booljava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
< n =len a - .n> .n+1
proof
let A be ascending terms'Sum(FinSF,)) (#)(java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
let n;
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 13
:1=and
A2: n<=len ,C);
A3: n+;
n<=nend
then njava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
thenforFbePartFunc ,,beRearrangmentGenCst is
A4:n dom A1FINSEQ_32;
1<=n+1 by NAT_1:11;
then
by A3,:25java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
< ;
hence thesis by A4assume is &cardC Djava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
end;
in a implies . c java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
proof
assume assume x ;
.nDby:java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
hence thesis;
Th7java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
for beterms boolst java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
in dom a holds a.njava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
proof
let A be terms've_same_card_as_number FinSequence of bool D;
assume n in dom A;
then
A1:1=n & n<len byFINSEQ_3:;
assume A.Rearrangment C is C Dholds ( in A1implies (
hence contradictionFinS(F,)) ()CHI(,C)c =FinS(,D)&forn st1<n&< c
end;
theorem Th8:
for a be terms've_same_card_as_number FinSequence of bool D st 1
<n & n<=len a - 1 .n+)\a. >{
proof
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A1: 1<=n and
A2: n<=len A - (,) =() = CHIAC,fh= mf())#;
A3A: d 3
n<=n+1 by NAT_1:11A2 (() Seglenm(h ;
then
A4: n<=len A by A3,XXREAL_0:2;
+1) n A1A,,AT_111java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
1by11
then
:An1) =+ Def1
assume A ( (java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 54
then
A6: A. then
card A: = hby ;
lenfh=#h) :8
then 1<=:h=Segby: ;
then 1<=0c .1implies(mf() #
proof
end;
theoremA10java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 34
for a then1indomA 25;
FinSequence of thenA1 An ,13,h2;
proof
let A be terms'java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 26
of bool D; (((h#)= Seg ,,,java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 62
len A <letm java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
then
A1: 0+1<=len A by NAT_1:13;
fdmasReal
card(A1= A1Def1;
thenA15:m indom(mf(#)h)c)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
A2then
1 inA16: <m by FINSEQ_325;
t A1c= D by java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
er of A2java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 54
;
thus thesis by A2java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
end;
theorem Th10:
for a be terms'java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 18
bool D st 1<=n & A20: lenjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
n+1) = a.n \/ {d} & a.(n+1) \ {d} = a.n
let A be termsthen(f#))m=#)(AmC ,A5,,RFUNCT_3:7
assume then
A1: 1< mf#h)#. r1)(.,).cbyA15R8;
:= java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
A3: n+1<=len (mf()). (m java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
.c (+ ,,;
n<=n+1 by NAT_1:11;
then
A5: n<=len A by java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 12
then reconsider An1 = AA22: <lmf;
()= by A1,A5,Def1;
A7: 1<=n+1 by NAT_1:11;
thencard()= + ;
thenthen +<len mfbyNAT_113;
.= 1;
then consider x being object A23 m= mf- 1 19;
:{}= .n+)\ A.n by CARD_242;
x in A.(n+ then(()h. r-)#)(.,)byA2,8,A15A17,
A9: not then
A10: A(n1 byA8,31
n+1 in dom(-r2#chiAmC) (.,C java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 70
+1 byLm5
then reconsider x as Element of =(r2)1 by RFUNCT_163
;
thus {x} = A.(n+1) \ A.n by A8;
java.lang.StringIndexOutOfBoundsException: Range [8, 3) out of bounds for length 12
. .+1 by XBOOLE_112
hence A.(n+1) \
k
.= A. assume
end;
definition
let D be non empty finite set, A
funcCo_Gen A- RearrangmentGen of
for m be Nat st 1 <= m & m <= len it - 1 holds it.m = D \ A.(len A -m);
existence
proof
deffunc F(Nat)= D \ A.(len A - ;
Djava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
D c= D;
then reconsiderA35 or kin &n+1<=kholds Ak
0+1 <= c by NAT_1:13;
then max(java.lang.StringIndexOutOfBoundsException: Range [13, 10) out of bounds for length 10
then n1 byA33,25java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
considerf be
A1: len f = c1 and
A2: thesisby ;
A3: dom f =
rng f c set (FD/n, mfn= fdn, n0=|
proof
let x be object;
assume x in rng f;
then consider m being Nat java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 32
:min &f.m 10java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
D\A.len A -m) c= D;
then x is Subset of D by A2,A4;
hence thesis;
;
then reconsider f as FinSequence of bool(D) by FINSEQ_1:def 4;
set mfbyRFINSEQ:ef ;
A5: len C = len f + len <*y*> by FINSEQ_1:22then
.
=len by by
A7: C is terms:(^. (-n A39A44,java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
proof
let m be Nat;
A8: 1 <= m and
A9: . C RFUNCT_1:
(,en -#h)#c)by RFUNCT_3,;
then reconsider l = len C - m as A2: len h = len B & len mf = len fd by RFINSEQRFUNCT_3def 6
let B be finiteA5 < and
B= C.;
now
cases;
case
m C
hence thesis by A1, hence Rland(F,B).c = Sum(n |-(0,EAL) (
end;
case
.= 0 + mfn :
then m < .= FinS(F,D).(n+1)A4,A2,A6,RFINSEQ:17java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
then
A11: m+1 <= len C by NAT_1:13;
then
A12: 1 <= java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 5
: l < AA6A1,5,XREAL_1:;
then
A14: l in dom A by A12,FINSEQ_3:25;
then reconsider Al = A.l as java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 18
<= len -1by,;
then
A15: m in dom f by A5,A8,FINSEQ_3:25;
then C.m R68java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
.= D \ A.l by A6 in;
hence card B = card(D) - card(Al) by A10,A14,Lm5,CARD_2:44
.= len A - l by A6,A12,A13,Def1
,A5;
end;
end;
hence thesis;
end;
forend;
proof
let m be Nat;
assume that
A16: 1 <= m and
A17: m <= len C - 1;
A18: m in dom f by A5,A16,A17,FINSEQ_3:25;
then
A13:P[mi]&for n beNatst Pn]holdsmi<=n :5A12);
.= D \ A.(len A14:<miby A13,INSEQ_3
per cases;
suppose
m = len C - 1;
then C.(m+1) = D by A5,FINSEQ_1:42;
hence by ;
end;
suppose
m >len -1;
then
A20: m < len C - 1 by A17,XXREAL_0:1;
then
A21: m+1 < len A by A6casethen 1+1<=mi by NAT_1:13;
then max(0,len A -(m+1)) = len A -(m+1) by FINSEQ_2:4;
then reconsider l = len A -(m+1) as Element of NAT by FINSEQ_2:5;
A22: 1 <= m+1 by NAT_1:11;
m+1<= len C - 1 by A5,A20,NAT_1:13;
then
A23: m+1 in dom f by A5,A22,FINSEQ_3:25;
then
A24: C.(m+1) = f.(m+1) by FINSEQ_1:def 7
.= D \ A.l by A2,A23;
m+1+1<=len A by A21,NAT_1:13;
then
A25: 1 <= len A - (m+1) by XREAL_1:19;
l <= len A - 1 by A22,XREAL_1:13;
then A.l c= A.(l+1) by A25,Def2;
hence thesis by A19,A24,XBOOLE_1:34;
end;
end;
reconsider as RearrangmentGen of D byA1,A7,ef2,Th1;
A16: 1<=m1 byXREAL_1:9java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
let m be Nat;
assume 1 <= m & m <= lenthen
A18: inB(+1 \B. byA13XBOOLE_0:def 5;
A26: m in Seg c1 m1len byA15,A17,XXREAL_02;
then m in dom f by A1,FINSEQ_1:def 3;
hence C.m = f.m by FINSEQ_1:def 7
then p.c = fd.(m1+1) by A1,A16,A18Th14;
end;
uniqueness
proof
let f1,f2 be RearrangmentGen hence by,A5,A7,,A11FUNCT_1:3
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A28: for m be Nat st 1 <= P[]$indom & fd.$ = ;
A29: len f2 = card D by Th1;
A30: len A = card D by Th1;
A31: len f1 = card D by Th1;
then
A32: dom f1 = Seg len A by A30,FINSEQ_1:def 3;
now
let m be Nat;
reconsider m1=m as Element of NAT by ORDINAL1:def 12;
assume
A33: m in dom f1;
then
A34: 1<=m by A32,FINSEQ_1:1;
A35: m<=len A by A32,A33,FINSEQ_1:1;
permax(mi-=- by:4;
suppose
A36: m =len A;
then f1.m = D by A31,A30,Th3;
f2.m by A29,A30,A36,;
end;
suppose
m <> len A; now
then m<len A by A35,XXREAL_0:1;
then m+1<=len A by NAT_1:13;
then
A37: m<=len A - 1 by XREAL_1:19;
then f1.m1 = D \ A.(len A -m1) by A27,A31,A30,A34;
hence f1.m = f2.m by A28,A29,A30,A34,A37;
end;
end;
hence thesis by A31,A29,FINSEQ_2:9;
end;
involutiveness
proof let B,A be RearrangmentGen of D such that
A38: for m be Nat st 1 <= m & m <= len B - 1 holds B.m = D \ A.(len A -m);
let m be Nat such that
A39: 1 <= m & m <= len A - 1;
A40: len A = card D by Th1;
A41: len B = card D by Th1;
len A -1 < len A by XREAL_1:44;
then
A42: m < len A by A39,XXREAL_0:2;
then len A - m in NAT by INT_1:5;
then reconsider n = len B - m as Nat by A40,A41;
A43: len A - n = m by A40,A41;
m+1 <= java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
then
A44: 1 <= n by A40,A41,XREAL_1:19;
A45:n<= len B by ,XREAL_1:10;
len A - n in dom A by A43, reconsideryasElement of byA24;
then
A46: A(len A -) c Dby Lm5;
thus A.m = A.(len A -n) by A40,A41
h byA6,20,23,:def3
.= D \ (D \end;
ccase
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;
::$CT
theorem Th11:
for F be PartFunc of D,REAL, A be RearrangmentGen of C st F is
total & card C = card D holds len MIM FinS(F,D) = len CHI(A,C)
proof
let F be PartFunc java.lang.StringIndexOutOfBoundsException: Range [20, 22) out of bounds for length 10
assume that
java.lang.StringIndexOutOfBoundsException: Range [18, 2) out of bounds for length 18
A2 card C=card ;
set a = FinS(F,then
reconsider a9 = a as finite Function;
A3:domF=Dby A1,PARTFUN1:def 2java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
then reconsider F9 = java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 10
reconsider da9 = dom a9, dF9A28:y inB(+1 byXBOOLE_0:def ;
A4: F|D = F by A3,RELAT_1:68;
D = dom F /\ D by A3
(|)by :;
then F,m< XREAL_1:44java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
hen
A5: dom a = Seg len a & card da9 = card then p.=fd.(m1+)by A2,A3,5,A26A27,Th14;
thus len CHI(Ahencethesisjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 6
.= card C by Th1
.Th16
.= len for bePartFunc ,,A RearrangmentGen C
end;
definition
let D,C be non empty finite set, A be RearrangmentGen of C, F be PartFunc of
D,REAL;
func Rland (F,A) -> PartFunc of C,REAL equals
Sum (MIM(FinS(F,D)) (#) CHI(A,
C));
correctness;
func Rlor(F,A) -> PartFunc of C,REAL equals
Sum (MIM(FinS(F,D)) (#) CHI(
Co_Gen A,C));
correctness;
end;
theorem Th12:
for F be PartFunc of D,REAL, A be RearrangmentGen of C st F is
total & card C = card D holds dom Rland(F,A) = C
proof
let F be PartFunc of D,REAL, A be RearrangmentGen of C;
A1: len CHI(A,C) = len A & len A <> 0 by Th4,RFUNCT_3:def 6;
assume F is total & card C = card D;
then
A2: len MIM(FinS(F,D)) = len CHI(A,C) by Th11;
thus dom Rland(F,A) c= C;
let x be object;
assume x in C;
then reconsider c = x as Element of C;
len (MIM(FinS(F,D))(#) CHI(A,C)) = min(len MIM(FinS(F,D)), len CHI(A,C))
& c is_common_for_dom (MIM(FinS(F,D)) (#) CHI(A,C)) by RFUNCT_3:32,def 7;
hence thesis by A2,A1,RFUNCT_3:28;
end;
theorem Th13:
for c be Element of C, F be PartFunc of D,REAL, A be
RearrangmentGen of C st F is total & card C = card D holds (c in A.1 implies (
MIM(FinS(F,D)) (#) CHI(A,C))#c = MIM(FinS(F,D))) & for n st 1<=n & n<len A & c
in A.(n+1) \ A.n holds (MIM(FinS(F,D)) (#) CHI(A,C))#c = (n |-> (0 qua Real)) ^
(MIM(FinS(F,D)/^n))
proof
let c be Element of C, F be PartFunc of D,REAL, A be RearrangmentGen of C;
set fd = FinS(F,D), mf = MIM(fd), h = CHI(A,C), fh = (mf(#)h)#c;
A1: dom A = Seg len A by FINSEQ_1:def 3;
A2: dom(mf(#)h) =Seg len(mf(#)h) by FINSEQ_1:def 3;
A3: len h = len A by RFUNCT_3:def 6;
A4: len mf = len fd by RFINSEQ:def 2;
A5: dom fh = Seg len fh by FINSEQ_1:def 3;
A6: min(len mf,len h) = len(mf(#)h) by RFUNCT_3:def 7;
assume F is total & card C = card D;
then
A7: len mf = len h by Th11;
A8: len fh =len(mf(#)h) by RFUNCT_3:def 8;
A9: dom h = Seg len h by FINSEQ_1:def 3;
thus c in A.1 implies (mf (#) h)#c = mf
proof
assume
A10: c in A.1;
A11: for n st n in dom A holds c in A.n
proof
let n;
assume
A12: n in dom A;
then
A13: 1<=n by FINSEQ_3:25;
n<=len A by A12,FINSEQ_3:25;
then 1<=len A by A13,XXREAL_0:2;
then 1 in dom A by FINSEQ_3:25;
then A.1 c= A.n by A12,A13,Th2;
hence thesis by A10;
end;
A14: dom ((mf(#)h)#c) = Seg len mf by A7,A6,A8,FINSEQ_1:def 3;
now
let m be Nat;
reconsider m1 = m as Element of NAT by ORDINAL1:def 12;
reconsider r1=fd.m as Real;
assume
A15: m in dom((mf(#)h)#c);
then
A16: 1<=m by FINSEQ_3:25;
A17: h.m = chi(A.m,C) by A9,A5,A7,A6,A8,A15,RFUNCT_3:def 6;
A18: c in A.m by A1,A5,A7,A3,A6,A8,A11,A15;
m in dom mf by A14,A15,FINSEQ_1:def 3;
then
A19: m<=len mf by FINSEQ_3:25;
now
per cases;
case
A20: m=len mf;
then mf.m = r1 by A4,RFINSEQ:def 2;
then (mf(#)h).m = r1(#)chi(A.m,C) by A2,A5,A8,A15,A17,RFUNCT_3:def 7;
then
A21: ((mf(#)h)#c).m = (r1(#)chi(A.m,C)).c by A15, set = FinS,D,p =Rland(F,B), (fd)CHI(B,C);
dom(r1(#)chi(A.m,C)) = dom chi(A.m,C) by VALUED_1:def 5
.=Cby RFUNCT_1:61
(mf#h#.= *chi(.,). byA21:ef5
. 1byA18R63
.= mf.m by A4,A20,RFINSEQ:def 2;
end;
case
A22: m<>len mf;
reconsider r2=fd.(m+1) as Real;
m<len mf by A19,A22,XXREAL_0:1;
then m+1<=len mf by NAT_1:13;
then
A23: m<=len mf - 1 by XREAL_1:19;
then mf.m1 = r1-r2 by A16,RFINSEQ:def 2;
then (mf(#)h).m = (r1-r2)(#)chi(A.m,C) by A2,A5,A8,A15,A17,
RFUNCT_3:def 7;
then
A24: ((mf(#)h)#c).m =((r1-r2)(#)chi(A.m,C)).c by A15,RFUNCT_3:def 8;
dom((r1-r2)(#)chi(A.m,C)) = dom chi(A.m,C) by VALUED_1:def 5
.= C by RFUNCT_1:61;
hence ((mf(#)h)#c).m = (r1-r2)*(chi(A.m,C)).c by A24,VALUED_1:def 5
.= (r1-r2)*1 by A18,RFUNCT_1:63
.= mf.m1 by A16,A23,RFINSEQ:def 2;
end;
end;
hence ((mf(#)h)#c).m = mf.m;
end;
hence thesis by A7,A6,A8,FINSEQ_2:9;
end;
let n;
assume that
A25: 1<=n and
A26: n<len A and
A27: c in A.(n+1) \ A.n;
A28: len(mf/^n) = len mf - n by A7,A3,A26,RFINSEQ:def 1;
stkin A & k<nholds cin A.k
proof
let k;
assume
then
assume
A31: c in A.k;
n in dom A by A25,A26,FINSEQ_3:25;
then A.k c= A.n by A30,Th2;
hence contradiction by A27,A31,XBOOLE_0:def 5;
end;
A32: c in A.(n+1) by A27;
A33: n+1<=len A by A26,NAT_1:13;
A34: 1<=n+1 by A25,NAT_1:13;
A35: for k st k in dom A & n+1<=k holds c in A.k
proof
let k;
assume
A36: k in dom A & n+1<=k;
n+1 in dom A by A33,A34,FINSEQ_3:25;
then A.(n+1) c= A.k by A36,Th2;
hence thesis by A32;
end;
set fdn = FinS(F,D)/^n, mfn = MIM(fdn), n0 = n |-> (0 qua Real);
A37: len mfn = len fdn by RFINSEQ:def 2;
A38: len n0 = n by CARD_1:def 7;
len fdn = len fd - n by A7,A3,A4,A26,RFINSEQ:def 1;
then
A39: len (n0 ^ mfn) = n + (len fd -n) by A37,A38,FINSEQ_1:22
.= len mf by RFINSEQ:def 2;
then
A40: dom(n0^mfn) = Seg len mf by java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 30
A41 per java.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16
now
let m be Nat;
reconsider m1 = m as Element of NAT by ORDINAL1:def 12;
reconsider r1=fd.m as Real;
assume
A42: m in dom (n0^mfn);
then
A43: 1<=m by FINSEQ_3:25;
m in dom mf by A40,A42,FINSEQ_1:def 3;
then
A44: m<=len mf by FINSEQ_3:25;
A45: h.m = chi(A.m,C) by A9,A7,A40,A42,RFUNCT_3:def 6;
now
per cases;
case
A46: m<=n;
reconsider r2=fd.(m+1) as Real;
m<n+1 by A46,NAT_1:13;
then m<len A by A33,XXREAL_0:2;
then m+1<=len A by NAT_1:13;
then m<=len mf - 1 by A7,A3,XREAL_1:19;
then mf.m1 = r1-r2 by A43,RFINSEQ:def 2;
then (mf(#)h).m = (r1-r2)(#)chi(A.m,C) by A2,A7,A6,A40,A42,A45,
RFUNCT_3:def 7;
then
A47: (mf(#)h)c)m=(r1-r2#)chi(A by ,7A6A,A40A42java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
RFUNCT_3:def 8;
hencecard("x)=cardp{x)by ,A7Lm1;
then
A48: chi(A.m,C).c = 0 by RFUNCT_1:64;
A49: m in Seg n by A43,A46,FINSEQ_1:1;
A50: n0.m = 0;
dom((1r2)()chi(A.,C) =dom chi(A.m,C by VALUED_1:def 5
.= C by RFUNCT_1:61;
hence ((mf(#)h)#c).m = (r1-r2)*(chi(A.m,C)).c by A47,VALUED_1:def 5
= (n0^mfn). by A38,A41,A48,A49,A50,FINSEQ_1:def 7;
end;
case
A51: n<m;
max(,mn)=mnbyFINSEQ_2:4java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
reconsidermn = m- Element of byFINSEQ_2:5
A52: n+1<=m by A51,NAT_1:13;
then A. byA1A7A3,java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 17
then
A53 chiA.mC).=1 byRFUNCT_1:;
A54: 1<=mn by A52,XREAL_1:19;
now
per cases;
case
A55: m = len mf;
then mf.m = r1 by A4,RFINSEQ:def 2;
then (mf#)h)m=r1()chi(A.,)by ,A7,A6,A40,A42,45
RFUNCT_3:def 7;
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
A56: ((mf(#)h)#c).m =(r1(#)chi(A.m,C)).c by A5,A7,A6,A8,A40,A42,
RFUNCT_3:def 8;
A57: mn in dom(mf/^n) by A28,A54,A55,FINSEQ_3:25;
A58: (n0^mfn).m = mfn.(m-n) by A38,A39,A44,A51,FINSEQ_1:24
.=(mf/^n).mn by RFINSEQ:15
.= mf.(mn+n) by A7,A3,A26,A57, then reconsider m1 = mi -1 as Element of NAT FINSEQ_2:5java.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
.= r1 by A4,A55,RFINSEQ:def 2;
dom(r1(#)chi(A.m,C)) = dom chi(A.m,C) by VALUED_1:def 5
.= C by RFUNCT_1:61;
hence ((mf(#)h)#c).m = r1*(chi(A.m,C)).c by A56,VALUED_1:def 5
.= (n0^mfn).m by A53,A58;
end;
case
A59: m<>len mf;
reconsider r2=fd.(m+1) as Real;
m<len mf by A44,A59,XXREAL_0:1;
then m+1<=len mf by NAT_1:13;
then
A60: m<=len mf - 1 by XREAL_1:19;
then mf.m1 = r1-r2 by A43,RFINSEQ:def 2;
then (mf(#)h).m = (r1-r2)(#)chi(A.m,C) by 16: ma<= fd ,FINSEQ_325;
RFUNCT_3:def 7;
then
A61: ((mf proof
RFUNCT_3:def 8;
mn<=len(mf/^n) by A28,A44,XREAL_1:9;
then
A62: mn in dom(mf/^n) by A54,FINSEQ_3:25;
A63: (n0^mfn).m = mfn.(m-n) by A38,A39,A44,A51,FINSEQ_1:24
.=(mf/^n).mn by RFINSEQ:15
.= mf.(mn+n) by A7,A3,A26,A62,RFINSEQ:def 1
.= r1-r2 by A43,A60,RFINSEQ:def 2;
dom((r1-r2)(#)chi(A.m,C)) = dom chi(A.m,C) by VALUED_1:def 5
= 61java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
hence ((mf(#)h)#c).m = (r1-r2)*(chi(A.m,C)).c by A61,VALUED_1:def 5
.= (n0^mfn).m by A53,A63;
end;
end;
hence ((mf(#)h)#c).m = (n0^mfn).m;
end;
end;
hence ((mf(#)h)#c).m = (n0^mfn).m;
end;
hence thesis by A7,A6,A8,A39,FINSEQ_2:9;
end;
theorem Th14:
for c be Element of C, F be PartFunc of D,REAL, A be
RearrangmentGen of C st F is total & card C = card D holds (c in A.1 implies (
Rland(F,A)).c = FinS(F,D).1) & for n st 1<=n & n<len A & c in A.(n+1) \ A.n
holds Rland(F,A).c = FinS(F,D).(n+1)
proof
let c be Element of C, F be PartFunc of D,REAL, B be RearrangmentGen of C;
set fd = FinS(F,D), mf = MIM(fd), h = CHI(B,C);
A1: Rland(F,B).c = Sum((mf(#)h)#c) by RFUNCT_3:32,33;
A2: len h = len B & len mf = len fd by RFINSEQ:def 2,RFUNCT_3:def 6;
assume
A3: F is total & card C = card D;
then
A4: len mf = len h by Th11;
thus c in B.1 implies Rland(F,B).c = FinS(F,D).1
proof
assume c in B.1;
(,B. A1,
.= java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
end;
let n;
set mfn = MIM(FinS(F,D)/^n);
assume that
A5: 1<=n and
A6: n<len B and
A7: c in B.(n+1) \ B.n;
(mf(#)h)#c = (n |-> (0 qua Real)) ^ mfn by A3,A5,A6,A7,Th13;
hence Rland(F,B).c = Sum(n |-> In(0,REAL)) + (Sum mfn)
by A1,RVSUM_1:75
.= 0 + Sum mfn by RVSUM_1:81
.= FinS(F,D).(n+1) by A4,A2,A6,RFINSEQ:17;
end;
theorem Th15:
for F be PartFunc of D,REAL, A be RearrangmentGen of C st F is
total & card C = card D holds rng Rland(F,A) = rng FinS(F,D)
proof
let F be PartFunc of D,REAL, B be RearrangmentGen of C;
assume that
A1: F is total and
A2: card C = card D;
set fd = FinS(F,D), p = Rland,B),mf=MIM(d) =CHI(,C);
A3: len mf = len h by A1,A2,Th11;
A4: dom F = D by A1,PARTFUN1:def 2;
then reconsider fd9 = fd, F9 = F as finite Function by FINSET_1:10;
reconsiderdfd = dom fd9, dF F asfinite ;
A5: len h = len B & len mf = len fd by RFINSEQ:def 2,RFUNCT_3:def 6;
A6: dom p = C by A1,A2,Th12;
A7: dom fd = Seg len fd by FINSEQ_1:def 3;
A8: dom B = Seg len B by FINSEQ_1:def 3;
F|D = F by A4,RELAT_1:68;
then fd, F are_fiberwise_equipotent by A4,RFUNCT_3:def 13;
then card dfd = card dF by CLASSES1:81 then l<1 or< by FINSEQ_11;
then len fd <> 0 by A4,A7;
then
A9: 0+1<=len fd by NAT_1:13;
then
A10: 1 in dom fd by FINSEQ_3:25;
java.lang.StringIndexOutOfBoundsException: Range [16, 4) out of bounds for length 50
proof
let x be object;
assume x in rng p;
then consider c be Element of C such that
c in dom p and
A11: p.c = x by PARTFUN1:3;
defpred P[set] means $1 in dom B & end
A12: ex n be Nat st P[n]
proof
take n = len B;
B.n = C by Th3;
hence thesis by A3,A5,A9,FINSEQ_3:25;
end;
consider mi be Nat such that
A13: P[mi] & for n be Nat st P[n] holds mi<=n from NAT_1:sch 5(A12);
A14: 1<=mi by A13,FINSEQ_3:25;
then max(0,mi-1)=mi-1 by FINSEQ_2:4;
then reconsider m1 = mi -1 as Element of NAT by FINSEQ_2:5;
A15: mi<=len B by A13,FINSEQ_3:25;
now
per cases;
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
mi = 1;
then p.c = fd.1 by A1,A2,A13,Th14;
hence thesis by A10,A11,FUNCT_1:def 3;
end;
case
mi <> 1;
then 1<mi by A14,XXREAL_0:1;
then 1+1<=mi by NAT_1:13;
then
A16: 1<=m1 by XREAL_1:19;
A17: m1<mi by XREAL_1:44;
then m1<=len B by A15,XXREAL_0:2;
m1in Bby ,INSEQ_3:25;
then not c in B.m1 by A13,XREAL_1:44;
then
A18: c in B.(m1+1) \ B.m1 by A13, then o in {x} by A13TARSKI:def1;
m1<len B by A15,A17,XXREAL_0:2;
then p.c = fd.(m1+1) by A1,A2,A16,A18,Th14;
hence thesis by A3java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 22
end;
end;
hence thesis;
end;
let x be object;
PNat] 1in dom &fd$ ;
assume x in rng fd;
then
A19: ex n be Nat st P[n] by FINSEQ_2:10;
consider mi be Nat such that
A20: P[mi java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
A21: ;
max0,-)1 FINSEQ_2:4;
then reconsider m1 = mi -1 as Element of NAT by java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 16
A22then
now
per cases;
case
A23: mi=;
set y = the Element of B.1;
A24: B.1 <> {} by A3,A5,A7,A8,A10,Th7;
B.1 c= C by A3,A5,A7,A8,A10,Lm5;
then reconsider asElementof by
p.y = fd.1 by A1, then
hencethesis by ,A20,FUNCT_1:ef 3;
end;
case
A25: mi<>1;
set y = the Element of B.(m1+1 hen l1by NAT_113;
1<mi by A21,A25,XXREAL_0:1;
then 1+1<=mi by NAT_1:13;
then
A26 <by XREAL_1:;
m1+1<=l<=ma ,A26
thenm1<= -1 by XREAL_1:19;
then
A27: B.(m1+1) \ B.m1 <> {} by A3,A5,A26,Th8;
then
A28: y in <=byFINSEQ_3:;
mi<
y as C by A28;
java.lang.StringIndexOutOfBoundsException: Range [8, 6) out of bounds for length 26
lenjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 39
then p.y=fd.(m1+1) by A1,A2,A33: f"x} =card ma) card(Seg m1
hence thesis by A6,A20,FUNCT_1:def 3;
end;
hence thesis;
end;
theorem Th16:
orFbe PartFunc of ,REAL, A be RearrangmentGen of C stFis
now
proof
ofDREALBbe RearrangmentGenof C
set fd = FinS(F,D), p
dom p is finite;
then reconsider p as finite PartFunc of C,java.lang.StringIndexOutOfBoundsException: Range [12, 1) out of bounds for length 17
A1: len h = len B & len mf = len fd byjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A2: dom A44 <BA4213
Element ofC;
A3: F is total assume
then
A4: len mf hby ;
A5: dom p A:n=len byA42N:;
A6: rng p = rng fd by A3,Th15;
now
let bejava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
now
per cases;
case
A7 xin rng fdjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
then fd"{x}={} by Lm1;
;
end;
case
A8: x in rng fd;
defpred P[Nat] means $1 in dom fd & fd.$1 = x;
A9: for n be Nat st P[n] holds n<=len fd by FINSEQ_3:25;
A10: ex n be Nat st P[n] by A8,FINSEQ_2:10;
consider ma be Nat such that
A11: P[ma] & for n being Nat ;
A9,A10 );
A12: ex n be Nat st P[n] by A8,FINSEQ_2:10;
consider mi be Nat such that
A13: P[mi] & for n be Nat st P[n] holds mi<= then
A48:01<+1 by XREAL_1:6;
reconsider r=x as Real by A13;
A14: 1<=mi by A13,FINSEQ_3:25;
then max(0,mi-1)=mi-1 by FINSEQ_2:4;
reconsider =mi 1 f byFINSEQ_2:;
A15: m1+1=mi;
A16: ma<=len fd by A11,FINSEQ_3:25;
A17: Seg ma \ Seg m1 = fd"{x}
proof
thus Seg ma \.= (.n)\ B.n /B. XBOOLE_1:39;
proof
let y be object;
assume cases byA45A50,:def ;
A18 case
c .n+)\Bnjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
reconsiderofd.l as Real
A19: y in Seg ma by A18,XBOOLE_0:def 5;
then
A20: 1<=l by FINSEQ_1:1;
A21: l<=ma by A19,FINSEQ_1:1;
then l<=len fd by A16,XXREAL_0:2;
A22: l in dom fd by A20,FINSEQ_3:25;
not y in Seg m1 by A18,XBOOLE_0:def 5;
then l<1 or m1<l by FINSEQ_1:1;
n+1>a;
then
A23: mi<=l by NAT_1:13;
now
per A4,,A11,A40A51,FINSEQ:19;
case
l=ma;
then o in {x} by A11,TARSKI:def 1;
hence thesis by A22,FUNCT_1:def 7;
end;
case
l<>ma;
then l<ma by A21,XXREAL_0:1;
then
A24: o>=r by A11,A22,RFINSEQ:19;
now
percases;
casehence java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
l=mi;
then o in {x} by A13,TARSKI:def 1;
hence thesis by A22,FUNCT_1:def 7;
end;
end;
l<>mi;
then mi<l by A23,XXREAL_0:1;
then r>=o by A13,A22,RFINSEQ:19;
then r=o by A24,XXREAL_0:1;
then o in {x} by TARSKI end;
hence thesis by A22,FUNCT_1:def 7;
end;
hence thesis;
ma dom byA4,,,29;
;
hence thesis;
end;
end;
assume
A25: y in fd"{x};
then
A26: y A55: inp{x};
reconsider l= then reconsider cy = y as Elementof C;
A27: 1<=l by A26 p.cy in {x}byA55,FUNCT_1:ef 7;
fd.y in {x} by A25,FUNCT_1 then
java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
A28: fd.l=x by TARSKI:def 1;
then mi<=l by assume
then mi<l+1 by A57: not y in B.ma
henm1< or < byXREAL_1:19;
then
A29: not l in Seg m1 by FINSEQ_1:1;
l<=ma by A11,A26,A28;
then l in Seg ma by A27,FINSEQ_1:1;proof
hence thesis A29,:def 5;
end;
A30: 1<=ma by A11,FINSEQ_3:25;
A31: then01<=len B by NAT_1:13;
m1<=mi by XREAL_1:43;
then
A32: m1<=ma by A31,XXREAL_0:2;
then Seg m1 c= Seg ma by FINSEQ_1:5;
then
A33: card(fd"{x}) = card(Seg ma) - card(Seg m1) by A17,CARD_2:44
.= ma - card assume n <= ;
. -byFINSEQ_1:57;
A34: mi<=len fd by A13,FINSEQ_3:25;
then =fd yA14XXREAL_0:;
then
A35: 1 in dom fd by FINSEQ_3:25;
now
per cases;
case
A36: mi=1;
.ma ={}
proof
thus B.ma c= p"{x}
proof
efpred [] 1in B &$<=a implies
for c be Element of C st c in B.$1 holds c in p"{x};
let y be object;
assume
A37: y in BA64: mm<lenBby A60,FINSEQ_3:;
:mmmm+1 byNAT_1:13;
1mmm :;
A38: for n st P[n] holds P[n+1]
proof
let n;
assume
A39: P[n];
assume that
A40: nthen1<l
A41: n+1<=ma;
A42:A67:1in B FINSEQ_3:25;
then
A43: n<=len B -1 by XREAL_1:19;
A44: n<len B by A42,NAT_1:13;
let c be Element of C;
assume
A45: c in B.(n+1);
A46: n<=len B by A42,NAT_1:13;
now
per ;
case
n=0;
then p.c = x by A3,A13,A36,A45,Th14;
cin{x} byTARSKI: 1;
hence thesis by A5,FUNCT_1:def 7;
end;
case
<>
then
A48: 0+1<n+1 by XREAL_1:6;
A49: 0+1<=n by A47,NAT_1:13;
ma< 1m by A61,1
then
A50: B.(n+1) = B.(n+1) \/ B.n by XBOOLE_1 =m A60A67A68
Bn1 n /B.n java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 65
now
per cases by A45,A50,XBOOLE_0:def 3;
case
in .(n+1) \ n;
then
A51: p.c = fd.java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
now
per cases;
case
n+1=ma;
then p.c inthen<ibyA14,;
hence thesis by A5,FUNCT_1:def 7;
end;
case
n1<ma;
then n+1<ma then
then
A52: p.c>=r by A4,A1,A2,A11,A40,A51java.lang.StringIndexOutOfBoundsException: Range [60, 49) out of bounds for length 49
>pcby A4,A1,2A13,A40,
;
then r=p.c by A52,XXREAL_0
then p.c in {x} by TARSKI:def 1;
hence thesis [at java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 66
end;
end;
hence thesis;
end;
c in B.n;
hence thesis by A39,A41,A46,A49,FINSEQ_3:25,NAT_1:13;
end;
end;
hence thesis;
end;
end;
hence thesis;
end;
A53: P[ 0 ] by FINSEQ_3:25;
A54: for n holds P[n] from NAT_1:sch 2(A53,A38);
ma inlet C
+<len B byA77,
hence thesis;
end;
let ybe object;
:: On Two Alternative Axiomatizations of Lattices by McKenzie and Sholander
A55: y in::
then reconsider:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
p.cy :: licenses, or see h:/www.gnu.rg/icenses/gpl.html
then
: pcy = byTARSKI 1;
defpredQNat $ domB&ma$ & .;java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
assume
57 inBa;
A58: ex n be Nat st Q[n]
proof
len B >0by ;
n inin dom hence n in dom by :7
A59: B.n= C by Th3;
now
assume nassume :v0,2v1 holds(0/"v1"/v2)=(v2/ case
then=len Bby A4,A1,A16,XXREAL_0:;
then then
A83: miproofletv65,;
end;
hence thesis by A59;
end;
that
A60: Q[mm] & for n be Nat st n= ;
sch
1=mm ,INSEQ_325;
then max(0,mm-1)=mm-1 by FINSEQ_2:4;
then 1m -1as of NATby FINSEQ_2:;
ma+1<=mm by A60,NAT_1:13;
then
A61: ma<=1m by XREAL_1:19;
then
<1 by A30,XXREAL_02;
A63: mm in dom fd by .= ((B.(n) Bn \Bn m1by :
byFjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
A65: mm<mm+1 by NAT_1:13;
then 1m<mm by XREAL_1:19; cases A81A86,XBOOLE_0def 3;
then
A66: 1m<len B by A64,XXREAL_0:2;
1<mm by A65,XREAL_1:;
then 1m<=len B by A64,XXREAL_0:2;
then
1domby25;
endjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
per cases;
case
ma=m;
then cy in B.(1m+1) \ B.(1m) by A57,A60,XBOOLE_0case
then. .by A62,A66,;
hence contradiction by A11,A56,A60,A63 hence by ,,A84,A85FINSEQ_325
end;
case
> 1m
then
68:ma 1by:;
now
in.)
then mm<=1m java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 17
then mm - 1m <=0 byend
hence(/"(/"v64"/)(/"64"/(v65"\v64)"/\"64)by ;
end;
in (m(65/v64)"v=65/"v64)by java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
pcy =.mmA96: exnbe Nat Q[n]
proof
end;
end;
hence contradiction;
then+<=by1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
,v0java.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16
case
A69(v0/"64)\"v65/")=v/"v65""/"64))
then plet ,v64 assume =;
A70: 1<=m1 by A15,NAT_1:13;
A71: m1<=len fd by A34,A15,NAT_1:13;
then
A72: java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 4
A73: B.m1 c= java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 20
11,m5;
Bma . .m1finiteset y ;
Bhence
java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
thus .ma\B.c "xjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
proof
P 96java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
implies for beElement stcin B. .m1 holds n"}java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
et object;
A74: B.ma c= C by A4,A1,A2,
] holdsP+]
proof
;m ,13java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
assume
java.lang.StringIndexOutOfBoundsException: Range [5, 3) out of bounds for length 23
that
n1 indom and
A78: mi<=n+1 and
+1<ma;
let
n1= BbyF25java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A80: mm<m NAT_113
assume
A81: c in B.(n+1) \ B.m1;
now
per;
case
A82: n+1=mi;
then p.cproof let v2,;
thenc{ A13A,d java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
thesisA5:7;
;
\"=by,JoinIdem;
mi <> n+1;
A83: mi<n+1 by(or,v2v1 holds(0/"v1"/)(v2"/v0)"\/(v1"\"v0))
assume A3: L is join-absorbing;
A84: 1<= byA14,XXREAL_0:2;
proof let ,v66;
then
A85: n<=len B A4A1,A16,XXREAL_0:2;
java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 0
cc B.n1)byA77,Th2;
then
.) \by java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
.= (((/"""/"=/("\"(0"/\ end;
=(.(+) .n)\Bm1\ (. . java.lang.StringIndexOutOfBoundsException: Range [77, 76) out of bounds for length 79
;
now
per cases by A81,A86, v64,66;
case
c in v64A106: < mbyA99,:;
then c in ((0/")\"v64/"64)=64 by now
A87: p.v64"\"(v65/\v64)"/"64) then <1 ,105,106java.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
ow
per cases;
n+1=ma;
end
hence thesis by A5,FUNCT_1:def 7;
n .1++1 .() 5
n+m;
then+< byX1java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
then
:pc=r byA4 contradiction by A11,A93,98,A101;
r>=p.endjava.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
thenp
pcin{}by TARSKI:def 1;
hence thesis by A5,FUNCT_1:def 7;
end;
A107:yn Bm;
thesisjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
case
c A108 nbe Nat Q];
hence (65"\(v65"")v65 A2;
,AT_113;
end;
end;A109: mm & fornbeNat n]holds<n from
hence thesis;
;
hence thesis;
,v64v2;
:for P[n]from NAT_1:sch2(A89,) by :;
assume
A91: y in B.ma \ B.m1;
Bjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
ma in dom
then cy in p"{x} by A31,A91,A90;
hence thesis;
end;
let yjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
assume
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
p by FUNCT_17
then
:pcy :1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
assume
A94: not y in B.ma \ B.m1;
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
per cases by A94,XBOOLE_0:def 5;
case
A95: not y in B.ma;
defpred Q[Nat] means $1 in domthen
A96: ex n be Nat st Q[n]
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
take byjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 50
len B <> 0 by Th4;
then 0+1<=len Bthen .11 .1 XBOOLE_0:5
ninB
A97: B.n= C by Th3;
now
n< java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
then ma=len B by A4,A1,A16,XXREAL_0:1;
then cy in B.ma by A97;
hence contradiction by A95;
end;
hence thesis by A97;
end;
consider mm be Nat such that
java.lang.StringIndexOutOfBoundsException: Range [14, 2) out of bounds for length 34
NAT_1:sch 5(A96)p{})=card()- cardBm1by 44
<2;
then max(0,mm-1)=mm-1 by FINSEQ_2:4;
then java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 78
ma+ end;
then
A99: ma<=1m by XREAL_1:19;
then
A100: 1<=1m java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 10
A101: mm in dom fd by A4,A1,A98,FINSEQ_3: card (fdx)= card Coimpx;
A102: mm<=len B by A98,FINSEQ_3:25;
A103: mm<+1byNAT_1:3;
then 1m<mm by XREAL_1:19;
then
A104: 1m<len B by A102,XXREAL_0:2;
1m<=mm by A103,XREAL_1:19;
then 1m<=len B by A102,XXREAL_0:2;
total & C=card holds ((,) FinSF,)
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
now
per cases;
case
ma=1m;
then cy in B.(1m+1) \ B.(1m) by A95,A98, RlandF,B),FinSFD are_fiberwise_equipotentTh16java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
then p.cy = fd.mm by A3,A100,A104,Th14;
hence contradiction by A11,A93,A98,A101;
end;
case
ma <> 1m;
then
A106: ma < 1m by A99,XXREAL_0:1;
now
assume B(m)java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
then total&cardC holdsSum(land(,A, (,D
then mm - 1m <=0 by java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 5
contradiction
end;
then cyinB(11 B(m A98XBOOLE_0:ef
FinSRFB)C FinS(F,D)by Th17;
hence contradiction by A11,A93,A98,A101;
end;
end;
hence contradiction;
end;
case
A107: y .Sum(F,D)by RFUNCT_3:ef ;
end;
A108: ex n java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
consider mm be Nat such that
[n] holdsmm=from
NAT_1:sch 5proof v0,1;
A110: 1<=mm by A109,FINSEQ_3:25;
then max(0,mm-1)=mm-1 by FINSEQ_2:4;
hen 1m=m- as 5
A111("\v1)=v1 by byA2,A3,emma1;
A112 ,
now
per cases;
java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 21
mm=1;
then A1:F total nd
then mi\v65)"/\"(v66"/)( card ;
A3: dom F = D by A1,PARTFUN:f;
hencethesis by ;
mm>java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
then proof let v65,66;
11<m NAT_113java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
:by CLASSES16;
A114: mm<mm+1 by NAT_1:13;
then
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
RFUNCT_351;
then
A116: 1m in dom thesisby java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
1171< A114,:19;
then
:1<BbyA111:2java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
1m=1by ,A115X:;
then cyin.1+)\B.m by A109,RFUNCT_3def ;
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 65
then mi<=mm by A13(v0"\"(v1"\"(0\"v2))"/"(v2"/"(v1"/\e_quipotent by A5,;
+1<m1 by A109,XREAL_0:;
then <=m1-m1 by XREAL_1:19
then1=;
end;
;
(v64"\ hence(RlandRland(,)r)= Sum(FrD RFUNCT_3:14
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
;
hence contradiction;
end;
hence card("{x) =card(Bma) java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.= theorem Th20:
.= card;
endjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
end;
hence card (fd"{x}) hencethesisby A105;
end;
;
hence (x=x;
end;nd;
""\=v66"/(/\//")java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 13
forFbe R,be Cst F
totalv0"/(
proof
F of,REAL bejava.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 57
A1: A132:v64 v let x object
n
A2: Rland pr v65v66,;
: Rland(F,)= C by A1,h12;
then RFB)C=(, :;
hence A3R 13;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem Th18:
forFbe PartFunc of ,EAL, RearrangmentGen of Cst Fjava.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64
total & card Chencethesis byA136java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
letbePartFunc of D,REAL, B RearrangmentGenRearrangmentGen of C;
istotal&hence byA140;
then FinS(land(,B)C =FinS(FD)by Th17;
(FB,) =Sum )by RFUNCT_3:def1
.= Sum (F(v64"\v66"\(64"/v)=(/)by A144;
;
theorem
for F be of D,REAL, A be RearrangmentGen of C st set fd = FinS(F,D), mf = MIM(fd), b = Co_Gen B, h = CHI(b,C
FA ,)=(r Arjava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
proof
PartFunc ,REAL, B RearrangmentGen C
:: Sixth
:C = card D;
:dom by ;
then F|D = F by RELAT_1 vholds(v0\"v0/"1)v0
then
java.lang.StringIndexOutOfBoundsException: Range [41, 2) out of bounds for length 64
A7 for v65v66holds v65=((v66"/\"v65)"\/"(v65"/\"v65))
then Rland(F,B), F are_fiberwise_equipotentv65"/\(v65"/"66)v65by assume in b.1;
then
A5: RlandA51: , holds(v"/\"1)\")=1
6 ((B r Rland (F,) byVALUED_1:java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
(land(,B)-r)C=Rland(,)- bybyRELAT_1:;
hen ((,B) -r,C,Rland(,)-rare_fiberwise_equipotent ,
RFUNCT_3:def 13;
then
A7: FinS(Rland(F,B) - r, C), F-r are_fiberwise_equipotent by A5,CLASSES1:76;
A8: dom(F-rA6 n java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
then
henceFinS(,B)-,C ) FinS(F,D by,A7,:13java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
hence(Rland(F,B)rC)= FinS(-r,) by RFUNCT_3:def 14
.= Sum (F-r,D) hencethesisjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
end;
theorem Th20:
forFbejava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 64
carddom Seg fdbyd;
prooffor v64,v0 holds v64"\v64=v64/"("")\/"))
let F be PartFunc of D,REAL, B be RearrangmentGen of C;
b=Co_Gen()java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
A49 for v64,v65 holds (v64"/"64"\"(v65"/"64"\v64))(v64"\v64)
FinS(F,(v64"/\((v65"/\v64)\/v64))=(v64"\"v64)"/"A8 D PARTFUN1:def2;
assume F is java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 4
hen
A2: (v65"then card dFby:;
thus fd < 9
let xbe objectjava.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
ssumexin;
then reconsider c =end;
c is_common_for_dom (MIM(FinS(F,D)) (#) CHI(b,C)) by RFUNCT_3:32;
hence thesis by A1,A2(v64"\v64)v64by ,A3,Lemma1;
end;
theorem Th21:
for c be("/(1"\v0)="/("\v1)by A,MeetCom .= v0 by A2,A3,MeetAbsor;
letxbeobject;
(v1/v1= byA2,3Lemma1;
hence thesis by A7;
proof
let cbe ,F PartFuncofD, BbeRearrangmentGenof C;
set fd)\"v2"/\v0))(0"\(2"/"2)byA3
A1: Rlor(F,B).c = Sum((mf(#)h)end;
=lenb&len =len dbyRFINSEQ:def ,FUNCT_3:defproof letv2v0
assume
A3:Fis C
then
:java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 27
bproof let v1,65java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
proof
.;
Rlor(B.=Sum mf A3A1T
. (,D)1 such that
;
let n;
set mfn = MIM(FinS(F,D)/^n);
assume that
A5: 1<=n and
A6:<len(/"v64"/v1""v64"/v64)v64A31
A7: c in b.(n+1) \ end;
(mf(#)A117: forv
hence Rlor(F,B).c = Sum(n |-> In(0,REAL)) proof let v1,v64
by A1,RVSUM_1:75
.= 0 + Sum mfn by mi = 1;
.= FinS(F, (((64"/v1)/""/v64)=((v64"\/"v1)"/\"(v64"\/"v64))
end;
eoremTh22:
for F be PartFunc java.lang.StringIndexOutOfBoundsException: Range [20, 10) out of bounds for length 10
t C = D rng (,)=rng total & card C = card D holds rng Rlor(F,A) = rng
proof
let F PartFuncof D,EAL beRearrangmentGen ;
assume thatv\"= then1<mi by,XREAL_01;
A1: F is total and
A2 C D;
set fd=FinS(F),p=Rlor(F,) =MIMfd,b Co_Gen ,h (,C;
A3:java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
dom F is finiteproof let v65,v1,v64;
then(64"\"v65"\"v64))v64 by A66;
java.lang.StringIndexOutOfBoundsException: Range [22, 2) out of bounds for length 42
A5: java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 4
A6: dom b = Seg len b by (64\ A16,:25;
reconsiderdfd dom fd,dFdom F9 as finite ;
A7:len =len &len = then
A8: dom F = D A150: for v1,v66 m1 by BOOLE_0def 5;
then\v66\/"/(\"66)=(v64\")"/v1 bbyA,:;
fd, F then p. =d(+ A1A2A16,h21;
then((0"\/"v1)"\/" consider mi atthat
len >0 A8A4java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
hen
:+=by13java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
then
:1 ;
thus (v64\"65)\"v64"/v66)=
proof
let x be object;
assumex rng p;
then consider c be (\"65)\
c in dom p and
A11: p.c = x by PARTFUN1:3;
defpred P[set] means $1 in domset y=the of .;
A12: ex n be Nat st P[n]
take n = then reconsider asElement ofC byA24;
b.n = C by Th3;
hence thesis by A3,A7,A9,FINSEQ_3:25;
end;
consider mi be Nat such java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 8
A13: P[mi] & for n beA25 java.lang.StringIndexOutOfBoundsException: Range [11, 8) out of bounds for length 12
A14: 1<=mi by A13,FINSEQ_3:25;
then max(0,mi-1)=mi-1 by FINSEQ_2:then 11=iby:java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
then reconsider m1 = mi -1 as Element of NAT by FINSEQ_2:5;
A15: mi<=len b by A13,FINSEQ_3:25;
now
per cases;
case
mi = 1;
,Th21;
hence thesis by A10,A11,FUNCT_1:def 3;
end;
case
mi <> 1;
then 1<mi by A14,XXREAL_0:1;
then11= byNAT_1:13;
then
A16: 1<=m1 by XREAL_1:19;
A17: m1<mi by XREAL_1:44;
then m1<=len b by A15,XXREAL_0:2;
then m1 in dom b by A16,FINSEQ_3:25;
then not c in b.m1 by A13,XREAL_1:44;
then
A18: c in b.end;
m1<len b by A15,A17,XXREAL_0:2;
then p.c = fd.(m1+1) by A1,A2,A16,A18,Th21;
hence thesis by A3,A7,A4,A6,A11,A13,FUNCT_1:def 3;
end;
end;
hence thesis;
end;
let x be object;
defpred P[Nat] means$1 in dom & fd.1 xjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
x inrngfd;
thensetfd=FinS(D),p (,B,mf =MIM(fd) b bC)java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
A19:ex be Nat [] by FINSEQ_2:;
consider mi be Nat such that
A20: P[mi] & for n be Nat st P[n] holds mi<=n from NAT_1A2 Fis total& card=card ;
A21: then
then max(0,mi-1)=mi-1 by java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 27
thenjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 61
A22: mi<=len fd by A20,FINSEQ_3:25;
now
per cases;
case
A23: mi=1;
set y = the Element of b.1;
A24: b.1 <> {} by A3,A7,A4,A6,A10,Th7;
in fd
thenreconsider as of Cby ;
p.y = fd.1 by A1,A2,A24,Th21;
hence thesis by A5,A20,A23,FUNCT_1:def 3;
end;
case
A25case
set y = the Element of b.(m1+1) \ b.m1;
1<mi by A21,A25,XXREAL_0:1;
then 1+1<=mi by NAT_1:13;
then
n hencethesis;
consider:: Seventh file
A27 m1 b >} by ,A7A26,Th8;
then
A28:y in b.m1+) XBOOLE_0def5;
reconsider
then reconsider y as
1<XREAL_1:44java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 39
pyfd( reconsider m1 mi 1 as Element NAT INSEQ_2;
hence thesis by A5,A20,FUNCT_1:def 3;
end;
java.lang.StringIndexOutOfBoundsException: Range [13, 6) out of bounds for length 6
hence thesis;
end;
:
for F be PartFunc of D,REAL, A end;
v0/"v1"\/"2=v0"\v1)\"v2"/\v0byjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
proof
let F be PartFunc of D,REAL,:: Eighth File
set is absorbing&
A1: len h = len b & len mf = lenA16 Seg(for v0v2,v1 holds (0"\"v1\\/v2))=((v2"/\"v0)"\/"(v1"/\"v0))implies
assume
A2: F is total & card C = card D;
then
A3: rng p = rng fd by Th22;
A4: dom p = C by A2,Th20; let y beobjectjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
then reconsider p as finite java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 0
len mf h ,Th11
len b by :def java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
now
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
now
per java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
:;
then"{}{ by Lm1
card d{} =card"x) byA3,,java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
then lA22:for v65,v64,0 holds
case
A8: in rng fd;
defpred P[Nat] means $1 in dom fd & fd.$1 = x;
A21:java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
consider mi be Nat such that
A10: P[mi] & for n be Nat(v65"\"v65"\/"v1))=v65 by A2;
);
reconsider;
: 1<mi by A10F:25;
then max(0,mi-1)mi1 by FINSEQ_2:;
then reconsider m1 = mi-1 as Element of NAT by FINSEQ_2:5;
A12 m11by A2;
A13A22:mi<A39 for v65v64, olds (""v66"")(65"\v66"/(v64"/\"v65))
consider(/")\/(66"\v65)=(65/"v66"/v64) A3;
: [ma &for n Nat [n]holds n<=ajava.lang.StringIndexOutOfBoundsException: Range [53, 49) out of bounds for length 69
,9;
A15: ma<=
A16: Seg ma \hencethesisby A12;
proof
Seg ma \ Seg m1 c=fd"x}
proof oin ((1\\"(v2"/"65))"/(65"/v6)
lety be ;
thesisby ; hence thesis by A21end;
in Segma \ Seg m1;
reconsiderl=asElement of ;
(("\v1)"/v)/"(/\"v1)"\/v0))=((v2/\"1)"\/"v0) by A2,A3,Lemma1;
yinSeg ma A17XBOOLE_0:def 5;
then
A19: 1<lby :1;
A20: l<=ma by A18,FINSEQ_1:1;
l=fd byA152
then
)
notend;
then l<1 java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 20
then<l ,INSEQ_1:,REAL_1:;
then
<=l NAT_1:13;
now
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
l=ma;
then o in {x} java.lang.StringIndexOutOfBoundsException: Range [37, 1) out of bounds for length 47
hence thesis A21then
end;
ase
<;
lmabyA20,XXREAL_01java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
then
java.lang.StringIndexOutOfBoundsException: Range [39, 3) out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
lmi;
then o in{} A10,TARSKI:def(v67/(/")"\/
hence thesis by A21,FUNCT_1 by A53;
case
lmi
then XXREAL_0:
hencethen
v64
then o in {x} by TARSKI:def
hence thesis by A21,FUNCT_1/v64"\"v64\"v65\"64)
end;
end;
hence thesis;
end
:
A30: mi<=ma by A10,A14;
end;
let y be object;
java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 12
A24: y in fd"{x};
then
then
reconsider l=y as Element of NAT by A24;
A26: 1<=l by A25,FINSEQ_3:25;
. x byA24,def;
then
A27: =-by:57
then java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 38
then mi<l+1 by NAT_1then
then m1<l or l<1 by XREAL_1:19;
then
java.lang.StringIndexOutOfBoundsException: Range [21, 3) out of bounds for length 40
<ma byA14,A27
thenl maby ,:;
hence thesis by A28,XBOOLE_0def 5;
end;
A29: 1<=ma by A14,FINSEQ_3:25;
A30: v ;
m1= byXREAL_1:43;
then
A31:m1maby A30,XXREAL_0:2;
then m1 c=Seg ma hence thesis;
then
rd(Seg ma) - cardSeg m1) by A16,,CARD_2:44
.= ma - card(Seg m1) by FINSEQ_1:57
=majava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A33ljoin -java.lang.StringIndexOutOfBoundsException: Range [59, 56) out of bounds for length 59
then 1<=lenjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A34: 1 in domjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
per cases;
case
A35: mi=1;
.ma( / )/ "\ ) /"
MainMcKenzie
ma={x}}
defpred P[Nat] means $1 in domf then.c = byA2A10,,A44,;
for c Lissatisfying_McKenzie_1;
let y be object;
assume
A36y java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 26
b.ma c= C by A5A1A6A14,Lm5;
A9: for v100,v101 holds"/(/"))=v100
A37: for n st P[n] (100"\(1"/(\"v2))=by A3
proof
let n;
(v100"/(v1"\"(100"/"v2)))=v100 by A2;
:P]
assume that
:n bjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
40: n+1=a
A41: n+1<=len b by A39,java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 4
hen
42 <= -XREAL_1;
A43: n<len by ,NAT_1:13;
letc C
A44: c in b.(n+1);
A45:A25:for v102,1v2,
now
java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
case
0java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
then. = x by A2A10A35A,h21; Fjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
then. x TARSKI ;
;
end;
case
A46 n+end;
then
A47: 0+1<n+1 by XREAL_1:6;
A48 +1<=A48: 0+1<=n by A2;
then b.n c= b.(n+1) by A42,Def2;
then
A49: b.n+1 =b(n+1) \ b. by r=pby,A6,A10,A35,A39,A47,A50,:19
b.+1) \ .)\bnjava.lang.StringIndexOutOfBoundsException: Range [52, 50) out of bounds for length 65
java.lang.StringIndexOutOfBoundsException: Range [48, 25) out of bounds for length 25
per cases by A44,A49,XBOOLE_0:def 3;
cb.+ b.;
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
=fd(+1 2A43A,java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
per cases;
case
n+1=ma;
then p.c in {x} by A14,A50,TARSKI:def 1;
hence thesis by A4,FUNCT_1:def 7;
end;
case
n+1<>maA57 for v1,v2,v100 holds (v100"/("/(v100"/"v2)))=(v1"\/(v100"/"v2)java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
A17java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
then
A51: p.c>=r by A5,A1,A6,A14,A39,A50,RFINSEQ:19;
r>=p.c by A5,A1(100"\(\"100)=100byA13java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
;
=pc A51,1
then p.c in {x} indom by A5,,,FINSEQ_3:29;
hencethesis by A4FUNCT_1:
;
end
hence thesis;
end;(100"\"(100\"v1)v100 by A21;
case
in bn;
hence by ,40,45A48FINSEQ_3:5,AT_1:3;
end;
end;
hence thesis;
end;
end;
hence thesis;
A55: p.cy xby TARSKIdef1;
A52: 0 by FINSEQ_3:5java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
A53:
ma bbyA1A14Fjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
then cy in p"{x} ("/(v1"\"(100/")java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 28
hence thesis;;
y;
assume
A54: y in p"{x};
then reconsider cy = y as Element of C;
. in {x A54d 7java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
then
A55: p.cy = x by TARSKI:def 1;
defpred Q[A88: for v0,v2,v1 holds ((v0"v1"\"v2))"\/"v1)=v1
assume
A56: not y in b.ma;
nbe st Q[]
proof
take n=hence thesis A85;
assumenend;
then 0+1<=len b by A91 v1 (/"1)"\/"v101)=()"\/"v101)=(v101 malenb A,1java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
dom :java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
A58: b endjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
now
assume n <= : v1,v100 (v100"\((java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 18
thenma=lenb by A5,A15XXREAL_0:1;
(((v100"\/"v102)"\/"v1/"")((v100"\/v102)"\/"v1) by A65;
hencecontradictionA56;
end;
end;
consider mm be Nat =mmbyA59,25;
A59: Q[mm] & for n be Nat st Q[n] holds mm<=n from NAT_1:
sch 5A57 );
1<=mm by A59,FINSEQ_3:25;
max0mm1)=mm- byFINSEQ_2:4;
then reconsider 1m = mm - 1 as Element of NAT by FINSEQ_2:5;
ma+1<=mm by A59,NAT_1:13;
then
A60: ma<=1m by XREAL_1:19;
then
A61: 1<=1m by A29,XXREAL_0:2;
A62: mm in dom fd by A5,A1,A59,FINSEQ_3:29;
A63: mm<=len b by A59,FINSEQ_3:25;
A64: mm<mm+1 by 1m=by ,XREAL_119java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
then 1m<mm by XREAL_1:19;
hen
:1<lenb A63XXREAL_02
1m=mm byA64,XREAL_1:19;
then 1m=len b by A63,XREAL_0:2;
then
A66: 1m java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
per cases;
hence thesis by A4;
then cy in b.(1m+1) \ b.(1m) by A56,A59,XBOOLE_0:def 5;
then p.cy = fd.mm by A2,A61,A65,Th21;
hence contradiction by A14,A55,A59,A62;
end;
case
ma <> 1m;
then
A67: ma < 1m by A60,XXREAL_0:1;
now
assume cy in b.(1m);
then mm<=1m by A59,A66,A67;
then mm - 1m <=0 by XREAL_1:47;
hence contradiction;
end;
then cy in b.(1m+1) \ b.(1m) by A59,XBOOLE_0:def 5;
then p.cy = fd.mm by A2,A61,A65,Th21;
hence contradiction by A14,A55,A59,A62;
end;
end;
hence contradiction;
end;
hence card(p"{x}) =
end;
case
A68: mi<>1;
then 1<mi by A11,XXREAL_0:1;
then
A69: 1<=m1 by A12,NAT_1:13;
A70: m1<=len fd by A33,A12,NAT_1:13;
then
A71: m1 in dom b by A5,A1,A69,FINSEQ_3:25;
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
bc ma A5A6,A14,A31,Th2;
b.ma c= C by A5,A1,A6,A14,Lm5;
then reconsider bma = b.ma, bm1 = b.m1 as finite set by A72;
b.ma \A68: <1java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
proof
thus b.ma \ b.m1 c= p"{x}
proof
defpred PA70 m1<len A33,A12,NAT_1:13;
implies for c be Element of C st c in b then
let y be objectA71:m1 domb by ,,,25
A73: b.ma c= C by A5,A1,A6,A14,Lm5;
A74: =b.byA5,6,A14A31Th2
proof
let n;
assume
A75: P[n];
assume that
A76: n+1 in dom b and
A77 =+and
A78: n+1<=ma;
let c be Element of C;
n+1<=len b by A76,FINSEQ_3:25;
then
A79: n<len b by NAT_1:13;
assume
A80A74 fornP[n] holdsP[+1]
now
per cases;
case
A81: n+1=mi;
then.c(+1) by ,A69,,A80T;
then p.c in {x} by A10,A81,TARSKI:def 1;
hence thesis by A4,FUNCT_1:def 7;
end;
case
mi <> n+1;
then
A82: mi<n+1 by A77,XXREAL_0:1;
then mi<=n by NAT_1:13;
then
A83: 1<=n by n+1<=len b by A76+<lb A76FINSEQ_3:;
n<=ma by A78,NAT_1:13;
then
A84: n<=len b by A5,A1,A15,XXREAL_0:2;
then n<=n+1 & n in dom b by A83,FINSEQ_3:25,NAT_1:11;
A80 .n+)\ b.java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
then
A85: b.(n+1) \ b.m1 = (b.(n+1) \/ b .n) \ b.m1n+1mi;
(((n1 bn / .)\ b.m1by XBOOLE_1:39
.= (b.(n+1) \ b.n)\ b.m1 \/ (b.n \ b.m1) by XBOOLE_1:42
;
now
cases by A80,A85,XBOOLE_0:def ;
case
c in (b.(n+1) \ b.n) \ b.m1;
then c b(1 .nby:5
then
:pc = fd(+1 byA2,,Th21
now
percases;
case
+=ma;
then p.c in {x} by A14,A86,TARSKI:def 1;
hence thesis by A4,java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
end;
<by A78,AT_1:3;
proof letv100v1v;
then n+1<ma by ;
then
A87: pjava.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 20
r>=p.by A5,,,,A76,A86,RFINSEQ:
=c A87;
(\""/"(v2\"v101)=java.lang.StringIndexOutOfBoundsException: Range [39, 36) out of bounds for length 54
forv2,holds
.=(.nooflet ,,java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
end;
hence thesis;
end;
case
c in b.n \ b.m1;
hence thesis by A75,A78,A82,A83,A84,FINSEQ_3:25
,NAT_1:13;
end;
end;
hence thesis;
end;
end;
hence thesis;
end;
A88: P[ 0 ];
A89: for n holds P[n] from NAT_1:sch 2(A88,A74);
assume
A90: y in b.ma \ b.m1;
then y in b.ma;
then reconsider cy = y as Element of C by A73;
ma in dom b by A5,A1,A14,FINSEQ_3:29;
then cy in p"{x by A90A89
hence thesis;
end;
let y case
assume
A91: y in p"{x};
then reconsider cy = y as Element of C;
p.cy in {x} by A91,FUNCT_1:def 7;
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
ef 1
assume
A93: not y in b.ma \ b.m1;
now
per ,def ;
case
A94: not y in b.ma;
defpred Q] means $1 in dom b & ma<$1 & cy in b.$1;
A95: ex n be Nat st Q[n]
proof
take n=len b;
len b <> 0 by Th4;
then 0+1<=len b by NAT_1:13;
hence n in dom b by FINSEQ_3:25;
A96: b.n= C by Th3;
now
assume n <endjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
then ma=len b by A5,A1,A15,XXREAL_0:1;
then cy in b.ma java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 31
hence contradiction by A94;
end;
hence thesis by A96;
end;
consider mm be Nat such that
:Q mm hencejava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 20
T_1:5A95)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
1<=mm by A97,FINSEQ_3:25;
then max(0,mm-1)=mm-1 by FINSEQ_2:4;
then reconsider 1m ((v0"/\"v1)"/\"(v1"/"v0)=v1/"v0) by ;
ma+1<=mm by A97,NAT_1:13;
then
A98: ma<=1m by XREAL_1:19;
v0,v1;
A99: 1<=1mbyA29,2java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
A100: mm in domA173 for v1,v0 holds (v0"/\"v1)=(v1"/ thenreconsider =y Element of C;
A101: mm(/""/(1"/\"v0)(0"\v1) by A167java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
A102: mm<mm+1 by NAT_1:13;
then 1m<mm by XREAL_1:19;
then
A103: 1m<len b by A101,XXREAL_0:2;
1m<=mm by A102,XREAL_1:19;
then 1m<=len b by A101,XXREAL_0:2;
then
A104: 1mindom b by A99,INSEQ_3:25;
now
percases;
case
ma=1mcase
then cy in b.(1m+1) \ b.(1A94:noty bma\/" A151;
pcy= fdmmbyA2A99,A103,Th21;
hence contradiction by A14,A92,A97,A100;
;
case
ma <> 1m;
then
: 1 by,java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 4
now
assume cy\java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 63
then mm<=1m by A97,A104,A105;
then mm - 1m <=0 by XREAL_1:47;
hence contradiction;
then cy b.1+)\b.() by A97,BOOLE_0def 5;
proofv1,v;;
hence contradiction by A14,A92,A97,A100(v1"\(v0\/v2)\"v1) by A191;
end;
end;
hence
end
case
:y .m1;
defpred Q[Nat] means $1 in dom b & $1<=m1 &
A107: ex n be Nat st Q[n] by (\""/(0\/"v1\"v2/\"v0))=("/v"\v0)\/(v0"/v1
A100: in dom A5A1,FINSEQ_3:;
mm for stn holdsjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
NAT_1 ()java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
A213 for v1,v0, holds
(,m-)=mm-1 by :4;
then reconsider 1(v0\"v1)"\/(0\/(v1"\"v2"\"0)byA203;
A110: mm<=len b by A108,FINSEQ_3hence thesisby A211;
A111end;
now
per cases;
case
mm=1;
thenp.cy =fd1 byA2A108,Th21
then mi<=1 by ,A34,A92;
hencecontradiction by A11,,XREAL_0:1;
end;
case
<1;
then 1<mm by A109,XXREAL_0:1;
then 1+1<=mm by NAT_1:13;
then
A112: 1<=1m by XREAL_1:19;
: m<+1 by NAT_1:13;
then
A114 hence contradiction by A14,A92A97,;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
then
A115: 1m in dom b by A112,FINSEQ_3:25;
A116: 1m<mm by A113,XREAL_1:19;
A117: 1m<len b by A110,XXREAL_0:2
=by,XXREAL_0
then not cy (v0"""\"\v0)(v0\/"1)A182
in then cy in )/"v0""1\"2))(v0\/"1)/"2
then p.cy = then mm - 1m=0by hjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 21
then miend;
then+<by A108,:java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
then((v0"\/"v1)"\/"(v0"\/"(v1"\"v2))(v1"/("/(v0"\"v1\"v2)) by A230;
then1=;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
;
hence contradiction;
end;
end;
hence contradiction;
end;
hence card(p"{x}) = card(bma) - card(bm1) by A72,CARD_2:44
.= ma - card(bm1) by A5,A1,A29,A15,Def1
.= card (fd"{x})A108 Q [mm]&for beNat Q[] holdsmm=
end;
end;
hence card (fd"{x}) = card(p"{x});
end;
end;
hence card Coim(fd,x) max(,mm-)=mm-1by FINSEQ_2:;
end;
hence thesis by CLASSES1:def 10;
end;
theorem Th24:end;
for F be PartFunc of D,REAL, AbeRearrangmentGen of st is
= =v1\"v0/2) A57
proof
let F now
assume
: F is total& card C = card D;
then
A2mm1
A3: dom Rlor(F,B) = C by A1,Th20;
then((,)| F):;
hence thesis by A2,A3, java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 28
end;
theorem Th25:
for F be PartFunc of D,REAL, A be java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 19 | |