Quelle genealg1.miz
Sprache: Mizar
|
|
:: Basic Properties of Genetic Algorithm
:: by Akihiko Uchibori and Noboru Endou
::
:: Received April 24, 1999
:: Copyright (c) 1999-2026 Association of Mizar Users
:: (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.
environ
vocabularies XBOOLE_0, FINSEQ_1, SUBSET_1, NUMBERS, NAT_1, proof
java.lang.StringIndexOutOfBoundsException: Range [40, 11) out of bounds for leng th 40
thenreconsiderk9 kas Element dombyFINSEQ_1:ef ;
Sk9 <{;
constructors SETFAM_1, XXREAL_0, XREAL_0, NAT_1, CARD_3, RFINSEQ, PARTFUN1,
BINARITH, REAL_1, NAT_D, RELSET_1;
registrations XBOOLE_0, then consider x being Eleme .
ORDINAL1
k in do A2FINSEQ_1def3java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
SUBSET_1;
theorems FINSEQ_1, FINSEQ_2, FUNCT_1, NAT_1, SUBSET_1, ZFMISC_1, FINSEQ_4,
, FINSEQ_6, RFINSEQ, CARD_3, java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
PARTFUN1, XREAL_0;
schemes FINSEQ_1;
begin :: Preliminaries
reserve D java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
reserve f1, endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
reserve i,n,n1,n2,n3 S&fork Nat st inSeglenS holdsPk,ITk
theorem Th1:
for n being]f FINSEQ_1sch5(1)
proof
let n be Nat;
A1: njava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,n;
len(f1^f2) = len f1 + len f2 by FINSEQ_1:22;
then len f1 funccrossover(,p2,)- ofGAS
A2: (1,2n1,(p2p,)n2;
java.lang.StringIndexOutOfBoundsException: Range [44, 41) out of bounds for length 66
: 1
A4java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
. n f2byRFINSEQ
.= len f1
A5;
f1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
let i be Nat;
assume func(,,,,,,)-> of
:<= and
A7: i <= lenjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
nlen(^f2n A6:;
then
A8: i p2n1n2n3n4n,6 >Fjava.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 77
reconsiderasElementNAT def12java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
per cases
A9:p1,for Individual ofjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
;
A10: 1 <= i+n by A6java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A2: len crossover(p1,p2,n: len crossover(1,p2,) =len(1n + len (2^n)by FINSEQ_1:22;
i+ inSeglen f1 ,INSEQ_11java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
then
A11: i+n . S ' byDef1. p1 ' byDef1
i =(1^)byA1
then i in (,,)=n +(len p1 - n) ,A3,FINSEQ_159
then
A12: i in dom(f1/^n) by FINSEQ_1:def
A13: ((f1/^n)^f2). ;
.= f1.(i+n) by A1,A12,RFINSEQ:def suppose
(f2/n).f^)(+)by A2,RFINSEQdef java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
.= n=p1Seg nby :def16;
hence A13;
end;
suppose
A14:A5: |n =p1 byA4,:;
then
A15: len(f1/^n) < i by A1,A6: len p1 -n <0by ,REAL_1:;
i <= len((f1/^n)^ len(p2/^n) = len p2 -'n by RFINSEQ:29
A16: ((f1/^n)^ =len -nby
.= f2by A6,REAL_0def 2;
.=f2.i+n -len );
end;
A18endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
. .i+ -lenf1 byA18,F24java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
hence java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 7
A7: i in (p,n;
end;
hence thesis;
end now
len((^f2)n)=len(f1/n)^2)by A3F:;
hence thesis by A5, suppose
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem Th2java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
(f1^f2)|len (|java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
proof
(f1^f2)|(len f1 + i) = (f1^ .= p1/.i by A8,FINSEQ_4
: 16;
hence thesis by FINSEQ_6 (|n. inS. A8A9D;
end;
:: Definitions of Gene-Set,GA-Space and Individual
definition
mode ex beNat indom(p2/n) &= (n+;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
notation
let S be Gene-Set;
synonymGA- S Sjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
registration
let f be non proof
cluster Union f - ;
coherence
proof
Union f = then n len byFINSEQ_1def 3;
hence ;
end;
end;
definition
let S be Gene-Set;
mode IndividualofS>FinSequenceof GASpace S means
:Def1:
len =len &for i dom it holds it.iin .;
then
proof
defpred P[ k<=len -n XREAL_1:19;
A1: for k be Nat st k in Seg len S ex x being Element of GA-Space k inSeglenp2/n by A10,:def 3;
proof
let k be Nat;
A2: k in Seg len S 1 +n <len p1 XREAL_1:19;
then reconsider k9 = k as Element of then
S.9< {;
then consider x len p1 <= len p1 NAT_11;
A3: x in [#](S.k) then
k in dom S by A2,:def 3;
then S.k in rng assume (|;
then [#](S.k) c= union byA14,15,INSEQ_1:59,XXREAL_02;
then reconsider (|) < by :;
take xjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 58
end + Seg len p2 by;
consider IT java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 12
A4: dom IT = Seg(p,)i =(2/)k byA10AFINSEQ_1:def
]fromFINSEQ_1s byA10,INSEQ_527
take IT. n+k) by A17,PARTFUN1:def 6;
thus thesis by A4,FINSEQ_1:def 3;
end;
end;
begin :: Definitions of several genetic operators
definition
end;
func crossover(p1 end;
);
correctness;
end;
definition
hence thesis by ,Def1
funccrossover(p1,p2,n1,n2) -> FinSequence of GA-Space S equals
crossover(
crossover(p1,p2,java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
correctness;
end;
definition
let S be Gene-Set, p1,p2 be FinSequence redefine func crossover(p1,2n ->Individual Sjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
func crossover(p1,2,1n2,3 > FinSequenceof GA-Space S
crossover
(crossover(p1,p2,java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
correctness;
end;
definition
let S be Gene-Set, p1,p2 be FinSequence of GA-Space S, n1,n2,n3,n4;
func crossover(p1,p2,n1,n2,n3,n4) -> java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 15
crossover(crossovert Th5
n >= len p1 implies crossover(p1,p2,n) = p1
end;
definition
letS be Gene-, p1,2be FinSequence -Space,n1,n,,java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
func crossover(p1 then
crossovercrossover(p1,p2,1,2,3,4)crossoverp,,n,n3n)n5)java.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74
orrectness
end;
definition
let -,p1,p2 be FinSequence of -SpaceS,n,nn5,
crossover(pn,n3,4,n5,n6)- FinSequence ofGA-pace
crossover(crossover(p1,p2,n1,n2e;
correctness;
end;
begin :: Properties of 1-point crossover
crossoverp1p,n)isIndividual java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
reservep1, for Individual ofS
theorem java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 4
crossover(,p2n Individual of S
proof
A1: len crossover( ;
proof
A2: len crossover(
now
per cases -et p1, be Individual of S,n1n2;
redefine fu crossover(,,1n2) ->Individual of S;
A3: n <= len p1;
len(p2/^n) = len p2 -'n by RFINSEQ:29
S -' by Def1
.= len p1 -'n by Def1
.= end;
then java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 12
. len p1;
hence thesis by Def1;
end;
suppose
4: n>len 1
p1| =p1| n by FINSEQ_1def16;
then
p1|n = by ,INSEQ_220;
A6: len p1 - n < 0 by A4,XREAL_1:49;
:
crossover(p1,2,n,)=crossover(,p1njava.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
. p1 ' by Def1
.= 0 by A6,reconsider q2=crossover(p2) as Individualof ;
,Def1;
end;
end;
hence ;
end;
for i st i in dom crossover(p1,p2,n)end;
theoremTh9java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
let i;
assume
A7: i in dom crossover(p1,p2,n);
now
percases by A7,
suppose
A8: i in dom(java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 17
A9 dom|)c p1 :8java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
then
.=p1/i by FINSEQ_470
.= p1.i by by ,Th5java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
then (p1|n). n2 > lenp1 crossover(,p2n,n2=(,p2java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
by A8,FINSEQ_1:ef7java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
end;
suppose
ex k A1
then considerA2 > SDef1
:k (2^)and
A11: i = len(p1|n)+k;
reconsider hen
A12: n <= len(p1|n)
proof
n+k in dom p2 by A10,FINSEQ_5:26;
thenn+ Seglen p2 byFINSEQ_1:ef 3;
then n+k <= len p2 by FINSEQ_1:1;
then n+k <= n1>len p1 A2,ef1
thenn+k< len p1 by Def1;
end;
A13: k <= len p1 - n by XREAL_1:19;
kin lenp2^n)byA10,:def 3;
then 1 <= k by FINSEQ_1: hence thesis;
then 1 <= len p1 nd
then1+n < len p1 XREAL_1:9java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
then
14 n <= len p1 - - 1 by XREAL_1:19;
< p1 1byNAT_111;
A15: len p1 - 1 <= len
assume n > len( then
hencecontradiction by A14,A15FINSEQ_159XXREAL_02java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
end;
>len crossover()
A16: len(p1|n) .p1p2/n)by ,:java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
then n+k in Seg =p1 :34
then n+k in Seg len p2 by Def1;
then
A17: n hence thesis;
crossover(p1,p2,n).i ;
.= (p2/^nend;
.= p2/.(n+k) by thesis;
.= p2.(n+k) by A17 end;
thesis ,16,,Def1;
end;
end;
hence thesis;
end;
hence thesis by java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;
definition
S be Gene-,p1,p2 be IndividualofS n;
redefine func crossover(p1,p2,n) -> Individual of S;
correctness ;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 5
crossover(p1 suppose
java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 9
.= p2 by FINSEQ_5:28;
hence thesis;
end;
theorem Th5:
n >= len p1 implies crossover(p1,p2,n) = p1
proof
assume
: n> len p1;
then n >= . p2 by FINSEQ_1:4;
then
A2: n >= java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
crossover(1p2,n)=p1(p2/n by A1,FINSEQ_1:java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
=p1{}by A2,FINSEQ_5:java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
. p1 by FINSEQ_1:34java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
hence thesis;
end;
begin :: Properties of 2-points crossover
theorem Th6:
crossover,p2,n1,2) is Individual of S
proof
reconsider q1=crossover(p1,p2,n1 hence thesis by A8,A7;
S
crossover(q1java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
;
end;
definition
let S be Gene-Set,
redefine func crossover(p1,p2,n1,) - Individual of S
correctness by =|2 by A5,INSEQ_5:77java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
end;
theorem Th7:
crossover(1,p2,0,)= crossover(p2,p1,)
proof
crossover(p1,p2,0,n) = crossover(p2,crossover(p2java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 14
. crossover(p2,p1,) by Th4;
hence thesis;
end;
heorem Th8:
crossover(p1,p2,n,0) = crossover(p2,p1,n)
reconsider q1 = then consideribeingNatsuch that
rp2,,) as Individual of S;
crossover(p1,p2,n,0) = crossover(q1,q2,0) .= q2 by Th4;
end;
:
n1 >=
proof:p1| i =n1 by A1,A3,5A9,12,INSEQ_159,XREAL_0:;
assume
A1: n1 >= len p1;
en S Def1;
then
A2: n1 >= len p2 by Def1.=p1|)(p2|1)/n2java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
crossover(p1,p2,n1,n2) = crossover(p1,crossover(p2 = 1^n1 by ,3A5,A9,A12,java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 34
hence thesis by A2,Th5;
end;
theorem Th10:
n2 >= len p1 implies crossover(p1,p2,n1,n2 now
proof
assume n2 >= lenA18 > ;
thenn2 > len S by Def1java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
A19:n2 > len p2by A3,ef1
:n2> len crossover(1,,n1)by ;
crossover(p1,p2,n1,n2) = crossover(crossover(p1,p2,n1),crossover(p2,p1,
n1),n2);
hence thesis by A1,Th5;
theorem
n1 >= len p1 & n2 >= len p1 implies crossover(p1,p2,n1,n2)=p1
proof
assume that
A1: n1 >= len p1 and
A2: n2 >= len p1;
crossover(p1,p2,n1,n2) = crossover(p1,p2,n2) by A1,Th9;
hence thesis by A2,Th5;
end;
theorem Th12:
hen
proof
A1: (((p2|n1)^(p1/^n1))/^n1) = (p1/^n1)
proof
now
A21 (p2n1^(p1/n1)^n2 = {}byA19,:;
suppose
n1 <= len p2;
then (p1|n2)(p2/n2)=p1{}by A19,FINSEQ_532
hence thesis FINSEQ_5:;
end;
suppose
n1 > then
then
A2: n1 > len S by Def1;
then n1 > p2| A19,FINSEQ_158;
A3: (((p2|n1)^(p1/^n1 =p2 FINSEQ_1:34;
>len p1 by A2,Def1;
hence thesis by A3,FINSEQ_5:32;
end;
end;
hence thesis;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
((|)(p2/n1)|n1) = (p1|n1)
proof
now
per cases;
suppose
n1 <= len p1;
then len (1n1 = n1 by FINSEQ_1:59;
hence hencethesis by A17,A18,A21,A22,A23,FINSEQ_1:58,XXREAL_0:2;
end;
suppose
A4: n1 > len p1;
then
A5: n1 > len S by Def1;
then
A6: n1 > len p2 by Def1;
n1 > len crossover(p1,p2 now
then ((1|1^(2^n1)|)=(p1|)(p2/^1)by FINSEQ_1:58
.= p1^(p2/^n1) by A4,FINSEQ_1:58
.= suppose
FINSEQ_1:4
.= p1|n1 by A4,FINSEQ_1:58;
hence thesis;
end;
end;
hencejava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
end;
hence thesis by A1,RFINSEQ:8;
end;
theorem Th13:
crossover(p1,p2,n1,n2) = crossover(p1,p2,n2,n1)
proof
A1: len ;
len (p2|2^p1/^n2) = len
then
A2: len p1|n1by ,FINSEQ_5:7java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
A3: len p2 = len S by Def1;
)^(p2/n2) =len crossover(1,p2,n2);
then
A4: len(p1n2^(p2/^n2) =len S by Def1;
now
per cases by NAT_1:3;
e
A5: n1 >= A28: (p1|n1)(p2/^n1)|n2 =(p1|)((2^)i by A27,Th2;
now
per cases;
suppose
A6: > len p1;
then p2|n1 = p2 by A1 then
then
A7: (p2|n1)^(p1/^FINSEQ_5:36
= p2 by FINSEQ_1:34;
p1|n1 = p1 by A6,FINSEQ_1:58;
then
A8: (p1|n1)^({ by,,A6,INSEQ_532
.A30 =n2- n1 by A26,A27;
((p1|n2)^(p2/^
then
crossover(p1,p2,n2,n1 suppose
.= (p1|n2)^(p2/^n2) by FINSEQ_1:34;
hence thesis by A8,A7;
end;
suppose
A9: n1 < len p1;
then len(p1|n1) = n1 by FINSEQ_1:59;
then
A10: ((p1|n1)^(p2/^n1))|n2 = (p1|n1)|n2 by A5,FINSEQ_5:22
.= p1|n2 by A5,FINSEQ_5
n1 <= len p2 by,p2n1 java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 64
then n2 <= java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 4
then
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
. ^p|^)(n)by32
len(p2|n2) = n2 by A1java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
A12: len(p2| > java.lang.StringIndexOutOfBoundsException: Range [64, 17) out of bounds for length 64
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 7
02java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
then
A14: len(A1: n1 >= len p1 =
then i=n1-n2 byn1 java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 61
then
A15: i= n1
:(n2^n)n1((/| ,
.= (p1p1,,,n2) java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 55
((p2| =java.lang.StringIndexOutOfBoundsException: Range [22, 18) out of bounds for length 29
. java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 73
.=p,,,n)
hence thesis . java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 75
hence cros(,n2n3) = crossoverp2n)
crossovp,n1n3 java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 52
hence thesis;
end;
suppose
A17: n1 < n2 & n2 > 0;
now
per cases ;
suppose
A18: end;
n)=,,3n,
then
A19p1p2n1n2n3 java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 64
A20: n1 >= len java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 4
then (p2|p2n1n1n3=java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 66
(|)p/ ^} FINSEQ_532
.= p2 by FINSEQ_1:34;
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
(|)(^n1)/^n2 = { by A19,FINSEQ_5:32;
(p1|n2) = p1 by A17,A18,FINSEQ_1:58, crossover(p1,p2,n1,n2,n1) = crossover(p1,p2,n1,n1,n2
(^^ ^}A19F32
.= p1 by FINSEQ_1:34;
then
(|)(n)=:java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
(p2|n2) = p2 by A19,FINSEQ_1:58;
then (p2|n2)^(p1/^n2) = p2^{} by A17,A18,FINSEQ_5:32,XXREAL_0:2
.= p2 by FINSEQ_1:34;
then
A23: ((p2|n2)^(p1/^n2))/^n1 = {} by A20,FINSEQ_5:32;
(p1|n1)=p1 by A18,FINSEQ_1:58;
then (p1|n1)^(p2/^n1) = p1^{} by A20,FINSEQ_5:32
.= p1 by FINSEQ_1:34;
hence thesis by A17,A18,A21,A22,A23,FINSEQ_1:58,XXREAL_0:2;
end;
suppose
A24: n1 < len p1;
n1 <= len(p1|n2)
proof
now
per cases;
suppose
n2 >= len p1;
hence thesis by A24,FINSEQ_1:58;
end;
suppose
n2 < len p1;
hence thesis by A17,FINSEQ_1:59;
end;
end;
hence thesis;
end;
then
A25: ((p1|n2)^(p2/^n2))|n1 = (p1|n2)|n1 by FINSEQ_5:end;
.= p1|n1begin :: Properties of 4-points crossover
len(1| by ,:java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 74
A27: len(p1|ofjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
reconsider i as
T
lenn1 by,A359java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
;
then
: java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 78
FINSEQ_5:36
.(1n1^p2^)i^p1^) 81
.=(p1|n1)^((p2/^n1)|i)^(p1/^n2) by A24,A27,FINSEQ_1:59;
7;
n1 <= len(p2|n2)
proof
now
percases
suppose
n2 >= len p2;java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
byA,FINSEQ_1:;
end;
suppose
len java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
Fjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 48
end;
end;
hence thesis;
end;
then (java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
.(n1|'^p1^ :java.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
.=( hence p1p2n,,, java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 63
A,:32;
end;
end;
hence thesis;
end;
crossover,,0,0 p10n) java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
A31: n2 = 0;
then crossover(p1,p2,n1,n2)= crossover(p2,p1,n1)crossover(,p200,0,n4) = (,p20,n4)byTh30java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
=java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 40
hence thesis by A31;
end;
hence thesis;
begin :: Properties of 3-points crossover
,n3 ofS
proof,n2n,)p1n1n2n3n)=
reconsider q1=crossover(p1,p2,n1,n3,n4)) & (n3 >= len p1 implies crossover(p1,p2,n1,n2,n3,n4)
Individual ofS
crossover(q1,q2, )=crossover(,2,,n2n)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
hence;
end;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
et S be -et,p1,2be Individual of S, n1,2n3
=S java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
A2 > p,,,) java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
;
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
crossover(p1,p2,0,n2,n3) = java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 6
p,0 n3 java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 79
,p1,n1 n4java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
proof
p1p20n2n3 java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 74
,n)n3 Th7
.= crossover(crossover(p2,p1,n2),crossover(p1,p2,n2),n3) by Th7;
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 58
crossover(p1,p2,n1,0, java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 68
n1n2n3, A4
.(java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 68
hence crossover(p1,p2,n1,0,n3) = crossover(p2,p1,n1,n3);
crossover(p1,p2,n1,n2,0) = crossover(crossover(p1,p2,n1,n2),crossover(p2
,p1,n1,n2),0);
hence thesis by Th4;
end;
theorem
crossover(p1,p2,0,
) = crossover
proof
crossover(p1,p2,0, =l
p,,, crossoverp,n3 java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
crossover(p1,p2java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
n1,) java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 61
crossover(p1,p2,0,n2,0) = java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 7
h7java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
hencejava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 72
end;
theorem
crossover(p1,
proof
crossover(p1,p2,0,0,0) = java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 24
hence thesis by Th4;
end;
n1 >=java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
proof
A1: n1 > java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 24
then n1 >= len S by Def1java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 21
then(,,1n2n3n4 java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 73
: = ;
crossover(p1,p2,n1,
n2,)A1
.= crossover(p1,p2,n3,n4)
hence thesis;
end;
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
n2 >(,,,, java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 73
proof
assume
=
then hence thesis by A1,A4,A13,A10,A7;
then
A2: n2 java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
crossover(p1,p2,n1,n2,n3) = crossover(p,,,n3 ,,) n1=& p1 =
p1p2n2,,)=p1p2n) n1>
.= crossover(crossover(p1 =p1 =java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 73
end;
theorem Th20:
n3 >= A1: n1 >= len p1 & n2 >= len p1 & n3 >= len p1 implies crossover(p1,p2,n1,n2
proof
assume n3 >= len p1;
then n3 >= len S by Def1;
A1: n3 T;
crossover(java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 6
p2,p1,n1,n2),n3)n3 = java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 74
hthesis Th5
end;
theorem Th21:
=&=p,n,3 java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
p2java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
assume that
A1: n1 >= len p1 and
A2: n2 >= len p1;
crossover(p1A:> p1 = =p,,
hence thesis by A2,Th9;
d;
theorem
n1 >= len p1 & n1 >= len p1 & n3 java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 35
p1p2n)
proof
assume that
A1: n1 >= len p1 and
A2: n3 >= len p1;
crossover(p1,p2,n1,n2 > = =java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 74
hence thesis by A2,Th10;
end;
theorem
n2 >==java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
,,)
proof
A1: n2 >= len p1 hence thesis by ;
A2: n3 >= len p1;
crossover(p1,p2,n1,n2,n3) = crossover(p1,p2,n1,n3) by A1,Th19;
hence thesis by A2,Th10;
end;
theorem
& >(1,,,
n2,n3) = p1
proof
assume that
A1: n1 >= len p1 & n2 java.lang.StringIndexOutOfBoundsException: Range [13, 8) out of bounds for length 13
A2: n3 >= len p1;
crossover(p1,p2,n1,n2, p2n,n3n)=p2n4 T;
hence thesis hence thesis by ;
end;
theorem Th25:
crossover( crossover(p1,n,) java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 63
crossovercrossover(p1,p2,n1,n2,n3,n4) = crossover(p1,p2,n1,n3,n2,n4) & crossover(p1,p2,
setp,,,n4n2 java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 78
q2java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 29
n1n, java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 73
p2,p1 ,n2,,) java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 78
p2n2n1,java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 75
;
crossover(p1,p2,n1,n2,n3) = crossover(q1,q2,n2,crossover(p1,p2,n1,n2,n3,n4) = crossover(p1,p2,n3,n2,n4,n1) & crossover(p1,p2,
.q,3n2 Th13
.= crossover( ,n2,,)&p2n1n2n,) java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 76
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 15
end;
crossover(p1,crossover(p1,p2n4 ,,n4
=(q1,q2,4,3)by
.,q1n)n3;
by
end;
theorem .=crosso(java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 79
crossover(p1,p2,n1,A3: crossover(p1,p2,n1,, java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 63
n1, setcrossovern3;
proof
crossover(p1,p2,n1,n1,n3) = p2 java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 70
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 62
crossover(p1,p2, .java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 76
.=crossover(p1, .=crossover(p1,crossover
hencejava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 62
thus crossover(p1java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
.java.lang.StringIndexOutOfBoundsException: Range [42, 34) out of bounds for length 53
.=crossover(p1,p2,n1) by Th12=q,
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
begin :: Properties of 4-points crossover
theorem Th28:
ssoverp,,n2n4 IndividualS
proof
ssover(,n2n3,p2p1n,
Individual of S;
crossover( q2p1n3;
hence
end;
definition
let S be Gene-Set, p1,p2 be Individual of cjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 76
p1p2n,2n3n4 > ;
correctness by Th28;
;
theorem java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 59
crossover(p1,p2,n1,0,java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 4
(p1,n2n,) java.lang.StringIndexOutOfBoundsException: Range [77, 76) out of bounds for length 79
n,2n)
proof
crossover(p1,p2,0
p2 java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 63
.=crossover(crossoverjava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
hence crossover(p1,p2,0,n2,p2,java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 76
crossover(p1,p2 .=crossover(java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 76
p2,p1,n1,0,n3),n4) by.java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 76
.java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
hence crossover=q2n4
p2,n20n4 crossover(crossoverp2p1n1n2,java.lang.StringIndexOutOfBoundsException: Range [74, 73) out of bounds for length 74
p2,p1,n1,n2,0),n4) by Th15
.=crossover(crossover(p2,p1,n1,n2),crossover(p1,p2,n1,n2 h26
.crossover(crossover(p1,p2,n4,n3,n2),crossover(p2,p1,n4,n3,n2),n1) by
crossover(p1,p2,n1,java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 17
crossover(p2,p1,A6: crossover(p1,p2,n1,n2,n3,n4) = crossover(p1,p2,n2,n1,n4,n3)
hence thesis by Th4;
end;
theorem Th30:
crossover(p1,p2,0,0,n3,n4p,n2n3,)byTh25
p1,p2,.c(p1,n2,java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 76
crossover(p1 =java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
crossover(p1,p2,n1,0,0,n4java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 74
) = crossover(p1,p2,n1,n2)
proof
p1,,p200n3n4 java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 64
hence crossover(p1,p2,0,0, java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 34
p2n2n3n4 (p2n2n1n3,
hence crossover(p1,p2,0,n2,0,n4) = crossover(p1 java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
crossover(p1,p2,0,,n4n)Th13
hence crossover(=crossover(crossoverp2n,cjava.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 73
crossover(p1,p2,java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
p1p2n,,0 java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 68
crossover(p1,p2,n1Th26java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
hence crossover(,2n1,0,,) p,,n4 Th15;
crossover(p1,p2,n1,n2,0,0) = crossover(p2,p1,n1,n2,0) by Th29;
hence thesis A8:crossover(p1,p2,1n2,,)=crossoverp1,,n4,
end;
theorem Th31:
crossover(p1,p2,n1,0,0, set q1=(1,2,1,)
p2,,,,)=crossover(p2,,n2 crossover(p2,,,,)=java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
p1, crossoverp1,2000n4)=crossover(n4)
proof
crossover(p1,p2,n1,0,0,0) = crossover(p1,p2,n1,0
(p1p2,,0,,0)=crossover(p2,p1,n1) by Th8;
crossover(p1,p2,0,n2,0,0) = crossover(p1, =q1,,2)by
hence crossover(p1,p2,0,n2,0,0) = crossover(p2,p1,n2) by Th7;
crossover(p1,p2,0, endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
hence crossovercrossoverp,,n1,,n3n4 n3n2,
p1p2000n) java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 60
hence .=crossovercrossoverp1,p2n,,2),crossover(p2,p1,n3n1,, java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
end;
theorem Th32:
crossover(p1,p2,0,0s .crossover(crossover(p1,p2,n3,n2,n1),crossover(p2,p1,n3,n2,n1),n4) by
proof
crossover(p1,p2,0, =java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 38
hence thesis by Th4;
end;
theorem java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
(n1 >= len p1 impliescjava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 34
p1p2n2n3n4 n2n1n3,
crossover(p1,p2 (p2,p1,,n2,)n4 Th25
= crossover( .=rossover(crossover(n3),rossover(p2,p1,2n1,),4
4)=p,2,,,n3)
proof
:n4 =len impliescrossover(p1,2n1,n2,3n4)=crossoverp1,2,1
n2,n3 =q1q2n4n) byTh13
proof
>p;
then n4 =java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 76
then
A2: n4 >= len crossover(p1,p2,n1 .=rossover(crossover(1,2,2,4,1,rossover(p2,,)n3
crossover(p1,p2,n1,n2,n3,n4) = crossover(crossover(p1,p2,n1,n2,n3),
crossover(p2,p1,n1,n2,n3),
,Th5
end;
A3: n2 >=s q2p,n2;
n3,n4)
proof
A4: n2 >= crossover,,,,) Th26
then n2 >= len S by Def1;
then
> Def1
crossover(p1,p2,java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 4
crossover(p2,p1,n1,n2,n3),n4) by java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 4
.ccp1,n3)(,1,,n3,n4)by A5Th19;
hence thesis;
end;
A6: n3 >= len p1 implies crossover(p1,p2,n1, .crossover(1q2n4java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
n4
assume
7 =
then n3 T;
A8: n3 >= len p2 by ;
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 68
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 44
.=.=crossover(p1,n3n2,java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 79
;
end;
(p1,p2,,
n3,n4)
proof
assume
A9: n1 >= len p1;
then java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 7
then
A10: n1 java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 70
p2n,2n4 java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 68
p1n1n2n,)
.
;
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 17
hence thesis by A3=java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 76
end;
theorem Th34:
(n1 >= len p1 & n2 >= len p1 A14(1,2,n,n3,n4) java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 64
) = crossover(p1,p2,n3,n4) =java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 34
,p2,n1,n2,n3,n4) = crossover(p1,p2,java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
p2n1n2n3n) java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 78
& n3 >= len p1 implies java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 4
(n2 >= len p1 & n4 >= len p1 implies crossoverjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
p1,p2
) java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 31
proof
p2n4 java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
crossover :::: Copyright (c) 2011-2026 Association of Mizar Users
proof
assume that
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these::: licenses, or see://gnu/java.lang.StringIndexOutOfBoundsException: Range [0, 51) out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
p2n1n2n3) java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 72
hence thesis by java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [27, 5) out of bounds for length 39
:java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 70
proof
assume that, java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 74
A5ojava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 71
p1
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
hence thesis by A6,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
end
A7: n3 >=cjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 62
,n1
proof
assume that
A8 =and
A9: n4 >= len p1;
(p1,2,1,2n3,4 crossoverp,p2,n1,2n4) by A8T;
hence thesis by A9,Th20;
e
=java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 73
,)
hence (p1,2,1n2,n3, (,p2n2,3);
assume that
A11: n2 >= n1n2n4 java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 74
A12: n4 >= len p1 =,,)
crossover( n2n)=p2n,;
hence crossover,,n3n2 p2n1n2n,)
ejava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A13: n2 >= len p1 & n3 >= len p1 implies hence crossover(p1,p2,n1,n2,n3,n2) = crossover(p1
crossover(p1,p2,n1,n4)
proof
assume that
A14: n2 >= len p1 and
A15:n3 = len ;
crossover(p1,p2 thesisjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
hence thesis java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
n1 sn1=java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 23
proof
assume that
A16: n1 >= len p1 and
A17Th40
p2n2n3n4n5 java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
hence hence crossovern1n2n3n4,p2p1n,2java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
end;
hence thesis by A1,A4,A13,A10,A7;
end;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
(n1 be-p1p2 Individual ,,,n4n5java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
& ( = =len& java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
,p2,,,)=p,n) =java.lang.StringIndexOutOfBoundsException: Range [79, 80) out of bounds for length 79
=lenp1&n4>l java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 4
crossover(p1java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
p,n, n1)
proof
1: =lencrossoverp1p2,,,34n5)=p2,,,,,)&cjava.lang.StringIndexOutOfBoundsException: Range [74, 73) out of bounds for length 79
n, ,,)
t
= >= len =p1
A3 > ;
,,,,)= java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 69
hence thesis by p2n2,)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
end;
A4: n1 >= p1&n3 .crossovercrossover(,1n4cp1p2
n2,n3,n4) = :: na razie wykorzystujemy tylko :: musi byc 'non empty' i w definicji Trivial:: ale tutaj mozna sie tego pozbyc, biorac zamiast 0
proof
assume that
> lenp2p1n1n3,12,,)n5 by
A6:;
crossover(p1,p2,n1,n2,n3,n4) = java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 32
=java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 40
hence thesis
:n2=lenp1 &n3 > ;
n2,n3,n4) = crossover(p1 (,,0,
proof
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 15
A8: n2 =((2,,2n3 reconsider y = 0 as Element of {0} by TARSKI:defMem#}yf->NAT )java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
A9:java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 1
crossovern1n2,,end;
.=java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 40
by(p1p2,,,,=1n,n4n5 java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
syn 0.;
n1 >= len p1 & n2 >= len p1 & n4 >end
,n3,n4) = crossover(p1,funcS->p,p2,n4 p1,n1n2,,,=p1,p2n1,
assume that
n1 >= &java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 5
A11end
:: the_Values_of S is non-empty
.= crossover(p1,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
by,Th9
end;
hencebyA2: crossover(p1,p2,,,n4)=c(,,0)java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
= e;
java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 0
0,,n)java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 79
assume that
=&n2> &=p1
A2 N->NAT*(sover(p1n2,) java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 73
(p2,,)&pp2,,=2pn1n)java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
hence thesis by A2,Th5;
nd
theorem Th37:
crossover(p1 java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 71
2n2n4) java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 78
n2n3n java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 78
crossover(p1,p2,n1,n4,n3,n2) A2:crossover(1,2,0,n2,,00 =crossover(crossoverp,,,n,)
n2,crossov( p1n2n3,) n10,,,)=java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 78
) =
crossover(p1,p2,n2,n4,n1,n3) & crossover(p1,p2,n1,n2,n3,n4) = crossover(p1,java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
n2,n4,n3,n1) & crossover(java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 27
crossover(p1,p2,n1,n2,n3,n4 .=rossover(crossover(2,p1,3,crossover(p,n3) java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
over(p1p,n1n,4
crossover(p1,p2,n3,n4,n2,n1) & crossover(p1crossover(p2,p1,n,)&crossover(p1,2n1,n2,000 cjava.lang.StringIndexOutOfBoundsException: Range [79, 78) out of bounds for length 79
n4,n2,n3,n1) & crossover(p1,p2,n1,n2,n3,n4) =:p2n,,,,)=crossover(rossover(2,1n1)crossover(
proof
A1: crossover(p1,p2,n1,n2,n3,n4) = crossover(p1,p2,java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 29
proof
q2n1n)
set q1=crossover(:java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 76
crossover(p1,p2, crossover(p1,p2,n1
.=crossover(q1,q2,n4 .(java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 68
cjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 62 | |