|
|
|
|
Impressum ami_6.miz
Interaktion und PortierbarkeitMizar
|
|
:: On the Instructions of { \bf SCM }
:: by Artur Korni{\l}owicz
::
:: Received May 8, 2001
:: Copyright (c) 2001-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, AMI_3, AMI_1, FSM_1, ORDINAL1, CAT_1, XBOOLE_0, FUNCT_1,
RELAT_1, FINSEQ_1, CARD_1, AMISTD_2, GRAPHSP, CARD_3, AMISTD_1, SUBSET_1,
CIRCUIT2, FUNCT_4, FUNCOP_1, SETFAM_1, XXREAL_0, TARSKI, ARYTM_3,
GOBOARD5, FRECHET, ARYTM_1, INT_1, PARTFUN1, NAT_1, COMPOS_1, GOBRD13,
MEMSTR_0;
notations TARSKI, XBOOLE_0,
end;
FUNCT_4, XXREAL_0, VALUED_1, CARD_3java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
COMPOS_1, ;
constructors NAT_D, AMI_3end;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
let , java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
, FINSEQ_1, CARD_3, , AMISTD_2,,,EXTPRO_1,
FUNCT_7, PRE_POLY, MEMSTR_0, CARD_1, COMPOS_0, XTUPLE_0;
requirements NUMERALS, BOOLE, SUBSET, REAL, ARITHM;
definitions TARSKI, java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 11
equalities AMISTD_1, AMI_3, FUNCOP_1, COMPOS_1 cluster(,b -sequential
XTUPLE_0;
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 31
theorems , NAT_1 ,FUNCT_4, ,,FUNCOP_1, SETFAM_1
AMISTD_1, java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 11
ORDINAL1,PARTFUN1,PBOOLE,VALUED_1 EXTPRO_1,AMI_2,,
XTUPLE_0;
begin
reserve a, MultBya) - sequential;
i1, i2 forNat,
I for Instruction of SCM,
s, s1, s2 for State of SCM,
T InsType of SCM,
k,k1 for Nat;
theorem
T = 0 or ... or T = 8
proof
consider y being object such consider y being object such that
A1: [ AMI_3:;
consider x being java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 4
A2: [[T ,b
reconsider I = clusterJUMPa: )->empty
Tde I;
hence thesis by AMI_5:5;
end;
theorem proof
JumpPart halt SCM = {};
theorem
T = 0 implies JumpParts thesis by Lm1;
proof
assume
A1: T = 0;
hereby
let a java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 6
assume
then consider I such that
A2: let a b
A3: InsCode I = T;
I JUMP ( - empty;
hence a in {0} by A2,TARSKI:def 1;
end;
leta object;
assume a in {0};
then
A4: a = 0 by TARSKI:def 1;
InsCode being Element of NAT holds NIC(AddTo(a,b),l)={l+1} by AMISTD_1:12;
hence thesis nd;
end;
theorem
T = 1 implies JumpParts Tend;
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
assume
A1: T = 1b;
hereby
let x be object;
assume x cluster JUMP SubFrom SubFrom(a )- empty;
then consider I being Instruction proof
= Iand
A3: InsCode I = T;
consider a,b such that
A4: I = a:=b by A1,A3,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 24
x = {} by ndjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
hence x injava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end;
let a, b;
let x be object;
{{};
then x = {} by TARSKI:def 1;
then
x= JumpParta=a)java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Range [22, 4) out of bounds for length 23
hence thesis by A5hence thesis by Lm1java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
end;
theoremregistration
T = 2 let , b;
proof
assume
A1: T = coherence
hereby
let x be proof
Element holds (ividea,)l)=l+}by :12java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
thenconsider beingInstruction of SCM that
A2: x = end;
A3: InsCode I = end;
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
A4: I = AddTo(a,b (SCM-goto , ) k
x =java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
now
end;
set a = the Data-Location;
let x be ;
assume x in {{}}A1:now
thenl in by ORDINAL1:def 12;
then
A5: x = JumpPart AddTo(a,a);
InsCode AddTo(a,a) = 2;
hence thesis by A5,A1;
end
theorem
T = 3 implies JumpParts T = { set = SCM-goto k;
proof
assume
A1: T = 3;
hereby
let x be object;
assume =the -Sequenceof ;
consider I Instructionof SCM
A2: x = JumpPart I and
A3:
consider a,b reconsider u = t*(C ,)
A4: I = SubFrom(a,b) by A1,A3,AMI_5:10;
x = {} by A2,A4 asElement SCM by CARD_3:107;
hence x in {{}} by TARSKI:def 1;
end;
set a = the Data-Location;
let x be object;
assume x in {{}};
= { by TARSKI:def 1;
then
A5: x = JumpPart SubFrom(a,a);
InsCode ill= as Element by:def 12;
hence thesis by A5,A1;
end;
theorem
T = 4 implies JumpParts T = {{}}
proof
assume
A1: T = 4;
ereby
let x be object;
assume x in JumpParts T;
then considerA4: IC u = nby ;
A2: x = JumpPart I and
A3: InsCode I = T;
consider a,b such that
A4:I MultBy(a) by A1,A3AMI_5:1;
x = {} by A2,A4;
hence x in {{}} by TARSKI:def 1;
end
set a = the Data-Locationthen
let x be A5:P byFUNCT_7:31java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
assume x in {{}};
thenx={ by TARSKI:def ;
then
A5: x = JumpPart where s is Elemenof product the_Values_ofSCM
MultByaa) =4java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
hence java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 7
end;
theorem
T = 5 implies JumpParts T = {{}}
proof
assume
A1: T = 5;
hereby
let x be where Element product the_Values_of SCM
assume x in JumpParts T;
hen being Instruction such that
A2: x = JumpPart I and
A3: InsCode I = T;
consider a,b such that
A4: I = Divide(a,b) by A1,A3,AMI_5:12;
x ={ by A2,4java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
hence x in {{}} by TARSKI:def 1;
end;
set a = the Data-Location;
hence k AMI_3:7;
assume x in {{}};
then x = {} by TARSKI:def 1 end;
then
A5: x = JumpPart Divide(a,a ence
InsCode in{}iff x in{C (SCM-goto k,s,)
hence thesis by A5,A1;
end;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
T dom " JumpPartsT ={}
proof
set i1 = the Element of NAT;
assume
A1: T = 6;
hereby
let x be object;
SCM-goto i1 = 6;
then
A2: JumpPart SCM-goto i1 in JumpParts T by A1;
assume x in dom product" JumpParts T;
xin T CARD_3def12;
then x in dom JumpPart SCM-goto i1 by A2,CARD_3:108;
hence x in {1} by end;
end;
let x be java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 13
assume
A3: x in proof
for f being set X = the set of aNICSCM-goto k, );
proof
let f be Function;
assume f in now
then consider I being Instruction of SCM such that
A4: f JumpPartI
A5: InsCode I = T;
consider java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 10
A6: I = SCM-goto i1 by A1,A5A1 NIC(-oto k,il1 in X;
=<i1*> by ,A6;
hence thesis by A3,FINSEQ_1:2,def 8;
then x in NIC(CM-gotok,il1 A1,ETFAM_1def1java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
then x in DOM JumpParts T by CARD_3:109;
hence thesis by CARD_3 in {kjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
end;
theorem java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 7
T 7 implies dom product" JumpParts T = {1}
proof
set i1 = the Element of NAT,a = the Data-Location;
assume
A1: T = 7;
hereby
let x be object;
InsCode i1) = ;
then
A2: JumpPart (a =0_goto i1) in java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 30
assume x in dom product" JumpParts T;
then NIC(SCM- ,il)={}by ;
then x in dom JumpPart in Y by ,ARSKI:ef1
hence x in {1} by reconsider k as Element of NAT by ORDINAL1:def 12;
NIC(CM- k k) in ;
let x hence x meet X by ,,: 1java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
assume
A3: x in {1};
for f being Function st java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
let f be ;
assume f in JumpParts T;
then beingthe_Values_ofjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
A4 f = Iand
A5: InsCode I = Tper cases;
consider i1, a such thatsuppose
A6:I =_ by A1,,MI_5:;
f = <*i1*> by A4,A6;
hence thesis by A3FINSEQ_1:,8;
end;
then hence in {,il+}by TARSKI:ef ;
java.lang.StringIndexOutOfBoundsException: Range [7, 2) out of bounds for length 32
end;
Th11:
T = "JumpPartsT={}
proof
set i1 = the Element of NAT,a = the Data-Location;
A1: T = 8;
hereby
let x be object;
i1)=8;
then
A2: JumpPart (a >0_goto i1) in JumpParts T by A1;
assume x in dom product" JumpParts T;
then x in DOMJumpPartsjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 47
( by A2,ARD_3108;
hence x in {1} by FINSEQ_1:2,38;
end;
let x be object;
assume
A3: x in {1};
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
let f be Function;
assume f in JumpParts T;
then consider I being Instruction of SCM such per byA3,:def 2
umpPart
A5: InsCode I = T;
reconsidv=+(a .- )
A6: asElement of product SCM by CARD_3107;
f A5 IC dom by MEMSTR_0:java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
thesis ,FINSEQ_1:,8;
end;
then x in DOM JumpParts T by CARD_3:109;
hence thesis by CARD_3:def 12;
end;
theorem
A7:ICv IC u by :11
proof
dom .= n A5,:;
by Th9;
then
A1: 1 in dom product" JumpParts InsCode SCM-goto k1 by TARSKI:java.lang.StringIndexOutOfBoundsException: Range [0, 65) out of bounds for length 56
hereby
let x be object;
" JumpParts InsCode-oto k1).1;
then x in pi(JumpParts InsCode SCM-goto k1,1) by A1,CARD_3:def 12;
then indomQ PARTFUN1:def 2java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
A9:P.l = I by FUNCT_7:1;
A3: a indom ( .-> ) by TARSKI::def 1;
consider I being Instruction of SCM such that
A4 v. = (a .->.hence thesis by A4java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
A5: InsCode I = java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 14
=u+(.--> 1)
then consider i2 such of product :107;
A6: I = SCM-goto i2 by AMI_5:13;
g = <*i2*> by A4,A6;
then x = i2A11: ICSCM in tb:2;
hence x in NAT by ORDINAL1:def 12;
not IC SCMin dom (a .- 1) by ,:def 1;
let x be object;
assume x in NAT;
reconsider asElement of ;
JumpPart SCM-goto x = <*x*A13:IC uby :java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
= InsCode SCM-goto x;
then
A7: <*x*> inder l as of NAT by ORDINAL1:def 12;
<*x*>.1 = x;
then x in pi(JumpParts InsCode SCM-goto A14 P/il Pby :143
hence thesis by A1,CARD_3: then il in dom Q by PARTFUN 2
end;
theorem
( a in ( .-->- ) by : 1
proof
dom product" JumpParts InsCode (a =0_goto k1) = {1} by Th10;
then
A1: 1 in dom product" JumpParts InsCode (a =0_goto k1) by java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 57
hereby
let x be object;
assume x in("JumpParts (a =0goto );
then x in pi(JumpParts InsCode (a =0_goto java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 6
then consider g theorem :
A2 JumpParts InsCode (a=0gotok1) and
A3: x = g.1 by CARD_3:def 6
consider I being Instruction of SCM such that
A4:g= and
A5: InsCode I = InsCode (a =0_goto k1) by now
InsCode I = 7 by A5;
then consider i2, b such that
A6: I = b =0_goto i2 by A1 now
g <i2*> byA4
then x = i2 by A3;
NATby ORDINAL1:def;
end;
let x be object;
then reconsider x as Element of NAT;
x) **> InsCode ( =0goto k1) = InsCode
(a =0_goto x);
then
:<*x*> in InsCode =0gk1);
<*x*>.1 = x;
kin Y by A2,TARSKIdef 2;
hence thesis by A1,CARD_3:def 12;
end;
theorem
("JumpPartsInsCode (a >0k1).1
proof
dom product" JumpParts InsCode hereby
then
A1: 1 in dom product" JumpParts InsCode (a >0_goto k1) java.lang.StringIndexOutOfBoundsException: Range [0, 57) out of bounds for length 27
hereby
let x be object;
assume x in (product" JumpParts:_gotok, il2)) = {k, il2+1} by Th17;
then x in pi(JumpParts InsCode (a >0_goto k1),1) by A1,CARD_3:def 12;
then consider g being Function such that
: g java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 45
A3: x = g.1 by CARD_3:def 6;
consider I being Instruction of SCM such that
A4:g= JumpPart I and
A5: InsCode I : (a0goto {k +}by Th17;
InsCode =8 ;
then consider i2, b such that
I = 0goto :15;
g = <*i2*> by A4,A6;
then x = i2 by A3;
inNAT :def 12;
end;
let x be object;
assume x ;
then reconsider x as Element of NAT;
JumpPart (a >0_goto x) = <*x*> & InsCodeend
( > x)
then
A7 then
<*x*>.1 = x;
then x in pi(JumpParts InsCode (a 7: x =k TARSKI: 1;
hence by A1,CARD_3:
end;
Lm1: NIC(a=0_goto k,k))in;
in meet by ,1S:def1java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
proof
set p=1, qend;
let i be Instruction of SCM;
assume
A1: for l being Element of
set =the set of all NIC(i,f) where f is Nat;
clusterJUMP (a =0goto i1) - 1-element;
assume not thesis;
then consider x being object proof
:x in meet X;
NIC(i,p) = {p+1} by A1;
then {succ p} in X; hence ;
then x in {succ p} by A2,SETFAM_1:def 1; end;
then
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
NIC(i,q) NIC(a>_ ,il)={k, , il+1java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
then succ }in X
then x in {succ q} Q=the - of SCM;
hence contradiction by A3,TARSKI:def 1;
end;
registration
cluster JUMP halt SCM -> empty;
coherence;
end;
registration
let a, b;
cluster a:=b -> sequential;
coherence
by AMI_3:2;
then s being of product the_Values_ofSCM
coherence
by :;
cluster SubFrom(a,bA1:x=IC Execa0goto k,) &ICs =il;
coherence
by AMI_3:4;
cluster per cases
coherence
by :5;
cluster Divide(a,b) -> sequential;
coherence
by AMI_3:6;
end;
registration
let , b;
cluster JUMP (a := b) -> empty;
java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
proof
for l being Element of NAT holds NIC(a:=b,l)=then x =il+1 by A1,MI_39java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
hence by Lm1;
end;
end;
registration
let a, b;
java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 8
coherence
proof
for being of holds ((,)l){+}by :;
hence thesis by Lm1;
end;
end;
registration
let a, b;
cluster JUMP SubFrom(a, b) -> empty;
coherence
roof
for l =il as by :def12;
hence thesis by Lm1;
end;
registration
let a, b;
cluster JUMP asElement productthe_Values_of :07;
coherence
proof
for l being Element of NAT holds NIC( reconsider =Q +* i,)
hence thesis by Lm1;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;
registration
reconsider v=u*(a > )
cluster JUMP Divide(a,b) as of the_Values_ofSCM by CARD_3107java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
coherence
proof
for l being Element of NAT holds NIC(Divide(a,b),l)={l+1} by AMISTD_1:12;
hence thesis by Lm1;
end;
end;
theorem Th15:
(CMgotok,il kjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
proof
now
let x be object;
A1:now
il in NAT by reconsider il as Element NAT by ORDINAL1:def 12;
= il ElementofValues IC byMEMSTR_0d ;
set I = SCM-goto k;
set t = the State of SCM,
Q = il in NAT;
assume
A2: x = k;
reconsider n = il in Qby PARTFUN1:ef 2java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
reconsideru t+*( SCM,l1
as Element of product the_Values_ofa dom ( .>1 by TARSKI:def 1;
reconsider P = Q +* (il,I thenv.a =( ->1. by:13
as Instruction-Sequence of SCM;
reconsider then FollowingP)= k by ,A9,8AMI_3:java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
A3: endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
IC SCM in dom t :x=il+1;
then
A4: IC u = n by FUNCT_7:31;
il in NAT by ORDINAL1:as the_Values_ofSCM by :107
ilin dom PARTFUN1def ;
then
A5: P.n = I by FUNCT_7:31;
then ICFollowing(P,) A3,AMI_3:;
hence x in {IC Exec(SCM-goto k,s)
where s is Element of product java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 8
: IC s = il} by A2,A4,A3,A5;
end;
now
assume x in {IC Exec(SCM-goto k, reconsider il as Element of NAT by:def 12;
where s is Element of product the_Values_of SCM
: s =il};
then ex s being Element of product java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 14
st x = IC Exec(SCM-goto k,s) & IC s = il;
hence x = k A1:Pil by FUNCT_7:31;
end;
hence
x in { x ICExecSCM- ,)
where s is Element of product the_Values_ofthen.a =(a .-- ).a FUNCT_413
= il} byA1: 1;
end;
hence thesis by TARSKI:2;
ende then IC(,)= il by ,15,14,AMI_3:9;
theorem Th16:
JUMP SCM-goto k = {k}
proof
set X = the set of all end;
now
let x be object;
hereby
set il1 = 1;
A1: NIC(SCM-goto kJUMP a_ k) = {k}
assume x proof
then x set the set all NIC(a>0_otok,il);
hence x in {k} by Th15;
end;
assume x in { now
then
A2: x = k by TARSKI:def A1: now
A3:now
let Y be set;
assume Y in X;
consider il being Natsuch that
A4: Y =2: Y=NICa>_goto, il)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
NIC(-gotok k by ;
hence k in Y by A4,TARSKI:def 1;
end;
k Element NAT by :def 12;
NIC(SCM-goto k, k) in X;
hence x in meet X by A2,A3, set il1 = 1 il2 =2;
end;
hence thesis by TARSKI:2;
end;
registration
eti1;
cluster JUMP SCM-goto i1 -> 1-element;
coherence
proof
JUMP SCM-goto i1 = {i1} by Th16;
hence thesis;
end;
end;
Th17:
NIC(a=0_goto k, il) = NIC(>0gotok, il1) in ;
proof
set t = the State of SCM,
Q the -Sequence of SCM;
hereby
let x be object;
assume x in NIC(a=0_goto k, il);
then consider s being hence xin{}by A5 A5,: 1;
such that
A1: x = IC Exec(a=0_goto k,s) & IC
per cases;
suppose
s.a = 0;
then x = k by A1,AMI_3:8;
xin {, +} by :2;
end;
suppose
s.a <> 0;
then x = il + 1 by A1,AMI_3:8;
hencex {,il+}by def 2;
end;
end;
let x be object;
set I = a=0_goto k;
A2: hence x n meet X by ,1SETFAM_1def ;
reconsider n end;
reconsider il1 = n as Element of Values IC SCM by MEMSTR_0:def 6;
u =t*(C ,)
as Element of product the_Values_of SCM by CARD_3:107;
reconsider P = Q +* (il,I)
as
assume
n {k,il+};
per cases by A3,TARSKI:def 2;
suppose
A4: x = k;
cluster JUMPa 0goto i1) >1element;
asence
A5: IC SCM in dom t java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 7
not IC SCM in dom (a .--> 0) by A2,TARSKI
then
A7:
.= n by A5,FUNCT_7:31end;
reconsider il as Element of NAT java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 0
A8: P/.il = P.il (ilSCM) ={il,il+1}
il in NAT;
then il in dom Q by PARTFUN1:def 2;
then
A9: P.il = I by NIC((I,il I where Element the InstructionsF of
set {l, il+1};
then
v.a = (a .--> 0).a by FUNCT_4:13
.= now
then let be object;
hence thesis by A4,A7,A9,A8;
end;
suppose
consider Y being such that
reconsider v = u+*(a .--> A1: in Y and
as Element of product the_Values_of SCM by CARD_3:107;
A11: IC SCM in dom t by MEMSTR_0:2;
CMin (a.->1 by A2,ARSKIdef ;
then
A13: IC v = IC u by FUNCT_4:11
. by A11,FUNCT_7:31;
reconsider il as Element of NAT by ORDINAL1:def 12;
A14: P/.il = P.il by PBOOLE:143;
i=[,{}{]java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
then il in dom Qby :def 2;
then
A15: P.then x = il by TARSKI:def 1;
a in dom (a .--> 1) by TARSKI:def N TARSKI:def 2;
then v.a = (a .--> 1).a by FUNCT_4:13
.= suppose
then IC Following(P,v) = il+1 by A13,A15,A14,AMI_3:8 ex , i = =;
hence thesis by A10,A13,A15then consider a,b
endjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
end;
theorem Th18:
JUMP(0_goto) kjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
proof
the set ofall ( ;
now
let x be object;
A1: now
let Y be set;
ssumeY X
then consider il being Nat consider, b suchthat
A2: Y = NIC(a=0_goto k, il);
NIC(a=0_goto k, il) = {k, il+1} by Th17;
hence k in Y by A2, in{l+1}\JUMPAddTo(a,b)by A1,,A5,AMISTD_1:12;
end;
he x in by d 2
set il1 1, il2 = 2;
assume
A3: x in meet X;
A4: NIC(a=0_goto k suppose
NIC(a=0 exa,st i =(a,);
then x in NIC(a=0_goto k, il2) by A3,SETFAM_1:def 1;
then
A5: x = k or x = il2+1 by A4,TARSKI:def 2;
A6: NIC(a=0_goto k, A6: i = SubFrom(a,b);
NIC x in il1 \ JUMPSubFrom(,)by A1,A3,6AMISTD_1:12;
then x in NIC(a=0_goto k, il1) by A3,SETFAM_1then il+ TARSKIdef 1;
then x hence x in N by TARSKI:def 2;
hence x in {k} by A5 end;
end;
assume x in {k};
then
A7: x =k TARSKI:efjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
reconsider k as Element of NAT byx {il1 (b) A1A3,7,AMISTD_1:12;
NIC(a=0_goto k, k) in X;
x in XbyA7,,SETFAM_1def1;
end;
hence thesis by TARSKI:2;
java.lang.StringIndexOutOfBoundsException: Range [63, 1) out of bounds for length 63
registration
let a, i1;
cluster JUMP (a =0_goto k st = SCM-goto k;
coherence
proof
( =0_goto i1)={}by ;
hence thesis;
end;
A9 i =SCMgoto k;
theorem Th19:
NIC(a>0_ x ink i byA,A9,h15java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
proof
set t = the State of SCM,
=the Instruction of SCM;
hereby
x object;
assume x in NIC(a>0_goto k, il);
then consider s being Element of java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 33
then consider , such that
A1: x =A10:i =0goto k;
per cases;
suppose
. > ;
then x = k by A1,AMI_3:9;
in k,il+}TARSKI:def 2;
end;
suppose
s.a <= 0;
enx =il1 by A1,MI_39java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
hence xin {,il+ :def 2;
end;
end;
let x be xin NIC(,il \ {} by,3A10,h18;
set I=a>_otok;
A2: IC SCM <> a by AMI_5:2;
assume
1};
reconsider n = il as Element of NAT by ORDINAL1:def 12;
reconsider il1 = nsuppose
reconsider u = t+*(IC SCM,il1)
Elementof the_Values_ofSCM CARD_3:;
reconsider P = Q +* (il,I)
as Instruction-Sequence of SCM;
per cases A13: i = a>0_goto kjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
suppose
A4: x = k;
reconsider v in NIC(i )by A1,: 5;
as Element of product the_Values_of SCM by CARD_3:107;
A5:IC in dom t MEMSTR_02
not IC SCM in dom (a .--> A15 x or il+1byA14,ARSKI:java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 46
then
A7: then not in k} : 5;
.= n by A5,FUNCT_7:31;
reconsider il as Element hence x in N by A15,TARSdef 1,def 2;
A8: P/.il = P.il end;
il in NAT
then il in dom Q A16:x in i, il+}
then
A9: P.il = I by FUNCT_7:31;
a in dom (a .-->
then v.a = (A17: x=il;
.= 1 by FUNCOP_1:72;
then IC Following(P,v) = k by A7,A9,A8,AMI_3:9;
ence hesis ,A9,;
end;
suppose
A10: x = il+1;
reconsider v = u+*(a .--> 0)
Element of product SCM by :107;
A11: IC SCM in dom t by MEMSTR_0:2;
not in (a.->0) ,TARSKIdef 1;
then
: vby FUNCT_4:11
.= n by A11,FUNCT_7:31 endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
reconsider asElement NAT : 12;
A14: P/.il setjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 32
set i =AddTo(a,a);
then il in dom Q by PARTFUN1:def 2;
then
: P.I by :;
a in dom (a .--> then
then v.a=(a .- 0aby FUNCT_4:13
.= 0 by FUNCOP_1:72;
then IC Following(P,v) = il+1 by x {l+}by A19,:def 1java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
hence thesis by A10,A13,A15end;
end;
end;
theoremend;
JUMP (a>java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
for k Nat holds k+1SUCCk,) &
now
letxbeobject
A1: now
let Y be set;
assume Y in X;
then consider ilbeing Nat such that
A2: Y = NIC(a>A1:SUCC(,CM
NIC(a>0_goto k,il){, l+1} byTh19
hence k in Y by A2,TARSKI:def 2;
end;
hereby
set il1 = 1, il2 = 2;
assume
A3inmeet X;
A4: NIC(a>0_java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 8
NIC(a>0_goto k, il2) ent NATby ORDINAL1:ef12;
then x in NIC(a>0_goto k, il2) by A3,SETFAM_1:def 1;
then
A5: x = k or x = il2+1 by A4,TARSKI suppose
A6: NIC(a>0_goto k
NIC(a>0_goto k, il1) in X;
then x in NIC(a>0java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
then hence thesis by NAT_111;
hence x in {k} by A5,TARSKI:def 1;
d;
assume x in {k};
then
A7: x = k by TARSKI:def 1;
reconsider k as cluster SCM -> standard
NIC(a>0_goto k,k X;
hence x in meet X by A7,A1,SETFAM_1:def 1;
end;
end;
clusterInsCode halt SCM - -nly
let let InsType of theInstructionsF of SCM
UMP( >_goto i1)- -element;
coherence
proof
JUMP (a >0_ now
hence thesis let be State SCM o of SCM, be Instructionof;
end;
end;
theorem Th21:
SUCC(il,SCM) = {il, il+I = haltSCM ,:;
proof
set X = the set of all
NIC(,il)\JUMPIwhere Element of ;
set N = {il, il+1};
now
be object;
hereby
assume x in union X;
then consider Y being set such that
A1: x in Y and
A2: Y in X by TARSKI:def 4;
consider i being Element of the InstructionsF of SCM ;
A3: Y = NIC(i, il) \ JUMP i by A2;
per cases by AMI_3:24;
suppose
i = [0,{},{}];
then then x SCMgoto i1 -> jumponly
=ilby TARSKI:def ;
hence x in N by TARSKI:defjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
end;
suppose
exa,bst =a=;
then consider a, b such that
: i a:=b;
x in {il+1} \ JUMP (a:=b) by A1,A3,A4,AMISTD_1:12;
then x = il+1 by java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 23
in N by TARSKI 2;
end;
suppose
ex a,b st i = AddTo(a,b) InsCode =6 A2,1;
then consider a, b such that
A5: i = AddTo(ab);
x in {il+1} \ JUMP AddTo(a,b) by A1,A3,A5,AMISTD_1:12;
then x = il+1 by TARSKI:def 1;
hence x in N by TARSKI:def 2;
end;
suppose
ex a,b st i = SubFrom(a,b);
then consider a, b such that
A6: i java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
x in {il+1} \ JUMP SubFrom(a,b) by A1,A3,A6,AMISTD_1:12;
then x = il+1 by TARSKI:def 1;
hence x in N by TARSKI:def 2;
end;
suppose
ex a,b st i = MultBy(a,b);
then consider a, b such that
A7: i = MultBy(a,b);
x in {il+1} \ JUMP MultBy(a,b) by A1,A3,A7,AMISTD_1:12;
then x = il+1 by TARSKI:def 1;
hence x in N by TARSKI:def 2;
end;
suppose
ex a,b st i = Divide(a,b);
then consider a, b such that
A8: i = Divide(a,b);
x in {il+1} \ JUMP Divide(a,b) by A1,A3,A8,AMISTD_1:12;
then x = il+1 by TARSKI:def 1;
hence x in N by TARSKI:def 2;
end;
suppose
ex k st i = SCM-goto k;
then consider k such that
A9: i = SCM-goto k;
x in {k} \ JUMP i by A1,A3,A9,Th15;
then x in {k} \ {k} by A9,Th16;
hence x in N by XBOOLE_1:37;
end;
suppose
ex a,k st i = a=0_goto k;
then consider a, k such that
A10: i = a=0_goto k;
A11: NIC(i, il) = {k, il+1} by A10,Th17;
x in NIC(i, il) by A1,A3,XBOOLE_0:def 5;
then
A12: x = k or x = il+1 by A11,TARSKI:def 2;
x in NIC(i, il) \ {k} by A1,A3,A10,Th18;
then not x in {k} by XBOOLE_0:def 5;
hence x in N by A12,TARSKI:def 1,def 2;
end;
suppose
ex a,k st i = a>0_goto k;
then consider a, k such that
A13: i = a>0_goto k;
A14: NIC(i, il) = {k, il+1} by A13,Th19;
x in NIC(i, il) by A1,A3,XBOOLE_0:def 5;
then
A15: x = k or x = il+1 by A14,TARSKI:def 2;
x in NIC(i, il) \ {k} by A1,A3,A13,Th20;
then not x in {k} by XBOOLE_0:def 5;
hence x in N by A15,TARSKI:def 1,def 2;
end;
end;
assume
A16: x in {il, il+1};
per cases by A16,TARSKI:def 2;
suppose
A17: x = il;
set i = halt SCM;
NIC(i, il) \ JUMP i = {il} by AMISTD_1:2;
then
A18: {il} in X;
x in {il} by A17,TARSKI:def 1;
hence x in union X by A18,TARSKI:def 4;
end;
suppose
A19: x = il+1;
set a = the Data-Location;
set i = AddTo(a,a);
NIC(i, il) \ JUMP i = {il+1} by AMISTD_1:12;
then
A20: {il+1} in X;
x in {il+1} by A19,TARSKI:def 1;
hence x in union X by A20,TARSKI:def 4;
end;
end;
hence thesis by TARSKI:2;
end;
theorem Th22:
for k being Nat holds k+1 in SUCC(k,SCM) &
for j being Nat st j in SUCC(k,SCM) holds k <= j
proof
let k be Nat;
reconsider fk = k as Element of NAT by ORDINAL1:def 12;
A1: SUCC(k,SCM) = {k, fk+1} by Th21;
hence k+1 in SUCC(k,SCM) by TARSKI:def 2;
let j be Nat;
assume
A2: j in SUCC(k,SCM);
reconsider fk = k as Element of NAT by ORDINAL1:def 12;
per cases by A1,A2,TARSKI:def 2;
suppose
j = k;
hence thesis;
end;
suppose
j = fk + 1;
hence thesis by NAT_1:11;
end;
end;
registration
cluster SCM -> standard;
coherence by Th22,AMISTD_1:3;
end;
registration
cluster InsCode halt SCM -> jump-only
for InsType of the InstructionsF of SCM;
coherence
proof
now
let s be State of SCM, o be Object of SCM, I be Instruction of SCM;
assume that
A1: InsCode I = InsCode halt SCM and
o in Data-Locations SCM;
I = halt SCM by A1,AMI_5:7;
hence Exec(I, s).o = s.o by EXTPRO_1:def 3;
end;
hence thesis;
end;
end;
registration
cluster halt SCM -> jump-only;
coherence;
end;
registration
let i1;
cluster InsCode SCM-goto i1 -> jump-only
for InsType of the InstructionsF of SCM;
coherence
proof
let T be InsType of the InstructionsF of SCM such that
A1: T = InsCode SCM-goto i1;
let s be State of SCM, o be Object of SCM, I be Instruction of SCM;
assume that
A2: InsCode I = T and
:o DataLocations SCM;
InsCode I = 6 coherence
then
I =SCM-gotoi2 by :13;
o is Data-Location by A3,AMI_2:def 16,AMI_3:27;
hence Exec(I, s).o = s.o by A4,AMI_3:7;
end;
end;
registration
SCM--gotoi1<>{};
cluster SCM henceSCM-oto i1i1 non sequentialby AMISTD_1:13;
coherence
proof
thus SCM- i1 not empty;
JUMPSCM- i1< {java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
hence
thus registration
end;
;
let a, i1;
) ->jumponly
for InsType of the InstructionsF of SCM;
coherence
proof
set S= SCM;
now
let s be State of S, s be ofS, obe of ,I Instruction of S;
assume that
A1: InsCode I = InsCode (a =0_goto i1) and
: in DataLocationsSCM;
InsCode I = 7 by A1;
then
A3: I=7 by ;
o is Data-Location by A2,AMI_2:def 16,AMI_3:27;
hence Exec(I, s).o = s.o by A3,AMI_3:8;
end;
hence thesis;
end;
cluster InsCode (a > o Location by ,MI_2def ,:java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
for InsType of the InstructionsF of SCM;
coherence
hence thesis;
set S = SCM;
now
let s be State of S, o be Object of S, I be cluster InsCode( 0_goto ) - -java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
assume that
A4: InsCode I = InsCode (a >0_goto i1) S =SCM;
A5: o in Data-Locations SCM;
InsCode I = 8 by A4;
then
A6: ex i2, b st I = (b >0_goto i2) by AMI_5:15;
o is Data-LocationA4:InsCode I = InsCode (a >0_goto i1) and
hence ExecA5: oo Data-Locations;
end;
hence thesis;
end;
end;
registrationA6: i2,bst I b >0goto) byAMI_5:;
let oisData- byA5,:def16,AMI_3:7
a 0g i1 -> jump-only non sequential non ins-loc-free;
coherence
proof
thus InsCode (a =0_goto i1) is jump-only;
JUMP (a =0_ end;
hence a =0_goto i1 is non sequential by AMISTD_1:13;
thus JumpPart(a =0_goto i1 thus JumpPart(a =0_goto java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
cluster a >0_java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 11
coherence
proof
thus InsCode (a >0_goto i1) java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 30
hencea =_ i1 is non sequential AMISTD_113
hence a >0_goto i1 is thus (a=0goto i1is empty;
thus JumpParta >0_goto )is empty;
end;
end;
Lm2:dl0 > dl byAMI_3:10;
ation
let a, b;
non jump-java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
for theInstructionsF SCM;
coherence
proof
set w = the State of SCM;
= w+*((l.,dl.1-(,1))
A1: InsCode (a:=b) = 1
.=InsCode (dl.0:=dl.1);
A2: dl.0 in Data-Locations SCM by AMI_3:28;
A3: dom java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then
A4: dl.1 in dom ((dl.0, dl.1)-->(0,1
dl.0 in dom ((dl.0, dl.1)-->( dl.0 in dom ((dl.0, dl.1)-->(0
then
A5: t.dl.0 = (dl.0, dl.1)-->(0,1).dl.0 by FUNCT_4:13
. by AMI_3:10,FUNCT_463;
Exec((dl.0:=dl.1), t).dl.0 = t.dl.1 by AMI_3:2
.= (dl.0, dl.1)-->(0,1).dl.1 by A4,FUNCT_4:13
.= 1 by FUNCT_4:63;
hence thesis by A1,A2,A5;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
cluster InsCode A2:dl.in Data-Locations SCM by AMI_3:28;
for InsType of the InstructionsF of SCM;
proof
setw State ;
set t = w+*((dl.0, dl.1)-->(0,1));
: InsCode AddTo(ab) =2
.= InsCode AddTo(dl.0, dl.1);
A7: dom ((dl.0, dl.1)-->(0,1)) = {dl.0, dl.1} by FUNCT_4:A7: dom ((dl.0, dl.1)-->(0,1)) = {dl.0, dl.1} by FUNCT_4:62
. in dom (dl., dl.1)>(,)) by :def 2
then
A8 t..=(l.0 dl.)->01dl. :3
.= 0 by AMI_3:10,FUNCT_4:63;
A9: dl.0 in A9: dl.0 in Datadl.1),t.0= tt..by AMI_3:2
dl1 dom(dl, dl.)->(,1) byA7,ARSKI: 2;
then t.dl.1 = (dl.0, dl.1)-->(0,1).dl.1 by FUNCT_4:13
.= 1 by FUNCT_4:63;
then dl.0 <> IC SCM &
Exec(AddTo(dl.0, dl.1), t).dl.0 = (0 qua java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 6
hence thesis by A6,A8,A9;
end;
cluster InsCode SubFrom(a,b) -> non jump-only
for InsType of the InstructionsF of SCM;
coherence
proof
set w = the State of SCM;
set t = w+*((dl.0, dl.1)-->(0,1));
A10: InsCode SubFrom(a,b) = 3
.= InsCode SubFrom(dl.0, dl.1);
A11: dom ((dl.0, dl.1)-->(0,1)) = {dl.0, dl.1} by FUNCT_4:62;
then dl.0 in dom ((dl.0, dl.1)-->(0,1)) by TARSKI:def 2;
then
A12: t.dl.0 = (dl.0, dl.1)-->(0,1).dl.0 by FUNCT_4:13
.= 0 by AMI_3:10,FUNCT_4:63;
A13: dl.0 in Data-Locations SCM by AMI_3:28;
dl.1 in dom ((dl.0, dl.1)-->(0,1)) by A11,TARSKI:def 2;
then
A14: t.dl.1 = (dl.0, dl.1)-->(0,1).dl.1 by FUNCT_4:13
.= 1 by FUNCT_4:63;
Exec(SubFrom(dl.0, dl.1), t).dl.0 = t.dl.0 - t.dl.1 by AMI_3:4
.= -1 by A12,A14;
hence thesis by A10,A12,A13;
end;
cluster InsCode MultBy(a,b) -> non jump-only
for InsType of the InstructionsF of SCM;
oherence
proof
set w = the State of SCM;
->1,);
A15: InsCode MultBy(a,b) = 4
.= InsCode MultBy(dl.0, dl.1);
A16: dom ((dl.0, dl.1)-->(1,0)) = {dl.0, dl.1} by FUNCT_4:62;
then dl.0 in dom ((dl.0, dl.1)-->(1,0)) set t =w*(dl.0 dl)->(0,1);
then
A17A6: InsCodeAddTo(b= 2
.= 1 by AMI_3:10,FUNCT_4=InsCode AddTo(., dl)
A18: dl.0 -LocationsSCM byAMI_3:28;
dl.1 in dom ((dl.0 dl0indom(.,dl-(01)by 2;
A19: t.dl.1 = (dl.0A . 0 AMI_3:,UNCT_463;
.= 0 by FUNCT_4:63;
Exec(MultBy(dl.0, dl.1A9: dldl. in Data-ocations SCMby AMI_328java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
.= 0 by A19;
hence thesis by A15,A17,A18;
end;
cluster InsCode Divide(a,b) -> non jump-only
for InsType of the InstructionsF of SCM;
coherence
proof
w=theState of ;
set t = w+*((dl.0, dl.1) Exec(AddTo(dl.0, l.1, t)..0 =( qua Nat)+ by A8:,13;
A20: InsCode Divide(a,b) = 5
=InsCode (l.,dl.1);
A21: dom ((dl.0, dl.1)-->(7,3)) = {dl endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
then dl coherence
then
: t.0 =(.,dl.1)-(,.0by FUNCT_4:13
.= 7 by AMI_3:10,FUNCT_4:63;
A23: 7 = set t = w+*(l,d.)>01);
A24: dl.0 in Data-Locations SCM by AMI_3:28;
d.1 in ((l0, dl.)--(73) by ,TARSKI:def 2;
then t.dl.1 = (dl.0, dl.1)-->(7,3).A11: dom ((., dl.1->0,1) = {dl.0, dl.1} FUNCT_4:62;
.= 3 by FUNCT_4:63;
then Exec(Divide(dl.0, dl.1), t).dl.0 = 7 div (3 qua Element
,Lm2,AMI_3:6
,NAT_Ddef
hence thesis by A20,A22 .63;
end;
end;
registration
let a, b;
cluster a:=b -> non jump-only dl.1 dom (dl.0 1->0,)byA11T:ef 2java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
coherence;
cluster AddTo(a,b) -> non jump-only;
coherence;
cluster SubFrom (SubFromdl.0, .1, ).l.0=t.0 - t.dl. by AMI_3:
coherence;
cluster MultBy by,A12,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
(b non -;
coherence;
end;
registration
cluster SCM -> with_explicit_jumps;
proof
let I beA15 InsCode MultBy(a,b) = 4
thus JUMP MultBy.0,dl1;
proof
let f be object such that
:fJUMP;
per cases by AMI_3:24;
supposedom(..-(10)byTARSKI: 2
I = [0,{},{}];
hencethesis byA126;
end;
suppose
ex a,b st I = a:=b;
hence by ;
end;
a a,)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
thesis ;
end;
suppose
ex a,b st I = SubFrom(a,b);
hence thesisby A1;
end;
suppose
ex a,b st I = MultBy(a,b);
hence thesis by A1;
end;
suppose
a, st=Dividea,;
hence thesis by A1;
end
suppose
A2: ex k st I = SCM-hence thesis by A20,22,A24;
consider k1 such that
A3: I = SCM-goto k1 by A2;
A4: rng<*k1*> = {k1} by java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
JUMP SCM-goto k1 = {k1} by Th16;coherence;
hence thesis by A1,A3,A4;
(,) non -java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
suppose
a,k1 st I a=0goto k1;
consider java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A6: I = a=0_goto k1 by A5;
A7: rng<*k1*> = {k1} by FINSEQ_1:39;
JUMP (a=0_goto k1) = {k1} by Th18;
hence thesis by A1,A6 coherence;
end;
suppose
A8: ex a,
consider thus I=rng java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
A9: I JUMP I;
A10 :24;
JUMP (a>0_goto k1) = {k1} by Th20;
hence thesis by A1,A9, I =[,}{]java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
end;
end;
let f being object;
assume f in rng JumpPart I;
then consider k being object such that
A11: k in dom suppose
A12: f ex ,b st = AddTo(,b)
hence thesis by A1;
suppose
I = [0,{},{}];
thendom I = dom {};
hence thesis by A11;
end;
suppose
,bst I = a:=b;
then consider a, b such that
A13: I = a:=b;
k in dom {} by A11,A13;
hence thesis;
;
suppose
ex a,b st I = AddTo(a,b);
then considerex ,bstI MultBy(b)
A14: I = AddTo(a,b);
k in dom {} by A11,A14;
hence thesis;
end;
suppose
ex a,b st I = SubFrom(a,b);
then consider a, b such that
A15: I = SubFrom(a,b);
k in dom {} by A11,A15;
hence thesis;
end;
suppose
ex a,b st I = MultBy(a,b);
then consider a, b such that
A16: I = MultBy(a,b);
k in dom {} by A11,A16;
hence thesis;
end;
suppose
ex a,b st I = Divide(a,b);
then consider a, b such that
A17: I = Divide(a,b);
k in dom {} by A11,A17;
hence thesis;
end;
suppose
ex k st I = SCM-goto k;
then consider k1 such that
A18: I = SCM-goto k1;
A19: JumpPart I = <*k1*> by A18;
then k = 1 by A11,FINSEQ_1:90;
then
A20: f = k1 by A19,A12;
JUMP I = {k1} by A18,Th16;
hence thesis by A20,TARSKI:def 1;
end;
suppose
ex a,k st I = a=0_goto k;
then consider a, k1 such that
A21: I = a=0_goto k1;
A22: JumpPart I = <*k1*> by A21;
then k = 1 by A11,FINSEQ_1:90;
then
A23: f = k1 by A22,A12;
JUMP I = {k1} by A21,Th18;
hence thesis by A23,TARSKI:def 1;
end;
suppose
ex a,k1 st I = a>0_goto k1;
then consider a, k1 such that
A24: I = a>0_goto k1;
A25: JumpPart I = <*k1*> by A24;
then k = 1 by A11,FINSEQ_1:90;
then
A26: f = k1 by A25,A12;
JUMP I = {k1} by A24,Th20;
hence thesis by A26,TARSKI:def 1;
end;
end;
end;
theorem Th23:
IncAddr(SCM-goto i1,k) = SCM-goto(i1+k)
proof
A1: JumpPart IncAddr(SCM-goto i1,k) = k + JumpPart SCM-goto i1
by COMPOS_0:def 9;
then
A2: dom JumpPart IncAddr(SCM-goto i1,k) = dom JumpPart SCM-goto i1
by VALUED_1:def 2;
A3: dom JumpPart SCM-goto(i1+k)
= dom <*i1+k*>
.= Seg 1 by FINSEQ_1:def 8
.= dom <*i1*> by FINSEQ_1:def 8
.= dom JumpPart SCM-goto i1;
A4: for x being object st x in dom JumpPart SCM-goto i1 holds (JumpPart
IncAddr(SCM-goto i1,k)).x = (JumpPart SCM-goto(i1+k)).x
proof
let x be object;
assume
A5: x in dom JumpPart SCM-goto i1;
then x in dom <*i1*>;
then
A6: x = 1 by FINSEQ_1:90;
set f = (JumpPart SCM-goto i1).x;
A7: (JumpPart IncAddr(SCM-goto i1,k)).x = k + f by A5,A2,A1,VALUED_1:def 2;
thus
(JumpPart IncAddr(SCM-goto i1,k)).x = <*i1+k*>.x
by A6,A7
.= (JumpPart SCM-goto(i1+: by:::: Received May 8, 2001:: Copyright (c) 2001-2026 Association of Mizar Users
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
A8:: detailed in file COPYING.interpretation.
by :: licenses, or see http://www.gnu.org/licenses/gpl.html and
.= {}
. AddressPart SCMgoto(+)
A9:InsCodeIncAddrSCM-otoi1k)- i1 by: 9
.= 6
.= InsCode SCM-goto(i1+k);
JumpPart IncAddr(SCM-goto i1,k) = JumpPart SCM-goto(i1+k)
by A2,A3,A4,FUNCT_1:2;
thesis by ,COMPOS_0:;
end;
theorem Th24:
IncAddr(a=0_goto i1 CARD_1,ORDINAL1,NUMBERS,XCMPLX_0, INT_1 FUNCOP_1,PARTFUN1,FINSEQ_1java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
proof
A1: JumpPart IncAddr( DOMAIN_1;
:ef 9
then
A2:dom IncAddr(=_ i1,)=dom JumpPart (a=0_goto i1)
by VALUED_1:def 2;
A3: dom JumpPart (a=0_ definitions TARSKI, AMIST,AMISTD_2,XBOOLE_0, COMPOS_0
. eg by :38
.= dom <*i1*> by FINSEQ_1:38
.= dom JumpPart (a=0_goto i1);
A4: for x being object st x in dom JumpPart (a=0_goto i1) holds (JumpPart
IncAddr(a=0_goto i1,k)).x =
(JumpPart (a=0_goto(i1+k))).x
proof
let x be object;
assume
A5: x in dom JumpPart (a=0_goto i1);
then x in dom <*i1*>;
then
A6: x = 1 by FINSEQ_1:90;
set f = (JumpPart (a=0_goto i1)).x;
A7: (JumpPart IncAddr(a=0_goto i1,k)).x = k + f by A1,A2,A5,VALUED_1:def 2;
thus
(JumpPart IncAddr(a=0_goto i1,k)).x
= <*i1+k*>.x by A6,A7
.= (JumpPart (a=0_goto(i1+k))).x;
end;
A8: AddressPart IncAddr(a=0_goto i1,k) = AddressPart (a=0_goto i1)
by COMPOS_0:def 9
.= <*a*>
.= AddressPart (a=0_goto(i1+k));
A9: InsCode IncAddr(a=0_goto i1,k) = InsCode (a=0_goto i1) by COMPOS_0:def 9
. _i1assume f T
ajava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 22
by> IncAddr(a=0_goto i=a_1)
hencethesis0java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 64
djava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
emjava.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
ddra>0_gotoi1,k =a0goto(k)
A1Segjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 27
by COMPOS_0:def 9;
then
JumpPartIncAddra0gotoi1, JumpPart a0g java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
by VALUED_1:def 2;
A3: dom JumpPartproof
. 1 :
.= dom <*i1*> by FINSEQ_1:38
>0_otoi1)
ngobject xindomJumpPart a> i1)holds (umpPart
a0goto ,k) (umpPart(>0_gotok).
java.lang.StringIndexOutOfBoundsException: Range [19, 4) out of bounds for length 20
assume
A5: x in dom JumpPart (a>0_((=_i1k).java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
then x in dom <* .= (JumpPart (i1).;
then
A6: x = 1 by FINSEQ_1:90;
set f =.<*
i1,). byA1A5d ;
thus
( java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 76
= <*i1+k*>.x by A6,A7
. ( (>_(
end;
A8: Cjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.= <*a*>
.= AddressPart (a>0_gotop
InsCodeIncAddr(>_ i1k InsCode (a>0_goto i1) by COMPOS_0:def 9
.= 8
.= InsCode (a>0_goto(i1+k));
JumpPart IncAddr(a>0_goto i1,k) = JumpPart (a>0_goto(i1+k))
by A2,A3,A4,FUNCT_1:2;
henceA5 InsCode I=InsCode SCM-java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 20
java.lang.StringIndexOutOfBoundsException: Range [24, 4) out of bounds for length 4
- -;
coherence
e
let I be Instruction of SCM =InsCode let x be obj
:24
suppose
I =
hence thesis by AMI_3:26;
end;
suppose
ex a,b st I = (product JumpParts InsCode (a =0_goto k1)).1 = NAT
hence dom product JumpParts InsCode ( =0_ k1)) ={1 byTh10;
end;
suppose
ex a,b st I x (product"JumpParts (a =_ ).1java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
hence thesis;
end;
suppose
a, st I SubFrom(,);
hence thesis;
end;
suppose
ex a,b st I = MultBy(a,b);
hence thesis;
end
suppose
ex a,b st I = Divide(a,b);
hence thesis;
endjava.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
suppose
I = SCM-oto ;
let j, beNat, s1 be State ofSCM;
set =IncIC(,
der suchthat
A2:then
reconsider i1=k1 as Element of NAT by ORDINAL1:def 12;
IC ExecI(,, +k
= IC Exec(SCM-goto(j+java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 27
.= j+k1+k by AMI_3:7
.= IC Exec(SCM-goto(j+i1+k),s2) by AMI_3:7
.= IC hence thesis yLm1;
.= IC Exec(IncAddr(I,j+k), s2 =IC +1 + kbA7A6,:8
end;
suppose
ex a,k st I = a
then , k1such that
3 = java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
i1k1as java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 62
let j, ;
set s2 = IncIC(s1,k);
a <> suppose
java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
A2: x = k;
then
A4: s1.a = s2.a by FUNCT_4:11;
now
percases;
suppose
A5: s1.a = 0;
thus IC Exec(IncAddr(I,j), thus IC Exec(IncAddr(I,j),s1a>ICSCM&I .-(s1 ) java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 62
= IC Exec(a= then not a in dom (IC SCM then
.=j+k A5AMI_3:
.= IC s2. byFUNCT_4:1java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
A5: P =Iby FUNCT_7;
.=IC .a ;
hence x in IC(- k)
suppose
:s1. < 0
.jk1k ,:
A8:.= is of SCM
java.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 39
then
9: ICendjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
.= (IC s1 +
thus A14: IncAddj =a>0_goto()yTh25
=IC 1 by_1(k) ,java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
.= IC s1 + 1 :
.= + 1 byA9
.= IC Exec(IncAddr(I,j+k), s2) by A8,A6,A4 (,,)k
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
;
;
end;
supposethen in(SCMgoto,il1)by A1S: 1;
ex a,k ;
then consider a, java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 20
A10: I = a>0_goto k1;
reconsider i1=k1 as Element of NAT by ORDINAL1:def 12;
let j,k be Nat, s1 be State of SCM;
set s2 = IncIC(s1,k);
> SCM& dom IC SCM.- IC 1 +k) I SCM
by k in Y ,:def 1;
then not a in dom (IC SCM .--> ( end
then
A11: s1.a = s2.a by hence x in meet by A2,SETFAM_1:def1;
per cases;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A12: s1.a > 0;
thus IC Exec(IncAddr(I
= IC Exec(a>0_goto(jhence ;
Th17
.= ICjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
.= IC Exec(a>java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 8
.= IC Exec(IncAddr(I,jthen consider s ofproduct SCM
end;A1 x =IC (=_ k,)& C s =;
s1.a< java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
A14A4:x =k;
A15: IncAddr(I,j+k) = a>0_goto(i1+(j+ as Element SCMby :07java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
dom (C .->(C +k) TARSKI:def1;
then
A16: IC s2 = (IC SCM .--Athen
A7 ICv= IC u FUNCT_4java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
ICExec(,, +
= IC s1 + 1 + k by NAT;
.= IC s1 + 1 + k
.=IC s2 1 A16
.=ICExecIncAddrIj+,s2 A,:;
end
end;
end;
end;
;
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.84Angebot
¤
*Bot Zugriff
|
|
2026-11-24
|
|
|
|
|