Impressum scmpds_6.miz
Sprache: Mizar
|
|
:: The Construction and Computation of Conditional Statements for SCMPDS
:: by JingChao Chen
::
:: Received June 15, 1999
:: Copyright (c) 1999-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
vocabularies NUMBERS, SUBSET_1si` in Euclidjava.lang.StringIndexOutOfBoundsException : Index 41 out of bounds for length 41
XBOOLE_0, GRAPHSP, XXREAL_0, CIRCUIT2, ARYTM_3, java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 46
TARSKI forxbeElement (a.(i+1) = (a.i + b.i)/2 & b. .i)holds
SCMFSA6B, MSUALG_1 c Real j r > 0 & Ball(x,r si`
SCMFSA7B, SCMFSA8B, NAT_1, STRUCT_0, SCMPDS_6, PARTFUN1,java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 17
;
notations TARSKI, XBOOLE_0, SUBSET_1, XCMPLX_0, RELAT_1, FUNCT_1, let be Element of java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
PARTFUN1, VALUED_1A24:xin si`java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
,AMI_2Sjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
SCMPDS_4, SCMPDS_5, XXREAL_0;
constructors REAL_1, INT_2 set A=].-infty,.i.[, =]bi,+infty.[ f = * \
DOMAIN_1;
registrations considerg that
ORDINAL1, java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 13
AMI_3, COMPOS_0;
g=dom f java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
definitions SCMPDS_4;
equalities A26: for j be stj domf holds g. in .java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
expansions EXTPRO_1, SCMPDS_4;
theorems NAT_1, TARSKI, FUNCT_4,1 inSeg.(1=(+i/ )or
SCMPDS_4, SCMPDS_5, XBOOLE_1, XREAL_1, ORDINAL1, FUNCOP_1, XXREAL_0,
VALUED_1, PARTFUN1, MEMSTR_0, AFINSQ_1, COMPOS_1, EXTPRO_1, PBOOLE,
RELAT_1;
chemesthen 1 byjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 48
begin :: Preliminaries
reserve m,n for Nat,
a for Int_position,
i . A/ ;
s,s1,s2 for State of SCMPDS,
k1
loc for Nat,
I,J,K for Program of SCMPDS;
set A = NAT;
set D = SCM-Data-Loc;
:Stop0 ;
Lm2: 0 in dom Stop SCMPDS bythenreconsiderg1=.1as ExtReal;
reserve P,P1,P2 for Instruction-Sequence java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 19
::$CT 5
theorem Th1:
card A5: yin ab) by A4x java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 59
proof
thus card (i ';' I) = card (Load i ';' I)
.=card (Load then x in 1
.=card I+1 by then in -tuples_on REAL by EUCLID:def 1;
end;
theorem Th2:
(i ';' I). 0=i
proof
i ';' thenginFuncs(eg1REAL by ,FINSEQ_293
hence (i ';' I). 0 =(Load i). 0 by AFINSQ_1:def 3
.=java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
end;
::$CT 3
theorem Th3:
CurInstr(P +* stop(i ';' I),Initialize s) = i
proof
set iI=i ';' I, P3 = P +* stop(i ';' I);
A1: 0 A28:g= h and
IntervalSequencea,).0 in (
then
A2: 0 in dom iI by AFINSQ_1:66;
iI c= stop iI by AFINSQ_1:74;
then dom A30:rng =REAL FUNCT_2:ef2java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
y inIntervalSequence(,b. A5S:defthen
then .REALby A30,FUNCT_1:3;
A4:A8: y < [.,.. >byDef1
= (P +* reconsider g1 Real A28;
P3.0 = (P +* stop(i ';' I)). 0 ;
.= (stop iI). by,FUNCT_4:java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.= iI. 0 by A2, for t be object st t in t be ;
.=(Load i ' assume
.=(Load i). 0 .,.. >t x)
.=i;
hence thesis by A4,MEMSTR_0then t1 t ofjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 47
end;
theorem Th4:
for s being State of SCMPDS,m1,m2 then java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 37
m1 holds ICplusConst(s t1 REAL in -1 67java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
proof
s of m1 ;
ex m being Elementby :;
by SCMPDS_2:def 18;
1=MetrStruct(REAL 1Pitag_dist 1java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
end;
theorem Th5:
for I,Jby EUCLIDUNCT_1:3java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
stopI'; Jjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
proof
let Iy product [a.,bi]*>byDef1
stop(I ';' J) =I ';' J ';' Stop SCMPDS
.=I ';' (J ';' Stop SCMPDS) bythus t = rt1;
.=I ';' (stop J);
then stop(I ';' J) = I +* then consider be
encethesis FUNCT_4: rt1 in - REAL EUCLIDef1;
end;
::$CT
theorem
for s being 0-started State of SCMPDS, i being No-StopCode parahalting
hiftableProgramSCMPDS abeing
Int_position
holds IExec(i ';' J,P,s).a = IExec(J,P,Initialize Exec(i,s)).a
proof
let s be 0-started State of SCMPDS,
i beA14:fort be tjava.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 55
J be parahalting shiftable Program of SCMPDS, aht ( dom and
thus IExec(i ';' J,P,s).a = IExec(Load i ';' A15: dom <*[.a.i,b.i.]*> = Seg 1 by FINSEQ_1:de
.= IExecJP 1 in Seg 1 by TARSKI in Seg b def1FINSEQ_1;
.= IExec(J,P,Initialize Exec(i,s)).a by SCMPDS_5:40;
endthen. in < ..ibi]>. A14,;
theoremthus rt1=dom by A33,, gin..b.i]byA13
for a being Int_position,k1,k2 being Integer holds (a,k1)
k2 <> haltSCMPDS
proof
InsCode halt SCMPDS = 0 by COMPOS_1:70;
hence thesis by SCMPDS_2:16;
end;
theorem
for a being Int_position,k1,k2 being Integer
(k1 =0gotojava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 42
proof
InsCode haltjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 30
end;
theorem
for a being Int_position,k1,k2 being Integer
(,1>_ >
proof
InsCode haltconsider rt2beingproof
hence thesis by SCMPDS_2:18;
end
definition
let k1 be Integer;
func Goto k1A38: .java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 27
Load goto k1;
coherence;
end;
registration
let n be Nat;
= by A37java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
correctness by SCMPDS_5:21;
cluster reconsiderS = IntervalSequencea,)as
correctness by SCMPDS_5:21;
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 4
registration
let n be Nat;
cluster Goto (n+1) -> halt- =1- ux&rt1 1- rt2 A37,A39,:;
correctness;
cluster Goto -(n+1 then
correctness;
end;
theorem A18 . || java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
dom k1&Goto k1 =gotoby :java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
begin :: The predicates of is_closed_on and is_halting_on
definition
let I be Program of SCMPDS;
let s be State of SCMPDS . .<r .m0byXREAL_1;
let P;
pred I is_closed_onend then c- r<am0 r byREAL_1:9;
for ksupposeg1 rt2 0;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 53
pred I is_halting_on s,P means
P+*stop I halts_on Initialize s;
end;
theorem b.m0 c =b. .by XREAL_1:0
for I being Program of SCMPDS holds I rt2 g1 hen m0c< ,2java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 57
proof
let I be java.lang.StringIndexOutOfBoundsException: Range [28, 13) out of bounds for length 59
thus I is paraclosed impliesend
I is_closed_on s,P by FUNCT_4:25;
assume
A1: for s being State of SCMPDS,P holds I is_closed_on s,P;
let s be 0- hence rt1. fjbyhence . java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
let k be Nat;
let P;
A2: Initialize s = s by MEMSTR_0:44;
assume stop I c= P; end;
then
A3: P = P +* stop I by FUNCT_4:98;
I is_closed_on ,
hence IC Comput(P,s,k) in dom stop I by A2,A3;
end;
theorem Th12:
for I theorem Th33:
for s being State of SCMPDS,P holds I is_halting_on s,P
proof
Ibe of ;
thus I is parahalting implies for s be State of SCMPDS, P holds
I is_halting_on s,P by holds , nd;
assume
A1: for sbeingStateofSCMPDS,P holds I roof
let s be 0-startedjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
A43 . in exa, Realst .,b MEASURE5 3java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
stopI =P;
then
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
I
hence P halts_on s bynow
end;
theorem Th13:
for I1I2 nonemptyjava.lang.StringIndexOutOfBoundsException: Range [55, 44) out of bounds for length 59
DataParts1= DataPart s2 st I =lower_bound holds
implies I is_closed_on s2,P2
proof
s1s2 of ,Ibe SCMPDS;
set pI=stop I, S1 = Initialize s1, S2 = Initialize s2,
pro then REAL ;
assume
A1: DataPart s1 = DataPart s2;
A2: Comput(E2,S2,0) = Initialize s2 by EXTPRO_1:2;
A3:Comput(1S - REAL : 1java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
then
A4: DataPart Comput(E1assume
.= DataPart Comput(E2,S2t FuncsS1R ,java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [25, 10) out of bounds for length 25
& CurInstr(E1,Comput(E1,S1,$1)) = CurInstr(E2,Comput(E2,S2,$1))
DataPart Comput(,,1 ComputE2,21;
A5: 0 in dom pI by COMPOS_1:36;
assume
A6: I is_closed_on s1,P1;
A7: now
let k be Nat;
A8: ex nondFinSequence REAL st
assume
A9: P[k];
then
A10: for a holds Comput(E1, = java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
pI c=
then
A11: pI c= E2;
A12 roof
A13: Comput(E1,S1,k+1) = Following(E1,Comput(E1,S1 r
Comput(E1,S1,k) = Comput(E2,S2,k) by A9 s nonemptynondecreasing of REALst$ java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
domD r;
A14: Comput(E1,S1,k+1) = Comput(E2, g1 dom holds.in divsetDi)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
then
A15: Comput(E1,S1,k+1)
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 26
A16: IC Comput(E1S1k+)= Comput(,S2k)A14
A17
: E1/.IC Comput(E1,S1,k+1)
= E1.IC Comput(E1,S1,k+1) by PBOOLE:143;
A18: E2/.IC Comput(E2,S2,k+1)
= E2.IC Comput(E2,S2,k+1) byPBOOLEjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 11
pI c= P1 +* pI S c= REAL* by A1;
then pI c= E1;
then CurInstr(E1,Comput(java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 23
= pI.IC Comput(E1,S1,k+1) by A12,A17,GRFUNC_1:2
.= CurInstr let be object
byA,GRFUNC_12java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
hence P[k+1] by A15;
end;
A19: IC Comput(E2,S2,0) = IC S2: inBall(x,r);
.= 0 by MEMSTR_0:def 11 x =
A20: E1/ then reconsider = tdoms= D &
= E1.IC Comput(E1,S1,0) by PBOOLE: i iin sholdss.i in divset(, A1
A21: E2/.IC Comput( given s be non em-java.lang.StringIndexOutOfBoundsException: Range [51, 39) out of bounds for length 69
= E2.IC Comput(E2,S2,0) by PBOOLE:143 then A3:doms=domD
A22for Nat i sholds .i in(,)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
by A3
.0by: 11java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
then CurInstr(E1,Comput(E1,S1,0))
pI.0by ,FUNCT_413
.= CurInstr(E2,Comput(E2,S2,0)) by A19,A5,A21,FUNCT_4:13;
then
A23: P[0] by A22,A19,A4;
now
let k be Nat;
eingPkfrom :2(A)java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
IC A46ter: (,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 7
hence IC now
java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 6
hence thesis;
end
theorem
forA1 for xbe objectxinTD1
s1 = DataPart s2 holds I is_closed_on t = rt1;
implies I in REAL 1
proof
lets1,s2be om D java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
set pI=stop I, S1for java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 59
E1 = P1 +* pI, java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 38
defpred P[Nat] means
IC Comput(E1,S1,$1) = IC Comput(E2,S2,$1) &
CurInstr(E1,Comput(E1,S1,$A47 = hand
& DataPart
Comput(E1,S1,$1) = DataPart Comput(E2,S2A48:dom h = Seg1and
A1: Comput(E1,S1,0) = Initialize s1 by EXTPRO_1:2;
java.lang.StringIndexOutOfBoundsException: Range [27, 2) out of bounds for length 50
assume DataPart s1 = DataPart s2;
then
A3: Comput(E1,S1,0) = Comput(E2,S2,0) by A1,A2,MEMSTR_0:80;
: indom pI by COMPOS_1:java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
assume
A5:I is_closed_on s1;
A6: now
let k be Nat;
A7: Comput(E2,S2,k+1) = Following(E2,Comput(E2,S2,k)) by java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 39
assume
A8: P[k];
then for a holds Comput(E1,S1,k).a assume j indom f then
then
A9: Comput(E1,S1,k) = Comput(E2,S2,k) by A8,SCMPDS_4:2;
A10: pI c= E2 by FUNCT_4:25;
A11: IC Comput(E1,S1,k+1) in A50 TARSKI: 1;
Comput(E1,S1,k+1) considerrt2 beingReal that
then
A12: Comput(E1,S1,k+1) = Comput(E2,S2,k+1) by A8,A9,A7;
then
=ICComputE2,k+1);
A14: E1/.IC Comput(E1,S1,k+1)
= E1.IC Comput(E1,S1,k+1) by PBOOLE:143;
A15: E2/.IC Comput(E2,A52: .1
= E2.IC Comput(E2,S2,k+1) by PBOOLE dom = dom D &
.=rt2 by ;
then CurInstr(E1,Comput(E1,S1,k+1))
=pIICComput Realjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
.= CurInstr(E2,Comput(E2,S2,k+p
A13AA,FUNC_12;
hence P[k+1] by A12;
end;
A16: IClet be;
.= 0 by MEMSTR_0:def 11;
assume
Iis_halting_on s1,P1;
then P1 +* pI halts_on Initialize s1;
then consider m such that
A17: CurInstr(E1, A54: |rx-.. ()*|ux. 11
A18: E1/.IC Comput(E1,S1,0) = E1. .== s D
A19 rt2 in A,XXREAL_1:50; end
IC TD2=TD1
.= 0 by MEMSTR_0:def 11;
then proof
pI. 0by A4,A18,FUNCT_4:13
.= CurInstr(E2,Comput(E2,S2,0)) by A16,A4,A19,FUNCT_4:13;
then
A20: P[0] by A3;
now
let k be Nat;
A21 holds Pk from sch(A6)
ICComput(,S1,k) in dom pI by A5;
hence IC Comput(E2,S2,k) in java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 29
end;
hence I is_closed_on s2,P2;
for k being Nat holds P[ inA B
then CurInstr(E2 end;
=SCMPDSbyA17
then P2
hence thesis;
end;
for s being State of SCMPDS, end;
is_closed_on s,P iff I is_closed_on InitializeDhence by CARD_3:ef ;
proof
let s be State of SCMPDS,I,J beproof
DataPart s = DataPart Initialize s by MEMSTR_0 ;
hence thesis by Th13;
end; D Division ;
theorem Th16:
for s being 0-started State of SCMPDS
,
st I is_closed_on s,P & I is_halting_on s,P
holds
st k < java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 19
utP+ ,)=ICComputP+*stop(I' )s,)java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
DataPart Comput( end;
DataPart Comput(P +* stop(I ';' J),
proof
let s ence thesis by COMPL_SP:def 3;
let I,J be java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 11
assume
A1: I is_closed_on s,P;
2java.lang.StringIndexOutOfBoundsException: Range [17, 14) out of bounds for length 36
set pI=stop I, pIJ=stop (I ';' J), P1 = P +* end;
defpred X[Nat hence thesis:upper_bound, in[,b A2java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 78
Comput =A1java.lang.StringIndexOutOfBoundsException: Range [36, 27) out of bounds for length 36
assume java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 30
then
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
A4: for m st X[a.i <= b.i.i=.+ .+)<.holds
proof
IntervalSequence(a,b) is non-ascending
let mjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
assume
<= uppose1 i;
A6: pIJ c= E2 by FUNCT_4:25;
A7: Comput(P1,s,m+1) = Following(P1,Comput(P1,s,m)) by EXTPRO_1:3;
A8: pIJ =I hence thesis byA3A2,,:for Natai =. &ai< .i+1 .i1 =.i;
.=I ';' JS by AFINSQ_1:27;
domI ' endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
.= dom
then
=domI' java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 25
A10: Comput
A11: IC Comput(P1,sjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A12: P1/: = m;
= P1.IC Comput(P1,theorem Th35:
pIc byFUNCT_4:;
then
A13: CurInstr(P1,Comput(P1,s,m))
Comput(,m) A11,A12GRFUNC_12
assume
A14: m+1 <= LifeSpan st Iab = .<* ofIab
then <LifeSpan(P1,) by NAT_1:13;
then pI.IC(Comput(P1,s,m)) < assume x in product empty closed_interval java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
then
P,,)Ibyjava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 51
A16: E2/.IC Comput(E2,A2A3: x = and
= E2.IC Comput(E2,s,m) A4 dom = D **>;
CurInstr(P1,Comput(P1,s,m))
A5 A3:rngDc=Iab
.=I.IC (Comput(P1,s,m)) by A15,AFINSQ_1:def 3
.=pIJ.IC(Comput(P1,s,m)) by A15,A8,AFINSQ_1:def 3
E.(Comput1,m)by A15A8A9,:
.= CurInstr(E2,Comput(E2,s,m))
by A5,A14,A16,NAT_1:13 x inrngDjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
thenjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 35
end;
Comput(P1, s,0) = s &
CpIJ,s0by2
then
X[]java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
mholds 2A,4java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
A19: P +* pI +* pIJ = P +* (pI +* pIJ) by java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 8
.= P + .lD *b>then
thus for k being Nat st k <= java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 9
holds ICComput(sk = ComputP+ pIJ,s)byA18,;
Comput(P +* in Seg 1by FINSEQ_1 ()<> defjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
*stopI,) A18;
hence
DataPart Comput(P +* stop I, s, (LifeSpan(P +* stopA10:(<[abm]>. =[a.m,b.m.]java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
*I;' s,LifeSpan( + s))java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
end;
theorem java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 8
,beNat java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 38
is_closed_on s,P java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 6
k < java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 55
holds
proof
let I bm< .n y ,A2;
ss , *,
m ..,.m]= [a.n,bjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
A1: I is_closed_on s,P and
A2: I is_halting_on s,P and
A3: k < m;
setSk=Comput(,java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 37
A4: Ik in dom stop(I) by A1;
reconsider ;
A5: stop I c= PP by FUNCT_4:25;
A6:
A7: now
A8: PP/.IC
assume
A9: n = card I;
thenjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 70
)(+n by A4A5java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 34
m1,Lm2AFINSQ_1:def 3;
hence contradiction by A3,A6,EXTPRO_1:def 15;
end;
hence XXREAL_12;
then n < card I + 1 by java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 6
then n <= card I by INT_1:7;
n >=dom ;
hence thesis by AFINSQ_1:66;
theorem Th18:
for I,J being Program of SCMPDS,
s beingletabx ;
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
k < LifeSpan(P +* stop I,s)
( +*stop ,ComputP+* stop I, s,k)) =
CurInstr(P +* stop(I ';' J),Comput(P +* stop(I ';' J),s,k))
proof
A4iin1 ,d ;
sbe0started State of SCMPDSk be ;
set P1 = P +* def;
set s3= Comput(P1, s,k), s4= Comput(P2 java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 38
P3 for y beobject A6 1 [c,MEASURE5 ;
SS=Stop SCMPDS;
assume that
A1: I is_closed_on s,P and
A2 I is_halting_ons,P & ,,1;
A3: Initialize s = s by MEMSTR_0:44;
then
A4 IC s3 in dom I by A1,A2,Th17;
A5: IC s3= IC s4 by A1,A2,Th16;
A6: IC s3 in dom stop(I) reconsider g = P as Function
A7: dom divset
,SCMPDS_5:13;
A8: stop I c= take g;
:stop (I''J =I = ;
.=I ';' (J ';' SS) by thus domg= dom fA8c=a& by,:;
A10: P3/.IC .java.lang.StringIndexOutOfBoundsException: Range [26, 26) out of bounds for length 14
A11: P4/. **> in divset(B,i) by A8,A6,A5;
thus assume y in dom f;
.= endjava.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
.IIC ;
.=(stop (I ';' J)).IC s3 by A4,A9,AFINSQ_1:def 3
.=.Cs4 A5,A7G:2
.A3: = 1 TARSKI: 1java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
end;
theorem Th19: ::SCMPDS_5:32
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 58
SCMPDS, k beingend;
I is_halting_on s,P & k <
(P * IInitialize)
holds
CurInstr(P +* stop I java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
proof
let I be halt-free Program of SCMPDS,s be State of SCMPDS, k end;
set ss=Initialize s, PP = P +*java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
=ComputPP
assume
I is_closed_ontheorem
then
:s2 by Th17;
A2: P2/.IC s2 = P2.IC s2 by PBOOLE:143 =product <*[.a,.]*>holds;
A3: stop I c= PP java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
I c= stop I by AFINSQ_1:74;
then I c= PP by A3,XBOOLE_1:1;
then CurInstr(P2,s2)=I.IC s2 by A1,A2,GRFUNC_1:2;
hence thesis by A1,COMPOS_1:def 27;
end;
theorem Th20:
forIbeing -freeofSCMPDSsbeing State of
SCMPDS st I is_closed_on s,P & I is_halting_on s,P
holds IC Comput(P +* stop I, Initialize s,
LifeSpan(P +* stop I,Initialize s)) = card I
proof
let I be halt-free Program of SCMPDS,s be State of SCMPDS;
set s1=Initialize s, P1 = P +* stop I;
assume
A1: I is_closed_on s, =<[.,.]*>
A2: I is_halting_on s,P;
(P1 s1,LifeSpan(P1,1);
reconsider n = IC Css as : S is non empty by A1,A2,Th
:stopIc P1 FUNCT_4:;
I c= stop I by AFINSQ_1:74;
then
A4: I c= P1 by A3,XBOOLE_1:1;
: P1 halts_on s1 A2;
now
A6: P1/.IC Css = P1.IC Css by PBOOLE:143;
A7: IC(y)< s) holds b -a = s)
then I.IC Css=P1proof
.CurInstr(P1,)by t Euclid1 xi S yin java.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
.= .=halt i i injava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 52
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 46
end;
then
A8: n >= card I by java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 4
A9: card stop I =card I + 1
I Cssin stop()by A1;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then n <= card I by NAT_1:13;
then for r being holdsvol { = 0
thesis
end;
en;
for I being halt-free Program java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
for ab being Real_Sequencest (ijava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 69
st I is_closed_on s,P & I is_halting_on a is non-decreasing & b is non-increasing ho
holds Comput(+* ( ; Goto cardJ )'J)
s, (LifeSpan(P +* stop I,s) + 1)) =
(card + cardJ &
ComputP+ ,s,
(LifeSpan(P +* stop I,s)))
= DataPart Comput(Passume [.lower_bound i java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 68
1) ';' JA1:fori be .upper_boundI]isnon c REALjava.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
*s )java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
(for k being java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 21
holds CurInstr(P +*stop (I ';' Goto (card J + 1) '
Comput(P +*stop (I ';' Goto (card J + 1) ';' J ),
s,) <>haltSCMPDS &
IComput( *stop ('' cJ+1 ' ),,
LifeSpan(P+ stop ,s))
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
P * ( A3 =..by;
halts_on s &
LifeSpan(P +* stop ( java.lang.StringIndexOutOfBoundsException: Range [18, 15) out of bounds for length 65
card J endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
proof
letI java.lang.StringIndexOutOfBoundsException: Range [26, 23) out of bounds for length 76
s be 0-started State of SCMPDS;
A1: I is_closed_ontake r = a. ;
set G1=Goto (card J + 1), SS = Stop SCMPDS, J2 = G1 ';' J ';' SS java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 62
G1 ';' J n .I,. java.lang.StringIndexOutOfBoundsException: Range [59, 56) out of bounds for length 77
s =sjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
reconsider P2 = 0 in NAT;
as InstructionA7 indomaby SEQ_1:1;
assume
A2 I is_halting_ons,;
A3: Initialize s = s by MEMSTR_0:44;
set Iac, emptyclosed_interval ,
A4: IJ =I ';' (G1 ';' J) by AFINSQ_1:27;
then
A5: IC Comput(P1, s1,LifeSpan(P1,s1)) =IC sm by A1,A2,Th16;
hen
A6: IC sm = cardDcbDivisionof;
A7: 0 in dom G1 then a.0 <<=bassume
:upper_bound()<lower_bound)
.=G1. 0 by A7,AFINSQ_1:def 3
.goto (ardJ funcDac(# - empty FinSequence
card (G1 ';' J) = card G1 + card J by AFINSQ_1:17
.=1 + card J by COMPOS_1:54;
then
A9:A9: ^Dcbif.1 >upper_boundIac)
.=halt SCMPDS by Lm1,Lm2,java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 29
A10: card J2java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.=card G1 java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
assume[;
then
in J2AFINSQ_166java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
A12: pJ =I '. <.;
.=I ';' (G1 ';' J) ';' SS by AFINSQ_1:27
.=I ';' J2 by AFINSQ_1:27; java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 50
then
A13: then .lenDac)<Dcb.1 byA3,2XXREAL_0:1java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
0 < card J2;
then < A13,REAL_1java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
then
A14: card I in dom pJ by AFINSQ_1:66;
A15: card SS = 1 by AFINSQ_1:34;
A16: card J2 = 1 n
.= card J + (1 + card SS);
then card J + 1 < java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 12
then
A17: (card J + 1) in dom J2 by AFINSQ_1:66;
card pJ = card I + card J + 1 + 1 by A13,A16,A15;
then card I + card J + 1 < card pJ by NAT_1:13;
then
A18: (card I + card J + 1) in dom pJ by AFINSQ_1:66;
A19: P2/.IC Comput(P2,s2,LifeSpan(P1,s1))
= P2.IC Comput(P2,s2,LifeSpan(P1,s1)) by PBOOLE:143;
A20: CurInstr(P2,Comput(P2,s2,LifeSpan(P1,s1)))
= P2.card I by A1,A2,A5,Th20,A19,A3
.= P2. card I
.= pJ. card I by A14,FUNCT_4:13
.= (I ';' J2).(0+card I) by A12
.= goto (card J + 1) by A11,A8,AFINSQ_1:def 3;
A21:now
let a;
thus Comput(P2, s2,LifeSpan(P1,s1) + 1).a
= (Following( (a.(k+1) = (a.k b.)2& b.(k+1) = b.k)) byA2;
thesis by ,Th8;
end;
A22: P2/.IC Comput(P2, s2,LifeSpan(P1,s1) + 1)
= P2.IC Comput(P2, s2,LifeSpan(P1,A6:for kbeNat P[k]from NAT_1sch2A3,4;
by PBOOLE:143;
thus IC Comput(P +* pJ, s2,LifeSpan(P1,s1) + 1)
Following(P2,sm) by EXTPRO_1:3
.= ICplusConst(sm,card J +1) by A20,SCMPDS_2:54
.= (card I + (card ex i Nat i = k& a. = b.iby ;
=c + );
then
A23: CurInstr(P2,
Comput(P2, s2,LifeSpan(P1,s1) + 1))
= P2. (card I + card: < byFINSEQ_325java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
+ 1) by A22
/asnon FinSequence REAL A9,:;
. J+1)) by A12
.A13: Dac()=upper_boundby 2java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
DataPartComput(P11 dom/1 by,FINSEQ_332; then
sm by A1,A2,A4,Th16;
A14: (cb^)1=.11 A12,FINSEQdef1java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
DataPart Comput(P +* dom (cb/ java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 45
thus
A24:
= Th1
let k be Element of NAT;
assume
A25: k <=^D/
per cases;
suppose
(P1)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
CurInstrComputk > by A1A2,Th19,;
hence CurInstr(P +* pJ,Comput(P +* pJ,s2,k)) <> halt SCMPDS
byA4:fori Natholds
java.lang.StringIndexOutOfBoundsException: Range [9, 4) out of bounds for length 8
seendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
LifeSpan(P1,s1) <= k;
henk =LifeSpan,) by ,XXREAL_0:;
hence CurInstr(P +* pJ,Comput(P +* pJ,s2,k)) <>
halt SCMPDS by A20;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
forIac f,
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 27
Ijava.lang.StringIndexOutOfBoundsException: Range [18, 15) out of bounds for length 33
thus
A27: java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 39
let k beDcb=
assume
CurInstr(P2 . java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 32
= halt SCMPDS;
i)<bi
hence LifeSpan(P1,s1)+1 <= proof
end; proof
hence thesis by A23,hencejava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 33
end;
theorem java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 7
for I,J being Program of SCMPDS,
s being 0-started State of SCMPDS st I
is_closed_on java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
, & I '; A:Dcb. ower_bound(cb);
proof
let I,J be Program of SCMPDS,s be 0-started State of Subsetof 1by ORDINAL1def, (/1=len - RFINSEQ ;
=java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 75
=top I,P1= *+* P2 *,
m=LifeSpan(P1,s), SS=Stop SCMPDS,
s3= Comput(P1, s,m), s4= Comput(P2, s, then IntervalSequence2
P3= P1, P4 = P2;
Subset of Euclid ;;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 8
A3: I c= stop I by
pI c= P3 by FUNCT_4:25 upper_bound=lower_bound&
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
A4: java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 73
A5: dom pI c= dom pJ by SCMPDS_5:13;
= java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
reconsider n = IC java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A6 COMPOS_1:55;
assume
A7: I is_closed_on s,P;
then IC s3 in dom pI by A1;
thenn I 1 A6AFINSQ_1:66
then
A8: n <= card I by A2:lower_bound =lower_bound (ai1 a. b.) b.+1i)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
A9: pJ c= P2 FUNCT_4(I)
A10: pJ =I ';' (G ';' J) ';' SS
.=I '; consider a1 beReal that
then I c= pJ by AFINSQ_1:74;
IPby,;
then
assumethat
A12:.0 =b.0and
then
A13: P1 halts_on s by A1;
A14: P3/.IC s3
3. s3 byPBOOLE:java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
/. s4s4
= P4.IC s4 by PBOOLE:143;
er cases;
suppose
IC s3 <> card (.(i+1) = (.i b.i)/&bupper_boundI)
then n < card I by A8java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 21
: . = .0by ;
A16: IC s3 in dom I by AFINSQ_1:66;
A17 =P1s thus
.=I.IC s3 by A4A9:b. = 0by;
.=P4.IC s3 by then a1 = bi aiby ,A2A3,;
.(P4,s4) yA7A12Th16,A15;
then
A18 end;
hence IJ is_halting_on s,P by A2,A1;
now
let k be Nat;
set =IC (,k, C2k= (P2
, s,k);
for a,b being Real_Sequence st
A19: k <= m;
C1kfor being Nat holds
then C1k in dom pJ by A5;
indom nd;
end;
suppose
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
set=LifeSpan < =2byA71
A21: m2 <= m by A17,A18,EXTPRO_1:def 15;
thenC2kIC ComputP2 ,m2 then C2k=IC Comput(P2, s,m2)
.=IC Comput proof
then C2k indom byA7 =x1 =b2 by,:java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
hence C2kin pJ byjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
end;
end
hence thesis by A2, (a.(i+1) = a.i & b.(i)= nd;
end;
suppose
A22: IC s3 = card I;
then
A23: IC s4= card I by A7,A12,Th16;
A24: 0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
card SCMPDS=1 AFINSQ_134;
A26: JS =G ';' (J ';' SS) by rI1, beingnon Subsetof ,
then
A27: card JS =card G + A2 P[0 being I1,2being ofI2 st
+card( '; )COMPOS_1java.lang.StringIndexOutOfBoundsException: Range [16, 13) out of bounds for length 36
then
A28:0indomJSiI
card J + 1 < card JS by A27,NAT_1:13;
then
A29: (card t r0;
card pJ = |^0 = 1byNEWTON:4;
.= card I + card J + 1 + 1;hencethesis;
then
A30: card I + card J + 1 <A3:for kbe
then
A31java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
A32: P4/.IC s4
k;
A33: card pJ = card I + card JS by lower_bound< upper_boundIacby BORSUK_4;then
0<card ;
pJ by :,java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
then
A34: card I lower_bound =java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 59
A35: CurInstr( ||
.= P2. card I
.= (I ';' JS).(0+card I) by A10,A9,A34,GRFUNC_1: r1> 0java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
.= JS. 0 by A28,AFINSQ_1:def 3
.= econsideri0 = +1 as ,:9 java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
.=goto (card Jby A1,h37;
card G + card JbyAFINSQ_1:17
.=1 + card J by COMPOS_1:54;
A36: A7 r0 < 0 by NEWTON:87;
.=halt SCMPDS by Lm1,Lm2,AFINSQ_1b.i0- a.i0 <= rng >{java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
:P2/IC Comput(2,,: java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
A38: IC Comput(P2, . 1=Dcb1
.= ICplusConst( Dac .-.)2< (.0a0r1)2by,XREAL_1;
=( I + set #)
.= (card java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
then
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 34
= P2. (card I + card J + 1) by A37
=( ; ).(ard+(ardJ+1) A10A9A31,:java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
.= halt SCMPDS let berng Dac /rng 10F:;
then
A40: P2 halts_on s by then rng c \ assume java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
Dacb byjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
let r0 be java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 24
set C1k=IC Comput(P1, s,k),:r0byA9java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 56
suppose
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 15
C1k in dom pI by A7,A1;
then or , being Real_SequenceSbeing SetSequence ;
hence a.0 <= b.0 & S IntervalSequence(a,b) & (for i being Nat holds
end;
suppose
m2LifeSpan(P2,s);A14 / (^
java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 43
k >= m,be;
then C2k
A20 A domjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 33
A21:SegDcb^)=java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 57
end;
end;
thesis hence;
end;
end;
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
for s1 being 0-started State of SCMPDS
forIbeing Program java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
st stop I c= P1 & I is_closed_on s1,P1
for nDcb/ <>{ by ,A20;then
ShiftDcb^ >{
hencelimdiameter S dom^1 FINSEQ_3:java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
,,) P2i
CurInstr(P1,Comput(P1,s1,i)) = +: .0a<b0 a.by:;
DataPart Comput(P1:;
proof
let proof
letIshiftable f;
set SI=stop I;
assume that
A1: SI c=P1and
A2: I is_closed_on s1,P1;
A3: Initialize -a).i a)bySEQ_1:10
let n be Nat;
defpred P[Nat] means IC .upper_boundbyA18bisdef2
. I A,19java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
=CurInstrP2ComputPs,1 &
DataPart Comput(P1,s1 end;
assume that
A4: Shift(java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 8
A5 ;
:java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 30
let i be Nat;
A7: DataPart Comput(P1,s1,0) = be empty java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 52
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 25
A8: 0 clusterjava.lang.StringIndexOutOfBoundsException: Range [37, 32) out of bounds for length 49
then
A9: (0 + n) java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
A10:
.. by java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 13
. A1A8GRFUNC_1;
A11: P1 proof
A12: for k being Nat st P[ p ;
proof
let k beNat;
assume
A13[java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
der m= IC Comput(P1 prproof
set i = CurInstr(P1,Comput(P1,s1,k));
: java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 69
l = IC(,k+a Nat
A15: IC Comput(P1 b0 be
then
domShift(I, VALUED_1:24;
A17: then. s<r>.java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
A18: IC Comput(P1,s1,k) in dom SI: 2(b.-.0/ )=java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 6
A19 : P1/.IC A18 (2(.0-)p+1+0 X:8;
A20: i = P1.IC Comput(P1,s1,k) by A19
.= SI.IC Comput(P1,s1,k) by A1,A18,GRFUNC_1:2;
then
A21java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
i ASd;
hence
A23: IC Comput(P1,s1,k+1) + n = IC Comput(P2,rbeing s1. s1<r .
by A13,A14,A17,A21,SCMPDS_4:28;
A24:P1/.IC (P1s1,k+java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
= P1.IC Comput(P1,s1,k+1) by PBOOLE:143;
A25: P2/.IC Comput(P2,s2,k+1)
= P2.IC Comput(P2,s2,k+1) by PBOOLE:143;
CPC(1,1k+) . by
.= SI.l by A1,A15,GRFUNC_1:2
. .
hence CurInstr(P1,Comput(P1,s1,k+java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 10
= Shift(SI,n).(IC Comput(P2,s2then =s1^<r>as
by A23,A15,VALUED_1:def 12
,GRFUNC_1:
.= CurInstr(P2,Comput(P2,s2,k+1))
by A25;
,A14A17,,,CMPDS_4:8java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
end;
A26 ICComputP1,s1,0) = IC by:java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
A1Tjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
.= 0 by MEMSTR_0:def 11;
A27: omputjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A28
A29: P2/.IC s2 = P2. ,,I non closed_intervalA19: <= mjava.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
1;
CurInstr(P1,Comput(P1,s1,0))
CurInstrP1)A27
.= Shift(SI,n).(0 + n) by A8,A10,A30,VALUED_1hereby
.= CurInstr(P2,s2) by A4,A5, mbe Nat;
.= CurInstr(P2Comput(P2,s2,))
by A28;
then
A31: P[0] by A5,java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 7
for k being Nat holds P[k] from NAT_1:sch 2(A31,A12);
;
end;
rng java.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 76
J being Program of SCMPDS st I is_closed_on s,P & I is_halting_on s,P
h ; Goto(card java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 51
= card I + card J + 1
proof
let 0A27: |.S2.mjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 57
I behalt Program of SCMPDS J be Program of
;
set
ialize,
G=Goto (card J + 1),
P2 java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
A1: assumethat
assume
: , I is_halting_on <> by :;then
then P2 halts_on s &: >1
then ICResult(P2,s) = IC Comput lower_bound divset(,j)= .-1)&
.= card I + card J + 1 upper_bound divset(D, . by A1A2,:def4;
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 55
end;
theorem
for s being 0-started State of SCMPDS,I being halt-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SCMPDS, J being Program of SCMPDS st I is_closed_on s,P & I is_halting_on s, ;
holds
(I ' Goto card +1; ,,java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
IP) (java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 59
proof
letrbe,pq FinSequence REALREAL;
I be halt-free Program of SCMPDS, J be Program of
SCMPDS;
set P1 = P +. java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
m= LifeSpan r java.lang.StringIndexOutOfBoundsException: Range [32, 29) out of bounds for length 33
P2 = P +* for a,b being Real_Sequence thesisbyA1java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
l= (card I + card J + 1);
assume that
A1: I is_closed_on (a.i)=a i1 (.+iregistration
;
Initialize s = -
then
P1 halts_on
P2 halts_on s & LifeSpan(P2,s) = m
by A1,A2,Lm3;
then
A4:java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 50
thenDataPart ResultP2) =DataPart ;
by
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 6
A5: DataPart Result(P2,sA4 S is non-java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
limjava.lang.StringIndexOutOfBoundsException: Range [19, 16) out of bounds for length 37
IC(P2 java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 37
. =java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
then
A6: java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 54
thus IExec(I ';' G ';' J,P,s) = Result(P2,s)
. (s *(tart() A6
.= IExec(I,P,s) .0< .0&(for i Natholds
end
theoremTh25java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
for s being State of SCMPDS,I being halt-free for i be Nat st i in dom s holds s.i in divset(D,i)
SCMPDS st I is_closed_on s,P & I is_halting_on s,P
holds IC IExec(I,P,Initialize s) = kbeing st-
proof
let s be State of SCMPDS,I be halt-free Program of SCMPDS;
set s1=Initialize s, P1 = P +* stop I;
assumethat
A1: I is_closed_on s,P and
A2Ijava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 15
A3: P1 halts_on s1 by A2;
(Pjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 52
.= IC Comput(P1, s1,LifeSpan(P1,s1)) by A3,EXTPRO_1:23
existence
end;
definition
let a be Int_position,k be Integer; java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 64
let J Programof ;
if=(a,kI,J)->ProgramofSCMPDS equals
(a,k)<>0_goto (card I +2) ';' I ';' Goto (card J+1) ';' J;
,FUNCT_6:ef;
func
(,<=_ card by:1java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
I ';' Goto (card J+1) ';set f =IntervalSequence(a,b);
coherence;
(k)>java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 48
(a,k
I ';' Goto (card J+1) ';' J;
coherence;
end;
definition
let a be Int_position,k be Integer;
let I then in a java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 20
func if=0(a,k,I) -> Program of SCMPDS equals
ak< . x0. [/[,sjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
coherence;
func if<>0(a,k,I) -> Program of SCMPDS equals
(,<_; cjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
IA14 forhence thesis;
coherencehtin endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
func >(a,,)-> SCMPDS
(a,k)<=0_goto (card I +1) ';' I;
coherence;
func=0( func if<=0(a,k
(a,k)<=h39:
1 ; I
;
.1 .i,.. -java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 66
(a,k)>=0_goto (card I +1) then c in .aib.]by A10 =heset all.-,+../ .,.
coherence;
func if>0(a,k,I) -> Program of SCMPDS equals
(a,k)>=0_goto 2 ';' goto (card
I+1) ';' I;
coherence;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
Lm4: card (i ';' I ';' Goto n ';' J) = card I + card J + assume that
proof
to;
thus card (i ';' I ';' G ';' J) =card (i ';' I ';' A2S setof Natstc- . . +java.lang.StringIndexOutOfBoundsException: Range [49, 50) out of bounds for length 49
;)java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 53
.=card .< . . java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
.=
.=card I + card J +2;
end;
begin begin :: The computation of "if var=0 then block1 else block2"
theorem
java.lang.StringIndexOutOfBoundsException: Range [37, 2) out of bounds for length 51
theorem
domif0ak1,)&1in f(,,J
proof
set ci=card if=0(a,k1,I,J);
ci=card I + card J +2 by Lm4;
=by:;
then 1 < ci by XXREAL_0:2;
hence byAFINSQ_1:66;
end;
Lm5then a - a.m0< b.m0 -a.m0 by XREAL_1:9;
proof
:then |b. a..| m0-a by ABSVALUEdef 1;
i ';' I ';' J ';' K =i ';' (I ';' J) ';' K by SCMPDS_4:14
=' I''J'K bySCMPDS_4:14
.=Load i ';' (I ';' J ';' K);
then .S.m0- |=b. a0 ,3,;;then
.=i;
end;
theorem
if=0(a,k1,I,J). 0 = (a,k1 -am0<= java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
Lm6: java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 42
proof
hence thesis TOPMETR1java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
cardLoad end;
then
A1: Shift(pI,1) c= piI by Th5;
piI c= P3 by FUNCT_4:25;
then b.m0 -c < b.m0 - a.m0 [r,s,.,infty,
hence thesis;
() +* ( ; e.. / .[,s
proof
set pI xis Elementof[.,.] holdsSis open
card (i ';' j)=card (Load i ';' Load j)
.=card Load i + card let jauge be Function of
.=1+ card Load j bybegin :: Tagged division
S SubsetFamily ofClosed--TSpacer);
then
A1: Shift(pI, assume that
pjI c= P3 by FUNCT_4:25;
then Shift(pI,2A1: = s java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
end;
theorem Th29:
for s being 0-started Statedefinition
SCMPDS Int_positionk1
is_closed_on java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
& if=0: java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
proof
let s be 0-started State of SCMPDS, I,J be shiftable Program of SCMPDS, a be
Int_position,k1 be Integer;
set b=DataLoc(s.a,k1);
assume
A1: s.b = 0;
set i = (a,k1)<>0_goto (card I + 2) java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 58
set G=Goto (card J+1);
set [r,.] non emptyby ,:30;
pI2=stop I2, P2then .s.];
s4 = Comput(P3,s,1),
P4 = P3;
A2: Initialize s = s by MEMSTR_0:44;
then
A3: IC s = 0 by inXK ,A4XBOOLE_0 4
A4: IF = i ';' thenconsider r0 beReal such
.= i ';' I2 by SCMPDS_4:14;
then
A5: Shift:Balltrr)= XKb JORDAN6:,TOPMETR1TOPMETR: ;
A6: Comput(P3, s,0 + 1) = Following(P3,Comput(P3,s,0)) by EXTPRO_1:3
.= Following(P3,s) by EXTPRO_1:2
.= Exec(s by Th3,2;
for a holds s.a= s4.a by A6,SCMPDS_2:55;
then
A7: DataPart s = DataPart s4 by SCMPDS_4:8;
DataLoc(.ak1=sb
.=0 by A1;
then
A8: IC s4 = IC s + 1 by A6,SCMPDS_2:55
1) ;
A9: 0 in dom pIF by COMPOS_1:36;
A10: I is_closed_on s,P;
e
A11: I is_halting_on s,P;
then I2 hence thesis by TOPS_2:def1java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
ex be non nondecreasing FinSequence of st ex s be non empty non-decreasing FinSequence of REAL st
forjauge being of[rs,]0,.[,
A13:I2 is_closed_on sP by A10A11Th21
then
A14: Start-At(0,SCMPDS) c= s & I2 is_closed_on s,P2 by A2,FUNCT_4for st in s the all]x-augex,jauge.[/[.s]here
A15: card pIF = card IF +1 by COMPOS_1: x S
. card +1+by ,
A16: stop I2 c= P2 by FUNCT_4:25;
ow
be Nat;
per cases;
suppose
<k;
then c=REAL*by A1;
1 = by NAT_1:6java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
reconsider java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 27
rjava.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 48
pIF pI2 C5;
m in dom pI2 by A13,A2;
then m < card pI2 dom s domD &
thenfori sti in proof
A19: m+1 < card pIF by A18,XREAL_1:6;
IC Comput(P3,s,k) = IC X -java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 53
.= then c be java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 54
A4 for be Nat st i inA2 ]xjaugex0. [,s. A1
;
suppose
k = 0;
hence IC Comput(P3,s
end;
end;
hence IF is_closed_on s,P by A2;
A20: Comput(P3,s,LifeSpan(P2,s)+1)
= Comput(P3,Comput(P3,s,1),LifeSpan(P2
by EXTPRO_1:4;
CurInstr(P3,ex s be non emptyFinSequenceof st
=CurInstr(P4, x s&
.java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 71
.for ibent [rs] holds
thenforICbeing
by A2;
end;
theorem Th30:
of java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 63 | |