|
|
|
|
SSL scmpds_2.miz
Interaktion und PortierbarkeitMizar
|
|
:: The SCMPDS Computer and the Basic Semantics of Its Instructions
:: 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_1, STRUCT_0, AMI_1, AMI_2, FUNCT_7, SCMPDS_1,
RELAT_1A47 assume:k omqjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
XXREAL_0, FUNCT_1, COMPLEX1, ARYTM_3, GRAPHSP suppose
FUNCT_4, GLIB_000, SCMPDS_2, MEMSTR_0, GOBRD13, PARTFUN1;
notationsA15: improper_integral_+infty(f,)=+;
PARTFUN1, FUNCT_1, FUNCT_2, INT_1, ORDINAL1, NAT_1, FUNCOP_1, CARD_1,
STRUCT_0 henceqk =0*log2pk)by A9,A13
COMPOS_0, COMPOS_1, EXTPRO_1, AMI_2, AMI_3, casesby ,A23A44,,:
SCMPDS_1;
constructors DOMAIN_1, REAL_1, FINSEQ_4, AMI_3, SCMPDS_1, endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
NAT_D, VALUED_0;
registrations XBOOLE_0, SETFAM_1, RELAT_1, ORDINAL1, FUNCOP_1, XREAL_0, INT_1,
,AMI_2, FUNCT_1, FUNCT_2,EXTPRO_1, AMI_3 COMPOS_0,
SCM_INST, SCMPDS_I, inftyg)= +infty
requirements REAL, NUMERALS, SUBSET2)k log(,.)by ,A10A13Def6
definitions EXTPRO_1;
equalities TARSKI, COMPOS_1, EXTPRO_1, FUNCOP_1, AMI_2, SCMPDS_1, MEMSTR_0,
STRUCT_0, COMPOS_0, java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 25
,
theorems NAT_1, FUNCT_1, TARSKI, ZFMISC_1, ENUMSET1, AMI_2, FUNCOP_1, FUNCT_4,
,
RELAT_1, XREAL_1, NUMBERS, XXREAL_0, PARTFUN1, MEMSTR_0, SCMPDS_I,
,java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
begin :: The SCMPDS Computer
reserve x for set,
k for Element of NAT;
definition
hence byA11,:13java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
AMI-Struct(java.lang.NullPointerException
InMemory,
SCMPDS-Instr,
SCM-OK,SCM-VAL,SCMPDS-Exec#);
correctness;
end;
supposejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
cluster SCMPDS -> non empty;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
end;
registration
cluster SCMPDS -> with_non- for p being nonnegative FinSequence
coherence
by AMI_2:22,SUBSET_1:def 8,AMI_2:6;
end;
. implies (Infor_FinSeq_of p. 0 p.k > 0implies (
::$CT
theorem Th1:
IC SCMPDS = NAT by AMI_2:22,SUBSET_1:def 8;
hencecontradiction
registration
-like for Object SCMPDS;
existence
proof
reconsider x = the Element of SCM-Data-Loc as Object of SCMPDS;
take x;
thusjava.lang.StringIndexOutOfBoundsException: Range [8, 5) out of bounds for length 5
end;
end;
definition
mode Int_position is Int-like Object of SCMPDS;
::$CD
end;
::$CT 2
theorem Th2:
for p onnegative ofREAL;
proof
let l be Int_position;
l in SCM-Data-Loc by AMI_2:def 16;
henceA1: dom p = Seg len pbyFINSEQ_1
end;
begin :: The Instruction Structure
reserve d1,d2,d3,d4,d5 for Element of SCM-Data-Loc,
end;
reserve I for Instruction of SCMPDS;
set S1=the set of all =dom(Infor_FinSeq_of p) by FINSEQ_1:def 3;
set S2=the set of all [1,{},<*d1*>];
set S3={ [I1,{},<*d2,k2*>] where java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 0
d2 is Element of SCM-Data-Loc, k2 is Element of INT : I1 in {2,3}},
S4={ [I2,{},<*
d3,k3,k4*>] where I2 is Element of Segm 15, d3 is Element of SCM-Data-Loc, k3,
k4 is Element k such
S5={ [I3,{},<*d4,d5,k5,k6*>] +(fg,c infty
A2:kindom ;
INT: I3 in {9,10,11,12,13} };
Lm1: I in {[0,{},{}]} or I in S1 or I in S2 or I in S3 or I in S4 or I in S5
proof
I in {[0,{},{}]} \/ S1 \/ S2 \/ assumepk=java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
Iin0{}} /S1\S2 / or inS4rIinjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
by XBOOLE_0:def 3;
then I in {[thus ,Th47java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
by XBOOLE_0:def 3;
then I in {[0,{},{}]} \/ S1 or I in S2 or I in S3 or I in
by XBOOLE_0:def 3;
thesis by : 3java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
end;
theorem
for beingInstruction of SCMPDS holds InsCode I <= 14
proof
let I be Instruction of SCMPDS;
InsCode I = 0 or InsCode I = 1 or InsCode I = 2 or Infor_FinSeq_of p iff (len q = len p & for k st k in dom q holds q.k = p.k *
InsCode I = 4 or InsCode I = 5 or InsCode I = 6 or InsCode I = 7 or
InsCode I = 8 or InsCode I = or InsCode I = 10 or InsCode I 11or
InsCode I = 12 or InsCode I = 13 or InsCode I = 14 by SCMPDS_I:8;
hence thesis;
end;
registration
let s be State of SCMPDS, d be Int_position;
cluster s.d -> integer;
proof
reconsider D = d as Element of SCM-Data-Loc by AMI_2:def 16;
reconsider S = s as SCM-State by CARD_3:107;
hereby
hence thesis;
end;
end;
definition
let m,n be Integer;
func DataLoc(m,n) assume
[1,|.m+n.|];
coherence
proof
[1,|.m+n.|] in SCM-Data-Loc by AMI_2 q = -0;
hence thesis by AMI_2:def 16;
end;
end;
theorem java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 8
[14,{},<*k1A2 domq 8java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
proof
k1 is Element of INT by INT_1:def 2;
then [14,{},<*k1*>] in S1;
then [14,{},<*k1*>] in {[0,{},{}]} \/ S1 by XBOOLE_0:def 3;
then [14,{},<*k1*>] in {[0,{},{}]} \/ S1 \/ S2 by XBOOLE_0:def 3;
then [14,{},<*k1*>] in {[0,{},{}]} . Seg len p0 A2,INSEQ_1: 3
then [14,{},<*k1*>] in {[0,{},{}]} \/ S1 \/ S2 \ = Seg pby Th47;
hence thesis by XBOOLE_0:def 3;
endeork dom qholds q.k =.k* 1/p.java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
[1,{},<*d1*>] in SCMPDS-Instr
[1,{},<*d1
then [1,{},<*d1*>] in {[0,{},{}]} \/ S1 \/ S2 by XBOOLE_0:def 3;
then [1,{},<*d1 suppose improper_integral_-nfty( + java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
then [1,{},<*d1*>] in {[0,{},{}]} \/ S1 \/ S2 \/ S3 \/ S4 by XBOOLE_0:def 3;
hence thesis by XBOOLE_0:def 3;
end;
theorem Th6:
x in { 2,3 } implies [x,{},<*d2,k2*>] in SCMPDS-Instr
proof
assume
A1: x in { 2,3 };
then contradiction by,A10A37A6 k p0A117java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
then then
k2 is Element of INT by INT_1:def 2;
then [x,{},<*d2,k2*>] in S3 byA7: q.k = -(p.k * log(2,p.k)) by A2,A4,Th47
then nd;
then [x,{},<*d2,k2*>] in {[0,{},{}]} \/ S1 \/ S2 \/ S3 \/ S4
by XBOOLE_0:def 3;
end;
end;
theorem Th7:
x in { 4,5,6,7,8 } implies .=pk *(log(2,p.))java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
assume
A1: x in { 4,5,6,7,8 };
then x = 4 or x = 5 or x=6 or x=7 or suppose
then java.lang.StringIndexOutOfBoundsException: Range [17, 13) out of bounds for length 14
k3then p0.k=0 by A5,Th48;
then [x,{},<*d2,k3,k4*>] in S4 by A1;
then hencethesisby A;
by XBOOLE_0:def 3;
by end;
end;
theorem Th8 suppose
x in { 9,10,11,12,13 } implies [x,{},<*java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 35
SCMPDS-Instr
hence by Th5;
assume
java.lang.StringIndexOutOfBoundsException: Range [12, 2) out of bounds for length 27
then x = 9 or x=10 or x=11 or x=12 or x=13 by ENUMSET1:def 3;
then reconsider x as Element of Segm 15 by NAT_1:44;
isEofINT&iElementof INT_1:;
then [x,{},<*d4,d5,k5,k6*>] in S5 by A1;
hence thesis by XBOOLE_0:def 3;
end;
reserve a,b,c for Int_position;
definition
let java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 6
func goto k1 -> Instruction of SCMPDS equals
[14,{},<*k1*>];
correctness by Th4;
end;
definitionA9 p
let a;
func return a -> Instruction of SCMPDS equals
[1{,*a*]java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
correctness
proof
reconsider A11: dom q =Seg suppose A53: improper_integral_-infty(f+,c = infty
[1,{},<*v*>] in SCMPDS-Instr by Th5;
hence thesis;
end;
end;
definition
let a; let k1 be Integer;
func a := k1 -> Instruction of SCMPDS
.= dom p0by 3;
correctness
proof
reconsider v = a as Element of SCM-Data-Loc by AMI_2:def 16;
2 in {2,3} by TARSKI:def 2;
then [2,{},<*v,k1*>] in SCMPDS-Instr by Th6;
;
end;
func saveIC(a,k1) -> Instruction of SCMPDS equals
[,{},<a,*>]
correctness
proof
proof
3 in {2,3} by TARSKI:def 2;
then [3,{},<*v,k1*>] in SCMPDS-Instr by Th6;
encethesis;
end;
end;
definition
let a; let k1,k2 be Integer;
func (a,k1)<>0_goto k2 -> Instruction of SCMPDS equals
[{,*improper_integral_on_REAL(+)
correctness
proof
reconsider v = a as Element of SCM-Data-Loc by AMI_2:def 16;
4 in {4,5,6,7 }by ENUMSET1:ef= +
then [4,{},<*v,k1,k2*>] in SCMPDS-Instr by Th7;
hence thesis;
end;
func (a,k1)<= then
[5{},<ak1,>]java.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
proof
reconsider v = a as Element of SCM-Data-Loc by AMI_2:def cases A14,Def1;
5 in { 4,5,6,7,8 } by ENUMSET1:def 3;
then [5,{},<*v,k1,k2*>] in SCMPDS suppose
hence thesis;
end;
ak1)>=0_goto k2 -> Instruction of SCMPDS
[6,{}, end;
correctness
proof
thus (-p0).k = -p0.k by RVSUM_1:17
6 in { 4,5,6,7,8 } by ENUMSET1:def 3;
.=0A14Th48
hence thesis;
end;
func (a,k1) := k2 ->.=p. *log(,/p) java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
.by,;
orrectness
proof
reconsider v = a as end;
7 in { 4,5,6,7,8 } by ENUMSET1:def 3;
then [7,{},<*v,k1,k2*>] in SCMPDS-Instr by Th7;
hence thesis;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
func AddTo(a,k1,k2) -> Instruction of SCMPDS equals
[,{,*k1,k2*>]java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
correctness
proof
reconsider v = a as Element . pk log(,/(p.)) byA16Th5
8 end;
then [8,{},<*v,k1,k2*>] in SCMPDS-Instr by Th7; . q.k A10,;
hence thesis;
suppose
end;
definition
let a,b; java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 6
func AddTom -p0 by ,ALUED_1:8;
[9,{},<*a,b,k1,k2*>];
correctness
proof
henceA56:(g=- A,A52XXREAL_3:ef2java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
9 in { 9,10,11,12,13 } by ENUMSET1:def 3;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
ence ;
end;
func SubFrom(a,k1,b,k2) -> Instruction of SCMPDS equals
[10,{},<*a,b,k1,k2*>
correctness
proof
reconsider v1 = theorem :
10 in { 9,10,11,12,13 } by ENUMSET1:def 3;
sup improper_integral_-(f,)=-infty;then
hence thesis;
end;
func MultBy(a,k1,b,k2) -h i iindom p .i=r1*r2holds (p)i =r1*r2log
[1,}<a,k1,k2>]
correctness
proof
reconsider v1 = a, v2 = b as Element of SCM-Data-Loc by AMI_2:def 16;
11 in { 9,10,11,12,13 } by ENUMSET1:def 3;
,v2k1,2]in SCMPDSInstr by h8;
hence thesis;
proof
func Divide(a,k1,b,k2) -> Instruction of SCMPDS equals
[12,{},<*a,b,k1,k2*>];
correctness
proof
reconsider v1 = a, v2 = b as Element of SCM-Data-Loc by AMI_2:def 16 improper_integral_on_REAL f+ g
12 in { 9,10,11,12,13 } by ENUMSET1:def 3;
then [12,{},<*v1,v2,k1,k2*>] in SCMPDS-Instr by A6,56,XXREAL_3
hence thesis;
end;
func (a,k1):= (b,k2)- Instruction of SCMPDS equals
[13,{},<*a,b,k1,k2*>];
correctness
proof
reconsider v1 = a, v2 = b as Element of SCM-Data-Loc by AMI_2:A4:p. ;
} by ENUMSET1:def 3;
then [13,{},<*v1hence(Infor_FinSeq_of p). r1(r1r2 by Th47
hence thesis;
end;
end;
theorem
InsCode (goto k1) = 14;
theorem
InsCode (return aend;
theorem
InsCode (a := k1) = 2;
theorem
InsCode (saveIC(a,k1)) = 3;
theorem
InsCode ((a,k1)<>0_goto k2) = 4;
theorem
InsCodeA1: r>=;
theorem
InsCode ((a,k1)>=0_goto k2) = supposeA57 improper_integral_-infty(+g,)inREAL;
theorem
InsCode ((a,k1) := k2) = 7;
theorem
InsCode (AddTo(a q
theorem
InsCode (AddTo(a,k1,b,k2)) = 9;
theorem
A2: dom =dom p byVALUED_1:ef ;
theorem
InsCode (MultBy(a,1b,2) =11;
theorem
InsCode (Divide(a,k1,b,k2)) = 12;
theorem
InsCode ((a,k1) := (b,k2)) = 13;
Lm2: I in the A39,A40,A44,XXREAL_3:20; then
implies
InsCode I = 14
proof
assume I in the set of all [14,{},<*k1*>]where k1 is>=0 by A2,A6,A8,Def1;
then ex k1 being:def2
hence thesis;
end;
Lm3: I in the set of all [1,{},<*d1*>] implies InsCode I =1
proof
assume I in the set of all [1,
then ex d1 st I=[1 = improper_integral_on_REALf g
hence thesis;
end;
Lm4: I in { [I1,{},<*d1,k1*>] where I1 is Element of Segm 15, d1 is Element of
SCM-Data-, k1is Element of INT I1 in {A11 (*2r)*p.k = rlog(,*p. by RVSUM_1
InsCode I=3
proof
assume
I in { [I1,{},<*d1,k1*>] where I1 is Element of Segm 15 ;
of SCM-Data-Loc, k1 Element of INT I1in{2,3};
then consider
I1 being Element suppose A60:improper_integral_+infty(f+g,c) = -infty; then
Elementof
A1: I=[I1,{},<*d1,k1*>] and
A2: I1in { , 3};
I1 = 2 or I1 = 3 by A2,TARSKI:def 2;
encethesis by A1;
end;
Lm5:Iin I1{,*d1k1* I1isElement 15
d1 is of
SCM-Data-Loc, k1,k2 is Element of INT casesbyA6,,;
4 or InsCode I=5 or f=-java.lang.StringIndexOutOfBoundsException: Range [45, 45) out of bounds for length 11
proof
assume
I . r*2r*)k+(*p improper_integral_on_REAL f + improper_integr
Element of SCM-Data-Loc, k1,k2 is Element of INT:I1 in { 4,5,6,7,8}};
then by ,6XXREAL_3: ;
I1 being Element of 15, d1 being Element ofSCM--Loc, k1,
k2 being Element of INT such that
1:I=[I1,{},<*d1,k1,k2*]
A2,7,};
I1 = 4 or I1 = 5 or I1=6 or I1=7 or I1=8 end;
hence java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 11
end;
Lm6: k=(rlog2r*) byA57,,,,def ;
Element of SCM-Data-Loc, k1,k2 is Element of INT: I1 in {9,10,11,12,13} }
implies InsCode I =9 or InsCode I=10 or ;
InsCode I =13
proof
assume
I in { [I1,{},<*d1,d2,k1,k2*>]where java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 8
Element of SCM-Data-Loc, k1,k2 is Element of INT:I1 in {9,10,11,12,13}};
then
I1 being Element of Segm 15, d1,d2 being Element of SCM-Data-Loc,
k1,k2 being Element of INT such that
A1: java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 43
A2: I1 in {9,10,11,12,13};
I1 =end;
hence thesis by A1;
end;
Lm7:
I in {[0,{},{}]} implies InsCode I = 0
proof
assume I in {[0,{},{}]};
,{}by :def 1;
hence thesis;
end;
theorem
for ins being Instruction of SCMPDS st InsCode ins = 14 holds ex k1 st
ins k1
proof
let I be dom p (nfor_FinSeq_of ). = 0
A1:
I in {[0 pk 0
by Lm1;
k1being of such
A2: I=[14,{},<*k1*>] by A1,Lm3,Lm4,Lm5,Lm6,Lm7;
take k1;
thus thesis by A2;
;pose
theorem
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 8
ns java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
proof
let I thus (Infor_FinSeq_ofp).
A1 ;
I in {[0,{},{}]} or I in S1 or I in S2 or I in S3 or I in improper_integral_on_REALfg
by Lm1;
then consider d1 such that
A2 per cases by , improper_integral_on_REALf+ gby ;
reconsider a=d1 as Int_position by AMI_2:def 16;
take a;
thus thesis by A2;
end;
theoremend;
for ins being Instruction of SCMPDS st InsCode ins = 2 holds ex a,k1
st ins = a := k1
proof
be Instruction of such
A1: InsCode I = 2;
I in {[0,{},{}]} or I in S1 or I in S2end;
by Lm1;
then consider
I1 java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 4
eing ElementofINT suchthat
A2:
I1 in {2,3} by A1, thesis ,51
consider d1,k1 such that
A3: I=[2,{},<*d1,k1*>] by A1,A2;
reconsider a=d1 as Int_position by AMI_2:def 16;
take a,k1;
thus thesis by A3;
end;
theorem
for ins for ins
st ins = saveIC(a,k1)
proof
let I be Instruction of SCMPDS such that
A1: InsCode I = dom g = REAL & f is_improper_integrable_on_REAL &
I in { end;
by Lm1;
then consider
I1 being Element of Segm 15, d1 being Element of SCM-Data-Loc, k1
being Element of INT such that
A2: I=[I1,{},<*d1,k1*>] and
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
consider d1,k1 such that
A3: assume
reconsider a=d1 as Int_position by AMI_2:def 16;
take a,k1;
thus thesis by A3;
end;
Lm8: I in {[0,{},{}]} or func Infor_FinSeq_of MR - ofREAL means
implies InsCode I=0 or InsCode I=14not( f = -infty
=1 or InsCode I=2 or InsCode I=3 or InsCode I=9 or InsCode I=10 or InsCode I=11
or InsCode I=12 or InsCode I=13 by Lm2,Lm3,Lm4,Lm6,Lm7;
theorem
for ins being Instructionfgjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
k2 st ins = (a,k1)<> F(at LineM,1,2Line(
proof
let I be Instruction of SCMPDS such that
A1: InsCode I = 4;
in Nat thatthat
I in S1 or I in S2 or I in S3 or I in S4 or I in S5 by Lm1;
then consider
I1A3:f andA5:jin p
k2 being Element of INT such that
A2:I[I1,},<d1k1,*>] and
I1 in {4,5,6,7,8} by A1,Lm8;
consider d1,k1, p. mlt(Line(MR,),(2LineMR,
A3: I=[4,{},<*d1,k1,k2*>] by A1,A2;
reconsider a=d1 as Int_position by AMI_2:def 16;
,k1
thus thesis by A3;
end;
theorem
for ins being Instruction of SCMPDS st g = +infty
k2 st ins = (a,k1)<=0_goto k2
proof
let I be Instruction endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A1: InsCode I = 5;
I in {[0,{},{}]} or
& java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 44
then consider
I1 beingElement Segm 15 being java.lang.StringIndexOutOfBoundsException: Range [0, 54) out of bounds for length 34
k2 being Element of INT such that
A2: I=[I1,{},<*d1,k1,k2*>] and
I1 in {4,5,6,7,8} by A1,Lm8;
consider d1,k1,k2 such that
A3: I=[5,{},<*d1,k1,k2*>] by A1,A2;
reconsider assume x in rng p;
take a,k1,k2;
thus thesis by A3;
end;
theoremthenconsider be Natsuch
f st 6holds ak1,
k2 st ins = (a,k1)>=0_goto k2
proof
let I be Instruction of SCMPDS such that
A1: InsCode I = 6;
I in {[0,{},{}]} or
I S1 I in or <+
then consider
I1 being Element of Segm 15, d1 being Element of SCM- j in domMRby,( >
k2 being Element of then Line(MR,j) is A1Th19;
A2: I=[I1,{},<*d1, A9,:;
I1 java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
onsider d1k, such
A3: I=[6,{},<*d1,k1,k2*>] by A1,A2;
reconsider a=d1 as Int_position by AMI_2:def 16;
take a,k1,k2;
thus lenLineRj=width byMATRIX_07
end;
theorem
for ins being Instruction of SCMPDS st InsCode ins = 7 holds ex then
k2 st ins = (a,k1) := k2
proof
let I be Instruction of SCMPDS such that
A1: InsCode I = 7;
I in {[0,{},{}]} or
orIin S3or Iin S5byLm1 -is_improper_integrable_on_REAL A,,,Th51;
then consider
I1 being Element of Segm 15, d1 being Element of SCM-Data-Loc, k1,
k2 being INTthen reconsider Matrix by,FINSEQ_1: MATRIX_0:1java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
A2: I=[I1,{},<*d1,k1,k2*>] and
I1 in {4,5,6,7,8} by A1,Lm8;
consider d1,k1,k2 such that
A3: I take p;
reconsiderad1asInt_position by suppose
take a,k1,k2;
hus by java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
end;
theorem
for ins being Instruction of SCMPDS st InsCode ins = 8 holds ex a,k1,
k2 st ins = AddTo(a,k1,k2)
proof
l I Instructionof suchthat
A1: InsCode I = 8;
I in {[0,{},{}]} or
I = imprf- g
then consider
I1 being Element of Segm 15, d1 being Element of SCM-Data-Loc, k1,
k2 being Element of by java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
A2: I=[I1,{},<*d1,k1,k2*>] and
I1 in {4,5,6,7,8} by A1,Lm8;
consider d1,k1,k2 such that
A3: I=[8,{},<*d1,k1,k2*>] by A1,A2;
reconsider=d1asInt_position AMI_2:ef16;
take a,k1,k2;
thus thesis by A3;
end;
Lm9: I in {[0,{},{}]} or I in S1 or I in S2 or I java.lang.StringIndexOutOfBoundsException: Range [0, 51) out of bounds for length 8
implies InsCode I=0 or InsCode I= endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
=1 or InsCode I=2 or InsCode I=3 or InsCode I=4 or InsCode I=5 or InsCode I=6
or InsCode I=7 or InsCode I=8
proof
assume
A1: I in {[0,{},{}]} or I in S1 or I in S2 or I in S3 or I in S4;
per cases by A1;
suppose
I in {[0,{},{}]};
hence thesis by Lm7;
end;
suppose
I in S1;
hence thesis by Lm2;
end;
suppose
I in S2;
hence thesis by Lm3;
end;
suppose
I in S3;
hence thesis by Lm4;
end;
suppose
I in S4;
hence thesis by Lm5;
end;
end;
theorem
ins being Instruction of SCMPDS st InsCode ins = 9 holds ex a,b,k1
,k2 st ins = AddTo(a,k1,b,k2)
proof
let I be Instruction of SCMPDS such that
: InsCode I =9java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
I in {[0,{},{}]} or
I in S1 or I in S2 or I inA1:domM1 = dom by :9;
then consider
I1 being Element of Segm 15, d1,d2 beingtheorem Th54:
k1,k2 being Element of INT such that
*>]and
I1 in {9,10,11,12,13} by A1,Lm9;
consider d1,d2,k1,k2 such REAL holds M1 = Infor_FinSeq_of iff len M1 = lenM&width =widthM for
A3: I=[9,{},<*d1,d2,k1,k2*>] by A1,A2;
=d1,=d2 Int_position byAMI_2: 16;
take a,b,k1,k2;
thus thesis by A3;
end;
theorem
for ins being Instruction of SCMPDS st InsCode ins = 10 holds ex a,b,
k1,k2 st ins = SubFrom(a,k1,b,k2)
proof
let I be Instruction of SCMPDS such that
A1: InsCode I = 10;
I in {[0,}{}]} or
I in S1 or I in S2 or I in S3 or I in S4 or I in S5 by Lm1;
then
I1 being Element of Segm 15, d1,d2 being Element of SCM-Data-Loc,
k1,k2 being Element of INT such that
A2: I=[I1,{},<*d1,d2,k1,k2*>]and
I1 in {9,10,11,12,13} by A1,Lm9;
consider d1,d2,k1,k2 such that
A3 I[,}<,,1,k2*>]by,
reconsider a=d1,b=d2 as Int_position by AMI_2:def 16;
take a,b,k1,k2;
thus thesis by A3;
end;
theorem
for ins being Instruction of A3 M1= M byA1Def8;
k1,k2 st ins = MultBy(a,k1,b,k2)
proof
let I be Instruction of SCMPDS such that
A1: InsCode I = 11;
in[,{}{}]
I in S1 or I in S2 or I in S3 or I in S4 or I in S5 by Lm1A5: Seg M1 byA4,12
then consider
I1 being Element of Segm 15, d1,d2 being Element of SCM-Data-Loc,
k1,k2 being Element of INT such that
A2: I=[I1,{},<*d1,d2,k1,k2*>]and
I1 in {9,10,11,12,13} by A1,Lm9;
consider d1,d2,k1,k2 such that
A3: then
reconsider a=d1,b=d2 as Int_position by AMI_2:def 16;
a,,,java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
thus thesis by ;
end;
theorem
forins being Instruction of SCMPDS st InsCode ins = 12 holds ex a,b,
k1,k2 st ins = Divide(a,k1,b,k2)
proof
let I be len p = len Infor_FinSeq_of Th47java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
A1: InsCode I = 12;
I in {[0,{},{}]} or
I in S1 or I in S2 or I in S3 or I in S4 or I in S5 by Lm1;
then consider
I1 being Element of Segm 15, d1,d2 being Element of SCM-Data-Loc,
k1, being Element ofINT such that
A2: I=[I1,{},<*d1,d2,k1,k2*>]and
I1 in {9,10,11,12 M1*i,) M1)jby,def 7
consider d1,d2,k1,k2 such that
A3: I=[12, =(Infor_FinSeq_of p)j by A1,A6,Th53
reconsider a=d1,b=d2 as Int_position by AMI_2:def 16;
take a,b,k1,k2;
thus thesis by A3;
end;
theorem
for ins being Instruction of SCMPDS st InsCode ins = 13 holds ex a,b,
k1,k2 st ins = (a,k1) := (b,k2)
proof
let I be Instruction of SCMPDS such that
A1: InsCode I = 13;
I in {[0,{},{}]} or
I in S1 or I in S2 or I in S3 or I in S4 or I in S5 by Lm1;
then consider
I1 being Element of Segm 15, d1,d2 being Element of SCM-Data-Loc,
k1,k2 being Element of INT such that
A2: I=[I1,{},<*d1,d2,k1,k2*>]and
I1 in {9,10,11,12,13} by A1,Lm9;
consider d1,d2,k1,k2 such that
A3: I=[13,{},<*d1,d2,k1,k2*>] by A1,A2;
reconsider a=d1,b=d2 as Int_position by AMI_2:def 16;
take a,b,k1,k2;
thus thesis by A3;
end;
theorem
for s being State of SCMPDS, d being Int_position holds d in dom s
proof
let s be State of SCMPDS, d be Int_position;
dom s = the carrier of SCMPDS by PARTFUN1:def 2;
hence thesis;
end;
theorem Th38:
for s being State of SCMPDS holds SCM-Data-Loc c= dom s
proof
let s be State of SCMPDS;
dom s = the carrier of SCMPDS , st[i,]in M1 holds *j=*ij*(M*i));
hence thesis;
end;
Lm10: Data-Locations SCMPDS = forkst k in dom M1holds .k=mlt(ine(,)F2Line(M,) )
proof
SCM-Data-Loc misses {NAT} by AMI_2:20,ZFMISC_1:50;
then
-Data-ocmisses {AT;
thus Data-Locations SCMPDS = {NAT} \/ SCM-Data-Loc \ ({NAT})
by AMI_2:22,SUBSET_1:def 8
.= SCM-Data-Loc \/ ({NAT}) \ ({NAT})
.= SCMData- \(NAT} XBOOLE_1:java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
.= SCM-Data-Loc by A1,XBOOLE_1:83;
end;
theorem
for s being State of SCMPDS holds dom DataPart s = SCM-Data-Loc
proof
let s be State of SCMPDS;
SCM-Data-Loc c= dom s by Th38;
hence thesis by Lm10,RELAT_1:62;
end;
theorem
for dl being Int_position holds dlA17: FinSeq_log(2,)= lenp ;
proof
dl Int_position;
Values dl = INT by Th2;
hence thesis by MEMSTR_0:def 6,NUMBERS:7;
end;
theorem
for s1,s2 being State of SCMPDS st IC s1 = IC s2
& (for a being Int_position holds s1.a = s2.a)
oldss1 s2
proof
1,2beState SCMPDSsuch that
A1: IC(s1) = IC(s2) and
A2: for a being Int_position holds s1.a = s2.a;
A3: dom s1 = the carrier of SCMPDS by PARTFUN1:def 2;
A4: dom =the of SCMPDS byPARTFUN1:def;
A5: now
let x be object;
assume x in SCM-Memory;
A6: x in {IC SCMPDS} \/ SCM-Data-: [k,j] in Indices M by A19,A21,MATRPROB
per cases by A24: (mlt(p,FinSeq_log))j=p. (2p)j by59
suppose
x in {IC SCMPDS};
then x = IC SCMPDS by TARSKI .= *(k,j)(inSeq_log(,))j by ,ATRIX_0:def7java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
hence s1.x = s2.x by A1;
;
suppose
x in SCM-Data-Loc;
x byAMI_2: 16;
hence s1.x = s2.x by A2;
end;
end;
SCM-Memory = dom s1
hence thesis by A4,A5,FUNCT_1:2;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
begin :: Execution semantics of the SCMPDS instructions
theorem Th42:
Exec( a:=k1, s).java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 10
for b st b <> a holds Exec( a:=k1, s
proof
reconsider S=s -State CARD_3:107java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
hencemltpFinSeq_log2p)j=(1.)byA25,27,22,24,ef6;
reconsider I = a:=k1 as Element end;
set S1 = SCM-Chg(S, I P21address end
reconsider i = 2 hence thesis by A,INSEQ_1:3;
A1: I = [i,{},<*mk,k1*>];
then
A2: I P21address = mk by SCMPDS_I:5;
A3: I P22const = k1 by A1,SCMPDS_I:5;
A4: Infor_FinSeq_of ;
A5: Exec(a:=k1, s) = SCM-Exec-Res(I,S) by SCMPDS_1 ;
.= (SCM-Chg(S1, IC S + 1)) by A4,SCMPDS_1:def 22;
hence Exec(a:=k1, s).IC SCMPDS = IC s + 1 by Th1,AMI_2:11;
thus Exec(a:=k1, s).a = S1.mk by A5,AMI_2:12
.= k1 by A2,A3,AMI_2:15;
let;
reconsider mn = b as Element of SCM-Data-Loc by AMI_2:def 16;
assume
A6: b <> a;
thus Exec(a:=k1, s).b = S1.mn by A5,AMI_2:12
.= s.b by A2,A6,AMI_2:16;
end
theorem Th43:
(ak1)= )SCMPDS s + 1 & Exec((a,)=k2 s)
DataLoc(s.a,k1A1: p =Seg pby:3
b = s.b
proof
java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 46
reconsider mk = a as Element of SCM-Data-Loc by AMI_2:def 16;
=(k1:= ElementofSCMPDSInstr
set A2=Address_Add(S,I P31address,I P32const), S1 = SCM-Chg(S, A2, I
P33const);
reconsider i = 7 as Element of Segm 15 by let k be Nat;
A1: I = [i,{},<*mk,k1,k2*>];
A2: I P33const = k2 by SCMPDS_I:6;
A3: InsCode(I) = 7;
A4: Exec((a,p. <= 0 by Th52;
.= (SCM-Chg(S1, IC S + 1)) by A3,SCMPDS_1:def 22;
henceExec((,1)=k2,s)IC = IC s 1 Th1,AMI_2:11;
A5: I P31address = mk & I P32const = k1 by A1,SCMPDS_I:6;
hence Exec((a,k1):=k2, s).DataLoc(s.a,k1) = S1.A2 by A4,AMI_2:12
.=k2 A2A:;
let b;
reconsider mn = b 17;
assume
A6: b A;
thus Exec((a,k1):=k2, s).b = S1.mn Sum byRVSUM_1:8;
.= s.b A5,,AMI_216java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
end;
theorem Th44:
Exec((a,k1):=(b,java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
k2), s).DataLoc(s.a,k1) = s.for p being non empty ProbFinS FinSequence REAL st ex k st kindom
holds Exec((a,k1):=(b,k2),s).c = s.c
proof
econsider S = s as SCM-State by CARD_3:107;
reconsider da = a,db=b as Element of SCM-Data-Loc by AMI_2:def 16;
reconsider I = (a,k1):=(b,k2) as Element of SCMPDS-Instr;
set A2=Address_Add(S,I P41address,I P43const), A4=Address_Add(S,I P42address
,I P44constjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
reconsider Segm15byNAT_1:44;
A1: I = [ i,{}, <*da,db,k1,k2*>];
then
A2: I P42address = db & I P44const = k2 by SCMPDS_I then considerk1being Nat
A3: InsCode(I) = 13;
A4: Exec((a,k1):=(b,k2), s) = SCM-Exec-Res(I,S) by SCMPDS_1:def 23
CM-(S1,IC + 1)) by,:def ;
hence Exec((a,k1):=(b,k2), s).IC SCMPDS = IC s + 1 by Th1,AMI_2:11;
A5: I P41address = da & I P43const = k1 by A1,SCMPDS_I:7;
hence len q = len q=len p Th47
.= s.DataLoc(s.b,k2) by A2 then
let c;
reconsider mn = c as Element of SCM-Data-Loc A4 has_onlyone_value_in k1 by ,A2,Th15;
assume
A6: c <> DataLoc(s.a,k1);
thus Exec((a,k1):=(b,k2), s). proof
.= s.c by A5,A6, et ksuch
end;
theorem Th45:
Exec(AddTo(a,k1,k2), s).IC SCMPDS = IC s + 1 & Exec(AddTo(a,k1,
k2), s).DataLoc(s.a,k1)=s.DataLoc(s.a,k1)+k2 & for b st b <>DataLoc(s.a,k1)
java.lang.StringIndexOutOfBoundsException: Range [7, 2) out of bounds for length 39
proof
reconsider S = s as SCM-State by CARD_3:107;
reconsidermk=aas -Data-Loc byAMI_2:def 16;
reconsider I = AddTo(a,k1,k2) as Element of SCMPDS-Instr hence . *(,)byA2,Th47
set A2=Address_Add(S,I P31address,I java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 25
P33const);
reconsider i = 8 as Element of Segm 15 by NAT_1:44;
:I =i{,*k1,k2*]java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
then
A2: I P33const = k2 by SCMPDS_I:6; java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A3: () ;
A4: Exec(AddTo(a,k1,k2), s) = SCM-Exec-Res(I,S) by SCMPDS_1:def 23
.= (SCM-Chg(S1, IC S + 1)) by A3,SCMPDS_1:def 22;
hence Exec(AddTo(a,k1,k2), s).IC SCMPDS = IC s + 1thusqk .k* log(2,p.k)by ,java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
A5: I P31address = mk & I P32const = k1 by A1,SCMPDS_I:6;
hence Exec(AddTo(a,k1,k2), s).DataLoc(s.a,k1) = S1.A2 by A4,AMI_2:12
. end;
let c;
reconsider mn = c as Element of SCMjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
assume
A6: c <> DataLoc(s.a,k1);
forpqbeing empty ProbFinS FinSequence of REAL,pp,qq
.= s.c by A5,A6,AMI_2:16;
end;
theorem Th46:
Exec(AddTo(a,k1,b,k2), s).IC SCMPDS = IC s + 1 & java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
k1,b,k2), s).DataLoc(s.a,k1) = s.DataLoc(s.a,k1) + s.DataLoc(s.b,k2) & for c st
c <> DataLoc(s.a,k1) holds Exec(AddTo(a,k1,b,k2),s).c = s.c
proof
reconsider S = s as SCM-State by CARD_3:107;
reconsider da = a,db=b as Element of SCM-Data-Loc by AMI_2:def 16;
reconsiderI=AddTo(,bk2 of -Instr;
set A2=Address_Add(S,I P41address,I P43const), A4=Address_Add(S,I P42address
,I P44const), S1 = SCM-Chg(S, A2, S.A2+S.A4);
reconsider i = 9 as Element of Segm 15 by NAT_1:44;
A1: I = [ i,{}, <*da,db,k1,k2*>];
then
A2: I P42address = db & I P44const = k2 by SCMPDS_I:7;
A3: InsCode(I) = 9;
A4: Exec(AddTo(a,k1,b,k2), s) = SCM-Exec-Res(I,S) by SCMPDS_1:def 23
.= (SCM-Chg(S1, IC S + 1)) by A3,SCMPDS_1:def .k - qq.k by VALUED_1:13;
hence Exec(AddTo(a,k1,b,k2), s).IC SCMPDS = IC s + 1 by Th1,AMI_2:11;
A5: I P41address = da & I P43const = k1 by A1,SCMPDS_I:7;
hence Exec(AddTo( 8 Sumpp Sum =y FINSEQ_1:def 3
.= s =dom byA2FINSEQ_1:def 3;
let c;
reconsider mn = c as Element of SCM-Data-Loc by AMI_2:def 16;
java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
A6: c <> DataLoc(s.a,k1);
thus Exec(AddTo(a,k1,b,k2), s).c = S1.mn by A4,AMI_2:12
.= s.c by A5,A6,AMI_2:16;
end;
theoremksuch that
Exec(SubFrom(a,k1,b,k2), s).IC SCMPDS = IC s + 1 & Exec(SubFrom
(a,k1: p
st c <> DataLoc(s.a,k1) holds ExecA12 .=-p.klog,.)by ,;
proof
econsider java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 46
reconsider da = a,db=b as Element of SCM-Data-Loc by AMI_2:def 16;
reconsider I = SubFrom(aA15 -(,pk)log(,1/(.)) by;
set A2=Address_Add(S,I P41address,I P43const)A: k>0 byA4;
,I P44const), S1 = SCM-Chg(S, A2, S.A2-S.A4);
reconsider i = 10 as Element of Segm 15 by NAT_1:44;
A1: I = [ i,{}, <*da,db,k1,k2*>];
then
A2:I db &IP44const = k2 by SCMPDS_I:7;
A3: InsCode(I) = 10;
A4: Exec(SubFrom(a,k1,b,k2), s) = SCM-Exec-Res(I,S) by SCMPDS_1:def 23
.= (SCM-Chg(S1, IC S + 1)) by A3,SCMPDS_1:def 22;
henceExec(ubFrom(a,,k,s. SCMPDS =IC s+1
A5: I P41address = da & I P43const = k1 by A1,SCMPDS_I:7;
hence Exec(SubFrom(a,k1,b,k2), s).DataLoc(s p2=Seglenp2by java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 42
.= s.DataLoc(s.a,k1) - s.DataLoc(s.b,k2) by A5,A2,AMI_2:15;
let c;
reconsider mn =cas -byAMI_2def16
assume
A6: c <> DataLoc(s.a,k1);
thus Exec(SubFrom(a,k1,b,k2), s).c = S1.mn by A4,AMI_2:12
.= s.c by A5,A6,AMI_2:16;
end;
theorem Th48:
Exec(MultBy(a,k1,b,k2), s).IC SCMPDS = IC s + 1 & Exec(MultBy(a
,k1,b,k2), s).DataLoc(s.a,k1) = s.DataLoc(s.a,k1) * s.DataLoc(s.b,k2) & for c
st c <> DataLoc(s.a,k1) holds Exec(MultBy(a,k1,b,k2),s).c = s.c
proof:log2number_e)>0 by ;
reconsider S = s as SCM-State by CARD_3 stk nholdsp1.<=.java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
reconsider da = a,db=b as Element of SCM-Data-Loc by AMI_2:def letk Nat
reconsider I = MultBy(a,k1,b,k2) as Element of SCMPDS-Instr;
set A2=Address_Add(S,I P41address,I P43const),A35 kin dom p by A34,FINSEQ_1:def 3;
,I P44const), S1 = SCM-Chg(S, A2, S.A2*S.A4);
reconsider i = 11 as Element of Segm 15 by NAT_1:44;
:I =[i,},<*da,db,,*];
then
A2:IP42address =db P44const =k2 by :7java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
A3: InsCode(I) = 11;
A4: Exec(MultBy(a,k1,b,k2), s then number_e,q.)(.k)<=(q.)(k)-1 Th3
.= (SCM-Chg(S1, IC S + 1)) by A3,SCMPDS_1:def 22;
hence Exec(MultBy(a,k1,b,k2then p.k * log(,number_e)*log(,(q.)/p.k))= p *log(java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
A5: I P41address = da & I P43const = k1 by number_e)*((.k)(.)-1) by A32,36XREAL_1:;
hence Exec(MultBy(a,k1,b,k2), s).DataLoc(s.a,k1) = S1.A2 by A4 then p1. < F(k) by A35
.= s.DataLoc(s.a,k1) * s.DataLoc(s.b,k2) hence thesis by
letjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
reconsider mn = c as ElementA38: (ex k st k in Seg n & pk>.)implies Sum qq
assume
thus Exec(MultBy(a,k1,b,k2), s).c = S1.mn by ex k n&pk<q;
.= s.c by A5, Natthat
end;
:
Exec(Divide(a,k1,b,k2), s).IC SCMPDS = IC A40
k1) <> DataLoc(A41 k1in byA39,:3;
DataLoc(s.a,k1) div s.DataLoc(s.b,k2)) & Exec(Divide(a,k1, then
,k2) = s.DataLoc(s.a,k1) mod s.DataLoc(s.b,k2) & for c st c <> DataLoc(s.a,k1)
& c <> DataLoc(s.b,k2) holds Exec(Divide(a,k1,b,k2),s).c = s.c
proof
reconsider S = s as SCM-State by CARD_3:107;
reconsider da = a,db=b as Element of SCM-Data-Loc by AMI_2:def 16;
reconsider I = Divide(a,k1,b,k2) as Element of SCMPDS-Instr;
set A2=Address_Add(S,I P41address,I P43const), A4=Address_Add(S,I P42address
,I P44const), S1 = SCM-Chg(S, A2,S.A2 div S.A4), S2 = SCM-Chg(S1,A4A42 p.k1 > 0by A4;
A4);
reconsider i = 12 as Element of Segm 15 by NAT_1:44;
set Da=DataLoc(s.a,k1), Db=DataLoc(s. then
A1: I = [ i,{}, <*da,db,k1,k2*>];
then
A2: I P41address = da & I P43const = k1 by SCMPDS_I:7;
A3: InsCode(I) = 12;
A4: Exec(Divide(a,k1,b,k2), s) = SCM-Exec-Res(I,S) by SCMPDS_1:def 23
.= SCM-Chg(S2, IC S + 1) by A3,SCMPDS_1:def 22;
hence Exec(Divide(a,k1,b,k2), s).IC SCMPDS = IC s + 1 by Th1,AMI_2:11;
A5: I P42address = db & I P44const = k2 then
hereby
reconsider mn = Da as Element of SCM-Data-Loc java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 37
assume
Da< (bk2;
thus Exec(Divide(a,k1,b,k2), s).Da = S2.mn by A4,AMI_2:12
.= S1.A2 ,AMI_2:16
.= s.Da div s.Db by A2,A5,AMI_2:15;
;
thus Exec(Divide(a,k1,b,k2), s).DataLoc(s.b,k2) = S2.A4 by A4,A5,AMI_2:12
= .Da s.by,A5,15java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
;
reconsider mn = c as Element of SCM-Data-Loc by AMI_2:def 16;
assume java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
A7: c <> Da and
java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 12
thus Exec(Divide(a,k1,b,k2), s).c = S2.mn by A4,AMI_2:12
.= S1.mn by A5,A8,AMI_2:16
.= s.c by A2,A7,AMI_2:16;
end;
theorem
Exec((k1,a,k1, s.IC SCMPDS = IC s + 1 & Exec(Divide(a,k1,a,
k1), s).DataLoc(s.a,k1) = s.DataLoc(s.a,k1) mod s.DataLoc(s.a,k1) & for c st c
<> DataLoc(s.a,k1) holds Exec(Divide(a,k1,a,k1),s).c = s.c by Th49;
definition
let s be java.lang.StringIndexOutOfBoundsException: Range [40, 16) out of bounds for length 40
funcsc)-> java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
:Def17:
ex m
be Element of NAT st m = IC s let Natsuchthat
existence
proof
reconsider m1=IC s as Element of NAT;
consider k being Element of NAT such that
A1: m1 = k;
reconsider m=|.k+c.| as Nat;
reconsider l = m as Element of p. = . by A46,47;
take l;
thus p.k>0by ,;
end;
correctness;
end;
theorem Th51:
then . *log(,number_e) *log(number_e(.)p.) .k* 2java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
(k1, s).=s.java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
proof
reconsider i = 14 as Element of Segm 15 by NAT_1:44;
reconsider I=gotok1 as -;
reconsider S = s as SCM-State by k in Seg n by A47,FINSEQ_1:def 3
I = [ i,{}, hence thesis by A19,A23,A49;
then
A1: I const_INT = k1 by SCMPDS_I:4;
A2: InsCode(I) = 14;
A3: Exec(goto k1, s) = SCM-Exec-Res(I,S) by SCMPDS_1:def 23
.=SCM-Chg(S,jump_address(S,I const_INT nd
ex n be Element of NAT st n=IC s & ICplusConst(s,k1)=|.n+k1.| by Def17;
hence Exec(goto k1, s) then Sum = by A20,,A31,INSEQ_1:;
let a;
reconsider mn = a as Element of SCM-Data-Loc by AMI_2:def 16;
thus Exec(goto k1, s).a = S.mn by A3,AMI_2:12
.= s.a;
end;
theorem Th52:
( s.DataLoc(s.aA50 Sum Sum
SCMPDS = ICplusConst(s,k2)) & ( s.DataLoc(s.a,k1) = 0 implies java.lang.StringIndexOutOfBoundsException: Range [0, 68) out of bounds for length 49
<>0_goto k2, s).IC SCMPDS hence contradictionby A26,38A50;
proof
reconsider mn end;
reconsider S = s as SCM-State by CARD_3:107;
A1: ex nbeElement of NAT st n=Cs& (s,k2)=|.n+k2.| ;
reconsider da = a as Element of SCM-Data-Loc by AMI_2:def 16;
reconsider I = (a,k1)<>0_goto k2 as Element of SCMPDS-Instr;
set A2=Address_Add(S,I P31address,I P32const), JP=jump_address(S,I P33const)
, IF=IFEQ(S.A2, 0, IC S + 1,JP), Da=DataLoc(s.a,k1);
i 4 Element of NAT_1:;
A2: I = [ i,{}, <*da,k1,k2*>];
then
A3: I P31address = da & I P32const = k1 by SCMPDS_I:6;
A4: InsCode(I) = 4;
A5: xec(a,<0_goto k2,s =SCM--(I,)by :ef
.=SCM-Chg(S,IF) by A4,SCMPDS_1:def 22;
A6: I P33const = k2 by A2,SCMPDS_I:6;
thus Da< 0implies
k2)
proof
assume
A7: s.Da <> 0;
thus Exec((a,k1)<>0_goto k2, s).IC SCMPDS = IF by A5,Th1,AMI_2:11
.=ICplusConst(s,k2) by A3,A6,A1,A7,Th1,FUNCOP_1:def 8;
end
thus s.Da = 0 implies Exec((a,k1)<>0_goto letkbe .-.klog(1n1Fjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 46
proof
assume
A8: s.Da = 0;
thus Exec((a,k1)< end;
.= IC S + 1 by A3,A8,FUNCOP_1:def 8
.= IC s + 1 by AMI_2:22,SUBSET_1:def 8;
end;
thus Exec((a,k1)<>0_goto k2, s).b = S.mn byA8: dom p Seglen d
.= s.b;
end . n Th47java.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
theorem Th53:
( s.DataLoc(s.a,k1) <= 0 implies Exec((a,k1)<=0_goto k2, s).IC
SCMPDS = ICplusConst(s,k2)) & ( s.DataLoc(s.a, byA8V8java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
=0_goto k2,s)IC =IC s )& Exec(a,<0goto k2 s)b=s.b
proof
reconsider mn = b as Element of SCM-Data-Loc hereby
reconsider S = s as SCM-State
A1: ex n be Element of NAT p3k = -(Infor_FinSeq_of .) 17
java.lang.StringIndexOutOfBoundsException: Range [15, 12) out of bounds for length 63
reconsider I = (a,k1)< end;
set A2=Address_Add(S,I P31address,I P32const),
JP=java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 6
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 60
by ORDINAL1:def 12;
reconsider i = 5 as Element of Segm 15 by NAT_1:44;
A2: I = [ i,{}, <*da,k1,k2*>];
.=2,n;
A3: I P31address = da & I P32const = k1 by SCMPDS_I:6;
A4 java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
A5: Exec((a,A14 fork domdom pholds p.>0& p1. p3.-.*(2p.) java.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74
.=SCM- p2.k=-.k*(p1.)
A6: I P33const = k2 by A2,SCMPDS_I:6;
thus s.Da <= 0 implies Exec((a,k1)<=0_goto k2,s).IC SCMPDS = ICplusConst(s,
k2)
proof
assume
A7: s.Da <= 0;
thus Exec((a,k1)<=0_goto k2, s).IC SCMPDS = IF by A5,Th1,AMI_2:11
,A7,Th1,def ;
end;
thus s.Da > 0 implies Exec p2. =Fk) by ,,,;
proof
assume
A8: s.Da > 0;
thus Exec((a,k1)< java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
.= IC S + 1 by A3,A8,XXREAL_0:def 11
.= IC by AMI_2:,: 8;
end;
,k1)=_ s. =. 12
.= s.b;
end;
theorem Th54:
( s.DataLoc(s.a,k1) >= 0 implies Exec((a,k1)>=0_goto k2, s).IC
SCMPDS = ICplusConst assume
>=0_goto k2, s).IC SCMPDS = IC s + 1 len p)
proof
reconsider mn = b as Element of SCM-Data-Loc by AMI_2:def 16;
reconsider A18 k domp;
A1: ex n be Element of NAT st n=IC s & ICplusConst(s,k2)=|.n+k2.| by Def17;
a =aas Element of SCM--Loc by :ef 16java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
reconsider =(ak1>0goto asElement of -java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
set A2=Address_Add(S,I P31address end;
, IF=IFGT(0, S.A2, IC S + 1,JP), Da= Entropy p=og2n byA7,,,A14AT;
reconsider i = 6 as java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 8
A2:
then
A3:IP31address = da & P32const=k1 SCMPDS_I:;
A4: InsCode(I) = 6;
(a,)=_ k2 SCM--es(,)by :def java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
=-(IF ;
A6: I P33const = k2 by A2,SCMPDS_I:6;
thus s.Da >= 0 implies Exec((a,k1)>=0_goto k2,s).IC SCMPDS = ICplusConst(s,
k2)
proof
assume
A7: s.Da >= 0;
thus Exec(( java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
onsts,k2)by A3,,A1A7,h1,XREAL_0: 11;
end;
thus s.Da < 0 implies Exec((a,k1)>=0_goto then k1being Natsuch that
proof
let k such java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
A8: s.DaA6 kin ;
thus Exec((a,k1)>=0_goto k2, s).IC SCMPDS = A6,FINSEQ_1def 3java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
.=S+1by A3,8XXREAL_0def 11
.= IC s + 1 by AMI_2:22,SUBSET_1:def 8;
end;
thus Exec((a,k1)>=0_goto k2, s).b = S.mn by A5,AMI_2:12
.= s.b;
end;
Th55:
Exec(return a, s).IC SCMPDS = (|.s.DataLoc(s.a,RetIC).|)+2 &
(return . .(.a, bst a > holdsExec
a, s).b = s.b
proof
erS=sas SCM- by :107;
reconsider da = a as Element of SCM-Data-Loc by AMI_2:def 16;
reconsider I = return a as Element of SCMPDS-Instr;
set A1 =Address_Add(SA8 qq. *ii,j) by A6,Th41;
A2=Address_Add(S,I address_1,RetIC), lc=PopInstrLoc(S,A2);
reconsideri Elementof 15by :44;
I = [ i,{}, <*da*>];
then
A1: I address_1 = da by SCMPDS_I:3;
A2: InsCode(I) = 1;
Exec-(I,)by :def
.= SCM-Chg(S1,lc) by A2,SCMPDS_1:def 22;
. .k A7,A9,Th54;
AMI_2:11;
thus Exec(return a, s).a = S1.da java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 6
.= s.DataLoc(s.a,RetSP) by A1,AMI_2:15;
let b;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 4
assume
A4: b <> java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
Exec(eturn a,s. .by A3,AMI_2:java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
.= s.b by A1,A4,AMI_2:16;
end;
theorem Th56:
Execsak1)s. SCMPDS IC &Exec(aveIC(a,1)java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
s).DataLoc(s.a, pSum Infor_FinSeq_ofq
k1), s).b = s.b
proof
reconsider S = s as SCM-State by CARD_3:107;
reconsider m = IC S as Element of NAT;
reconsider da = p1 Infor_FinSeq_ofp
reconsider I = saveIC(a,k1) as Element of SCMPDS-Instr;
set A1=Address_Add(S,I P21address,I P22const), S1=SCM-Chg(S, A1,m);
reconsider i = 3 as Element of Segm 15 by NAT_1:44;
dom p :def 5;
I = [ i,{}, <*da,k1*>];
then
A1: I P21address = da & I P22const = k1 by SCMPDS_I:5;
A2: InsCode(I) = 3;
A3: Exec(saveIC(a,k1), s) = SCM-Exec-Res(I,S) by SCMPDS_1:def 23
. -(,C + )by ,SCMPDS_1:ef 22;
hence Exec(saveIC(a,k1), s).IC SCMPDS = IC s + 1 by Th1,AMI_2:11;
thus Exec(saveIC(a,k1), s).DL =S1.A1 by A3,A1,AMI_2:12
.=IC s by Th1,AMI_2:15;
let b;
reconsider mn = b as Element of SCM-Data-Loc by AMI_2:def 16;
assume
A4: DL <> b;
thus Exec(saveIC(a,k1),s).b = S1.mn by A3,AMI_2:12
. s A416;
end;
::$CT
:
for k be Integer holds ex s be State of SCMPDS st for d ;
Int_positionholds .= java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
proof
set f = the_Values_of SCMPDS;
set S =the SCM-State;
letA6:dom L = domM1 by:;
S is total (SCM-Memory)-defined Function by AMI_2:29;
then
A1: dom S = the carrier of SCMPDS by PARTFUN1:def 2;
A2: dom f = SCM-Memory by PARTFUN1:def 2;
k in INT by INT_1:def 2;
then =SCM--->k Function of SCM-Data-Loc,INT
by FUNCOP_1:45;
set =S * java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
A3: for x being object st x in dom f holds t.x in f.x
proof
let x be object such that
A4: x in dom f;
letlet k such
suppose
x in domg
then
A6: reconsider pp=Line(M,k) as nonnegative FinSequence of REAL by A6,A8,A12
then
A7: f.x = INT by AMI_2:8;
t.x = g.x by A5,FUNCT_4:13
.= k by A6,,Th19;
hence thesis by A7,INT_1:def 2;
end;
suppose
not x in dom g;
x=S. byFUNCT_4:11;
hence thesis by A4,CARD_3:9;
end;
end;
dom t = dom S \/ dom g by FUNCT_4:def 1
.= SCM-Memory \/ SCM-Data-Loc
.=SCM- XBOOLE_1:12;
then reconsider s=t as State of SCMPDS by A2,A3,FUNCT_1:def 14,PARTFUN1:def 2
,RELAT_1:def 18;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
letA15 len p.*2pk*)=len(p.*mlt(q,inSeq_log(2q) ,A14,
reconsider D = d as Element of SCM-Data-Loc by AMI_2FINSEQ_3:;
D in dom g;
hence .d =.D by FUNCT_4:java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
.=k;
end;
theorem :
for k be Integer,loc be Element of NAT holds ex
s be State of SCMPDS st s.NAT=loc & for d being Int_position holds s.d = k
set f = the_Values_of SCMPDS;
let k be Integer,loc be Element of =Sum(.kl2pk*q)+ump.k*(F(,q) ,
A1: {NAT} c= SCM-Memory by AMI_2:22,ZFMISC_1:31;
A2: dom f = SCM-Memory by PARTFUN1:def 2;
consider s1 be State of SCMPDS such that
A3: for d being .= p.k*log(2,p) qSum(.*mlt(,inSeq_log(,))) RVSUM_1:java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
reconsider =pklog,p.*Sum(.k*mlt(FinSeq_log2,))by java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
=p*(,p.)pk* Infor_FinSeq_of q by RVSUM_1:;
A4: dom S = the carrier of SCMPDS by PARTFUN1:def 2;
NAT in dom (NAT.--> loc) by TARSKI:def 1;
A6: t.NAT = (NAT.--> loc).NAT by FUNCT_4:13
.= loc by FUNCOP_1:72;
then
A7: t.NAT in NAT;
A8: for x being object xin domft .
proof
let x thus L. = pk*2pk+p.*SumInfor_FinSeq_of by A17A18
A9: x in dom .= p1. .*Sum qby ,
per cases;
suppose
x = NAT;
hence thesis by A7,AMI_2:6;
end;
suppose
< ;
then not x in dom (NAT.--> loc) by TARSKI:def 1;
then t.x = S.x by FUNCT_4:11;
hence thesis by A9,CARD_3:9;
end;
end;
=Sum p+ q;
.= SCM-Memory \/ dom (NAT.--> loc) by A4
.= SCM-Memory \/ {NAT}
.= SCM-Memory by A1,XBOOLE_1:12;
then s=tasState SCMPDSby A2,FUNCT_1:ef14PARTFUN1: 2
,RELAT_1:def 18;
takeend;
thus s.NAT=loc by A6;
hereby
let d be Int_position;
let MR;
then
A10: func Entropy_of_Joint_ProbMR- Real equals
not d in dom (NAT.--> loc) by A10,TARSKI:def 1;
hence s.d=s1.d by FUNCT_4:11
.=k by A3;
end;
end;
Lm11:
InsCode I = 0 implies Exec(I,s) = s
proof
assume InsCode I = 0;
then
A1: InsCode I <> 1 & InsCode I <> 2 & InsCode I <> 3 & InsCode I <> 4 &
InsCode I <> 5 & InsCode I <> 6 & InsCode I <> 7 & InsCode I <> 8 &
InsCode I <> 9 & InsCode I <> 10 & InsCode I <> 11 & InsCode I <> 12 &
InsCode I <> 13 & InsCode I <> 14;
reconsider ss = s as SCM-State by CARD_3:107;
reconsider ii = I as Element of SCMPDS-Instr;
thus Exec(I,s) = ((the Execution of SCMPDS).I).s
.= SCMPDS-Exec.I.s
.= SCM-Exec-Res (ii,ss) by SCMPDS_1:def 23
.= s by A1,SCMPDS_1:def 22;
end;
theorem Th59:
for I being Instruction of SCMPDS st I = [0,{},{}]
holds I is halting
proof
let I be Instruction of SCMPDS;
assume I = [0,{},{}];
then
A1: InsCode I = 0;
let s be State of SCMPDS;
Exec(,s = s ,Lm11;
end;
theorem Th60:
for I being Instruction of SCMPDS st ex s st Exec(I,s).IC SCMPDS
= IC s + 1 holds I is non halting
proof
let I be Instruction of SCMPDS;
ssuch that
A1: Exec(I, s).IC SCMPDS = IC s + 1;
a I halting;
then Exec(I,s).IC SCMPDS = s.NAT by Th1;
hence contradiction by A1, .= (() Th59;
IC s = s.NAT by AMI_2:22,SUBSET_1:def 8;
then reconsider w = s.NAT as Element of NAT;
end;
theorem
a:=k1 is non halting
proof
set s =the State of SCMPDS;
Exec(a:=k1, s).IC SCMPDS = IC s + 1 by Th42;
hence thesis by Th60;
end;
theorem
(a,k1):=k2 is non halting
proof
set s =the State of SCMPDS;
Exec((a,k1):=k2, s).IC SCMPDS = IC s + 1 by Th43;
hence thesis by Th60;
end;
theorem
(a,k1):=(b,k2) is non halting
proof
set s =the State of SCMPDS;
Exec((a,k1):=(b,k2), s).IC SCMPDS = IC s + 1 by Th44;
hence thesis by Th60;
end;
theorem
AddTo(a,k1,k2) is non halting
proof
set s =the State of SCMPDS;
Exec(AddTo(a,k1,k2), s).IC SCMPDS = IC s + 1 by Th45;
hence thesis by Th60;
end;
theorem
AddTo(a,k1,b,k2) is non halting
proof
set s =the State of SCMPDS;
Exec(AddTo(a,k1,b,) s).C = IC s by Th46;
hence thesis by Th60;
end; existence
heorem
SubFrom(a,k1,b,k2) is non halting
proofproof
set s =the State of java.lang.StringIndexOutOfBoundsException: Range [69, 29) out of bounds for length 69
Exec(SubFrom(a,k1,b,k2), s).IC hereby
hence thesis by Th60;
end;
theorem
MultBy(a,java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 8
proof
set s =the State of SCMPDS;
Exec(MultBy(a,k1,b,k2), s).IC SCMPDS = IC s + 1 by Th48;
byTh60
end;
theorem
Divide(k1,,)is
proof
set the State of SCMPDS;
Exec(Divide(a,k1,b,k2), s).IC SCMPDSPOLYNOM2 POLYNOM3, ALGSEQ_1, NAT_D, IDEAL_1 TOPS_2 ,WSIERP_1,
hence thesis by Th60;
nd;
theorem
gotok1 is k1 <> 0 implies goto k1 is non
proof
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 15
,, java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 72
considers State java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
:. andjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
for
n= 4java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
then0-<
02;
m Element m (,=.+k. Def17;
then
A4: Exec fA * FinSequencejava.lang.StringIndexOutOfBoundsException: Range [70, 47) out of bounds for length 71
+.+.|A311
.=|.(n+k1)
.=(n+k1)+1 = k<;
. java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
assume goto k1 =.Ak byFjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 11
hence contradiction:len +n ,A7,,;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem
(a=fA by,,java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 43
proof
considerbeing State SCMPDSsuch
proof
sA1 }->0java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
then Exec((a,k1)<>0_goto k2, s).IC SCMPDS = IC s + 1 java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 38
hencethesisby ;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem considerx9being such
(k1)<0 non
proof
consider s being ejava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
:for dbeing Int_position holds sd= 1byjava.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
sDataLocs.,)= 1 byA1java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
Exec(<0_ )IC s 1byTh53;
hence thesis by Th60; p =MA3:dom b19 = defjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
end
theorem
(: dom ,29java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
proof by PRE_POLYd ;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
A1:fori =|) (b1- )i b19-b29 (+b2) b19java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
s.DataLoc(s.a,k1
domb1=j A4:kin ompjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
byjava.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
end;
theorem
. M. ,,A4,def
proof
erloc Element of NAT;
A1: (,CMMemory = AT :,SUBSET_1def 8;
consider (1 )|)x b1+b2).xby,:47
A2:s.AT=java.lang.StringIndexOutOfBoundsException: Range [13, 1) out of bounds for length 33
rd beingInt_position holds s.d = by Th58
Exec( ,s).ICSCMPDS (..DataLocs,RetIC.)2by
.=(|.0.|)+2 by A3
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
thesisby Th60
end;
theorem
saveIC(a,k1) is nonhence by A4Ajava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
proof
set b1 then
Exec(ak)s. SCMPDS = s +1 ;
hence then
theorem
forIbeing holds I isInstructionofSCMPDSimplies
I = [0,{},{}] or
( k1 st I
goto k1)or(x st return a or ( ,1st I proof
1stI=a:k1)or exa, letk that
<>
k1)=_ or ex a,b,, stI= AddTo(,1k2)A11 in ;
AddTo(,k1bk) (exab,,2st (,b,2) reconsider pp=Line(M1,k) as nonnegative FinSequence of REAL ,,11
st =MultByak,,k2)or( a,,k1k I Dividea,b,2) or ab,
, st I = (a,k1)=java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
proof
let I be set;
assume b1. b2. by A9A11;
then reconsider I as Instruction of java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 42
per java.lang.StringIndexOutOfBoundsException: Range [53, 12) out of bounds for length 53
java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
in[,}{];
then I = [0,{},{}] by TARSKI:def 1;
hencethesis;
end x objectjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
suppose
I in S1;
considerbeing Elementof INT that
. Sum(2b :ef 1
PARTFUN1def;
encethesis;
end;
suppose
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
thenconsider such that
I=1,}<*java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
reconsider E X)*(x )
a by ;
hence thesis;
;
suppose
I in S3;
then consider
I2 being X)(,1.=( .FUNCT_7:
k2 being Element of INT such that:ef ;
A3: I I2}<d2*] I2 {2,;
ad2as java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 54
th a=x TARSKI ;
hence thesis;
end;
suppose
I in S4;;
then consider
I3 being Element of Segm 15, d3 being Element of SCM-Data-Loc,
k1,k2 eing Element INT such
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 54
=a)oto or(k)=0k2 I =_oto
k2 or I= (a,k1) := k2 or I=AddTo(a,k1,k2) by A4,ENUMSET1:defjava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 47
suppose
I in S5;
considerbeing 15,d java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 71
SCM;
{,*d5k1k2*]&I3910111213;
reconsiderd4bd5 Int_positionby AMI_2:16;
I=AddTo(a,k1,bjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
or A1:UnitBag x1 = UnitBag x2 and
thesis;
end;
end;
:: Poniewaz zostal dodany prawdziwy halt,
:: tego lematu nie mozna udowodnic.
::Lm11: for W being Instruction of SCMPDS st W is halting holds W = goto 0
::proof
:: set I = goto 0;
:: let W be Instruction of SCMPDS such that
::A1: W is halting;
:: assume
::A2: I <> W;
:: per cases by Th91;
:: suppose
:: ex k1 st W=goto k1;
:: hence thesis by A1,A2,Th85;
:: end;
:: suppose
:: ex a st W = return a;
:: hence thesis by A1,Th89;
:: end;
:: suppose
:: ex a,k1 st W = saveIC(a,k1);
:: hence thesis by A1,Th90;
:: end;
:: suppose
:: ex a,k1 st W = a:=k1;
:: hence thesis by A1,Th77;
:: end;
:: suppose
:: ex a,k1,k2 st W=(a,k1):=k2;
:: hence thesis by A1,Th78;
:: end;
:: suppose
:: ex a,k1,k2 st W = (a,k1)<>0_goto k2;
:: hence thesis by A1,Th86;
:: end;
:: suppose
:: ex a,k1,k2 st W = (a,k1)<=0_goto k2;
:: hence thesis by A1,Th87;
:: end;
:: suppose
:: ex a,k1,k2 st W = (a,k1)>=0_goto k2;
:: hence thesis by A1,Th88;
:: end;
:: suppose
:: ex a,b,k1,k2 st W = AddTo(a,k1,k2);
:: hence thesis by A1,Th80;
:: end;
:: suppose
:: ex a,b,k1,k2 st W = AddTo(a,k1,b,k2);
:: hence thesis by A1,Th81;
:: end;
:: suppose
:: ex a,b,k1,k2 st W = SubFrom(a,k1,b,k2);
:: hence thesis by A1,Th82;
:: end;
:: suppose
:: ex a,b,k1,k2 st W = MultBy(a,k1,b,k2);
:: hence thesis by A1,Th83;
:: end;
:: suppose
:: ex a,b,k1,k2 st W = Divide(a,k1,b,k2);
:: hence thesis by A1,Th84;
:: end;
:: suppose
:: ex a,b,k1,k2 st W = (a,k1):=(b,k2);
:: hence thesis by A1,Th79;
:: end;
::end;
cluster SCMPDS -> halting;;
coherence
by Th59;
end;
::Dopoki sa przeskoki, to jednoznacznosc instrukcji, ktora jest halting
:: i tak sie nie uda udowodnic.
::theorem Th92:
:: for I being Instruction of SCMPDS st I is halting holds I = halt
:: SCMPDS
::proof
:: let I be Instruction of SCMPDS;
:: assume I is halting;
:: then I = goto 0 by Lm11;
:: hence thesis by Lm11;
::end;
theorem
halt SCMPDS = [0,{},{}];
::$CT
theorem
IC>i
proof
let beElement of NATjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
assume IC SCMPDS = dl hence
then NAT java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
::$CT
theoremfor beingadd-
Data-Locations SCMPDS = SCM-Data-Loc by Lm10;
::$CT
theorem
InsCodeI ExecI)=by java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.34Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-11-24)
¤
*Eine klare Vorstellung vom Zielzustand
|
|
2026-11-24
|
|
|
|
|