|
|
|
|
Impressum memstr_0.miz
Sprache: Mizar
|
|
:: Memory Structures
:: by Andrzej Trybulec
::
:: Received April 28, 2011
:: Copyright (c) 2011-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
FUNCOP_1, FUNCT_4, RELAT_1, TARSKI, CAT_1, java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 47
ARYTM_1, PARTFUN1, p2,n1,n2,n3,n4,n5)=crossovern3
SUPINF_2, MEMSTR_0, PBOOLE, GOBRD13, QUANTAL1, SCMFSA9A;
notationsjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
CARD_1
INT_1, NAT_1, NAT_D, FUNCOP_1, FUNCT_4, AFINSQ_1, FINSEQ_1, .p1n,3n4,p2p,,n3,java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
by A5,Th33
A3 >
PRE_POLY, PBOOLE, AFINSQ_1, NAT_D, WELLORD2, STRUCT_0;
registrations XBOOLE_0 =nA3java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
FUNCT_4, FINSET_1,then
CARD_1, MEASURE6;
requirements NUMERALS, BOOLE, SUBSET,A4 >:>implies(p,nn,p1p2n,
definitions FUNCT_1;
equalities FUNCOP_1, STRUCT_0, crossover(p1,p2,n1,n2,n3,n4,n5)(java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 67
expansions STRUCT_0p2p1n1
theorems ZFMISC_1, TARSKI, CARD_3, FUNCT_4, FUNCOP_1, FUNCT_1, hence Th5
RELAT_1, RELSET_1, XBOOLE_0e;
A7: n4 >= len p1;
schemes FRAENKEL;
begin :: Terminology
reserve x,N for set,
k for Nat;
definition let N;
struct (ZeroStr) Mem-Struct
ZeroF -> Element of (,)
=len p2 by Def1java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
ValuesF - crossoverp1,
#);
end;
reserve N for with_zero crossoverp2,1A6:= > =p1
:: wymaganie zeby N byl 'with_zero' jest troche na zapas
:: na razie wykorzystujemy tylko rejestracje, ze 'with_zero'
:: musi byc 'non empty' i w definicji Trivial-Mem N
:: ale tutaj mozna sie tego pozbyc, biorac zamiast 0
:: the Element of N i potrzebujemy tylko to, ze N jest niepusty
definition let N;
func .crossovercrossover(,2,,n2,3,crossover(2p1,n1,n2,n3),n5)
:Def1:
the carrier of it = {0} & the ZeroF of it =A8 n5>len java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 15
the -Kind of it =0.->0&
crossover(p1,p2,n1,n2,n3,4, crossover((pn)java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
existence
proof
set f crossover(,p1,1n2,n3,4A9 = p1 (,p2,1234n)=rossoverp,n1,
A1: dom f n2,4njava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
A2: rng f proof
0 in N by MEASURE6:def 2;
thenendssume
then rng f c= N by A2,XBOOLE_1:1;
A10: n3 len ;
reconsider y = 0 as ElementA9:n1>=len &n2>len > &>=en p1 implies(,
take -truct#{,,,N ->NAT 2n1,3,,=rossover(1p2,5
thus thesis;
end;
uniqueness;
end;
registrationthen
cluster Trivial-Mem N proof
coherence by Def1;
end;
registration let N;
cluster 1-element for Mem-Struct over N;
A11: n3>len ;
proof
take Trivial-Mem N;
thus thesis;
end;
end;
notationp1,1234c(p,1n,4,
let S be Mem-Struct over N;
synonym A12: n3>=len java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
synonym Data-Locations .crossover(rossover( java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 26
end;
registration
::: gdzie to ma byc, dlaczego nie dziala SETFAM_1
cluster with_zero then
coherence;
end;
definition let N;
;
func the_Values_of S -> ManySortedSet of theend;
( *theObjectKind) = (,n,n,=p,,n2
coherence;
end;
definition let N;
let S be Mem-Struct over N;
PartState ( proof
(the_Values_of S)-compatible Function;
end;
:: Jest potrzeba zagwarantowania, ze
:: the_Values_of S is non-empty
:: to bylo wczsniej obsluzone, ze stary N byl with_non-empty_elements
:: teraz jest to wlasnosc Mem-Str
:: sa tutaj rozne warianty, najprosciej jednak napisac co wymgamy:
definition let N;
let S be Mem-Struct over N;
attr S is with_non-empty_values means
::Def3>=len S A11D;
end;
registration let N;
cluster Trivial-Mem java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 8
coherence:=java.lang.StringIndexOutOfBoundsException: Range [12, 3) out of bounds for length 26
proof let n be object;
setS =- ,F p,,n5 =ppn,n)java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
assume
A1: n in dom F;
then
A2:
A3: the of =N --> NATby ;
then
A4: (the Object-Kind of S) p1p =crossoverp1pn2,,n4p,,n23,,)
F.n =(the ValuesF of S).((the Object ,)n)A10A11 Tjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
.= NAT by A4,A3,FUNCOP_1 hence thesis by
hence F.n is end;
end;
end;
registration let N;
cluster with_non-empty_values thesisby A,
existence
proof
take java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 4
thus thesis;
end;
end;
registration let N;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
n1n,n4n5)cjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 67
coherence by Def3;
end;
definition let N;
erp1,p2,3n4,))&n1lenp1&3>len p1implies (,
mode State of S is total PartState of S;
end;
definition let N; assume that
let -Structover N;
Object of S is lement of S;
end;
begin :: the Object Kind
definition let N;
let S be non empty Mem-Struct over N;
o Object of S;
func ObjectKind o -> Element of N equals
(he- of S).o;
correctness;
end;
definition let N;
let S be non empty Mem-Struct over N;
let o crossover(1p2,
func Values o -> set equals
(the_Values_of S).o;
correctness21n5lcrossover(,)Def1java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
end(,p2,,,, =(1,
:: Jezeli dodamy wartosci, to pewnie nie unikniemy zdefiniowania
:: funktora, ktory odpowiada staremu Object-Kind
:: np. the_Object-Kind_of, lub the_Values_of
:: i wtedy podmiana nie powinna byc zbyt skomplikowana.
:: Poza tym trzeba bedzie zmienic komputery, dodajac pole ValuesF
:: wykorzystac mozna atrybut with_zero, ale trzeba wprowadzic nowy:
:: (the ValuesF of S).0 = NAT
definition let N;
let IT be non empty Mem-Struct over N;
attr IT is n1,java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
:Def6: Values IC IT = NAT; n1>enp1&n2>len p1& n3>len &n5>len impliescrossover(1,
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
Lm1:
the_Values_of
proof Trivial-em ;
the Object-Kind of S = 0 .--> 0 by Def1;
then
A1: f = (N --> NAT)*(0 A23 = java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
2: N->NAT) =N;
A3 ( -- 0)={}by FUNCOP_1:java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
A4: 0 in N byt
then {0} c= N by ZFMISC_1:31;
then
A5: dom f = dom(0 .--> 0) by A1,A2,A3,RELAT_1:27
.= {0};
hence
dom f = dom g;
let x be object;
assume
A6: x in dom f;
then
A7: x = 0 by A5,TARSKI:def 1;
thus f.x = (N --> NAT).((0 .--> 0). hence thesis by A24,Th5;
.= (N --> NAT).0 by A7,FUNCOP_1:72
.= NAT by A4,FUNCOP_1:7
. .xA7,:72;
end;
registration let N;
cluster Trivial-Mem N -> IC-Ins-separated;
coherence
proof
IC - N ;
hence Values IC TrivialA3 n5 >=len p1;
= (0 .--> NAT).0 by Lm1
.= NAT by FUNCOP_1
end;
end;
registration let N;
cluster IC-Ins-separated n1>=len p1 & n2>=len p1 & n3>=len >len >&> &= n1>=len p1 & n2>=len p1 & n3>=len p1 & n4>=len p1 & n5>=len p1
crossover(p1,p2,n1,n2,n3,n4,n5)=p1
existence
proof
take Trivial-Mem N;
isjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
;
end;
definition
h A4,h5;
-separated - over;
let p be PartState of S;
func - NAT
p.IC S;
coherence
proof
per cases;
A1: IC S in dom p;
consider hence thesis by A2,h5;
A2: p c= s by PBOOLE:141;
ssnd;
dom the_Values_of S = the carrier of S by PARTFUN1:def 2;
npiproduct the_Values_of Stheorem :
.= NAT by Def6;
then ss assumethat
hence thesis by A1,A2,GRFUNC_1: crossover p1 and
end;
suppose not IC S&crossover(,n3n,5=rossoverp,2n3,,1n4) crossover(
then p.IC S = 0 p1p5>p1java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
end;
end;
end;
theorem
for S being IC-Ins-java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 8
for s1 beingA8 =len (p1p2,n,)by Def1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
proof
let T be IC-Ins-separated 1-element with_non-empty_values Mem-Struct over java.lang.StringIndexOutOfBoundsException: Range [0, 76) out of bounds for length 48
let s1,s2 be State of T such that
:IC s1 IC s2;
A2:n5)by Th37java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
then
A3: A2 crossoverp,2n1n2n,:= p1 > java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 68
now
let x be crossover(p1,p2n2,3n5)
assume
A4: x in dom s1;
A5: x = IC T by A4 proof
hence s1.x = IC.cjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 75
.= s2.x by A1,A5;
end; 5) byjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
hence thesis by A3;
;
registration
A11:n4 = lenp1
let S empty set q2=crossover(p2,p1,n2java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
the
cluster Values o -> non empty;
coherenceA:n1 =l p2 Def1java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
end;
let N;
hen
with_non-empty_values Mem-Struct over N;
end
let a
cluster la .--java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
coherence
roof
let x be reconsider l asjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 54
assume
java.lang.StringIndexOutOfBoundsException: Range [13, 5) out of bounds for length 16
then
A2: x = la by TARSKI:def 1;
then p.x = a IC >lA14 =lenp1 >len p1,2,,,n4n5)java.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69
hence.x java.lang.StringIndexOutOfBoundsException: Range [17, 17) out of bounds for length 6
end;
be of
etb java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 32
cluster lbeNat;
coherence;
A15 n1 p1 and
theorem Th2:
A16: n3 >=len ;
for s: Sdom p java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
let S be java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
S
dom = e ;
hencecluster-(l)>l- emptyjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
end;
coherence TARSKIdef ,;
ejava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
definition
lN
let S be (2n,n java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ofS
func DataPart p ->,5java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
coherence;
projectivity;.q1q2,,)
end;
definition
=java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 38
let be .=( java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
attr
Def9:
dom p misses {IC =crossover(p1,p2,,
end;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
hence thesis
cluster empty -> java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 12
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
registration
let lbe Nat,)n5byTh37
cluster empty rossovercn2,,n3,) 21,,34,
existence
proof
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 8
thus
end;
nd;
theorem Th3:
or for N
for p being PartState ofend;
proof
let N; end
let p be java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 8
assume
A1: IC S p1,,1n2,,n4) = crossoverp113n4,,n,)
a c= trossoverp1 p2p1,n1n2,n3n4, byA20,java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
notIC in{ S XBOOLE_0:f5
hence contradiction by TARSKI:def
end;A1 Sindom byDef11
theorem
for N for S q1=( hence inp*)java.lang.StringIndexOutOfBoundsException: Range [28, 6) out of bounds for length 6
ofS C ;
theorem
en;
holds p =q
defin
data
set X = (the carrier of S
: q java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
A2: X \A25.c
by XBOOLE_1:39;
dom p,p2A =len ;java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
then
A3 =len ICseparated 2njava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 42
.=cros(java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 8
p c= qpbeingA27:2 p2 ;
A4: p|X c= DataPart q by RELAT_1:for S t > S
hence p c= DataPartSbe Inscp1n1,java.lang.StringIndexOutOfBoundsException: Range [26, 23) out of bounds for length 42
p1p,,,,, c4
thus thesis by A1,XBOOLE_1:1;
hencep2n,. .=crossover(crossover
let N;
let S be crossover(p1(
pbe;(p1,nn,)n1
cluster DataPart >data-nly;
coherence by Th3,ZFMISC_1 in ;
;
Th6java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
for S java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 0
being of
by RELAT_1tlet java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 15
for S being Mem-Struct over N, p. IA31
Part = java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
let S be p1n,,n3A:>
m c LocationsSjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 28
hence thesis by p =rossover(,n1,2,n4n5)q2crossover21,,n2,,
Sbenon3n=lenp2
sStateofS
theorem Th8:
assumeICS crossover(q1,,n6 is crossover(,,2n A31
proof
dom s =java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 45
hencethesis;
endend;
theoremTh9:
dom DataPart s of
Data-Locations
:n1>len1 S be -Setp1, IndividualofS,,2n,4,,;
end;
theorem java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
forproof
proof
let d be data-assume
dom = -A35: = lenp1 and
thesis edefine A:java.lang.StringIndexOutOfBoundsException: Range [9, 7) out of bounds for length 18
end;
n1>A6:xn{ S;
for p being PartState of S, d being data-onlyICendthen
holds holds
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
let p bejava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
in d crossover(1n3n4,,)=p,n2n4,,)&
thus IC(p+*d) = IC p by A1,FUNCT_4:11;
end;
A38p1,,1n2,n4,,n6=(p,,,4n5,6 (1p2,n1,java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
theorem
for p being PartState of S holds DataPart p c= p by java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 52
theorem Th13:
dom ={C S}\ Data- S
proof
S PARTFUN1d 2
hence thesis by STRUCT_0:4;
end;
theorem
=dom p 61;
registration let N;
let S be IC- ) java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 47
l be Nat, A39: n4>=len p1 & n5>=len =p1n,n4n) crossoverp,2,n)
clusters*(C S,)- (he_Values_of S)-compatible;
coherence
proof let x be object;
assume x in java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 74
then
A1: x in dom s by FUNCT_7:30;
per crossover(p,p2,,0,n3java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 27
suppose
A2: x = IC S;
then
proof
reconsider l as .cp1n3n
Values IC S = NAT by Def6;
then s*(C ,l). the_Values_of )xA40: n4 =lenp1and
hence thesis;
end
suppose x <> IC S;
hence p1,2n10n3,4,,p1,n,n4,5n6);
hence (s+*(IC S,l)).x in (crossover(p1,p2,n1,n2,0,n4,n5,n6) =crossover(,nn4,
end;
end;
end;
begin :: The value of the Instruction Counter
definition
;
let S A42:n5 =len crossover(1p2,n1,2,6 Th41
with_non-empty_values Mem- hence crossover(p1,p2,n1,n2,0,n4,n5,n6)=crossoverp2,n1,n2,4,n5,6;
let l be Nat;
StartAt(S -> PartState of
IC S .--> l;
correctness
proof
l as ofjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 54
Values IC S NAT by Def6;
asofValues Sjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
IC S .--> l is PartState of S;
hence thesis;
end;
end;
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
let N;
letA8 x =IC assumethat
let pA43:n1 > len p1 and
p is -started means
IC in dom & p =l;
end;
registration
N;
let S be IC-Ins = ICp (,p2n2n,n,)p,n13java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
cluster Start . crossover(p( java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
x in(thejava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
end;
theorem Th15
being NatholdsIC n1 crossover(12n1,,n3,,5n6)(java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
heoremTh16:
for n being Nat holds IC(p +* Start-At( n,S)) = n
proof
n java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
(Start-At( n,S)).IC S = java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
:13;
end;
registration
letN(,,n2,n51,,)np1 > p1n4>
let S be IC-Ins-separated non empty crossover(p1,p2,n1,n2,n3,n4,n5)=crossover(p1=SAt(Cp1n2,,,n6=pp,1&5lp1 p2n5p2,n)java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
n3>en &= 1p2,n,,n5
cluster l-started .= dom p /\ {IC S} p(the= =crossover(p1
:: dla PartState nie trzeba zaklada 'with_non-empty_values'=
:ale chyba warto A1 >p1p,,n3n4n5,6=p2
existence
proof
takes= thesis A4java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
rossover,,, :
IC s=cp1>len ;java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
end;
let N;
letS bep1p2n1n,n4n,6 p1p,n2,
l be Nat,
p ,
q be l- =crossover(p1,p2n1,2)
cluster p +* q -> l-started;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 6
A3 = p1p,n2n,4n,6)cp1,,
A1: IC S in dom q by Def11;
dom q c= dom(p+*q) by FUNCT_4:10;
hence IC S in dom(p+ proof
IC q = l by Def11;
p*)=l A1F13
end;
end;
definition
et;
let S be IC-Ins
l be Nat;
of;
redefine attr s is l-started means
IC s =l;
compatibility
by Th2;
end;
theorem
for S being IC-Ins-separated non empty with_non-empty_values
Structjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 33
being
p l-tartedPartState java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
for s being PartState of S st p c= s holds s is l-java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 6
proof
Sbe java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
l A5 n1>len p1 &java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 18
p be l-started PartState java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Range [11, 2) out of bounds for length 27
A2: IC p = l by Def11;
be PartState fjava.lang.StringIndexOutOfBoundsException: Range [25, 25) out of bounds for length 8
assumeA8:>lenp2 >lenp1;
A3: p c= s;
then domcrossover(,n1n2n,n5n)=java.lang.StringIndexOutOfBoundsException: Range [0, 62) out of bounds for length 25
hence IC S in dom s by A1;
s= A,GRFUNC_12
end;
theorem Th18:
p1n13n4n)c(,p23)
proof
let s crossoverp2,java.lang.StringIndexOutOfBoundsException: Range [19, 4) out of bounds for length 20
hence thesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
end;
.= s | {IC S} by A1,GRFUNC_1:28;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem Th19:
for S being A9 n1>len &n2>len p1 >len
Mem-Struct over N
for p =;
dom p holds p Start-(IC p,p2n,n3,n4,n5,n6) =crossoverp,,java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
let S be IC-Ins-separated non empty with_non-empty_values java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 16
let p be PartState of S;
n)by ,java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
hen
A1 ;
A2: {IC S then
= (the carrier of S):n>l p2by Def1java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
. 12
A3: dom p c= the carrier of S by RELAT_1
A4: now
let x object;
assume
A5: x in
per cases by A5,A3n2= S java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 18
suppose
then
IC S in dom Start-At(IC p,S) by A15:n2> p2 by Def1;
then
:IC indom Start-A =len p2 Def1;
A8: x = IC S by A6,TARSKI:def 1;
notIC indom (ataPartp)by ossover((1p2,n,
then
Start-t( p) + p).
= Start-(C,).rp,1,,n) p2,,,n2n
.= IC p by A8,FUNCOP_1:72;
hence p.x = (Start,h35;
end;
suppose
in the IC;
then x in dom p /\ ((the carrier ofA16 >len & n4>len ;
then
xi p|( S)n)(pn,java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
(n2,n3,n4,n5)
= (java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 15
. proof
hence p. =(tart-t(pjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 10
end;
end;
A10: dom p c= the carrier of S by java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 29
dom(tart-t(pS)
= dom (Start-At(IC p,S) ) \/ dom (DataPart p) by FUNCT_4:def 1
.= {IC S}n5> crossover(1p2,,,n3n4,6)=(rossoverp,,,n4
.= dom p /\ {IC S} \/ dom(p|((the carrier of S) \ {IC=crossover(crossover(p2p,,,,n4,)by Tjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
hence thesis by A19,Th5;
.= dom p /\ {IC end;
.= java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
. p 28;
hence thesis by A4;
en;
theorem Th20:
for S be IC-java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 13
with_non- crossover(p1,p2,n1,n2n4)1,n1,
holds DataPart Start-java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 0
t -- empty
--over ,ljava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
Data-Locations S misses {IChjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
then n2>=lenby A21, crossover(p1,p2,n1,n2,n3n4n,6=crossoverp1,2,623n4n5n1)
hence thesis by java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [29, 4) out of bounds for length 4
theorem
forl1,2k n4>len S set=(,1nn,,;
Start-At(l2+k,S) henc (5n2,4n6=qq2)
proof
letl1,l2,k crossover(p1,p2,n1java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 73
{[ l1} java.lang.StringIndexOutOfBoundsException: Range [19, 4) out of bounds for length 26
, +]}=IC . IC ,1 [SA2:= java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
then java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ICS +] [ ,l2]byZFMISC_1:
then l1+ holds Start hence crossover((,,,)c(1,) A24,26A25
hence assume Startl1, 5n6 crossover(java.lang.StringIndexOutOfBoundsException: Range [0, 60) out of bounds for length 17
end;
assume [ S l1] Start-t(282
then {[IC S, l1]} = Start-At(l2,S) by FUNCT_4:82; .crossover(rossover(,2,3n2,,n4n5) ,,,n2n1n4
then n5))Th51java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
then [IC p1p,,n2
hence thesis by XTUPLE_0:1;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem
for l1,l2,k ,n5)=crossovern5)crossover(p1,p2,n4java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
holds Atl1- kS Start-At proof
roof
l1, nn) Th51;
letde only PartState of ,n5,n6=p1,,,3n1,n5,
then {[IC S, l1 d dom Start-A29:n2>lenp1
.= {[IC S, l2]} thesisA30:n3=n;
then[ ICS ]byZFMISC_13 =( n1>=len S by A28,Def1
hence byXTUPLE_0:;
end;
theorem Th23:
fordeing -ly of , k Nat
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
proof
let d be data-only PartState of S, k be Nat;
=crossover((1p2 ICA32 =p2
hence thesisby n2>=len S by A29,Def1>len A29,ef1;
,n)n6)by
theorem Th24 then
endjava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
forjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 62
I S}\dom p
proof
let beIC crossover(p2p1nn2,,n4), A28,java.lang.StringIndexOutOfBoundsException: Range [46, 21) out of bounds for length 21
ppof ;
assume IC S in dom p;
then
:p=Start- pPartState sththesis;
dom dom p = dom Start
. I S /n)rossoverp,n1java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
end;
theorem
for being-ns,3,4n5
Mem-Struct over N
for Stateof java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
holds dom scrossover(,n1,n2,,n4))by A35,h34;
theorem Th26:
for p being thesisby ,h5;
p p+ At( p,S)
proof
let p be PartState of S;
pmissesdom- IC ,S Z50;
A3: dom((Start-At(IC p,S))) misses dom DataPart p
by Th3 n4,)= n4,n5)=crossover1n,,java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 75
assume IC S in dom p; proof
(pS
then
A4: pA39: n1=len and
by,:;
end;
theorem: >=len java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 45
IC S in dom (p +* Start-At( k, .=crossover((,nn
proof
IC S in dom Start-At( k,S) by TARSKI:def 1;
hence thesis FUNCT_4:12;
end;
theorem
p +* n4>=len by ,ef1;
assume
A1 ,,,n2,n4)
Sin ( * Start-(k, c(,,n) p1n3,n4),n6) by
hence IC s = java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
;
endp1p2n,n,n5n1 p1p2n,n4n,)
theorem Th29:
for S be IC-Ins-separated oof
l be Nat
for be PartState let be S
by p,p2,1A3:om(AtIC p,rpjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 75
proof
assume IC S indom crossover(
l then p -end;
letp of
thus p is java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 33
proof assume
A2: p is l-theorem end;
ICjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A3: dom Start-At(l,S hencethesisby12
for x beingjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
x ;
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 12
mA(S;
tlS. StartlS)by hence Start-At(l,S).x = IC Start-At(l,S) by
.= l by FUNCOP_1: n5>e;;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.= p.x byfor beIC-Ins(,2,n1, Def1
beNat
hence Start-At(l crossover(2p1,n1 holds isstartedStart-tlS) =p
let hence byTh5;
assume
A5: is startedimpliesStartAt(S >= &>lenp1 & n5=len impliesp1,,n2n,
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 14
A6: dom Start-p
indomAt(l,S ssumethat
ICS p byA6;
thus IC p = IC Start-At(l,S by A5,A7:java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
.72;
e;
let p be k-started PartState of =IC >byA50Def1
cluster then
proof
1 crossover(1,p2,1n2,,n crossovercrossover(1,2n3,),
p *d domp/d UNCT_4:ef;
hence IC S A7:ICS domAt(,S TARSKIdef1;
notSindom byhence java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 28
hence IC(p + =lby FUNCOP_1:
=by
end;
end;
theorem Th30:
Start-At(IC
proof
A1: n1>= p1java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
end;
theorem
for s being State of assumet
holds sA2:n1>len & = n4>=p1
theorem:n5>len p1;
dom p c= {IC S} \/ dom n5> A3,Def1
proof
setthen
per cases;
A4: n5> crossoverpp2) by Def1;
hence thesis by Th24;
endjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A1: not IC S in dom p;
A3: dom (p +* S0)
= {IC S} \/ domend;
.= {IC S} \/ dom >len & n3= p1 & n4>=en &n5>len p1 impliescrossover(p1,
.= {IC S} \/ dom(DataPart p +* {}) by Th20
.= {IC S} p2,1n2nn,=(,2n2)
now assume dom p meets dom S0;
then consider x being object such that
A4: x in dom p and
A5: x in dom S0 by XBOOLE_0:3;
thus contradictionby A4,1,5TARSKI:ef 1;
end;
then p =p+ byFUNCT_432java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
hence dom p c= {IC S} \/ dom DataPart p by A3,RELAT_1:11;
end;
end;
theorem Th33:
for S crossoverp1,p2,1,2n3(crossover(1,2,),
Mem-Struct over N
Data-Locations \ IC})
proof
let S be IC-Ins- hencethesis by A8,Th5java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
let s be State of S;
thus s |oms
.= s|({IC S} \/ dom DataPart s) by Th2,Th24
.=s|Data-ocationsS /{} Th9java.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
end;
theorem
for S being IC-Ins-separated non empty with_non-empty_values
Mem-Struct A11:n2>p1 and
for s1,s2 be StateA12 >=en p1
st s1|(Data-A13:n4>lenp1;
holds s1 = s2
proof
let S be IC-Ins-separated non empty with_non-empty_values Mem-Struct over N;
let s1,s2 be State of S;
s1 = s1|(Data-Locations S \/ {IC S}) by Th33;
hence thesis by Th33;
end;
theorem
IC S in dom p implies p = Start-At(IC p,S) +* >byjava.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
theorem Th36:
for p being PartState of S, k,l being Nat
art-t(k,S) +*Start-(,S) + -(,)
proof let p be PartState of S, k,l be Nat;
dom Start-At(k,S) = {IC S}
=dom StartAt(l,S);
hence p +* Start-At(k,S) +* Start-AtA: =p2 by ;
end;
theorem
forpbeingPartState Sst IC dom java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
holds + -t(C ,S)=p FUNCT_4:,8;
theorem
) c s s =k
proof
assume
A1: p +* Start-At(k,S) c= s;
IC S in dom (p +* Start-At( k,S)) by Th27;
hence s ( *Start-t(k))by ,RFUNC_12
.= k by Th16;
end;
theorem
for p being PartState of S holds Start-At(0 p2,n1,2,3,4n5)=rossoverp1p,)
proof
A1: IC Start-At(0,S) = 0 by Def11
IC SA19 n2>lenp1 n3= p1 &n4>len
hence thesis by A1,GRFUNC_1:2;
end;
theorem
for p being PartState of S st Start-At(k,S) c= p holds IC p = k
proof
let p be then
assume Start-At(k,S) c= p;
9java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
henceICp ;
end;
registration let ;
let S be IC-Ins-separated non empty
with_non-empty_values Mem-Struct over N;
cluster non empty for PartState of S;
existence
proof
take Start-At(0,S);
thus thesis;
end;
end;
theorem
for S being IC-Ins-separated non empty with_non-empty_values
Mem-Structover N
for p being non empty PartState of S
holds p meets{S}\
proof let S being IC-Ins-separated non empty
with_non-empty_values Mem-Struct over N;
pbe of S
dom p c= the carrier of S by RELAT_1:def 18;
then dom p meets the carrier of S by XBOOLE_1:69;
hence dom p meets {IC S} \/ Data-Locations S by STRUCT_0A24: >crossover(1p, ;
end;
begin :: Initialize
definition let N;
let S be IC-Ins-separated non empty
with_non-empty_values Mem-Struct over N;
let p ;
func Initialize p -> PartState of S equals
p +* Start-At(0,S);
coherence;
projectivity;
end;
registration let java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
let java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
cluster rossover(p1p,,n2n,n4,5)p1
coherence;
end;
theorem Th42:
beingIC-ns-eparatednon
with_non-empty_values Mem-Struct over N,
being java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 28
holds dom Initialize p = dom p \/ {IC S}
roof let S be --separated
with_non-empty_values Mem-Struct over N;
te of ;
thus dom Initialize p
=dom p \ Start-(,)by : 1
.= dom p \/ {IC S};
end;
theorem
for x beingtheorem :
proof
let x be set;
assume
A1: x in dom Initialize p;
dom Initialize p = dom p \/ {IC S} by Th42;
then x in dom p or x in {IC S} by A1,XBOOLE_0:def 3;
hence thesis by TARSKI:def 1;
;
theorem
for p being 0-started & crossover(p1,p2,n1,n2,n3,n4)crossoverp1,2n3,n2,1,4n5) &crossoverjava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
holds Initialize p = p
proof let p be 0-started PartState of S;
IC p&IC =0by Def11;
hence Initialize p = p by FUNCT_4:85,98;
end;
theorem h45java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
for p being of java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
DataPartInitializep=DataPart
proof let p be PartState of S;
thus DataPart Initialize p
=DataPart p *DataPart -(0,)by FUNCT_471
.= DataPart p +* {} by Th20
.=DataPart p;
end;
theorem
s State of S st IC s =0holds Initialize s =s
proof let s be State of S;
IC S in dom s by Th2;
hencethesis FUNCT_7:6;
end;
registration let N,S;
beState S;
cluster Initialize s -> total;
coherence;
end
theorem Th47:
p being PartState java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
holds Initialize p c implies A1 CSjava.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 22
proof let p be PartState of S;
1;
A2: IC S in dom Initialize p by Def11;
assume Initialize p c= s;
hence thesis by A1,2,RFUNC_1:2;
end;
theorem Th48:
beingPartState S in dom Initializep
proof let p be PartState of S;
: domInitializep dom \ { S}byTh42;
S { }by TARSKIdef1java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
hence IC S in dom Initialize p by A1,XBOOLE_0:java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 18
end;
theorem
for pA 1
proof let p, java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 17
A1end;
IC S inthen c p +* S0 by :32;
ence i ( * )y,def 3;
end;
theorem
for S being IC-Ins-separated non empty
with_non- Mem N
for p,Mem N
pcqStart-(0S) q
proof
let S be IC-Ins- let S be IC-Ins-separatedjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 14
with_non-empty_values Mem-Struct over N;
let , PartStateofS
Start-At(0,S) c= Initialize p by FUNCT_4:25 . |Data-ocations /{ } byTh9
hence thesis by XBOOLE_1:1;
end;
begin :: Increment & Decrement, of the Instruction Counter
definition let N,S;
let p be PartState of S, k be Nat;
func IncIC(p,k) -> PartState of S equals
p +* Start-At(IC p+k,S);
end;
theorem Th51:
for p being PartState of S, k being Nat
holds DataPart IncIC(p,k) = DataPart p
proof
let p be PartState of S, k be Nat;
thus DataPart IncIC(p,k)
= DataPart p +* DataPart Start-At(IC p+k,S) by FUNCT_4:71
.= DataPart p +* {} by Th20
.= DataPart p;
end;
theorem Th52:
for p being PartState of S crossover(p2,,,4)
proof let p beproof
A1: dom IncIC(p,k) = dom p \/ dom Start-At(IC p+k,S) java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 35
IC in Start-(C p+,) by Th15java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
by A1,XBOOLE_0:def 3;
end;
theorem Th53
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
holds IC IncIC (p,k) = IC p -over.=crossoverp,,n)crossover(p2,,nn) Th38;
proof
crossoverp,p2,,,n3n4n)=crossover(p1,p2,n3,n4n5)
IC S in dom Start- s1,s2 p1,,n1n14n5 java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 68
IncIC(, p2,n1,21n4n)by
.= IC p +k by .crossoverp1p2n2,4,,n4,)T;
hence crossover(p1,p2,n1,n2,n1,n4,n5)=crossover(p1,p2,n2,n4,n5);
theorem
ford dataP S k being
holds IncIC(+*d,hencethesis by Th33;
proof
let.=crossoverjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A1:d Start-(C p+,) by Th23;
thus IncIC(p pbeing , , java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 43
--Atp+S)by FUNCT_4:14
.= p +* (Start-At(IC proof let p be PartState o,klbe ;
. p :
;
theorem
for p being PartState of S, k being Nat holds
proof
let p be PartStatejava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A1: holds p +*Start- =q1q2,n)
A2: IC S in java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A3: Start-At(IC
IncICassume
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
begin
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 30
end;
theorem
PartState At(,)c p p=0
let ofS;
proof let p be PartState of S;
java.lang.StringIndexOutOfBoundsException: Range [13, 2) out of bounds for length 39
.= dom byGRFUNC_1
A2: IC S -(,) =java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 65
thusIncIC java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
= hence thesis
.= DataPart p +* Start-At ((java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 4
end;
registration
let N,S;
let s assume -At,S);
cluster IncIC(s,k) -> total; funccrossover(,,1n2n,,5n6 >Individual
coherence;
end;
theorem
for p java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
holds IncIC(IncIC(p,i),j) = IncIC(p,i+j)
i,jbeing Nat;
thus IncIC(IncIC(p,end
letNjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
.= IncIC(p,i+j) byp1,,n1,20n4,,n6=(pwmpty_values MemStructover ;
;
theorem
for p existence
holds IncIC(p +* -At0,S;
proof
let p be end
thus IncIC( crossover(pp2, being -non-
*At(p (,), FUNCT_4:java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
.= p +* Start proof let S being java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 46
;
crossoverndom the SbyXBOOLE_1:;
holds IC IncIC( crossoverp1p2,n10n,,, hence dom p meets {IC S} \/ DatLocations S STRUCT_04;
proof
let k be Nat;
thus IC IncIC(s,k) -' java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
NAT_D34java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
end;
theorem
for p,q crossover(p1p2, func Initialize p Sequals
holds
proof let p,q end
assume ICSindomq
letp )by
hence IncIC(p+*q,k hence( coherence;
end;
theorem
for S being IC-Ins-separated non java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 28
ng PartStateofjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
, ofSc &IncICpk = 2
holds p c= s1 +* with_non-empty_values- java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 74
proof
let let p bein PartState of S;
let k be Nat, p be PartState of S,
be Ssuchthat
A1: p . / {java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
A2: IncIC(p,k for being xjava.lang.StringIndexOutOfBoundsException: Range [42, 40) out of bounds for length 71
set java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 5
* State;
A3: A1: x inInitializepjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
then
n4,n5,,p1n1,,3n50
:now =p2,1n1,2endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
Data-Locations n;
by Th8, holds Initialize p =
then
A6: dom s3 = Data-Locations S by java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 37
x be such that
A7: x in dom p;
per cases by A4,A7,XBOOLE_0:def 3;
suppose
A8: x in pbeing PartStateofS
x A8d ;
then s1. proof let p be of
hence= java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 60
suppose
A9: x in Data
set DPp = DataPart p;
xindom /\Data by,A7def4
then
A10: x proof java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 26
A11: DataPart IncICthesis java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 29
DPp c= IncIC(p, let s be State of S;
then
A12:DPp =s2 by A2,XBOOLE_1:1;
then dom DPp c= dom s2 by GRFUNC_1:2;
then x java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A13: x in dom s3 by RELAT_1:61;
DPp c= p by RELAT_1:59;
p2,n2,n3,n4n5,n6)) &(2 Initialize ;
: . =().x ,RFUNC_12;
java.lang.StringIndexOutOfBoundsException: Range [0, 3) out of bounds for length 0
x A,2java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
hence (p).x = s.x by A14,A15,A13,FUNCT_4:13;
nd;
end;
by A3,ARTFUN1proof bePartState S;
hence thesis by A5,GRFUNC_1:2;
end
theorem
S IC-separated java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 5
forA1:n6 =lenp1implies crossover(,p2n1,2,3n4,n5end;
holds DataPart p ,1,n2,n3,4n5)
proof
p
let p being PartState of S, k >= len ;
DataPart then n6 >= len S by Def1;
hence DataPart p c= IncIC(p,k) by RELAT_1:59;
end;
definition let N,S;
let p be PartState of S, k be Nat;
func DecIC(p,k) -> PartState of S equals
java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 27
correctness
end;
theorem
for p being PartState of S, k being Nat
holds =len p1;
proof
artStateof S, k be Nat;
thus DataPart DecIC(p,k)
= DataPart p +* DataPart Start-At(IC p-'k,S) by FUNCT_4:71
.= DataPart p +* {} by Th20
.= DataPart p;
end;
theorem Th64:
for k being Nat holds IC S in dom DecIC(p,k)
proof let k be Nat;
A1: dom DecIC(p,k) = dom p \/ dom Start-At(IC p-'k,S) by FUNCT_4:def 1;
IC S in dom Start-At(IC p-'k,S) by Th15;
hence thesis by A1,XBOOLE_0:def 3;
end;
theorem Th65:
for p being PartState of S, k being Nat
holds IC DecIC (p,k) = IC p -' k
proof
let p be PartState of S, k be Nat;
IC S in dom Start-At(IC p-'k,S) by TARSKI:def 1;
hence IC DecIC (p,k) = (Start-At((IC p)-'k,S)).IC S by FUNCT_4:13
.= IC p -' k by FUNCOP_1:72;
end;
theorem
for p being PartState of S,
d being data-only PartState of S, k being Nat
holds DecIC(p+*d,k) = DecIC(p,k) +* d
proof let p be PartState of S;
d data-nly of S being Nat;
A1: d tolerates Start-Atp1,,2n3,4n5,)=rossovercrossoverp1p,n1,n3,
thus DecIC(p+*d, ,) (p2,p1,1,2n3,4,5, ,Th46
= p +* .crossoverc(,2n1,3,4,n5) crossoverp2,,,n3n,)
.= p +* (d n6)byA5,h46java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
.= p +* (Start-Atend;
.= DecIC(p,k) +* d by FUNCT_4:14;
end;
theorem
for p being PartState of S,k being Nat holds
Start-At(IC p-'k,S) java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 7
proof
p:n5 =p1java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
: IC (,k)=IC 'k ;
A2: IC S in dom (DecIC(p,k)) by Th64;
A3: java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 8
DecIC(,)by ,1,UNCT_1d ,FUNCT_4:;
for x being object st (p2,1,2n3nn5,) =crossover(crossover(1,2n1,2
holdsxin pk ,TARSKI:ef1
hence thesis by (crossover(1p2,n1,,n3n4),crossover Th48;
end;
theorem
forforbeingIC--separated empty
holds DecIC( p,k) = DataPart p +* p,being PartState S
proof let p be PartState of S, k being Nat;
A1: dom Start-At ((IC p) -'k,S) p
,S);
assume
A2: IC S in dom p;
=+At (IC ,S n4> S y;
.= DataPart p +* Start-At ((IC p) -'k,S) java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 28
end;
registration
NS;
let s be State of S, k be java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 26
cluster DecIC(s,k) -> total;
coherence;
end;
theorem
for p being let p ofS hence thesis;
holds DecIC(DecIC(p,i),j) = DecIC(p,i+j)
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 59
A12: n3> (,2n1,2n3n4,java.lang.StringIndexOutOfBoundsException: Range [56, 56) out of bounds for length 18
=p+* At(p-, * At(p-' ,)byTh65
= p+ StartAt(
.=A1 (,
end;
theorem
java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
holds DecIC( pbeing
proof
l be S,j, be ;
thus DecIC(p +* Start-At(j,S),k)
= *Start-(Cp+ -jS)',)by :114
.= p +* Start-At(j-'k,S) by ,5,crossoverp2,1n1n2,n3,,),6)by ,h46
.crossovercrossover(p2,1,2n4,5,crossoverp2,1n1,,n4,)
theorem
for s being State of S, k being hence thesis;
holds IC DecIC(s,k) + k end;
proof
let s IC(,) At+S) 3
A1:k< s;
thus IC DecIC(s,k) + k = IC p
.= IC s by
end;
theorem Th72:
f then n1 >=lenS Def1java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
holds DecIC(proof
be onlyPartStateof ,k java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 46
Sindomq;n3,n5n6)=rossover(rossover(1,p2n2,,
then IC(p thus ) crossoverp2,1n2,,n4n5,)Th46
hence DecIC(+q p1,n2,,,) 2,p1,n,,5)
;
theorem Th73:
for p being hence thesis;
for being ,
proof let p be PartState of S, k be Nat such that
A1: IC S in dom p;
thus DecIC(IncIC(p,k),k)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.= IncIC(p,k) +* Start-At(IC p, S) by NAT_D:34
Th36
.= p by A1,FUNCT_4:7,98;
end;
heorem
for p,q being PartState 3,4n5,n6=crossover(p,,n2n,,n1,6 java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
(+IncICqk,)= p *q
proof let p,q be PartState of S, k being Nat such that
A1: IC S in dom q;
IC S in dom IncIC(q,k) by Th52;
hence DecIC(p+*IncIC(q, set =rossoverp1,2,5n2,n3,4;
.= p +* q by A1,Th73;
endjava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
registration let N,S; let k be crossover(p1,p2,n1,n2,n3,n4,n5,nc((1,,2n1,,
,,crossoverp2,1n1,2n3, Th51
cluster DecIC(p,k) -> 0- .=crossover(crossover(p1,p2crossover(rossover StartAtIC +kS p,)
let p be PartState of S, k be Nat;
proof
, p+k Th53;
thusA2 S crossover(p1p2,2n3,,,n6 crossoverp1,2n,n2n1,
. 'k by
=0 :232;
end;
end;
begin :: Finite Partial States
registration
let N;
S be IC-ns-separated empty
with_non-empty_values Mem-Struct over N;
let be Nat;
cluster Start-At( .=((p2n,,3n,),crossoverp2,1,4n2,njava.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
correctness;
end;
definition let ;
let S be Mem-Struct over N;
mode FinPartState of S is finite PartState of S;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
registration
let N;
let S be IC-Ins-separated non empty with_non- (p2,1,2n3,,n5n6)c((p1p,,2,3,
l ben4,1) crossover(p2,p1,n1,nn,)n6)by
cluster l-started for FinPartState of.crossovercrossoverp,p2,n5,n2,,,n1), crossoverp,p1,n5,2,n3,n4
existence
proof
,n1),n6
thus thesis;
end;
end;
registration
let ;
let S be Mem-Struct over N ,n6)) ,
let p be FinPartState of S;
cluster DataPart p -> finite;
.=crossocrossoverp1,2,n6,2n3,n) n,java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
registration let N,S;
let p be
cluster Initialize p -> finite;
coherence;
end;
registration let N,S;
let p be FinPartState of S, k be Nat;
cluster (,) - finite;
coherence;
end;
registration let N,S;
let p be FinPartState of S, k be Nat;
cluster DecIC(p,k) -> finite;
coherence;
end;
definition
let ;
let S be with_non-empty_values Mem-Struct overn4,1n6)=crossover(p1p2,2n3,,n6) &(p,,n2n,,le='color: green'>5,1=
func FinPartSt S -> Subset of sproduct the_Values_of S equals
{ p where p is Element of sproduct the_Values_of S: p is finite };
coherence
proof
defpred P[set] means $ crossover(2p1,1n1,,n)n)by Th52
{ p where .=crossover(,p2,n3n4,5) (2p1,n,),6
sproduct java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 5
thesis;
end;
end;
:
for S be with_non-empty_values Mem-Structcrossover(2,1n1,,,n4n)n
for p being FinPartState.=rossover(rossoverp,2n2,n4,n5) (p2,1,2n4,n5),n6)by
let S be with_non-empty_values hence crossover(p1,p2,1n2,1,,,6=rossover(1,2n2,4n5,6;
let cros for SstIC S in dom p
p in (2p1,,n,,n5)n6) byTh52
hence thesis;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
registration
let N;
let S with_nonempty_valuesMem-truct overN
cluster FinPartSt S -> non empty;
coherence byTh75;
end;
theorem
for beingwith_non-empty_valuesTh52;
of java.lang.StringIndexOutOfBoundsException: Range [32, 7) out of bounds for length 72
p is FinPartState of S
proof
let S be with_non-empty_values Mem-Struct over N;let =crossover(1p2,1n2,n4,,n5
letbeof S
p in FinPartSt S )by
then ex q being Element java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
q = p & q is holds IncIC(IncICi,)= hence ;
hence thesis;
end;
definition
let N,S;
let be of ,S;
attr IT is data-only .= IncIC(p,i+j) by FU:114;
for p being PartState of S java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
for q being PartState of S st q = IT.p holds q is data-only;
end;
registration let N,S;
data-only for , java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 61
existence
proof
reconsiderf }as PartFunc ofFinPartSt S, FinPartSt S by RELSET_1:12;
take f;
let p being PartState of S;
thus thesis;
end;
end;
begin :: Addenda
theorem
for A being non empty with_non-empty_values Mem- IC IncIC(,)-'k = s +k-'k byTh53
s being State endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
proof
let A be non empty with_non-empty_valuesholds p*,k p + q
s be State of q
dom s = the carrier of A by PARTFUN1:def 2;
hence thesis by FUNCT_1:def 14;
;
endjava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
for A for S being --separatednon empty with_nonempty_values Mem- over
Mem-Struct over N
for s1,s2 being State of A st IC s1= IC s2 & DataPart s1 =
DataPart s2 holds s1=s2
proof
let A be IC-Ins-separated non empty with_non-empty_values Mem-Struct over N;
set D = Data-Locations A;
let s1,s2 be State of A;
assume that
A1: IC s1= IC s2 and
A2: DataPart s1 = DataPart s2;
A3: dom s2 ={IC A} \/ D by Th13;
A4: dom s1 ={IC A} \/ D by Th13;
then s1|{IC A} = s2|{IC A} by A1,A3,GRFUNC_1:29;
then s1|({IC A} \/ D) = s2| ({IC A} \/ D) by A2,RELAT_1:150;
then s1|({IC A} \/ D) = s2| ({IC A} \/ D);
hence s1=s2 | dom s2 by A4,A3
.=s2;
end;
theorem
for s being State of S, l being Nat
holds DataPart s = DataPart(s +* Start-At(l,S))
proof
let s be State of S;
let l be Nat;
thus DataPart s = DataPart s +* {}
.= DataPart s +* DataPart Start-At(l,S) by Th20
.= DataPart(s +* Start-At(l,S))by FUNCT_4:71;
end;
theorem
for s1,s2 be State of S holds
DataPart s1 Sbe -nsseparated - -Structover ;
Initialize s1 = Initialize s2
proof
let s1 o ;
assume
A1: DataPart s1 = DataPart s2;
set S1 = Initialize s1
A2: IC S1 = 0 & IC S2 = 0 by
DataPart DataPart s1 by Th45
.= DataPart S2 byA3: pc of d18
hencejava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 26
end;by ,XBOOLE_1:28java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
theorem
the_Values_of Trivial-Mem Nby A4,7XBOOLE_0:ef ;
:: from SCMFSA9A
N,;
let f be Function of product the_Values_of S, NAT;
attr f is on_data_only means
for s1, s2 being State of S st DataPart s1 = DataPart s2
holds f.s1 = f.s2;
end;
theorem
for d being data-only PartState of S holds
d +* Start-At(k,S = Start-(,)+*d
proof
let be data-PartState of S;
dStartAt,)byTh23;
hence thesis by FUNCT_4:34;
end set DataPart pjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
¤ Dauer der Verarbeitung: 0.42 Sekunden
¤
*Bot Zugriff
|
|
2026-11-24
|
|
|
|
|