SSL gobrd13.miz
Sprache: Mizar
|
|
:: Some Properties of Cells on Go Board
:: by Czes{\l}aw Byli\'nski
::
:: Received April 23, 1999
:: Copyright (c) 1999-2026 Association of Mizar Users
:: (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.
environ
vocabularies NUMBERS, SUBSET_1, REAL_1, XBOOLE_0, FINSEQ_1, EUCLID, FUNCT_1,
RELAT_1, TARSKI, NAT_1, MATRIX_1, TREES_1, XXREAL_0, CARD_1, GOBOARD1,
PARTFUN1, ARYTM_3, MCART_1, ARYTM_1, GOBOARD5, GOBOARD2, PRE_TOPC,
RLTOPSP1, COMPLEX1, RCOMP_1, RFINSEQ, ORDINAL4, GOBRD13;
notations TARSKI, XBOOLE_0, SUBSET_1, ORDINAL1, NUMBERS, XCMPLX_0, XREAL_0,
REAL_1, NAT_1, COMPLEX1, NAT_D, FUNCT_1, PARTFUN1, FUNCT_2, FINSEQ_1,
FINSEQ_2, RFINSEQ, XXREAL_0, SEQ_4, STRUCT_0, MATRIX_0, MATRIX_1,
PRE_TOPC, RLTOPSP1, EUCLID, TOPREAL1, GOBOARD1, GOBOARD2, GOBOARD5;
constructors RFINSEQ, NAT_D, GOBOARD2, GOBOARD5, REAL_1, GOBOARD1, RELSET_1,
SEQ_4, RVSUM_1;
registrations XBOOLE_0, ORDINAL1, RELSET_1, XREAL_0, FINSEQ_1, STRUCT_0,
EUCLID, GOBOARD2, GOBOARD5, VALUED_0, SEQ_4, NAT_1, MATRIX_0;
requirements NUMERALS, REAL, SUBSET, ARITHM;
definitions TARSKI;
theorems NAT_1, FINSEQ_1, MATRIX_0, GOBOARD1, EUCLID, FINSEQ_3, FINSEQ_5,
TOPREAL1, GOBOARD5, ABSVALUE, FUNCT_1, FINSEQ_2, GOBRD11, GOBOARD2,
SPRECT_3, JORDAN5D, FINSEQ_4, RFINSEQ, JORDAN8, PARTFUN2, XREAL_1,
XXREAL_0, NAT_D, SEQM_3, SEQ_4;
begin
reserve i,i1,i2,i9,i19,j,j1,j2,j9,j19,k,k1,k2,l,m,n for Nat;
reserve r,s,r9,s9 for Real;
reserve D for non empty set, f for FinSequence of D;
reserve f for FinSequence of TOP-REAL 2, G for Go-board;
::$CT 7
theorem
for G being Matrix of TOP-REAL 2 holds f is_sequence_on G implies rng
f c= Values G
proof
let G be Matrix of TOP-REAL 2;
assume
for S being non trivial set, y being Element of S holds {y}
let y be object;
assume y in rng f;
then consider n being Element of NAT such that
A2: n in dom f and
A3: f/.n = y by PARTFUN2: 2;
ex i,j st [i,j] in Indices G & f/.n = G*(i,j) by A1,A2,GOBOARD1:def 9;
then y in { G*(i,j): [i,j] in Indices G } by A3;
hence thesis by MATRIX_0: 39;
end;
theorem Th2:
for G1,G2 being Go-board st Values G1 c= Values G2 & [i1,j1] in
Indices G1 & 1 <= j2 & j2 <= width G2 & G1*(i1,j1) = G2*( 1,j2) holds i1 = 1
proof
let G1,G2 be Go-board such that
A1: Values G1 c= Values G2 and
A2: [i1,j1] in Indices G1 and
A3: 1 <= j2 & j2 <= width G2 and
A4: G1*(i1,j1) = G2*( 1,j2);
set p = G1*( 1,j1);
A5: 1 <= j1 & j1 <= width G1 by A2,MATRIX_0: 32;
assume
A6: i1 <> 1;
1 <= i1 by A2,MATRIX_0: 32;
then
A7: 1 < i1 by A6,XXREAL_0: 1;
i1 <= len G1 by A2,MATRIX_0: 32;
then
A8: p` 1 < G1*(i1,j1)` 1 by A5,A7,GOBOARD5: 3;
0 <> len G1 by MATRIX_0:def 10;
then 1 <= len G1 by NAT_1: 14;
then [ 1,j1] in Indices G1 by A5,MATRIX_0: 30;
then p in {G1*(i,j): [i,j] in Indices G1};
then p in Values G1 by MATRIX_0: 39;
then p in Values G2 by A1;
then p in {G2*(i,j): [i,j] in Indices G2} by MATRIX_0: 39;
then consider i,j such that
A9: p = G2*(i,j) and
A10: [i,j] in Indices G2;
A11: 1 <= j & j <= width G2 by A10,MATRIX_0: 32;
0 <> len G2 by MATRIX_0:def 10;
then
A12: 1 <= len G2 by NAT_1: 14;
then
A13: G2*( 1,j)` 1 = G2*( 1, 1)` 1 by A11,GOBOARD5: 2
.= G2*( 1,j2)` 1 by A3,A12,GOBOARD5: 2;
A14: i <= len G2 by A10,MATRIX_0: 32;
1 <= i by A10,MATRIX_0: 32;
then 1 < i by A4,A8,A9,A13,XXREAL_0: 1;
hence contradiction by A4,A8,A9,A14,A11,A13,GOBOARD5: 3;
end;
theorem Th3:
for G1,G2 being Go-board st Values G1 c= Values G2 & [i1,j1] in
Indices G1 & 1 <= j2 & j2 <= width G2 & G1*(i1,j1) = G2*(len G2,j2) holds i1 =
len G1
proof
let G1,G2 be Go-board such that
A1: Values G1 c= Values G2 and
A2: [i1,j1] in Indices G1 and
A3: 1 <= j2 & j2 <= width G2 and
A4: G1*(i1,j1) = G2*(len G2,j2);
set p = G1*(len G1,j1);
A5: 1 <= j1 & j1 <= width G1 by A2,MATRIX_0: 32;
assume
A6: i1 <> len G1;
i1 <= len G1 by A2,MATRIX_0: 32;
then
A7: i1 < len G1 by A6,XXREAL_0: 1;
1 <= i1 by A2,MATRIX_0: 32;
then
A8: G1*(i1,j1)` 1 < p` 1 by A5,A7,GOBOARD5: 3;
0 <> len G1 by MATRIX_0:def 10;
then 1 <= len G1 by NAT_1: 14;
then [len G1,j1] in Indices G1 by A5,MATRIX_0: 30;
then p in {G1*(i,j): [i,j] in Indices G1};
then p in Values G1 by MATRIX_0: 39;
then p in Values G2 by A1;
then p in {G2*(i,j): [i,j] in Indices G2} by MATRIX_0: 39;
then consider i,j such that
A9: p = G2*(i,j) and
A10: [i,j] in Indices G2;
A11: 1 <= j & j <= width G2 by A10,MATRIX_0: 32;
0 <> len G2 by MATRIX_0:def 10;
then
A12: 1 <= len G2 by NAT_1: 14;
then
A13: G2*(len G2,j)` 1 = G2*(len G2, 1)` 1 by A11,GOBOARD5: 2
.= G2*(len G2,j2)` 1 by A3,A12,GOBOARD5: 2;
A14: 1 <= i by A10,MATRIX_0: 32;
i <= len G2 by A10,MATRIX_0: 32;
then i < len G2 by A4,A8,A9,A13,XXREAL_0: 1;
hence contradiction by A4,A8,A9,A14,A11,A13,GOBOARD5: 3;
end;
theorem Th4:
for G1,G2 being Go-board st Values G1 c= Values G2 & [i1,j1] in
Indices G1 & 1 <= i2 & i2 <= len G2 & G1*(i1,j1) = G2*(i2, 1) holds j1 = 1
proof
let G1,G2 be Go-board such that
A1: Values G1 c= Values G2 and
A2: [i1,j1] in Indices G1 and
A3: 1 <= i2 & i2 <= len G2 and
A4: G1*(i1,j1) = G2*(i2, 1);
set p = G1*(i1, 1);
A5: 1 <= i1 & i1 <= len G1 by A2,MATRIX_0: 32;
assume
A6: j1 <> 1;
1 <= j1 by A2,MATRIX_0: 32;
then
A7: 1 < j1 by A6,XXREAL_0: 1;
j1 <= width G1 by A2,MATRIX_0: 32;
then
A8: p` 2 < G1*(i1,j1)` 2 by A5,A7,GOBOARD5: 4;
0 <> width G1 by MATRIX_0:def 10;
then 1 <= width G1 by NAT_1: 14;
then [i1, 1] in Indices G1 by A5,MATRIX_0: 30;
then p in {G1*(i,j): [i,j] in Indices G1};
then p in Values G1 by MATRIX_0: 39;
then p in Values G2 by A1;
then p in {G2*(i,j): [i,j] in Indices G2} by MATRIX_0: 39;
then consider i,j such that
A9: p = G2*(i,j) and
A10: [i,j] in Indices G2;
A11: 1 <= i & i <= len G2 by A10,MATRIX_0: 32;
0 <> width G2 by MATRIX_0:def 10;
then
A12: 1 <= width G2 by NAT_1: 14;
then
A13: G2*(i, 1)` 2 = G2*( 1, 1)` 2 by A11,GOBOARD5: 1
.= G2*(i2, 1)` 2 by A3,A12,GOBOARD5: 1;
A14: j <= width G2 by A10,MATRIX_0: 32;
1 <= j by A10,MATRIX_0: 32;
then 1 < j by A4,A8,A9,A13,XXREAL_0: 1;
hence contradiction by A4,A8,A9,A11,A14,A13,GOBOARD5: 4;
end;
theorem Th5:
for G1,G2 being Go-board st Values G1 c= Values G2 & [i1,j1] in
Indices G1 & 1 <= i2 & i2 <= len G2 & G1*(i1,j1) = G2*(i2,width G2) holds j1 =
width G1
proof
let G1,G2 be Go-board such that
A1: Values G1 c= Values G2 and
A2: [i1,j1] in Indices G1 and
A3: 1 <= i2 & i2 <= len G2 and
A4: G1*(i1,j1) = G2*(i2,width G2);
set p = G1*(i1,width G1);
A5: 1 <= i1 & i1 <= len G1 by A2,MATRIX_0: 32;
assume
A6: j1 <> width G1;
j1 <= width G1 by A2,MATRIX_0: 32;
then
A7: j1 < width G1 by A6,XXREAL_0: 1;
1 <= j1 by A2,MATRIX_0: 32;
then
A8: G1*(i1,j1)` 2 < p` 2 by A5,A7,GOBOARD5: 4;
0 <> width G1 by MATRIX_0:def 10;
then 1 <= width G1 by NAT_1: 14;
then [i1,width G1] in Indices G1 by A5,MATRIX_0: 30;
then p in {G1*(i,j): [i,j] in Indices G1};
then p in Values G1 by MATRIX_0: 39;
then p in Values G2 by A1;
then p in {G2*(i,j):
then consider i,j such that
A9: p = G2*(i,j) and
A10: [i,j] in Indices G2;
A11: 1 <= i & i <= len G2 by A10,MATRIX_0: 32;
0 <> width G2 by MATRIX_0:def 10;
then
A12: 1 <= width G2 by NAT_1: 14;
then
A13: G2*(i,width G2)` 2 = G2*( 1,width G2)` 2 by A11,GOBOARD5: 1
.= G2*(i2,width G2)` 2 by A3,A12,GOBOARD5: 1;
A14: 1 <= j by A10,MATRIX_0: 32;
j <= width G2 by A10,MATRIX_0: 32;
then j < width G2 by A4,A8,A9,A13,XXREAL_0: 1;
hence contradiction by A4,A8,A9,A11,A14,A13,GOBOARD5: 4;
end;
theorem Th6:
for G1,G2 being Go-board st Values G1 c= Values G2 & 1 <= i1 &
i1 < len G1 & 1 <= j1 & j1 <= width G1 & 1 <= i2 & i2 < len G2 & 1 <= j2 & j2
<= width G2 & G1*(i1,j1) = G2*(i2,j2) holds G2*(i2+ 1,j2)` 1 <= G1*(i1+ 1,j1)` 1
proof
let G1,G2 be Go-board such that
A1: Values G1 c= Values G2 and
A2: 1 <= i1 and
A3: i1 < len G1 and
A4: 1 <= j1 & j1 <= width G1 and
A5: 1 <= i2 and
A6: i2 < len G2 and
A7: 1 <= j2 & j2 <= width G2 and
A8: G1*(i1,j1) = G2*(i2,j2);
set p = G1*(i1+ 1,j1);
A9: i1+ 1 <= len G1 by A3,NAT_1: 13;
1 <= i1+ 1 by A2,NAT_1: 13;
then [i1+ 1,j1] in Indices G1 by A4,A9,MATRIX_0: 30;
then p in {G1*(i,j): [i,j] in Indices G1};
then p in Values G1 by MATRIX_0: 39;
then p in Values G2 by A1;
then p in {G2*(i,j): [i,j] in Indices G2} by MATRIX_0: 39;
then consider i,j such that
A10: p = G2*(i,j) and
A11: [i,j] in Indices G2;
A12: 1 <= i by A11,MATRIX_0: 32;
A13: i <= len G2 by A11,MATRIX_0: 32;
1 <= j & j <= width G2 by A11,MATRIX_0: 32;
then
A14: G2*(i,j)` 1 = G2*(i, 1)` 1 by A12,A13,GOBOARD5: 2
.= G2*(i,j2)` 1 by A7,A12,A13,GOBOARD5: 2;
i1 < i1+ 1 by NAT_1: 13;
then
A15: G2*(i2,j2)` 1 < G2*(i,j2)` 1 by A2,A4,A8,A9,A10,A14,GOBOARD5: 3;
A16: now
assume i <= i2;
then i = i2 or i < i2 by XXREAL_0: 1;
hence contradiction by A6,A7,A12,A15,GOBOARD5: 3;
end;
assume
A17: p` 1 < G2*(i2+ 1,j2)` 1;
A18: 1 <= i2+ 1 by A5,NAT_1: 13;
now
assume i2+ 1 <= i;
then i2+ 1 = i or i2+ 1 < i by XXREAL_0: 1;
hence contradiction by A7,A17,A10,A13,A14,A18,GOBOARD5: 3;
end;
hence contradiction by A16,NAT_1: 13;
end;
theorem Th7:
for G1,G2 being Go-board st G1*(i1-' 1,j1) in Values G2 & 1 < i1
& i1 <= len G1 & 1 <= j1 & j1 <= width G1 & 1 < i2 & i2 <= len G2 & 1 <= j2 &
j2 <= width G2 & G1*(i1,j1) = G2*(i2,j2) holds G1*(i1-' 1,j1)` 1 <= G2*(i2-' 1,j2)
` 1
proof
let G1,G2 be Go-board such that
A1: G1*(i1-' 1,j1) in Values G2 and
A2: 1 < i1 and
A3: i1 <= len G1 & 1 <= j1 & j1 <= width G1 and
A4: 1 < i2 and
A5: i2 <= len G2 and
A6: 1 <= j2 & j2 <= width G2 and
A7: G1*(i1,j1) = G2*(i2,j2);
set p = G1*(i1-' 1,j1);
A8: p in {G2*(i,j): [i,j] in Indices G2} by A1,MATRIX_0: 39;
1 <= i2-' 1 by A4,NAT_D: 49;
then i2-' 1 < i2 by NAT_D: 51;
then
A9: i2-' 1 < len G2 by A5,XXREAL_0: 2;
consider i,j such that
A10: p = G2*(i,j) and
A11: [i,j] in Indices G2 by A8;
A12: 1 <= i by A11,MATRIX_0: 32;
A13: i <= len G2 by A11,MATRIX_0: 32;
1 <= j & j <= width G2 by A11,MATRIX_0: 32;
then
A14: G2*(i,j)` 1 = G2*(i, 1)` 1 by A12,A13,GOBOARD5: 2
.= G2*(i,j2)` 1 by A6,A12,A13,GOBOARD5: 2;
A15: 1 <= i1-' 1 by A2,NAT_D: 49;
then i1-' 1 < i1 by NAT_D: 51;
then
A16: G2*(i,j2)` 1 < G2*(i2,j2)` 1 by A3,A7,A15,A10,A14,GOBOARD5: 3;
A17: now
assume i2 <= i;
then i = i2 or i2 < i by XXREAL_0: 1;
hence contradiction by A4,A6,A13,A16,GOBOARD5: 3;
end;
assume
A18: G2*(i2-' 1,j2)` 1 < p` 1;
now
assume i <= i2-' 1;
then i2-' 1 = i or i < i2-' 1 by XXREAL_0: 1;
hence contradiction by A6,A18,A10,A12,A14,A9,GOBOARD5: 3;
end;
hence contradiction by A17,NAT_D: 49;
end;
theorem Th8:
for G1,G2 being Go-board st G1*(i1,j1+ 1) in Values G2 & 1 <= i1
& i1 <= len G1 & 1 <= j1 & j1 < width G1 & 1 <= i2 & i2 <= len G2 & 1 <= j2 &
j2 < width G2 & G1*(i1,j1) = G2*(i2,j2) holds G2*(i2,j2+ 1)` 2 <= G1*(i1,j1+ 1)` 2
proof
let G1,G2 be Go-board such that
A1: G1*(i1,j1+ 1) in Values G2 and
A2: 1 <= i1 & i1 <= len G1 & 1 <= j1 and
A3: j1 < width G1 and
A4: 1 <= i2 & i2 <= len G2 and
A5: 1 <= j2 and
A6: j2 < width G2 and
A7: G1*(i1,j1) = G2*(i2,j2);
set p = G1*(i1,j1+ 1);
p in {G2*(i,j): [i,j] in Indices G2} by A1,MATRIX_0: 39;
then consider i,j such that
A8: p = G2*(i,j) and
A9: [i,j] in Indices G2;
A10: 1 <= j by A9,MATRIX_0: 32;
A11: j <= width G2 by A9,MATRIX_0: 32;
1 <= i & i <= len G2 by A9,MATRIX_0: 32;
then
A12: G2*(i,j)` 2 = G2*( 1,j)` 2 by A10,A11,GOBOARD5: 1
.= G2*(i2,j)` 2 by A4,A10,A11,GOBOARD5: 1;
j1 < j1+ 1 & j1+ 1 <= width G1 by A3,NAT_1: 13;
then
A13: G2*(i2,j2)` 2 < G2*(i2,j)` 2 by A2,A7,A8,A12,GOBOARD5: 4;
A14: now
assume j <= j2;
then j = j2 or j < j2 by XXREAL_0: 1;
hence contradiction by A4,A6,A10,A13,GOBOARD5: 4;
end;
assume
A15: p` 2 < G2*(i2,j2+ 1)` 2;
A16: 1 <= j2+ 1 by A5,NAT_1: 13;
now
assume j2+ 1 <= j;
then j2+ 1 = j or j2+ 1 < j by XXREAL_0: 1;
hence contradiction by A4,A15,A8,A11,A12,A16,GOBOARD5: 4;
end;
hence contradiction by A14,NAT_1: 13;
end;
theorem Th9:
for G1,G2 being Go-board st Values G1 c= Values G2 & 1 <= i1 &
i1 <= len G1 & 1 < j1 & j1 <= width G1 & 1 <= i2 & i2 <= len G2 & 1 < j2 & j2
<= width G2 & G1*(i1,j1) = G2*(i2,j2) holds G1*(i1,j1-' 1)` 2 <= G2*(i2,j2-' 1)` 2
proof
let G1,G2 be Go-board such that
A1: Values G1 c= Values G2 and
A2: 1 <= i1 & i1 <= len G1 and
A3: 1 < j1 and
A4: j1 <= width G1 and
A5: 1 <= i2 & i2 <= len G2 and
A6: 1 < j2 and
A7: j2 <= width G2 and
A8: G1*(i1,j1) = G2*(i2,j2);
set p = G1*(i1,j1-' 1);
A9: 1 <= j1-' 1 by A3,NAT_D: 49;
then
A10: j1-' 1 < j1 by NAT_D: 51;
then j1-' 1 < width G1 by A4,XXREAL_0: 2;
then [i1,j1-' 1] in Indices G1 by A2,A9,MATRIX_0: 30;
then p in {G1*(i,j): [i,j] in Indices G1};
then p in Values G1 by MATRIX_0: 39;
then p in Values G2 by A1;
then p in {G2*(i,j): [i,j] in Indices G2} by MATRIX_0: 39;
then consider i,j such that
A11: p = G2*(i,j) and
A12: [i,j] in Indices G2;
A13: 1 <= j by A12,MATRIX_0: 32;
A14: j <= width G2 by A12,MATRIX_0: 32;
1 <= i & i <= len G2 by A12,MATRIX_0: 32;
then
A15: G2*(i,j)` 2 = G2*( 1,j)` 2 by A13,A14,GOBOARD5: 1
.= G2*(i2,j)` 2 by A5,A13,A14,GOBOARD5: 1;
then
A16: G2*(i2,j)` 2 < G2*(i2,j2)` 2 by A2,A4,A8,A9,A10,A11,GOBOARD5: 4;
A17: now
assume j2 <= j;
then j = j2 or j2 < j by XXREAL_0: 1;
hence contradiction by A5,A6,A14,A16,GOBOARD5: 4;
end;
1 <= j2-' 1 by A6,NAT_D: 49;
then j2-' 1 < j2 by NAT_D: 51;
then
A18: j2-' 1 < width G2 by A7,XXREAL_0: 2;
assume
A19: G2*(i2,j2-' 1)` 2 < p` 2;
now
assume j <= j2-' 1;
then j2-' 1 = j or j < j2-' 1 by XXREAL_0: 1;
hence contradiction by A5,A19,A11,A13,A15,A18,GOBOARD5: 4;
end;
hence contradiction by A17,NAT_D: 49;
end;
theorem Th10:
for G1,G2 being Go-board st Values G1 c= Values G2 & [i1,j1] in
Indices G1 & [i2,j2] in Indices G2 & G1*(i1,j1) = G2*(i2,j2) holds cell(G2,i2,
j2) c= cell(G1,i1,j1)
proof
let G1,G2 be Go-board such that
A1: Values G1 c= Values G2 and
A2: [i1,j1] in Indices G1 and
A3: [i2,j2] in Indices G2 and
A4: G1*(i1,j1) = G2*(i2,j2);
A5: 1 <= i1 by A2,MATRIX_0: 32;
A6: j1 <= width G1 by A2,MATRIX_0: 32;
let p be object such that
A7: p in cell(G2,i2,j2);
A8: 1 <= i2 by A3,MATRIX_0: 32;
A9: j2 <= width G2 by A3,MATRIX_0: 32;
A10: 1 <= j2 by A3,MATRIX_0: 32;
A11: i2 <= len G2 by A3,MATRIX_0: 32;
then
A12: G2*(i2,j2)` 1 = G2*(i2, 1)` 1 & G2*(i2,j2)` 2 = G2*( 1,j2)` 2 by A8,A10,A9,
GOBOARD5: 1, 2;
A13: 1 <= j1 by A2,MATRIX_0: 32;
A14: i1 <= len G1 by A2,MATRIX_0: 32;
then
A15: G1*(i1,j1)` 1 = G1*(i1, 1)` 1 & G1*(i1,j1)` 2 = G1*( 1,j1)` 2 by A5,A13,A6,
GOBOARD5: 1, 2;
per cases by A11,A9,XXREAL_0: 1;
suppose
A16: i2 = len G2 & j2 = width G2;
then
A17: p in { |[r,s]| : G2*(i2,j2)` 1 <= r & G2*(i2,j2)` 2 <= s } by A7,A12,
GOBRD11: 28;
i1 = len G1 & j1 = width G1 by A1,A2,A4,A8,A10,A16,Th3,Th5;
hence thesis by A4,A15,A17,GOBRD11: 28;
end;
suppose
A18: i2 = len G2 & j2 < width G2;
then p in { |[r,s]| : G2*(i2,j2)` 1 <= r & G2*(i2,j2)` 2 <= s & s <= G2*( 1,
j2+ 1)` 2 } by A7,A10,A12,GOBRD11: 29;
then consider r9,s9 such that
A19: p = |[r9,s9]| & G2*(i2,j2)` 1 <= r9 & G2*(i2,j2)` 2 <= s9 and
A20: s9 <= G2*( 1,j2+ 1)` 2;
A21: i1 = len G1 by A1,A2,A4,A10,A18,Th3;
now
per cases by A6,XXREAL_0: 1;
suppose
A22: j1 = width G1;
p in { |[r,s]| : G1*(i1,j1)` 1 <= r & G1*(i1,j1)` 2 <= s} by A4,A19;
hence thesis by A15,A21,A22,GOBRD11: 28;
end;
suppose
A23: j1 < width G1;
1 <= j2+ 1 & j2+ 1 <= width G2 by A18,NAT_1: 12, 13;
then
A24: G2*(i2,j2+ 1)` 2 = G2*( 1,j2+ 1)` 2 by A8,A11,GOBOARD5: 1;
1 <= j1+ 1 & j1+ 1 <= width G1 by A23,NAT_1: 12, 13;
then
G1*(i1,j1+ 1) in Values G1 & G1*(i1,j1+ 1)` 2 = G1*( 1,j1+ 1)` 2 by A5,A14,
GOBOARD5: 1,MATRIX_0: 41;
then G2*( 1,j2+ 1)` 2 <= G1*( 1,j1+ 1)` 2 by A1,A4,A5,A14,A13,A8,A10,A18,A23
,A24,Th8;
then s9 <= G1*( 1,j1+ 1)` 2 by A20,XXREAL_0: 2;
then
p in {|[r,s]| : G1*(i1,j1)` 1 <= r & G1*(i1,j1)` 2 <= s & s <= G1*(
1,j1+ 1)` 2} by A4,A19;
hence thesis by A13,A15,A21,A23,GOBRD11: 29;
end;
end;
hence thesis;
end;
suppose
A25: i2 < len G2 & j2 = width G2;
then p in {|[r,s]|: G2*(i2,j2)` 1 <= r & r <= G2*(i2+ 1, 1)` 1 & G2*(i2,j2)` 2
<= s} by A7,A8,A12,GOBRD11: 31;
then consider r9,s9 such that
A26: p = |[r9,s9]| & G2*(i2,j2)` 1 <= r9 and
A27: r9 <= G2*(i2+ 1, 1)` 1 and
A28: G2*(i2,j2)` 2 <= s9;
A29: j1 = width G1 by A1,A2,A4,A8,A25,Th5;
now
per cases by A14,XXREAL_0: 1;
suppose
A30: i1 = len G1;
p in { |[r,s]| : G1*(i1,j1)` 1 <= r & G1*(i1,j1)` 2 <= s} by A4,A26,A28;
hence thesis by A15,A29,A30,GOBRD11: 28;
end;
suppose
A31: i1 < len G1;
1 <= i2+ 1 & i2+ 1 <= len G2 by A25,NAT_1: 12, 13;
then
A32: G2*(i2+ 1,j2)` 1 = G2*(i2+ 1, 1)` 1 by A10,A9,GOBOARD5: 2;
1 <= i1+ 1 & i1+ 1 <= len G1 by A31,NAT_1: 12, 13;
then G1*(i1+ 1,j1)` 1 = G1*(i1+ 1, 1)` 1 by A13,A6,GOBOARD5: 2;
then G2*(i2+ 1, 1)` 1 <= G1*(i1+ 1, 1)` 1 by A1,A4,A5,A13,A6,A8,A10,A25,A31
,A32,Th6;
then r9 <= G1*(i1+ 1, 1)` 1 by A27,XXREAL_0: 2;
then
p in {|[r,s]|: G1*(i1,j1)` 1 <= r & r <= G1*(i1+ 1, 1)` 1 & G1*(i1,j1
)` 2 <= s} by A4,A26,A28;
hence thesis by A5,A15,A29,A31,GOBRD11: 31;
end;
end;
hence thesis;
end;
suppose
A33: i2 < len G2 & j2 < width G2;
then 1 <= j2+ 1 & j2+ 1 <= width G2 by NAT_1: 12, 13;
then
A34: G2*(i2,j2+ 1)` 2 = G2*( 1,j2+ 1)` 2 by A8,A11,GOBOARD5: 1;
1 <= i2+ 1 & i2+ 1 <= len G2 by A33,NAT_1: 12, 13;
then G2*(i2+ 1,j2)` 1 = G2*(i2+ 1, 1)` 1 by A10,A9,GOBOARD5: 2;
then
p in { |[r,s]| : G2*(i2,j2)` 1 <= r & r <= G2*(i2+ 1,j2)` 1 & G2*(i2,j2)
` 2 <= s & s <= G2*(i2,j2+ 1)` 2 } by A7,A8,A10,A12,A33,A34,GOBRD11: 32;
then consider r9,s9 such that
A35: p = |[r9,s9]| & G2*(i2,j2)` 1 <= r9 and
A36: r9 <= G2*(i2+ 1,j2)` 1 and
A37: G2*(i2,j2)` 2 <= s9 and
A38: s9 <= G2*(i2,j2+ 1)` 2;
now
per cases by A14,A6,XXREAL_0: 1;
suppose
A39: i1 = len G1 & j1 = width G1;
p in { |[r,s]| : G1*(i1,j1)` 1 <= r & G1*(i1,j1)` 2 <= s } by A4,A35,A37;
hence thesis by A15,A39,GOBRD11: 28;
end;
suppose
A40: i1 = len G1 & j1 < width G1;
then 1 <= j1+ 1 & j1+ 1 <= width G1 by NAT_1: 12, 13;
then
G1*(i1,j1+ 1) in Values G1 & G1*(i1,j1+ 1)` 2 = G1*( 1,j1+ 1)` 2 by A5,A14,
GOBOARD5: 1,MATRIX_0: 41;
then G2*(i2,j2+ 1)` 2 <= G1*( 1,j1+ 1)` 2 by A1,A4,A5,A13,A8,A10,A33,A40
,Th8;
then s9 <= G1*( 1,j1+ 1)` 2 by A38,XXREAL_0: 2;
then p in {|[r,s]| : G1*(i1,j1)` 1 <= r & G1*(i1,j1)` 2 <= s & s <= G1*
( 1,j1+ 1)` 2} by A4,A35,A37;
hence thesis by A13,A15,A40,GOBRD11: 29;
end;
suppose
A41: i1 < len G1 & j1 = width G1;
then 1 <= i1+ 1 & i1+ 1 <= len G1 by NAT_1: 12, 13;
then G1*(i1+ 1,j1)` 1 = G1*(i1+ 1, 1)` 1 by A13,A6,GOBOARD5: 2;
then G2*(i2+ 1,j2)` 1 <= G1*(i1+ 1, 1)` 1 by A1,A4,A5,A13,A8,A10,A33,A41
,Th6;
then r9 <= G1*(i1+ 1, 1)` 1 by A36,XXREAL_0: 2;
then
p in {|[r,s]|: G1*(i1,j1)` 1 <= r & r <= G1*(i1+ 1, 1)` 1 & G1*(i1,j1
)` 2 <= s} by A4,A35,A37;
hence thesis by A5,A15,A41,GOBRD11: 31;
end;
suppose
A42: i1 < len G1 & j1 < width G1;
then 1 <= i1+ 1 & i1+ 1 <= len G1 by NAT_1: 12, 13;
then G1*(i1+ 1,j1)` 1 = G1*(i1+ 1, 1)` 1 by A13,A6,GOBOARD5: 2;
then G2*(i2+ 1,j2)` 1 <= G1*(i1+ 1, 1)` 1 by A1,A4,A5,A13,A8,A10,A33,A42
,Th6;
then
A43: r9 <= G1*(i1+ 1, 1)` 1 by A36,XXREAL_0: 2;
1 <= j1+ 1 & j1+ 1 <= width G1 by A42,NAT_1: 12, 13;
then
G1*(i1,j1+ 1) in Values G1 & G1*(i1,j1+ 1)` 2 = G1*( 1,j1+ 1)` 2 by A5,A14,
GOBOARD5: 1,MATRIX_0: 41;
then G2*(i2,j2+ 1)` 2 <= G1*( 1,j1+ 1)` 2 by A1,A4,A5,A13,A8,A10,A33,A42
,Th8;
then s9 <= G1*( 1,j1+ 1)` 2 by A38,XXREAL_0: 2;
then
p in { |[r,s]| : G1*(i1, 1)` 1 <= r & r <= G1*(i1+ 1, 1)` 1 & G1*( 1,j1
)` 2 <= s & s <= G1*( 1,j1+ 1)` 2 } by A4,A15,A35,A37,A43;
hence thesis by A5,A13,A42,GOBRD11: 32;
end;
end;
hence thesis;
end;
end;
theorem Th11:
for G1,G2 being Go-board st Values G1 c= Values G2 & [i1,j1] in
Indices G1 & [i2,j2] in Indices G2 & G1*(i1,j1) = G2*(i2,j2) holds cell(G2,i2-'
1,j2) c= cell(G1,i1-' 1,j1)
proof
let G1,G2 be Go-board such that
A1: Values G1 c= Values G2 and
A2: [i1,j1] in Indices G1 and
A3: [i2,j2] in Indices G2 and
A4: G1*(i1,j1) = G2*(i2,j2);
A5: i2 <= len G2 by A3,MATRIX_0: 32;
A6: j1 <= width G1 by A2,MATRIX_0: 32;
A7: 1 <= j1 by A2,MATRIX_0: 32;
A8: j2 <= width G2 by A3,MATRIX_0: 32;
A9: 1 <= j2 by A3,MATRIX_0: 32;
A10: 1 <= i2 by A3,MATRIX_0: 32;
then
A11: G2*(i2,j2)` 1 = G2*(i2, 1)` 1 by A5,A9,A8,GOBOARD5: 2;
A12: G2*(i2,j2)` 2 = G2*( 1,j2)` 2 by A10,A5,A9,A8,GOBOARD5: 1;
let p be object such that
A13: p in cell(G2,i2-' 1,j2);
A14: 1 <= i1 by A2,MATRIX_0: 32;
A15: i1 <= len G1 by A2,MATRIX_0: 32;
per cases by A14,A10,XXREAL_0: 1;
suppose
A16: i1 = 1 & i2 = 1;
then
A17: i1-' 1 = 0 by XREAL_1: 232;
A18: i2-' 1 = 0 by A16,XREAL_1: 232;
now
per cases by A8,XXREAL_0: 1;
suppose
A19: j2 = width G2;
then
A20: j1 = width G1 by A1,A2,A4,A10,A5,Th5;
p in { |[r,s]| : r <= G2*( 1, 1)` 1 & G2*( 1,width G2)` 2 <= s } by A13,A18
,A19,GOBRD11: 25;
then consider r9,s9 such that
A21: p = |[r9,s9]| and
A22: r9 <= G2*( 1, 1)` 1 and
A23: G2*( 1,width G2)` 2 <= s9;
G2*( 1, 1)` 1 = G2*(i1,j2)` 1 by A5,A9,A8,A16,GOBOARD5: 2;
then r9 <= G1*( 1, 1)` 1 by A4,A15,A7,A6,A16,A22,GOBOARD5: 2;
then
p in { |[r,s]| : r <= G1*( 1, 1)` 1 & G1*( 1,width G1)` 2 <= s } by A4,A16
,A19,A21,A23,A20;
hence thesis by A17,A20,GOBRD11: 25;
end;
suppose
A24: j2 < width G2;
then
p in {|[r,s]|: r <= G2*( 1, 1)` 1 & G2*( 1,j2)` 2 <= s & s <= G2*( 1,j2
+ 1)` 2} by A13,A9,A18,GOBRD11: 26;
then consider r9,s9 such that
A25: p = |[r9,s9]| and
A26: r9 <= G2*( 1, 1)` 1 and
A27: G2*( 1,j2)` 2 <= s9 and
A28: s9 <= G2*( 1,j2+ 1)` 2;
G2*( 1, 1)` 1 = G2*(i1,j2)` 1 by A5,A9,A8,A16,GOBOARD5: 2;
then
A29: r9 <= G1*( 1, 1)` 1 by A4,A15,A7,A6,A16,A26,GOBOARD5: 2;
now
per cases by A6,XXREAL_0: 1;
suppose
A30: j1 = width G1;
then p in { |[r,s]| : r <= G1*( 1, 1)` 1 & G1*( 1,width G1)` 2 <= s }
by A4,A16,A25,A27,A29;
hence thesis by A17,A30,GOBRD11: 25;
end;
suppose
A31: j1 < width G1;
then 1 <= j1 + 1 & j1 + 1 <= width G1 by NAT_1: 11, 13;
then G1*(i1,j1+ 1) in Values G1 by A14,A15,MATRIX_0: 41;
then
G2*( 1,j2+ 1)` 2 <= G1*( 1,j1+ 1)` 2 by A1,A4,A15,A7,A5,A9,A16,A24,A31
,Th8;
then s9 <= G1*( 1,j1+ 1)` 2 by A28,XXREAL_0: 2;
then
p in {|[r,s]|: r <= G1*( 1, 1)` 1 & G1*( 1,j1)` 2 <= s & s <= G1*(
1,j1+ 1)` 2} by A4,A16,A25,A27,A29;
hence thesis by A7,A17,A31,GOBRD11: 26;
end;
end;
hence thesis;
end;
end;
hence thesis;
end;
suppose that
A32: i1 = 1 and
A33: 1 < i2;
A34: i1-' 1 = 0 by A32,XREAL_1: 232;
A35: 1 <= i2-' 1 by A33,NAT_D: 49;
then i2-' 1 < i2 by NAT_D: 51;
then
A36: i2-' 1 < len G2 by A5,XXREAL_0: 2;
A37: i2-' 1+ 1 = i2 by A33,XREAL_1: 235;
now
per cases by A8,XXREAL_0: 1;
suppose
A38:j2 =width G2;
then
p in { |[r,s]|: G2*(i2-' 1, 1)` 1 <= r & r <= G2*(i2, 1)` 1 & G2*( 1,j2
)` 2 <= s} by A13,A35,A36,A37,GOBRD11: 31;
then consider r9,s9 such that
A39: p = |[r9,s9]| and
G2*(i2-' 1, 1)` 1 <= r9 and
A40:r9 < G2*i2,) 1 (,) 2< java.lang.StringIndexOutOfBoundsException: Index 46 out of bou nds for length 46
r9Dbe Subsetof ;
GOBOARD5:2;
then
A41 inin {|r,] : =G1*(1`1 & G1*1j)`< }byA39java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
G1by A1,2,,10A5,38,h5;
hence thesis by A34 A / A5X:8;
end;
suppose
A42: j2 < width G2;
then p in { |[r,s]| : G2*end;
j2)`2 <= s & s <= G2*(1,j2+1)`2 } by A13,A9,A35,A36,A37,GOBRD11:32;
then java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Range [20, 3) out of bounds for length 25
G2*(i2-'1,1)`1 <= r9 and
A44: r9 <=let ,Bbe ofY;
java.lang.StringIndexOutOfBoundsException: Range [7, 3) out of bounds for length 28
A46: r9 <= G1*(1,1)`1 & A1:B ;
GOBOARD5:2;
ow
per cases by A6,XXREAL_0:1;
suppose
A47: j1 = width G1;
[s|:r *(,) (width G1` =s }
by A43,A46;
hence cases A1;
end;
suppose
A48: j1 < width G1;
1 <= hence thesis Th22,XBOOLE_117;
then
A49: G2*(i2,java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 20
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
then
G1*(i1,j1+1) in Values G1 & G1*(i1,j1+1)`2 (P,Q Y st open&Q \
,A15,GOBOARD5:1,MATRIX_0:41;
then
G2*(1,j2+1)`2 <= G1*(1,j1+1)`2 by A1,A4,A14,A15,A7,A10,A5,A9,A42
,A48,A49,Th8;
then s9 <= G1*(1,j1+1)`2 by A45,XXREAL_0:2;
then
p in {|[r,s]|: r <= G1*(1,1)`1 & G1*(1,j1)`2 <= s & s <= G1*(
1,j1+1)`2} by A43,A46;
hence thesis by A7,A34,A48,GOBRD11:26;
end;
end;
hence thesis;
end;
end;
hence thesis;
end;
suppose
1 < i1 & i2 = 1;
hence thesis by A1,A2,A4,A9,A8,Th2;
end;
suppose
A50: 1 < i1 & 1 < i2;
then
A51: 1 <= i2-'1 by NAT_D:49;
then
A52: i2-'1+1 = i2 by NAT_D:43;
i2-'1 < i2 by A51,NAT_D:51;
then
A53: i2-'1 < len G2 by A5,XXREAL_0:2;
then
A54: G2*(i2-'1,1)`1 = G2*(i2-'1,j2)`1 by A9,A8,A51,GOBOARD5:2;
A55: 1 <= i1-'1 by A50,NAT_D:49;
then
A56: i1-'1+1 = i1 by NAT_D:43;
i1-'1 < i1 by A55,NAT_D:51;
then
A57: i1-'1 < len G1 by A15,XXREAL_0:2;
then G1*(i1-'1,j1) in Values G1 & G1*(i1-'1,1)`1 = G1*(i1-'1,j1)`1 by A7,A6
,A55,GOBOARD5:2,MATRIX_0:41;
then
A58: G1*(i1-'1,1)`1 <= G2*(i2-'1,1)`1 by A1,A4,A15,A7,A6,A5,A9,A8,A50,A54,Th7;
now
per cases by A8,XXREAL_0:1;
suppose
A59: j2 = width G2;
then
p in { |[r,s]|: G2*(i2-'1,1)`1 <= r & r <= G2*(i2,1)`1 & G2*(1,j2
)`2 <= s} by A13,A51,A53,A52,GOBRD11:31;
then consider r9,s9 such that
A60: p = |[r9,s9]| and
A61: G2*(i2-'1,1)`1 <= r9 & r9 <= G2*(i2,1)`1 and
A62: G2*(1,j2)`2 <= s9;
A63: G1*(1,j1)`2 <= s9 by A4,A14,A15,A7,A6,A12,A62,GOBOARD5:1;
G1*(i1-'1,1)`1 <= r9 & r9 <= G1*(i1,1)`1 by A4,A14,A15,A7,A6,A11,A58
,A61,GOBOARD5:2,XXREAL_0:2;
then
A64: p in { |[r,s]|: G1*(i1-'1,1)`1 <= r & r <= G1*(i1,1)`1 & G1*(1,
j1)`2 <= s} by A60,A63;
j1 = width G1 by A1,A2,A4,A10,A5,A59,Th5;
hence thesis by A55,A57,A56,A64,GOBRD11:31;
end;
suppose
A65: j2 < width G2;
then p in { |[r,s]| : G2*(i2-'1,1)`1 <= r & r <= G2*(i2,1)`1 & G2*(1,
j2)`2 <= s & s <= G2*(1,j2+1)`2 } by A13,A9,A51,A53,A52,GOBRD11:32;
then consider r9,s9 such that
A66: p = |[r9,s9]| and
A67: G2*(i2-'1,1)`1 <= r9 & r9 <= G2*(i2,1)`1 and
A68: G2*(1,j2)`2 <= s9 and
A69: s9 <= G2*(1,j2+1)`2;
A70: G1*(1,j1)`2 <= s9 by A4,A14,A15,A7,A6,A12,A68,GOBOARD5:1;
A71: G1*(i1-'1,1)`1 <= r9 & r9 <= G1*(i1,1)`1 by A4,A14,A15,A7,A6,A11,A58
,A67,GOBOARD5:2,XXREAL_0:2;
per cases by A6,XXREAL_0:1;
suppose
A72: j1 = width G1;
p in { |[r,s]|: G1*(i1-'1,1)`1 <= r & r <= G1*(i1,1)`1 & G1*
(1,j1)`2 <= s } by A66,A71,A70;
hence thesis by A55,A57,A56,A72,GOBRD11:31;
end;
suppose
A73: j1 < width G1;
1 <= j2+1 & j2+1 <= width G2 by A65,NAT_1:12,13;
then
A74: G2*(i2,j2+1)`2 = G2*(1,j2+1)`2 by A10,A5,GOBOARD5:1;
1 <= j1+1 & j1+1 <= width G1 by A73,NAT_1:12,13;
then G1*(i1,j1+1) in Values G1 & G1*(i1,j1+1)`2 = G1*(1,j1+1)`2
by A14,A15,GOBOARD5:1,MATRIX_0:41;
then G2*(1,j2+1)`2 <= G1*(1,j1+1)`2 by A1,A4,A14,A15,A7,A10,A5,A9
,A65,A73,A74,Th8;
then s9 <= G1*(1,j1+1)`2 by A69,XXREAL_0:2;
then p in { |[r,s]| : G1*(i1-'1,1)`1 <= r & r <= G1*(i1,1)`1 & G1
*(1,j1)`2 <= s & s <= G1*(1,j1+1)`2 } by A66,A71,A70;
hence thesis by A7,A55,A57,A56,A73,GOBRD11:32;
end;
end;
end;
hence thesis;
end;
end;
theorem Th12:
for G1,G2 being Go-board st Values G1 c= Values G2 & [i1,j1] in
Indices G1 & [i2,j2] in Indices G2 & G1*(i1,j1) = G2*(i2,j2) holds cell(G2,i2,
j2-'1) c= cell(G1,i1,j1-'1)
proof
let G1,G2 be Go-board such that
A1: Values G1 c= Values G2 and
A2: [i1,j1] in Indices G1 and
A3: [i2,j2] in Indices G2 and
A4: G1*(i1,j1) = G2*(i2,j2);
A5: 1 <= i1 by A2,MATRIX_0:32;
A6: 1 <= j2 by A3,MATRIX_0:32;
A7: 1 <= i2 by A3,MATRIX_0:32;
A8: j1 <= width G1 by A2,MATRIX_0:32;
A9: j2 <= width G2 by A3,MATRIX_0:32;
A10: i2 <= len G2 by A3,MATRIX_0:32;
then
A11: G2*(i2,j2)`1 = G2*(i2,1)`1 by A7,A6,A9,GOBOARD5:2;
A12: i1 <= len G1 by A2,MATRIX_0:32;
A13: 1 <= j1 by A2,MATRIX_0:32;
then A14: G1*(i1,j1)`2 = G1*(1,j1)`2 by A5,A12,A8,GOBOARD5:1;
let p be object such that
A15: p in cell(G2,i2,j2-'1);
A16: G2*(i2,j2)`2 = G2*(1,j2)`2 by A7,A10,A6,A9,GOBOARD5:1;
per cases by A13,A6,XXREAL_0:1;
suppose
A17: j1 = 1 & j2 = 1;
then
A18: j1-'1 = 0 by XREAL_1:232;
A19: j2-'1 = 0 by A17,XREAL_1:232;
now
per cases by A10,XXREAL_0:1;
suppose
A20: i2 = len G2;
then p in { |[r,s]| : G2*(len G2,1)`1 <= r & s <= G2*(1,1)`2 } by A15
,A19,GOBRD11:27;
then consider r9,s9 such that
A21: p = |[r9,s9]| & G2*(len G2,1)`1 <= r9 and
A22: s9 <= G2*(1,1)`2;
A23: i1 = len G1 by A1,A2,A4,A6,A9,A20,Th3;
G2*(1,1)`2 = G2*(i2,j2)`2 by A7,A10,A9,A17,GOBOARD5:1;
then s9 <= G1*(1,1)`2 by A4,A5,A12,A8,A17,A22,GOBOARD5:1;
then p in { |[r,s]| : G1*(len G1,1)`1 <= r & s <= G1*(1,1)`2 } by A4
A
hence thesis by A18,A23,GOBRD11:27
end;
suppose
A24: i2 < len G2;
then
p in {|[r,s]|: G2*(i2,1)`1 <= r & r <= G2*(i2+1,1)`1 & s <= G2
,1)`2 } by A15,A7,A19,GOBRD11:30;
then consider r9,s9 such that
A25: p = |[r9,s9]| & G2*(i2,1)`1 <= r9 and
A26:let A0be non empty Subset of X;
A27: s9 <= G2*(1,1)`2;
G2*(1,1)`2 = G2*(i2,j1)`2 by A7,A10,A9,A17,GOBOARD5:1;
then
A28: s9 <= G1*11` A4,A5,12,8A17,27,1
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 10
for A being empty Subset of X holds A is discrete
A29:
A beempty Subset ;
A4,A17,A25,A28;
hence thesis by A18,A29,GOBRD11:27;
end;
suppose
A30: i1 < len G1;
then
*(21,)`1 <= G1*(i1+1,)`1 by A1,A4,A5,8A7,9,17A24,
then
then p intake G }
,A17,25java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
hencejava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 50
nd;
end;
hence thesis;
end;
end;
hence thesis;
end;
suppose that
31: j1 =1 and
A32: 1 < j2;
A33: j1-:now
A34: 1 <= j2-'1 by A32,java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 13
then j2-1 <j2by NAT_D:1;
then
A35 java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A36: j2-'1+A4: D ={x};
per cases by A10,XXREAL_0:1;
suppose
A37: i2 = len G2;
then
p in { |[r,s]| : G2*(i2,1)`1 <=end;
*(1,j2)`2 } by A15,A34,A35,A36end;
then
ex r9,s9 st p = |[r9,s9]| & G2*(i2,1)`1 <= r9 & G2*(1,for A being Subset of X holds (for x being Point of X st x in A
s9 & s9 <= G2*(1,j2)`2;
then
A38: p in { |[r,s]| : G1*(i1,1)`1 <= r & s <= G1*(1,1)`2 } by A4,A14,A11,A16
,A31;
i1 = len G1 by A1,A2,A4,A6,A9,A1: for x being Point of X st x in A ex G is
hence thesis by A33,A38,GOBRD11:27;
;
suppose
A39: i2 < len G2;
then
p in { |[r
-'1)`2 <= s & s <= G2*(1,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 21
then consider r9,s9 such that
A40: p = |[r9,s9]| and
A41: G2*(i2,1 X0=java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 32
r9 =G2*(2+11` and
G2*(1,java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 9
A43: s9 <= G2*(1,j2)`2;
A44: s9 <= G1*(1,1)`2 & G1*(i1,1)`1 <= r9 reconsider x = y as Point of X by A4,TARSKI:def 3;
,GOBOARD5:1,2;
now
casesby A12,XREAL_01java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
suppose
A45: i1 = len G1;
then p in { |[r,s]| : G1*(len G1,1)`1 <= r & s <= G1*(1,1)`2 } by
A40,A44;
hence thesis by A33,A45,GOBRD11:27;
end;
suppose
A46: i1 < len G1;
1 <= i2+1 & i2+1 <= len G2 by A39,NAT_1:12,13;
then
A47: G2*(i2+1,j2)`1 = G2*(i2+1,1)`1 by A6,A9,GOBOARD5:2;
1 <= i1+1 & i1+1 <= len G1 by A46,NAT_1:12,13;
then G1*(i1+1,j1)`1 = G1*(i1+1,1)`1 by A13,A8,GOBOARD5:2;
then G2*(i2+1,1)`1 <= G1*(i1+1,1)`1 by A1,A4,A5,A13,A8,A7,A6,A9,A39
,A46,A47,Th6;
then r9 <= G1*(i1+1,1)`1 by A42,XXREAL_0:2;
then p in {|[r,s]|: G1*(i1,1)`1 <= r & r <= G1*(i1+1,1)`1 & s <=
G1*(1,1)`2} by A40,A44;
hence thesis by A5,A33,A46,GOBRD11:30;
end;
end;
hence thesis;
end;
end;
hence thesis;
end;
suppose
1 < j1 & j2 = 1;
hence thesis by A1,A2,A4,A7,A10,Th4;
end;
suppose
A48: 1 < j1 & 1 < j2;
then
A49: 1 <= j2-'1 by NAT_D:49;
then
A50: j2-'1+1 = j2 by NAT_D:43;
j2-'1 < j2 by A49,NAT_D:51;
then
A51: j2-'1 < width G2 by A9,XXREAL_0:2;
then
A52: G2*(1,j2-'1)`2 = G2*(i2,j2-'1)`2 by A7,A10,A49,GOBOARD5:1;
A53: 1 <= j1-'1 by A48,NAT_D:49;
then
A54: j1-'1+1 = j1 by NAT_D:43;
j1-'1 < j1 by A53,NAT_D:51;
then
A55: j1-'1 < width G1 by A8,XXREAL_0:2;
then G1*(1,j1-'1)`2 = G1*(i1,j1-'1)`2 by A5,A12,A53,GOBOARD5:1;
then
A56: G1*(1,j1-'1)`2 <= G2*(1,j2-'1)`2 by A1,A4,A5,A12,A8,A7,A10,A9,A48,A52,Th9;
now
per cases by A10,XXREAL_0:1;
suppose
A57: i2 = len G2;
then
p in { |[r,s]| : G2*(i2,1)`1 <= r & G2*(1,j2-'1)`2 <= s & s <= G2
* (1,j2)`2} by A15,A49,A51,A50,GOBRD11:29;
then consider r9,s9 such that
A58: p = |[r9,s9]| and
A59: G2*(i2,1)`1 <= r9 and
A60: G2*(1,j2-'1)`2 <= s9 & s9 <= G2*(1,j2)`2;
A61: G1*(i1,1)`1 <= r9 by A4,A5,A12,A13,A8,A11,A59,GOBOARD5:2;
G1*(1,j1-'1)`2 <= s9 & s9 <= G1*(1,j1)`2 by A4,A5,A12,A13,A8,A16,A56
,A60,GOBOARD5:1,XXREAL_0:2;
then
A62: p in {|[r,s]|: G1*(i1,1)`1 <= r & G1*(1,j1-'1)`2 <= s & s <= G1*(
1,j1)`2} by A58,A61;
i1 = len G1 by A1,A2,A4,A6,A9,A57,Th3;
hence thesis by A53,A55,A54,A62,GOBRD11:29;
end;
suppose
A63: i2 < len G2;
then
p in { |[r,s]| : G2*(i2,1)`1 <= r & r <= G2*(i2+1,1)`1 & G2*(1,j2
-'1)`2 <= s & s <= G2*(1,j2)`2 } by A15,A7,A49,A51,A50,GOBRD11:32;
then consider r9,s9 such that
A64: p = |[r9,s9]| and
A65: G2*(i2,1)`1 <= r9 and
A66: r9 <= G2*(i2+1,1)`1 and
A67: G2*(1,j2-'1)`2 <= s9 & s9 <= G2*(1,j2)`2;
A68: G1*(i1,1)`1 <= r9 by A4,A5,A12,A13,A8,A11,A65,GOBOARD5:2;
A69: G1*(1,j1-'1)`2 <= s9 & s9 <= G1*(1,j1)`2 by A4,A5,A12,A13,A8,A16,A56
,A67,GOBOARD5:1,XXREAL_0:2;
now
per cases by A12,XXREAL_0:1;
suppose
A70: i1 = len G1;
p in {|[r,s]|: G1*(i1,1)`1 <= r & G1*(1,j1-'1)`2 <= s & s <=
G1* (1,j1)`2} by A64,A69,A68;
hence thesis by A53,A55,A54,A70,GOBRD11:29;
end;
suppose
A71: i1 < len G1;
1 <= i2+1 & i2+1 <= len G2 by A63,NAT_1:12,13;
then
A72: G2*(i2+1,j2)`1 = G2*(i2+1,1)`1 by A6,A9,GOBOARD5:2;
1 <= i1+1 & i1+1 <= len G1 by A71,NAT_1:12,13;
then G1*(i1+1,j1)`1 = G1*(i1+1,1)`1 by A13,A8,GOBOARD5:2;
then G2*(i2+1,1)`1 <= G1*(i1+1,1)`1 by A1,A4,A5,A13,A8,A7,A6,A9,A63
,A71,A72,Th6;
then r9 <= G1*(i1+1,1)`1 by A66,XXREAL_0:2;
then p in { |[r,s]| : G1*(i1,1)`1 <= r & r <= G1*(i1+1,1)`1 & G1*
(1,j1-'1)`2 <= s & s <= G1*(1,j1)`2 } by A64,A69,A68;
hence thesis by A5,A53,A55,A54,A71,GOBRD11:32;
end;
end;
hence thesis;
end;
end;
hence thesis;
end;
end;
Lm1: for f being non empty FinSequence of TOP-REAL 2 st 1 <= i & i <= len GoB
f & 1 <= j & j <= width GoB f ex k st k in dom f & (f/.k)`1 = (GoB f)*(i,j)`1
proof
let f be non empty FinSequence of TOP-REAL 2;
assume that
A1: 1 <= i & i <= len GoB f and
A2: 1 <= j & j <= width GoB f;
A3: GoB f = GoB (Incr X_axis f,Incr Y_axis f) by GOBOARD2:def 2;
then len Incr X_axis f = len GoB f by GOBOARD2:def 1;
then i in dom Incr X_axis f by A1,FINSEQ_3:25;
then (Incr X_axis f).i in rng Incr X_axis f by FUNCT_1:def 3;
then (Incr X_axis f).i in rng X_axis f by SEQ_4:def 21;
then consider k being Nat such that
A4: k in dom X_axis f and
A5: (X_axis f).k = (Incr X_axis f).i by FINSEQ_2:10;
[i,j] in Indices GoB f by A1,A2,MATRIX_0:30;
then
A6: (GoB f)*(i,j) = |[Incr(X_axis f).i,Incr(Y_axis f).j]| by A3,GOBOARD2:def 1;
reconsider k as Nat;
take k;
len X_axis f = len f by GOBOARD1:def 1;
hence k in dom f by A4,FINSEQ_3:29;
thus (f/.k)`1 = Incr(X_axis f).i by A4,A5,GOBOARD1:def 1
.= (GoB f)*(i,j)`1 by A6,EUCLID:52;
end;
Lm2: for f being non empty FinSequence of TOP-REAL 2 st 1 <= i & i <= len GoB
f & 1 <= j & ;
proof
let f be non empty FinSequence of TOP-REAL 2;
,B be Subset of X
A1: 1 <= i & i <= len GoB f and
A2: 1 <= j & j <= width java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 16
A3: GoB f = GoB (Incr X_axis f, closed &P \/ Q is closed;
then len Incr Y_axis f = width GoB f by GOBOARD2:def 1;
java.lang.StringIndexOutOfBoundsException: Range [15, 6) out of bounds for length 48
then (Incr Y_axis f).j in rng Incr Y_axisjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then (Incr Y_axis f).j in rng Y_axis f by SEQ_4:def 21;
er k being Nat such that
A4: k in dom Y_axis f and assume P c=Qjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
5 (Y_axis f).k =Incr Y_axis f).j by FINSEQ_2:10;
[i,j] in Indices GoB f by A1,A2,MATRIX_0:30;
A6:
reconsider k as Nat;
take k;
len A3: F is closed and
hence k in dom f by A4,FINSEQ_3:29;
thus (f/.k)`2 = Incr(Y_axis f).j by A4,A5,GOBOARD1:def 2
.= (GoB f)*(i,j)`2 java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 21
end;
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 42
for f being standard special_circular_sequence st f
is_sequence_on G holds Values GoB f c= Values G
proof
let f be now
A1: f is_sequence_on G;
let pA7:c=;
set F = GoB f;
assume p in Values F;
then p in { F*(i,j): [i,j] in Indices F } thus A / F = D A6,A7java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
then consider i,j such that
A2: p = F*(i,j) and
A3: [i,j] in Indicesend;
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
A4: 1 < j&j < width F by A3,ATRIX_0:32;
A5: 1 <= i & i <= len F by A3,MATRIX_0:32;
then consider k1 such olds A / Cl {}={x}
A6: k1 in dom f and
A7: p`1 = (f/.k1)`1 by java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
considerjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
: java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 19
2.) ,5A4java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
consider i2
A10: [i2,j2] in Indices G and
A11: f/.k2 = G*(i2,j2) by A1,A8,GOBOARD1:def 9;
A12: 1 <= i2 & i2 <= len G java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 4
consider i1,j1 such that
A13: [i1,j1] in Indices G and
A14: f/.k1 = G*(i1,j1) by A1,A6,GOBOARD1:java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
A15: 1 <= j1 & c IT=Djava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
A16: p = |[p`1, p`2]| by EUCLID:53;
java.lang.StringIndexOutOfBoundsException: Range [28, 3) out of bounds for length 48
= = java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 46
then
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 45
A20: G*(i1,j2)`2 = G*(1,j2)`2 by A1:the of = Y1;
.= G*assume
G*i1j2)1 =G*(1,1)` by ,17,OBOARD5:2
.=G*,)1by A18,A15,GOBOARD5:2;
then p = G*(i1,j2) by A7,A9,A14,A11,A20,A16,EUCLID:53;
let D be Subset of Y1;
hence thesis by MATRIX_0:39;
end;
:
let f , k;
assume 1 <= k & k+1 <= len f & f is_sequence_on G;
i1j1,j2beingNat
A1 aas Point of by java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
A2: [i2,j2] in Indices G & f/.A: ain (the of X A : 1
& 1=j2 or 1 & j1=j2 i1&
i1 = i2 & j1 = j2+1 by JORDAN8:3;
func right_cell(f,k,G) -> Subset of TOP-REAL 2 means
:Def1:
for i1,j1,i2,j2 being Nat
st [i1,j1] in Indices G & [i2,j2] in Indices G & f/.k = G*
(i1,j1) & f/.(k+1) = G*(i2,j2) holds i1 = i2 & j1+1 = j2 & it = cell(G,i1,j1)
or i1+1 = i2 assume x B;
cell(G,i2,j2) or i1 = A7: x in A or x in {a} by def3;
existence
proof
per cases by A3;
suppose
A4: i1 = i2 & j1+1 = j2;
take cell(G,i1,j1);
let i19,j19,i29,j29 be Nat;
assume that
A5: [i19,j19] in Indices G and
A6: [i29,j29] in Indices G and
A7: f/.k = G*(i19,j19) and
A8: f/.(k+1) = G*(i29,j29);
i1 = i19 & j1 = j19 by A1,A5,A7,GOBOARD1:5;
hence thesis by A2,java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 12
end;
suppose
A9: i1+1 = i2 & j1 =
take cell(G,i1,j1-'1);
let i19,j19,i29,j29 be Nat;
assume A12: G=(A)`
A10: [i19,j19] in Indices G and
A11: [i29,j29] in Indices G and
A12: f/.k = G*(i19,j19) and
A13: f/.(k+1) = G*(i29,j29);
i1 = i19 & j1 = j19 by A1,A10,A12,GOBOARD1:5;
hence thesis by A2,A9, hence B / G x by A10,13,A11,XBOOLE_1:28;
end;
suppose
A14: i1 = i2+1 & j1 = j2;
take cell(G,i2,j2);
let i19,j19,i29,j29 be Nat;
assume
A15: [i19,j19] in Indices G & [i29,j29] in Indices G & f/.k = G*(i19
,j19) & f/.(k+1) = G*(i29,j29);
then i2 = i29 & j1 = j19 by A1,A2,GOBOARD1:5;
hence thesis by
;
suppose
A16: i1 = i2 & j1 = j2+1;
take cell(G,i1-'1,j2);
let i19,j19,i29,j29 be Nat;
assume that
17: [19,j19] Indices and
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 17
A19: f/.k = G*(i19,j19;
A20: f/.(k+1) = G*(i29,j29);
i1 = i19 & j1 = j19 by A1,A17,A19,GOBOARD1:5;
hence thesis by A2,A16,A18,A20,GOBOARD1:5;
end;
end;
proof
let P1,P2 be
A21:for ,1,j2being st [1,1] Indices [
i2,j2] in Indices G & f/.k = G*(i1,j1) & f/.(k+1) = G*(i2,j2) holds i1 A1:A dense;
j1+1 = j2 &
or i1 = i2+1 & j1 = j2 & P1 = cell notmaximal_discretejava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
G,i1-'1,j2) and
A22: for i1,A5 <A2
java.lang.StringIndexOutOfBoundsException: Range [23, 2) out of bounds for length 77
java.lang.StringIndexOutOfBoundsException: Range [10, 2) out of bounds for length 77
or i1 = i2+1 & j1 = j2 & P2 = cell(G,i2,j2) or i1 = i2 & j1 = j2+1 & P2 = cell: a in D \ : ;
G,i1 reconsiderasjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 35
consider being that
A23:i1 =i2 &j1+1=j2;
A24: j2 <= java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 7
A25: j1 < j2 by A23,XREAL_1: then a}=A XBOOLE_1:17;
hence P1 = cell(G,i1,j1) by A1,A2,A21,A24
.= P2 by A1,A2,A22,A25,A24;
end;
suppose
A/ c= /G ,XBOOLE_126
A27:i2 < i2+ NAT_1:11;
A28: i1 < i2 by A26,XREAL_1:29;
hence P1 = cell(G,i1,j1-' hen misses G or A /\ G = {a};
.= Ajava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 40
: Cl/{java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
29i1 =i2+ &j1 =j2;
A30: i1 <= i1+1 by NAT_1:11;
A31: i2 < i1 by A29,XREAL_1:29;
hence concontradictionT2java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
.= P2 by A1,A2,A22,A31,A30;
end;
suppose
A32: i1 = i2 & j1 = j2+1;
A33: j1 <= j1+1 by NAT_1:11;
A34: j2 < j1 by A32,XREAL_1:29;
hence P1 = cell(G,i1-'1,j2) by A1,A2,A21,A33
.= P2 by A1,A2,A22,A34,A33;
end;
end;
func left_cell(f,k,G) -> Subset of TOP-REAL 2 means
:Def2:
for i1,j1,i2,j2
being Nat st [i1,j1] in Indices G & [i2,j2] in Indices G & f/.k = G*
(i1,j1) & f/.(k+1) = G*(i2,j2) holds i1 = i2 & j1+1 = j2 & it = cell(G,i1-'1,j1
) or i1+1 = i2 & j1 = j2 & it = cell(G,i1,j1) or i1 = i2+1 & j1 = j2 & it =
cell(G,i2,j2-'1) or i1 = i2 & j1 = j2+1 & it = cell(G,i1,j2);
existence
proof
per cases by A3;
suppose
A35: i1 = i2 & j1+1 = j2;
take cell(G,i1-'1,j1);
let i19,j19,i29,j29 be Nat;
assume that
A36: [i19,j19] in Indices G and
A37: [i29,j29] in Indices G and
A38: f/.k = G*(i19,j19) and
A39: f/.(k+1) = G*(i29,j29);
i1 = i19 & j1 = j19 by A1,A36,A38,GOBOARD1:5;
hence thesis by A2,A35,A37,A39,GOBOARD1:5;
end;
suppose
A40: i1+1 = i2 & j1 = j2;
take cell(G,i1,j1);
let i19,j19,i29,j29 be Nat;
assume that
A41: [i19,j19] in Indices G and
A42: [i29,j29] in Indices G and
A43: f/.k = G*(i19,j19) and
A44: f/.(k+1) = G*(i29,j29);
i1 = i19 & j1 = j19 by A1,A41,A43,GOBOARD1:5;
hence thesis by A2,A40,A42,A44,GOBOARD1:5;
end;
suppose
A45: i1 = i2+1 & j1 = j2;
take cell(G,i2,j2-'1);
let i19,j19,i29,j29 be Nat;
assume
A46: [i19,j19] in Indices G & [i29,j29] in Indices G & f/.k = G*(i19
,j19) & f/.(k+1) = G*(i29,j29);
then i2 = i29 & j1 = j19 by A1,A2,GOBOARD1:5;
hence thesis by A1,A2,A45,A46,GOBOARD1:5;
end;
suppose
A47: i1 = i2 & j1 = j2+1;
take cell(G,i1,j2);
let i19,j19,i29,j29 be Nat;
assume that
A48: [i19,j19] in Indices G and
A49: [i29,j29] in Indices G and
A50: f/.k = G*(i19,j19) and
A51: f/.(k+1) = G*(i29,j29);
i1 = i19 & j1 = j19 by A1,A48,A50,GOBOARD1:5;
hence thesis by A2,A47,A49,A51,GOBOARD1:5;
end;
end;
uniqueness
proof
let P1,P2 be Subset of TOP-REAL 2 such that
A52: for i1,j1,i2,j2 being Nat st [i1,j1] in Indices G & [
i2,j2] in Indices G & f/.k = G*(i1,j1) & f/.(k+1) = G*(i2,j2) holds i1 = i2 &
j1+1 = j2 & P1 = cell(G,i1-'1,j1) or i1+1 = i2 & j1 = j2 & P1 = cell(G,i1,j1)
or i1 = i2+1 & j1 = j2 & P1 = cell(G,i2,j2-'1) or i1 = i2 & j1 = j2+1 & P1 =
cell(G,i1,j2) and
A53: for i1,j1,i2,j2 being Nat st [i1,j1] in Indices G & [
i2,j2] in Indices G & f/.k = G*(i1,j1) & f/.(k+1) = G*(i2,j2) holds i1 = i2 &
j1+1 = j2 & P2 = cell(G,i1-'1,j1) or i1+1 = i2 & j1 = j2 & P2 = cell(G,i1,j1)
or i1 = i2+1 & j1 = j2 & P2 = cell(G,i2,j2-'1) or i1 = i2 & j1 = j2+1 & P2 =
cell(G,i1,j2);
per cases by A3;
suppose
A54: i1 = i2 & j1+1 = j2;
A55: j2 <= j2+1 by NAT_1:11;
A56: j1 < j2 by A54,XREAL_1:29;
hence P1 = cell(G,i1-'1,j1) by A1,A2,A52,A55
.= P2 by A1,A2,A53,A56,A55;
end;
suppose
A57: i1+1 = i2 & j1 = j2;
A58: i2 <= i2+1 by NAT_1:11;
A59: i1 < i2 by A57,XREAL_1:29;
hence P1 = cell(G,i1,j1) by A1,A2,A52,A58
.= P2 by A1,A2,A53,A59,A58;
end;
suppose
A60: i1 = i2+1 & j1 = j2;
A61: i1 <= i1+1 by NAT_1:11;
A62: i2 < i1 by A60,XREAL_1:29;
hence P1 = cell(G,i2,j2-'1) by A1,A2,A52,A61
.= P2 by A1,A2,A53,A62,A61;
end;
suppose
A63: i1 = i2 & j1 = j2+1;
A64: j1 <= j1+1 by NAT_1:11;
A65: j2 < j1 by A63,XREAL_1:29;
hence P1 = cell(G,i1,j2) by A1,A2,A52,A64
.= P2 by A1,A2,A53,A65,A64;
end;
end;
end;
theorem Th14:
1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G
& [i,j+1] in Indices G & f/.k = G*(i,j) & f/.(k+1) = G*(i,j+1) implies
left_cell(f,k,G) = cell(G,i-'1,j)
proof
A1: j < j+1 & j+1 <= j+1+1 by XREAL_1:29;
assume 1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G & [i
,j+1] in Indices G & f/.k = G*(i,j) & f/.(k+1) = G*(i,j+1);
hence thesis by A1,Def2;
end;
theorem Th15:
1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G
& [i,j+1] in Indices G & f/.k = G*(i,j) & f/.(k+1) = G*(i,j+1) implies
right_cell(f,k,G) = cell(G,i,j)
proof
A1: j < j+1 & j+1 <= j+1+1 by XREAL_1:29;
assume 1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G & [i
,j+1] in Indices G & f/.k = G*(i,j) & f/.(k+1) = G*(i,j+1);
hence thesis by A1,Def1;
end;
theorem Th16:
1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G
& [i+1,j] in Indices G & f/.k = G*(i,j) & f/.(k+1) = G*(i+1,j) implies
left_cell(f,k,G) = cell(G,i,j)
proof
A1: i < i+1 & i+1 <= i+1+1 by XREAL_1:29;
assume 1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G & [i
+1,j] in Indices G & f/.k = G*(i,j) & f/.(k+1) = G*(i+1,j);
hence thesis by A1,Def2;
end;
theorem Th17:
1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G
& [i+1,j] in Indices G & f/.k = G*(i,j) & f/.(k+1) = G*(i+1,j) implies
right_cell(f,k,G) = cell(G,i,j-'1)
proof
A1: i < i+1 & i+1 <= i+1+1 by XREAL_1:29theorem Th43:
assume 1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G & [i
+1,j] in Indices G & f/.k = G*(i,j) & f/.(k+1) = G*(i+1,j);
hence thesis by A1,Def1;
end;
theorem Th18:
1 <= k &k+ =lenf&fG&[j G
&i1, G & f/.k =i,) . *
left_cell(f,k,G) = cell(G, X is SubSpace of X by TSE java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 35
proof
java.lang.StringIndexOutOfBoundsException: Range [24, 2) out of bounds for length 41
assume 1 <= k & k+1 <= len f & f Ajava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 26
+1,j] in Indices G & f/.k = G*(i+1,j) & f/ java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 65
hence thesis by A1,Def2;
end;
theorem Th19:
1 <= k & k+1 < now
& [i+1,j] in Indices G & f/.k = G*(i+1,j) & f/.(k+1) =
right_cell(f,k,G) = cell(G,i,j)
proof
A1: i < i+1 & i+1 <= i+1+1 by XREAL_1:29;
assumeA is
+1,j] in Indiceshence A maximal_discrete by A1;
hence thesis by A1,Def1;
end;
theorem Th20:
1 <= k & k+1 <= len f & f java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
G & [i,j] in Indices G & f/.k = G*(i,j+1) & f/.(k+
(G,i,)
proof
A1e;
java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 0
,j);
hence thesis by A1,Def2;
end;
theorem Th21:
1 <= k & k+1 <registration
G & [i,j] in Indices G & f/.k = G*(i,j+1) & f/.(k+1) = G*(i,j) implies
right_cell(f,k,G) = cell(G,i-'1,j)
proof
A1: j < j+1 & j+1 <= j+1+1 by XREAL_1:29;
assume 1 <= k & k+1 <= len f & f is_sequence_on G & [i,j+1] in Indices G &
[i,j] in Indices G & f/.k = G*(i,j+1) & f/.(k+1) = G*(i,j);
hence thesis by A1,Def1;
end;
theorem
1 <= k & k+1 <= len f & f is_sequence_on G implies left_cell(f,k,G) /\
right_cell(f,k,G) = LSeg(f,k)
proof
assume that
A1: 1 <= k and
A2: k+1 <= len f and
A3: f is_sequence_on G;
k+1 >= 1 by NAT_1:11;
then
A4: k+1 in dom f by A2,FINSEQ_3:25;
then consider i2,j2 being Nat such that
A5: [i2,j2] in Indices G and
A6: f/.(k+1) = G*(i2,j2) by A3,GOBOARD1:def 9;
A7: 1 <= j2 by A5,MATRIX_0:32;
A8: i2 <= len G by A5,MATRIX_0:32;
A9: 1 <= i2 by A5,MATRIX_0:32;
A10: j2 <= width G by A5,MATRIX_0:32;
k <= k+1 by NAT_1:11;
then k <= len f by A2,XXREAL_0:2;
then
A11: k in dom f by A1,FINSEQ_3:25;
then consider i1,j1 being Nat such that
A12: [i1,j1] in Indices G and
A13: f/.k = G*(i1,j1) by A3,GOBOARD1:def 9;
A14: 0+1 <= j1 by A12,MATRIX_0:32;
then j1 > 0;
then consider j being Nat such that
A15: j+1 = j1 by NAT_1:6;
A16: |.i1-i2.|+|.j1-j2.| = 1 by A3,A11,A12,A13,A4,A5,A6,GOBOARD1:def 9;
A17: now
per cases by A16,SEQM_3:42;
case that
A18: |.i1-i2.| = 1 and
A19: j1 = j2;
i1-i2 = 1 or -(i1-i2) = 1 by A18,ABSVALUE:def 1;
hence i1 = i2+1 or i1+1 = i2;
thus j1 = j2 by A19;
end;
case that
A20: i1 = i2 and
A21: |.j1-j2.| = 1;
j1-j2 = 1 or -(j1-j2) = 1 by A21,ABSVALUE:def 1;
hence j1 = j2+1 or j1+1 = j2;
thus i1 = i2 by A20;
end;
end;
A22: j1-'1=j by A15,NAT_D:34;
A23: j1 <= width G by A12,MATRIX_0:32;
then
A24: j < width G by A15,NAT_1:13;
A25: 0+1 <= i1 by A12,MATRIX_0:32;
then i1 > 0;
then consider i being Nat such that
A26: i+1 = i1 by NAT_1:6;
A27: i1 <= len G by A12,MATRIX_0:32;
then
A28: i < len G by A26,NAT_1:13;
A29: i1-'1 = i by A26,NAT_D:34;
reconsider i,j as Nat;
per cases by A17;
suppose
A30: i1 = i2 & j1+1 = j2;
then
A31: right_cell(f,k,G) = cell(G,i1,j1) by A1,A2,A3,A12,A13,A5,A6,Th15;
j1 < width G & left_cell(f,k,G) = cell(G,i,j1) by A1,A2,A3,A12,A13,A5,A6
,A10,A29,A30,Th14,NAT_1:13;
hence left_cell(f,k,G) /\ right_cell(f,k,G) = LSeg(G*(i1,j1),G*(i1,j1+1))
by A14,A26,A28,A31,GOBOARD5:25
.= LSeg(f,k) by A1,A2,A13,A6,A30,TOPREAL1:def 3;
end;
suppose
A32: i1+1 = i2 & j1 = j2;
then
A33: right_cell(f,k,G) = cell(G,i1,j) by A1,A2,A3,A12,A13,A5,A6,A22,Th17;
i1 < len G & left_cell(f,k,G) = cell(G,i1,j1) by A1,A2,A3,A12,A13,A5,A6,A8
,A32,Th16,NAT_1:13;
hence left_cell(f,k,G) /\ right_cell(f,k,G) = LSeg(G*(i1,j1),G*(i1+1,j1))
by A25,A15,A24,A33,GOBOARD5:26
.= LSeg(f,k) by A1,A2,A13,A6,A32,TOPREAL1:def 3;
end;
suppose
A34: i1 = i2+1 & j1 = j2;
then
A35: right_cell(f,k,G) = cell(G,i2,j1) by A1,A2,A3,A12,A13,A5,A6,Th19;
i2 < len G & left_cell(f,k,G) = cell(G,i2,j) by A1,A2,A3,A12,A13,A5,A6,A27
,A22,A34,Th18,NAT_1:13;
hence left_cell(f,k,G) /\ right_cell(f,k,G) = LSeg(G*(i2+1,j1),G*(i2,j1))
by A9,A15,A24,A35,GOBOARD5:26
.= LSeg(f,k) by A1,A2,A13,A6,A34,TOPREAL1:def 3;
end;
suppose
A36: i1 = i2 & j1 = j2+1;
then
A37: right_cell(f,k,G) = cell(G,i,j2) by A1,A2,A3,A12,A13,A5,A6,A29,Th21;
j2 < width G & left_cell(f,k,G) = cell(G,i1,j2) by A1,A2,A3,A12,A13,A5,A6
,A23,A36,Th20,NAT_1:13;
hence left_cell(f,k,G) /\ right_cell(f,k,G) = LSeg(G*(i1,j2+1),G*(i1,j2))
by A7,A26,A28,A37,GOBOARD5:25
.= LSeg(f,k) by A1,A2,A13,A6,A36,TOPREAL1:def 3;
end;
end;
theorem
1 <= k & k+1 <= len f & f is_sequence_on G implies right_cell(f,k,G)
is closed
proof
assume
A1: 1 <= k & k+1 <= len f & f is_sequence_on G;
then consider i1,j1,i2,j2 being Nat such that
A2: [i1,j1] in Indices G & f/.k = G*(i1,j1) & [i2,j2] in Indices G & f/.
( k+1 ) = G*(i2,j2) &( i1 = i2 & j1+1 = j2 or i1+1 = i2 & j1 = j2 or i1 = i2+1
& j1 = j2 or i1 = i2 & j1 = j2+1) by JORDAN8:3;
i1 = i2 & j1+1 = j2 & right_cell(f,k,G) = cell(G,i1,j1) or i1+1 = i2 &
j1 = j2 & right_cell(f,k,G) = cell(G,i1,j1-'1) or i1 = i2+1 & j1 = j2 &
right_cell(f,k,G) = cell(G,i2,j2) or i1 = i2 & j1 = j2+1 & right_cell(f,k,G) =
cell(G,i1-'1,j2) by A1,A2,Def1;
hence thesis by GOBRD11:33;
end;
theorem
1 <= k & k+1 <= len f & f is_sequence_on G & k+1 <= n implies
left_cell(f,k,G) = left_cell(f|n,k,G) & right_cell(f,k,G) = right_cell(f|n,k,G)
proof
assume that
A1: 1 <= k and
A2: k+1 <= len f and
A3: f is_sequence_on G and
A4: k+1 <= n;
per cases;
suppose
len f <= n;
hence thesis by FINSEQ_1:58;
end;
suppose
n < len f;
then
A5: len(f|n econsider A = the carrier of Y0 as Subset of Y by Lm1;
then k in dom(f|n) by A1,A4,SEQ_4:134;
then
A6: (f|n)/.k = f/.k assume Y0 is maximal_discreteis maximal_discrete;
k+1 in dom(f|n) by java.lang.StringIndexOutOfBoundsException: Range [4, 25) out of bounds for length 23
then
A7: (f|n)/.(k+1) = f/.(k+1) by FINSEQ_4:70;
set lf = left_cell(f,k,G), lfn = left_cell(f|n,k,G), rf = right_cell(f,k,G
), rfn = right_cell(f|n,k,G);
A8: f|n is_sequence_on G by A3,GOBOARD1:22;
consider i1,j1,i2,j2 being Nat such that
A9: [i1,j1] in Indices G & f/.k = G*(i1,j1) & [i2,j2] in Indices G & f
/.( k+1) = G*(i2,j2) and
A10: i1 = i2 & j1+1 = j2 or i1+1 = i2 & j1 = j2 or i1 = i2+1 & j1 = j2
or i1 = i2 & j1 = j2+1 by A1,A2,A3,JORDAN8:3;
A11: j1+1 > j1 & j2+1 > j2 by NAT_1:13;
A12: i1+1 > i1 & i2+1 > i2 by NAT_1:13;
now
per cases by A10;
suppose
A13: i1 = i2 & j1+1 = j2;
hence lf = cell(G,i1-'1,j1
.= lfn by A1,A4,A9,A11,A8t
) byA1,2A3,A9,11,A13,Def1
.=rfn by A1,A4,9A11,A8,A5,A6,7A13,ef1;
end;
suppose
java.lang.StringIndexOutOfBoundsException: Range [24, 3) out of bounds for length 28
hence lf = cell(G,assume X0 is maximal_discrete;
.= lfn by A1,A4,A9,A12,A8,A5,A6,A7,java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 8
thus rf = cell(G,i1,j1-'1) by A1,A2,A3,A9,
.,A14,Def1;
end;
suppose
A15: i1 = i2+1 & j1 = j2;
hence lf = cell(G,i2,j2-'1) by A1,A2,A3,A9,A12,Def2
.= lfn by A1,A4,A9,A12,A8,A5,A6,A7,A15,Def2;
A1,A2,A3,A9,12A15,Def1
.= rfn by A1,A4,A9,A12,A8,A5,A6,A7,A15,Def1;
end;
suppose
A16: i1 = i2 & j1 = j2+1;
l(G,1,2 by A1,A2,3A9,A11,Def2
.= lfn by A1,A4,A9,A11,A8,A5,A6,A7,A16,Def2 ;
thus rf = cell(G,i1-'1,j2) by A1,A2,A3,A9,A11,A16,Def1
.= rfn by A1,A4,A9,A11,A8,A5,A6,A7,A16,Def1;
end;
end;
hence thesis;
end;
end;
theorem
1 <= k & k+1 <= len(f/^n) & n <= len f & f is_sequence_on G implies
left_cell(f,k+n,G) = left_cell(f/^n,k,G) & right_cell(f,k+n,G) = right_cell(f/^
n,k,G)
proof
set g = (f/^n);
assume that
A1: 1 <= k and
A2: k+1 <= len g and
A3: n <= len f and
f is_sequence_on G;
A5: len g = len f - n & k+1+n <= (len g)+n by A2,A3,RFINSEQ:def 1,XREAL_1:6;
k in dom g by A1,A2,SEQ_4:134;
then
A6: g/.k = f/.(k+n) by FINSEQ_5:27;
java.lang.StringIndexOutOfBoundsException: Range [20, 5) out of bounds for length 78
), rfn =D;
A7: k+1+n = k+n+1 & 1 <= k+n by A1,NAT_1:12;
k+1 in dom g by A1,A2,SEQ_4:134;
thenthen being discrete ofX such that
A8: g/.(k+1) = f/.(k+1+n) by FINSEQ_5:27;
A9: g is_sequence_on G by A4,JORDAN8:2;
then consider i1,j1,i2,j2 being Nat such that
A10: [i1then A A3;
( k+1) = G*(i2,j2) and
A11: i1 = i2 & end;
i1 = i2 & j1 = j2+1 by A1,A2,JORDAN8:3;
A12: j1+1 > j1 & j2+1 > j2 by NAT_1:13;
A13: i1+1 > i1 & i2+1 > A13: i1+1 > i1 & i2+1 > i2
now
per cases by A11;
suppose
A14: i1 = i2 & j1+1 = j2;
hence lf = cell(G,i1-'1,j1) by A4,A10,A12,A6,A8,A5,A7,Def2
.= lfn by A1,A2,java.lang.StringIndexOutOfBoundsException: Range [24, 26) out of bounds for length 8
thus rf = cell(G,i1,j1) by A4,A10,A12,A6,A8,A5,A7,A14,Def1
.= rfn by A1,A2,A9, take ;
end;
suppose
A15: i1+1 = i2 & j1 = j2;
hence lf = cell(G,i1,j1) by A4,A10,A13 maximal_discrete- non properforSubSpace X;
.= lfn java.lang.StringIndexOutOfBoundsException: Range [2, 17) out of bounds for length 7
thus rf = cell(G,i1,j1-'1) by A4,A10,A13,A6,A8,A5,A7,A15,Def1
.= rfn by A1,A2,A9,A10,A13,A15,Def1;
end;
:i1 = i2+1&j1 =j2;
hence hence thesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
. coherence
thus rf = cell(G,i2,j2) by A4,A10,A13,A6,A8,A5,A7,A16,Def1
.= rfn by A1,A2,A9,A10,A13,A16,Def1;
end;
suppose
&java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 26
hence lf = cell(G,i1,j2) by A4,A10,A12,A6,A8,A5,A7,Def2
.= lfn by A1,A2,A9,A10,A12,A17,Def2;
thus rf = cell(G,i1-'1,j2) by A4,A10,A12,A6,A8,A5,A7,A17,Def1
.= rfn by A1,A2,A9,A10,A12,A17,Def1;
end;
end;
hence thesis;
end;
theorem
for G being Go-board, f being standard special_circular_sequence st 1
<= n & n+1 <= len f & f is_sequence_on G holds left_cell(f,n,G) c= left_cell(f,
n) & right_cell(f,n,G) c= right_cell(f,n)
proof
let G be Go-board,f be standard special_circular_sequence such that
A1: 1 <= n & n+1 <= len f and
A2: f is_sequence_on G;
consider i1,j1,i2,j2 such that
A3: [i1,j1] in Indices G and
A4: f/.n = G*(i1,j1) and
A5: [i2,j2] in Indices G and
A6: f/.(n+1) = G*(i2,j2) and
A7: i1 = i2 & j1+1 = j2 or i1+1 = i2 & j1 = j2 or i1 = i2+1 & j1 = j2
or i1 = i2 & j1 = j2+1 by A1,A2,JORDAN8:3;
A8: 1 <= j1 by A3,MATRIX_0:32;
A9: j1+1 > j1 & j2+1 > j2 by NAT_1:13;
A10: i1+1 > i1 & i2+1 > i2 by NAT_1:13;
A11: j2 <= width G by A5,MATRIX_0:32;
A12: j1 <= width G by A3,MATRIX_0:32;
A13: i2 <= len G by A5,MATRIX_0:32;
A14: 1 <= i2 by A5,MATRIX_0:32;
then
A15: G*(i2,j1)`2 = G*(1,j1)`2 by A8,A12,A13,GOBOARD5:1;
A16: 1 <= j2 by A5,MATRIX_0:32;
then
A17: G*(i2,j2)`1 = G*(i2,1)`1 by A14,A13,A11,GOBOARD5:2;
A18: i1 <= len G by A3,MATRIX_0:32;
set F = GoB f;
A19: Values F c= Values G by A2,Th13;
f is_sequence_on F by GOBOARD5:def 5;
then consider m,k,i,j such that
A20: [m,k] in Indices F and
A21: f/.n = F*(m,k) and
A22: [i,j] in Indices F and
A23: f/.(n+1) = F*(i,j) and
m = i & k+1 = j or m+1 = i & k = j or m = i+1 & k = j or m = i & k = j+1
by A1,JORDAN8:3;
A24: 1 <= m by A20,MATRIX_0:32;
A25: 1 <= i1 by A3,MATRIX_0:32;
then
A26: G*(i1,j1)`1 = G*(i1,1)`1 by A18,A8,A12,GOBOARD5:2;
A27: G*(i1,j1)`2 = G*(1,j1)`2 by A25,A18,A8,A12,GOBOARD5:1;
A28: m <= len F by A20,MATRIX_0:32;
A29: j+1 > j by NAT_1:13;
A30: k+1 > k by NAT_1:13;
A31: k+1 >= 1 by NAT_1:12;
A32: j+1 >= 1 by NAT_1:12;
A33: j <= width F by A22,MATRIX_0:32;
A34: i+1 > i by NAT_1:13;
A35: m+1 > m by NAT_1:13;
A36: i <= len F by A22,MATRIX_0:32;
A37: i+1 >= 1 by NAT_1:12;
A38: m+1 >= 1 by NAT_1:12;
A39: k <= width F by A20,MATRIX_0:32;
A40: 1 <= j by A22,MATRIX_0:32;
then
A41: F*(m,j)`2 = F*(1,j)`2 by A24,A28,A33,GOBOARD5:1;
A42: 1 <= i by A22,MATRIX_0:32;
then
A43: F*(i,j)`1 = F*(i,1)`1 by A36,A40,A33,GOBOARD5:2;
A44: F*(i,j)`2 = F*(1,j)`2 by A42,A36,A40,A33,GOBOARD5:1;
A45: 1 <= k by A20,MATRIX_0:32;
then
A46: F*(i,k)`1 = F*(i,1)`1 by A39,A42,A36,GOBOARD5:2;
per cases by A7;
suppose
A47: i1 = i2 & j1+1 = j2;
A48: now
A49: G*(i2,j2)`2 = G*(1,j2)`2 by A14,A13,A16,A11,GOBOARD5:1;
assume
A50: k+1 < j;
then
A51: k+1 < width F by A33,XXREAL_0:2;
then consider l,i9 such that
A52: l in dom f and
A53: [i9,k+1] in Indices F and
A54: f/.l = F*(i9,k+1) by JORDAN5D:8,NAT_1:12;
A55: F*(m,k+1)`2 = F*(1,k+1)`2 by A24,A28,A31,A51,GOBOARD5:1;
1 <= i9 & i9 <= len F by A53,MATRIX_0:32;
then
A56: F*(i9,k+1)`2 = F*(1,k+1)`2 by A31,A51,GOBOARD5:1;
consider i19,j19 such that
A57: [i19,j19] in Indices G and
A58: f/.l = G*(i19,j19) by A2,A52,GOBOARD1:def 9;
A59: 1 <= j19 by A57,MATRIX_0:32;
A60: 1 <= i19 & i19 <= len G by A57,MATRIX_0:32;
then
A61: G*(i19,j1)`2 = G*(1,j1)`2 by A8,A12,GOBOARD5:1;
A62: now
assume j1 >= j19;
then G*(i19,j19)`2 <= G*(i1,j1)`2 by A12,A27,A60,A59,A61,SPRECT_3:12;
hence contradiction by A21,A24,A28,A45,A4,A30,A51,A54,A56,A55,A58,
GOBOARD5:4;
end;
A63: j19 <= width G by A57,MATRIX_0:32;
A64: G*(i19,j2)`2 = G*(1,j2)`2 by A16,A11,A60,GOBOARD5:1;
now
assume j2 <= j19;
then G*(i2,j2)`2 <= G*(i19,j19)`2 by A16,A60,A63,A49,A64,SPRECT_3:12;
hence contradiction by A23,A24,A28,A33,A44,A41,A6,A31,A50,A54,A56,A55
,A58,GOBOARD5:4;
end;
hence contradiction by A47,A62,NAT_1:13;
end;
now
assume j <= k;
then
A65: F*(i,j)`2 <= F*(m,k)`2 by A24,A28,A39,A40,A44,A41,SPRECT_3:12;
j1 < j2 by A47,NAT_1:13;
hence contradiction by A21,A23,A4,A6,A8,A14,A13,A11,A27,A15,A65,
GOBOARD5:4;
end;
then k+1 <= j by NAT_1:13;
then k+1 = j by A48,XXREAL_0:1;
then
A66: right_cell(f,n) = cell(F,m,k) & left_cell(f,n) = cell(F,m-'1,k) by A1,A20
,A21,A22,A23,A30,A29,GOBOARD5:def 6,def 7;
right_cell(f,n,G) = cell(G,i1,j1) & left_cell(f,n,G) = cell(G,i1-'1,
j1) by A1,A2,A3,A4,A5,A6,A9,A47,Def1,Def2;
hence thesis by A19,A20,A21,A3,A4,A66,Th10,Th11;
end;
suppose
A67: i1+1 = i2 & j1 = j2;
A68: now
assume
A69: m+1 < i;
then
A70: m+1 < len F by A36,XXREAL_0:2;
then consider l,j9 such that
A71: l in dom f and
A72: [m+1,j9] in Indices F and
A73: f/.l = F*(m+1,j9) by JORDAN5D:7,NAT_1:12;
A74: F*(m+1,k)`1 = F*(m+1,1)`1 by A45,A39,A38,A70,GOBOARD5:2;
1 <= j9 & j9 <= width F by A72,MATRIX_0:32;
then
A75: F*(m+1,j9)`1 = F*(m+1,1)`1 by A38,A70,GOBOARD5:2;
A76: 1 <= m+1 & F*(m+1,j)`1 = F*(m+1,1)`1 by A40,A33,A38,A70,GOBOARD5:2;
A77: G*(i2,j2)`1 = G*(i2,1)`1 by A14,A13,A16,A11,GOBOARD5:2;
consider i19,j19 such that
A78: [i19,j19] in Indices G and
A79: f/.l = G*(i19,j19) by A2,A71,GOBOARD1:def 9;
A80: i19 <= len G by A78,MATRIX_0:32;
A81: 1 <= j19 & j19 <= width G by A78,MATRIX_0
java.lang.StringIndexOutOfBoundsException: Range [5, 3) out of bounds for length 34
then
A83: G
A84: G*(i19,j1)`1 = G*(i19,1)`1 by A8,A12,A82,A80,GOBOARD5:
A85: now
G(19j)1< *,)1byA18,8,A82A83,84:13
;
hencecontradiction ,24,45,39,4,A35,70,,75,,,
GOBOARD5:3;
end;
: *,j19)`=G*,1` ,A13,81,GOBOARD5:2;
now
assume i2 <= i19;
then *,j2`1< G(j19` A14A80,A77A86,13;
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 70
java.lang.StringIndexOutOfBoundsException: Range [11, 8) out of bounds for length 11
end;
hence contradiction non emptyTopSpace
end;
now
i<m;
then
A87: F(,)1 <F*m,)`1 byA28,45A39,,43,46,PRECT_3:13;
<i2 A67,NAT_1:3;
hence contradiction by A21,A23,A4,A6,A25,A8,A12,let C object;
theex a being =Cl a & A;
then m+1 <= i by NAT_1:13;
then m+1 = i by -Familyof X by TARSKI:def 3;
then
A88: right_cell(f,n java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 79
,A21,A22,A23,A35,reconsidera=x as Point ofX;
right_cell(f,n,G) = cell(G,i1,j1-'1) & left_cell(f,n,G) = then
j1) by A1,A2,A3,A4,A5,A6,A10,A67,Def1,Def2;
hence thesis by A19,A20,A21,A3,A4,java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 29
end;
A89 C;
A90: now
assume
A91: m > i+1;
then
A92: i+1 < len F by A28,XXREAL_0:2;
then consider l,j9 such that
A93: l in dom f and
A94: [i+1,j9] in Indices F and
A95: f/.l = F*(i+1,j9) by JORDAN5D:7,NAT_1:12;
A96: 1 <= i+1 & F*(i+1,k)`1 = F*(i+1,1)`1 by A45,A39,A37,A92,GOBOARD5:2;
1 <= j9 & j9 <= width F by A94,MATRIX_0:32;
then
A97: F*(i+1,j9)`1 = F*(i+1,1)`1 by A37,A92,GOBOARD5:2;
A98: F*(i+1,j)`1 = F*(i+1,1)`1 by A40,A33,A37,A92,GOBOARD5:2;
A99: G*(i2,j2)`1 = G*(i2,1)`1 by A14,A13,A16,A11,GOBOARD5:2;
consider i19,j19 such that
A100: [i19,j19] in Indices G and
A101: f/.l = G*(i19,j19) by A2,A93,GOBOARD1:def 9;
A102: 1 <= i19 by A100,MATRIX_0:32;
A103: 1 <= j19 & j19 <= width G by A100,MATRIX_0:32;
A104: i19 <= len G by A100,MATRIX_0:32;
then
A105: G*(i19,j19)`1 = G*(i19,1)`1 by A102,A103,GOBOARD5:2;
A106: G*(i19,j1)`1 = G*(i19,1)`1 by A8,A12,A102,A104,GOBOARD5:2;
A107: now
assume i1 <= i19;
then G*(i19,j19)`1 >= G*(i1,j1)`1 by A25,A8,A12,A104,A105,A106,
SPRECT_3:13;
hence contradiction by A21,A28,A45,A39,A4,A91,A95,A97,A96,A101,
GOBOARD5:3;
end;
A108: G*(i2,j19)`1 = G*(i2,1)`1 by A14,A13,A103,GOBOARD5:2;
now
java.lang.StringIndexOutOfBoundsException: Range [35, 12) out of bounds for length 35
then G*(i2,j2)`1 >= G*(i19,j19)`1 by A13,A102,A103,A99,A108,SPRECT_3:13
;
hence contradiction by A23,A42,A40,A33,A6,A34,A92,A95,A97,A98,A101,
GOBOARD5:3;
end;
hence contradiction by A89,A107,NAT_1:13;
end;
: ,being ofX a & inAholdsa< b implies
assumem< java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
then
A109: A8:xin A
i1 > i2 by A89,NAT_1:A: A \Cl { >{}
contradictionbyA21A23,4,A6,18,8A12,14,89,A109,:3;
end
i+1 <= m by NAT_1:;
then i+1 = m by A90,XXREAL_0:1;
then
110:right_cellf)=cell(Fij (,n (,ij-1)by ,A20
,,A,,,: 6, 7java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
right_cell(f,n,G) = cell(G,i2, then
-'1) by A1,A2,A3,A4,A5,A6,A10,A89,Def1,Def2;
hence thesis by A19,A22,A23,A5,A6,A110,Th10,Th12;
end;
suppose
A111: i1 = i2 & j1 = j2+1;
A112: now
A113: G*(i2,j2)`2 = G*(1,j2)`2 by A14,A13,A16,A11,GOBOARD5:1;
A114: j1<k;
then
115 j+<widthF byA39,XREAL_0:2;
then consider l,i9 such that
A116: l in dom f and
A117: [i9,j+1] in Indices F and
A118: f/.l = F*(i9,j+1) by JORDAN5D:8,NAT_1:12;
A119: F*(m,j+1)`2 = F*(1,j+1)`2 by A24,A28,A32,A115,GOBOARD5:1;
1 <= i9 & i9 <= len F by A117,MATRIX_0:32;
then
A120: F*(i9,j+1)`2 = Th54:
,19suchthat
:[19,]in and
A122proof
A123: j19 <= width G by A121, letjava.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 5
<= Adiscreteforxbeing X x ex a
then
*j)2= (,1`
then
then G* 1=lenby14java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
hence
contradiction by A21,A24,A28,A39,A4,A32,A114,A118,A120,A119,A122,
:4java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
endA4 inCl{}whereais :a }by TARSKI 4java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
A127: F*(i,j+1)`2 = A5 {a}and
A128: 1 <= j19 by A121,MATRIX_0 now
A129: G*(i19,j2)`2 = G*(1,j2 thus ainAbyA6;
now
assume j2 >= j19;
then G*(i2,j2)`2 >= G*(i19,j19)`2 by A11,A124,java.lang.StringIndexOutOfBoundsException: Range [0, 58) out of bounds for length 8
SPRECT_3:12;
hence contradiction by A23,A42A exa being Pointof ainA
GOBOARD5: & \Cl{}={}java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
end;
,13;
end;
now
assume j >= k;
then
:F(,`2> *mk` A24A28,A,,41SPRECT_312;
j1 > j2 by A111,NAT_1:13;
hence contradiction by A21,A9:p=G2*ij java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
:4;
end; then
then j1< kbyNAT_1:13;
then +1 Xbeing <= i by A10,MATRIX_0
thenmaximal_discreteimpliesA notproper
(,)=, -,,&f)=cellF)by
,A20,A21,A22,A23,A30,A29, assume
assume
A133: m <> iassume
A133, assume
A8:G1(i1,)` <p` by ,,GOBOARD5:3;
isdense A3,h41 then =lenG1 by NAT_114;
hence A21A,A24,5A39,6A43,A4,6A26,
,A111,GOBOARD5:3;
endin {*,:[jin Indices } MATRIX_039;
suppose
m > i;
hence contradiction by A21,A23,A28,A45,A39,A42,A43,A46,A4,A6,A26,A17
,A111,GOBOARD5:3;
end;
end;
right_cell(f,n,G) = cell(G,i1-'1,j2) & left_cell(f,n,G) = cell(G,i1,
j2) by A1,A2,A3,A4,A5,A6,A9,A111,Def1,Def2;
hence end
end;
end;
definition
let f,G,k;
assume 1 <= k & k+1 <= len f & f is_sequence_on G;
then i1,i2,j2 beingNatsuch that
: [1,j1 in Indices G & f/.k = G*(i1,j1) & [i2 G&/.
+1 *i,
;
=Cl byPRE_TOPC18
front_right_cell(,,)- Subset -EAL2
:Def3:
for: A\G }java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
i2,j2 being Nat st [i1,j1] in Indices G & [i2,j2] in Indices G & f/.
k = G*(i1,j1) & f/.(k+1) = G*(i2,j2) holds i1 = i2 & j1+1 = j2 & it = cell(G,i2
,j2) or i1+1 = i2 & j1 = j2 & it = cell(G,i2,j2-'1) or i1 = i2+1 & j1 = j2 & it
= cell(G,i2-'1,j2) or i1 = i2 & j1 = j2+1 & it = cell(G,i2-'1,j2-'1);
existence
proof
per cases by A2;
suppose
A3: i1 = i2 & j1+1 = j2;
take cell(G,i2,j2);
let i19,j19,i29,j29 be Nat;
assume
A4: [i19,j19] in Indices G & [i29,j29] in Indices G & f/.k = G*(i19,
j19) & f/.(k+1) = G*(i29,j29);
then i2 = i29 & j1 = j19 by A1,GOBOARD1:5;
hence thesis by A1,A3,A4,GOBOARD1:5;
end;
suppose
A5: i1+1 = i2& j1 =j2;
take cell(G,i2,j2-'1);
let then p in {G2*(,): [,] in }MATRIX_0;
assume
> byMATRIX_0: 10java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
j19) & G2 byA10,ATRIX_032;
i2= A1;
hence thesis by A1,A5,A6,GOBOARD1:5;
end;
suppose
A7: i1 = i2+1 & j1 = j2;
(,i2',2;
i19j19i,29 ;
A8: [i19,j19] in java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 6
f.+)=G*(,;
then i2 = i29 & j10< java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 35
hence thesis by ,,A8,OBOARD15;
end;
suppose
A9: i1 = i2 & j1 p A1
take cell(G,i2- then consideri suchthat
, Nat
10 [j] &,29 Indices &f/ G*i19
i29&= java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 48
0,GOBOARD1:5;
end;
uniqueness
proof
- that
A11: for java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
i2 G1=G2and
j1+1 = A2 =i1 and
or + & =j2 P1=cell(,-1j2 i1 + java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
G-,'1 java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
:for i1,j1,2,2 beingNat [1,1 G &[
,j2 inG&. *,j1&/(1 =*i2j2 = &
+1=j2 P2 (,i2,j2)or+1=i2& =(i,')
i1=i21& & =(i2-,)ori1= & =j21&P2
cell(G,i2-1j2-')
A2
suppose
13: i1 =i2 &j1 =j2;
A14:14:G2(,)`1=G2*i,)1 byA12,13,OBOARD52
A15: j1 < j2 by A13,XREAL_1:29;
hence P1 = cell(G,i2,j2) by A1,A11,A14
.= P2 by A1,A12,A15,A14;
end;
suppose
A16: i1+1 = i2 & j1 = j2;
A17: i2 <= i2+1 by NAT_1:11;
A18: i1 < i2 by A16,XREAL_1:29;
hence P1 = cell(G,i2,j2-'1) by A1,A11,A17
.= P2 by A1,A12,A18,A17;
end;
suppose
A19: i1 = i2+1 & j1 = j2;
A20: i1 <= i1+1 by NAT_1:11;
A21: i2 < i1 by A19,XREAL_1:29;
hence P1 = cell(G,i2-'1,j2) by A1,A11,A20
.= P2 by A1,A12,A21,A20;
end;
suppose
A22: i1 = i2 & j1 = j2+1;
A23: j1 <= j1+1 by NAT_1:11;
A24: j2 < j1 by A22,XREAL_1:29;
hence P1 = cell(G,i2-'1,j2-'1) by A1,A11,A23
.= P2 by A1,A12,A24,A23;
end;
end;
func front_left_cell(f,k,G) -> Subset of TOP-REAL 2 means
:Def4:
for i1,j1,
i2,j2 being Nat st [i1,j1] in Indices G & [i2,j2] in Indices G & f/.
k = G*(i1,j1) & f/.(k+1) = G*(i2,j2) holds i1 = i2 & j1+1 = j2 & it = cell(G,i2
-'1,j2) or i1+1 = i2 & j1 = j2 & it = cell(G,i2,j2) or i1 = i2+1 & j1 = j2 & it
= cell(G,i2-'1,j2-'1) or i1 = i2 & j1 = j2+1 & it = cell(G,i2,j2-'1);
existence
proof
per cases by A2;
suppose
A25: i1 = i2 & j1+1 = j2;
take cell(G,i2-'1,j2);
let i19,j19,i29,j29 be Nat;
assume
A26: [i19,j19] in Indices G & [i29,j29] in Indices G & f/.k = G*(i19
,j19) & f/.(k+1) = G*(i29,j29);
then i2 = i29 & j1 = j19 by A1,GOBOARD1:5;
hence thesis by A1,A25,A26,GOBOARD1:5;
end;
suppose
A27: i1+1 = i2 & j1 = j2;
take cell(G,i2,j2);
let i19,j19,i29,j29 be Nat;
assume
A28: [i19,j19] in Indices G & [i29,j29] in Indices G & f/.k = G*(i19
,j19) & f/.(k+1) = G*(i29,j29);
then i2 = i29 & j1 = j19 by A1,GOBOARD1:5;
hence thesis by A1,A27,A28,GOBOARD1:5;
end;
suppose
A29: i1 = i2+1 & j1 = j2;
take cell(G,i2-'1,j2-'1);
let i19,j19,i29,j29 be Nat;
assume
A30: [i19,j19] in Indices G & [i29,j29] in Indices G & f/.k = G*(i19
,j19) & f/.(k+1) = G*(i29,j29);
then i2 = i29 & j1 = j19 by A1,GOBOARD1:5;
hence thesis by A1,A29,A30,GOBOARD1:5;
end;
suppose
: =j2;
take cell < (+,
let i19,j19,i29,j29 be Nat;
assumehence A15A29A31:;
A32: thesis
,j19) & f/.(then1<1& +1proof
theni2 A1;
hence 1 <= i2+1 & i2<lenG2by:13
end;
end;
uniqueness
proof
let P1,P2 be Subset of TOP-REAL 2 such that
A33: for i1,j1,i2,j2 being Nat st [i1,j1] in Indices G & [
i2,j2] in Indices G & f/.k = G*(i1,j1) & f/.+)i2java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
j1+1 = j2 & P1 = cell(G,i2-'1,j2) or i1+1 = i2 & j1 = j2 & P1 = cell(G,i2,j2)
or i1 = i2+1 & j1 = j2 & P1 = cell(G,i2-'1,j2-'1) or i1 = i2 & j1 = j2+1 & P1 =
cell(G,i2,j2-'1) and
A34: for i1,j1,i2,j2 java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 8
i2,j2] in Indices G & f/.k` =s&s< (,j2+1`} A7A,,,:;
+1 Gi2-1j2 i11=& java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 77
or: =(,+)2java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
cell(G,i2,j2-'1);
A39: = G1 &j1 = width G1;
suppose
A35: i1 = i2 & j1+1 = j2;
A36: j2 <= j2+1 by NAT_1:11;
A37: j1 < j2 by A35,XREAL_1:29;
hence P1 = cell(G,i2-'1,henceA15,28;
.= P2 by A1,A34, <1&+ =java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 57
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
suppose
1
=1 :1java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
A40: i1 < i2 by A38,XREAL_1:29;
hence P1 = cell(G,i2,j2) by A1,A33,A39
.= P2 by A1,A34,A40,A39;
end;
suppose
=i2+1&j1
< by A41,XREAL_1:29;
P1 Gi2-,2' A33
.= P2 by A1,A34,A43,A42;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A44: i1 = i2 & j1 = j2+1;
A45: < +1 by NAT_1:11;
A46: j2 < j1 by A44,XREAL_1:29;
hence P1 = cell(G,i2,j2-'1) by A1,A33,A45
.= P2 by A1,A34,A46,A45;
end;
end;
end;
theorem
1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G & [i,j
+1] in Indices G & f/.k = G*(i,j) & f/.(k+1) = G*(i,j+1) implies
front_left_cell(f,k,G) = cell(G,i-'1,j+1)
proof
A1: j < j+1 & j+1 <= j+1+1 by XREAL_1:29;
assume 1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G & [i
,j+1] in Indices G & f/.k = G*(i,j) & f/.(k+1) = G*(i,j+1);
hence thesis by A1,Def4;
end;
theorem
1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G & [i,j
+1] in Indices G & f/.k = G*(i,j) & f/.(k+1) = G*(i,j+1) implies
front_right_cell(f,k,G) = cell(G,i,j+1)
proof
A1: j < j+1 & j+1 <= j+1+1 by XREAL_1:29;
assume 1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G & [i
,j+1] in Indices G & f/.k = G*(i,j) & f/.(k+1) = G*(i,j+1);
hence thesis by A1,Def3;
end;
theorem
1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G & [i+1
,j] in Indices G & f/.k = G*(i,j) & f/.(k+1) = G*(i+1,j) implies
front_left_cell(f,k,G) = cell(G,i+1,j)
proof
A1: i < i+1 & i+1 <= i+1+1 by XREAL_1:29;
assume 1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G & [i
+1,j] in Indices G & f/.k = G*(i,j) & f/.(k+1) = G*(i+1,j);
hence thesis by A1,Def4;
end;
theorem
1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G & [i+1
,j] in Indices G & f/.k = G*(i,j) & f/.(k+1) = G*(i+1,j) implies
front_right_cell(f,k,G) = cell(G,i+1,j-'1)
proof
A1: i < i+1 & i+1 <= i+1+1 by XREAL_1:29;
assume 1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G & [i
+1,j] in Indices G & f/.k = G*(i,j) & f/.(k+1) = G*(i+1,j);
hence thesis by A1,Def3;
end;
theorem
1 <= k & k+1 <= len f & f is_sequence_on G & [i,j] in Indices G & [i+1
,j] in Indices G & f/.k = G*(i+1,j) & f/.(k+1) = G*(i,j) implies
front_left_cell(f,k,G) = ex Subset stA=M&M is
proof
A1: i < i:Ac by:7java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
assume *1j21` =(,+)2byA1, java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 26
hence thesis by A1,Def4;
end;
theorem
1end;
,j] in consider being of X
front_right_cell(,kG cell((,-1jjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
proof
<=i++1 by XREAL_1:29;
assume 1i2-1byA33,NAT_D:9;
+1,j] in Indices G & f/.k = G*(i+1,j) & f/.(k+1) = G*(i,j);
henceA37:i2-11=i2 A33,REAL_1235;
end;
theorem
f f G&[,j1 Indices G i
,j] in Indices G end;
front_left_cell(f,k,G ` =s} A3631
proof
p=|,]
assume 1 <=
[i,jGOBOARD52java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
j1=G1byA1,,4A10A5A38Th5
end;
theorem
1 =k &k+ < assume
,j] in Indices G & f/.k = G*(i,j+1) & reconsiderz [9|
0in x A19,:4
proof
assume 1 < &k+ x =Dby Z:;
,]n &/k *i1&f.1 ()
hence thesis by A1,Def3;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem then consider 1 <= j2+1 & j2+1 <= widby,NAT_1:2,13java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
1= + = &k+<n
front_left_cell(f,k,G) = front_left_cell(f1M41 reconsiderCas X java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
front_right_cell(f|n,k,G)
proof
assume that
:1 =k
and
A3: f is_sequence_on G and
A4: k+1 <= n;
per cases
supposethen
f< njava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
hence thesis by FINSEQ_1:58;
end; a inCl{}by ,17java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
suppose
n < len f;
then
A5: fn = n by :;
thenkindomfn A1,4SEQ_4134
then
A6: (f|n)/.k = f/.k by FINSEQ_4end;
k+1 in dom(f|n) by A1,A4,A5,SEQ_4:134;
then
A7: (f|n)/.(k+ hence M is maximal_discrete by ;
set lf = front_left_cell(f,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 4
front_right_cell(f,k,G)theorem :
A8: f is_sequence_on A3,OBOARD122
consider i1,j1,i2,j2 being Nat such that
A9: [i1,A is discrete Th29java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
/.( k+1) = G*(i2,j2) and
=&j1+ = or + & i1 =+ & = j2
ori1=i2 &j1 =j2+ ,A2,JORDAN83
A11: <& ;
A12: i1+1 > i1 & java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
perby;
suppose
A13: i1 = i2 & j1+1 = j2;
hencereserve ,Y nonemptyTopSpace;
.= lfn by :
thus ,,) byA1A,A9A11A,
A1A4,,A8A5A6A7A,java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
suppose
i1 i2& java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
hence lf:G2(,)java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 5
.= lfn by A1,A4,A9,A12,A8 (-11) reconsiderf=carrierXof,;
thusrf=Gj-1 A1assumeforbeingnon TopSpace being ,Yfis
. A1A4A9,,A8,,A6, then
;
suppose
;
hence lfA65 ;
.= lfn by A1,A4,A9,A12,A8,A5,A6,A7,A15,Def4;
G21,` = java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
.= rfn by A1,:G1(111` *,1` ,,,7java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
;
A16: i1 = i2 A *` (21` A7A6,,2java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
lf=(,j2' A1,A2A3,,,
. ,,A9A11A8A5A6A7A16,;
thus =Gi-1-) ,A2A3,,,
A1,A9,11A5A,7A,;
end;
end;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
end;
;
definition
letD be
let f be A23: i1 = len G1 by A1,A2,A4,A6,A9,A20,Th3;
f k,
i1j,, Nat
[i1,j1 thesisA18A,27
i2,j2) holds i1 = i2 A24
j2) or i1+ &=]IndicesG&f/(2 *(2-)
or i1 = i2+1 java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 37
=j2+ & i2-,] /(2 *'j
predk
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
i1,j1] in Indices G & [i2,j2] in Indices G & f/.k = G*(i1,j1) & f/.(k+1) = G*(
i2,j2) holds i1 = i2 & j1+1 = j2 & [i2-'1,j2] in Indices G & f/.(k+2) = G* (i2
-'1,j2) or i1+1 = i2 & j1 = j2 & [i2,j2+1] in Indices G & f/.(k+2) = G*(i2,j2+1
) or i1 = i2+1 & j1 = j2 & [i2,j2-'1] in Indices G & f/.(k+2) = G* (i2,j2-'1)
or i1 = i2 & j1 = j2+1 & [i2+1,j2] in Indices G & f/.(k+2) = G*(i2+1,j2);
pred f goes_straight k,G means
for i1,j1,i2,j2 being Nat
st [i1,j1] in Indices G & [i2,j2] in Indices G & f/.k = G*(i1,j1) & f/.(k+1) =
G*(i2,j2) holds i1 = i2 & j1+1 = j2 & [i2,j2+1] in Indices G & f/.(k+2) = G*(i2
,j2+1) or i1+1 = i2 & j1 = j2 & [i2+1,j2] in Indices G & f/.(k+2) = G*(i2+1,j2)
or i1 = i2+1 & j1 = j2 & [i2-'1,j2] in Indices G & f/.(k+2) = G* (i2-'1,j2) or
i1 = i2 & j1 = j2+1 & [i2,j2-'1] in Indices G & f/.(k+2) = G*(i2,j2-'1);
end;
reserve D for set,
f,f1,f2 for FinSequence of D,
G for Matrix of D;
theorem
1 <= k & k+2 <= n & f|n turns_right k,G implies f turns_right k,G
proof
assume that
A1: 1 <= k & k+2 <= n and
A2: f|n turns_right k,G;
per cases;
suppose
len f <= n;
hence thesis by A2,FINSEQ_1:58;
end;
suppose
A3: n < len f;
let i19,j19,i29,j29 be Nat;
A4: len(f|n) = n by A3,FINSEQ_1:59;
then k+1 in dom(f|n) by A1,SEQ_4:135;
then
A5: (f|n)/.(k+1) = f/.(k+1) by FINSEQ_4A55:j1' ;
k+2 in dom(f|n) by A1,A4,SEQ_4:135;
A6: (f|n)/.(k+2) = f/.(k+2 ) A56 G1*1j1')2<G2(j2')2by ,,5A12,A8,A7,A10,A9,A48,A52,Th9;
k in dom(f|n) by A1,A4,SEQ_4:135;
then (f|n)/.k = f/.k by FINSEQ_4:70;
percases A10,:1;
A57: =lenG2
end;
theorem
1 <= k & k+2 <= n & f|n turns_left k,G implies f java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 37
proof
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 13
A1: 1A,1X2java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
A2: f|n turns_left k,G;
per cases;
suppose
len < n;
hencethesisbyA2,:58;
end;
suppose
f
let i19,j19,i29,j29 be Nat;
A4: len(f|n) = n by A3,FINSEQ_1:59;
then k+1 in dom(f|n) by A1,SEQ_4:135;
then
A5: (f|n)/.(k+1) = f/.(k+1) by FINSEQ_4:70;
k+2 in dom(f|n) by A1,A4,SEQ_4:135;
then
A6: (f|n)/.(k+2) = f/.(k+2 hence f"is;
k in dom(f|suppose
then (f|n)/.k = f/.k by FINSEQ_4:70;
hence thesis by A2,A5,A6;
end;
end;
theorem
1 <= k & k+2 end;
proof
assume that
A1
:n java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 26
casesjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
suppose
len f <= n;
hence thesis by A2,FINSEQ_1:58;
end;
suppose
A3: n < len f;
let i19,j19,i29,j29 be Nat;
A4: len(f|n) = n by A3,FINSEQ_1:59;
then k+1 in dom(f|n) by A1,SEQ_4:135;
then
A5: (f|n)/.(k+1) = f/.(k+1) by FINSEQ_4:70;
k+2 in dom(f|n) by A1,A4,SEQ_4:135;
then
A6: (f|n)/.(k+2) = f/.(k+2 ) by FINSEQ_4:70;
k in dom(f|n) by A1,A4,SEQ_4:135;
then (f|n)/.k = f/.k by FINSEQ_4:70;
hence thesis by A2,A5,A6;
end;
end;
theorem
1 < k & k+1 <= len f1 & k+1 <= len f2 & f1 is_sequence_on G & f1|k =
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
[set,set] means $in implies$ 1
assume
<kand
k1<len f1and
A3r
:is_sequence_on
end
A6: f1 turns_right k-'1,G and
A7: f2 turns_right k-'1,G;
A8: 1 <= k-'1 by A1,NAT_D:49;
A9: k <= k+1 by NAT_1:12;
thenk < lenf1|)by FINSEQ_159:;
then
A10: k in dom(f1|k) by A1,FINSEQ_3:25;
then
A11: f2/.k = (f2|k)/.k by A5,FINSEQ_4;
k-'1 <= k by NAT_D:35;
thenk' =len(| A2,9,INSEQ_1:59,XREAL_0:;
then
A12: k-'1 in dom(f1|k) by A8,FINSEQ_3:25;
then
A13: f2/.(k-'1) = (f2|k)/.(k-'1) by A5,FINSEQ_4:70;
A14: f1/.k = (f1|k)/.k by A10,FINSEQ_4:70;
A15: f1/.(k-'1) = (f1|k)/.(k-'1) by A12,FINSEQ_4:70;
A16: k = k-'1+1 by A1,XREAL_1:235;
k <= len f1 by A2,A9,XXREAL_0:2;
then consider i1,j1,i2,j2 being Nat such that
A17: [i1,j1] in Indices G & f1/.(k-'1) = G*(i1,j1) & [i2,j2] in Indices
G & f1/.k = G*(i2,j2) and
A18: i1 = i2 & j1+1 = j2 or i1+1 = i2 & j1 = j2 or i1 = i2+1 & j1 = j2
or i1 = i2 & reconsider rbas ofXjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
A19: j1+1 > j1 & j2+1 thenain \Clb 31
A20: i1+1 > i1 & i2+1 > i2 by NAT_1:13;
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
per cases by A18b{}byTARSKIdef;
suppose
=i2& +1=j2java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
f1.k1) (2+,2 A6,16,17A19
.= f2/.(k+1) by A5now
end;
suppose
A22: i1+1 = i2 & j1 = j2;
hence f1/.(k+1) A13 C=Cla
.= f2/.(k+1) by A5,A7,A16,A15,A14,A13,A11,A17,A20,A22;
end;
suppose
A23: i1 = i2+1 & j1 = j2;
hence f1/.(k+1) = G*(i2,j2+1) by A6,A16,A17,A20
.= f2/.(k+1) by A5,A7,A16,A15,A14,A13,A11,A17,A20,A23;
end;
suppose
A24: i1 = i2 & j1 = j2+1;
hence f1/.(k+1) = G*(i2-'1,j2) by A6,A16,A17,A19
.= f2/.(k+1) by A5,A7,A16,A15,A14,A13,A11,A17,A19,A24;
end;
end;
hence f1|(k+1) = (f2|k)^<*f2/.(k+1) now
=f2|k+)by FINSEQ_5;
end;
1<k &k < f1 &k1< |k=
f2|k & f1 turns_left k-'1,G & A16: A /\ Cl {b} = {r.b} by A6
roof
1 and
+< f1and
A3: k+1 <= len f2 and
A4: f1 is_sequence_on G and
A5: f1|k = f2|k and
A6: f1 turns_left Cl = RbyTh48java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
A7: f2 turns_left k-'1,G;
A8: 1 <= k-'1 by A1,NAT_D:49;
A9: k forPoint X in thecarrierofX0 holdsx=x
then k <= len(f1|k) by proof
A10 kindomf1|)A1FINSEQ_325;
then
A11: f2/.k = (f2|k)/.k by A5,FINSEQ_4:70;
k-'1 <= k by NAT_D:35;
then k-'1 <= len(f1|k) by A2,A9,FINSEQ_1:59,XXREAL_0:2;
then
A12: k-'1 in dom(f1|k) by A8,FINSEQ_3:25;
then
A13: f2/.(k-'1) = (f2|k)/.(k-'1) by A5,FINSEQ_4:70;
A14: f1/.k = (f1|k)/.k by A10,FINSEQ_4:70;
A15: f1/.(k-'1) = (f1|k)/.(k-'1) by A12,FINSEQ_4:70;
A16: k = k-'1+1 by A1,XREAL_1:235;
k <= len f1 by A2,A9,XXREAL_0:2;
i1j1,j2 suchthat
i1j1 inIndicesG G*i1j1) i2] in Indices
G & f1/.k = G*(i2,j2) and
j2or i1+=i2&j1=j2ori1 =1 j2
A4A8,JORDAN83
A19: i1 + NAT_1java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
+ i2:;
. by,A2,,;
java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
A21: i1 = i2 & j1+1 = j2;
hence f1/.(k+1) =
.= f2/.(k+1 Def2
endA14:r" c being Nat st [i1,j G [j]in &f. =java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
:+= ;
/(+ *,+)byA,A20
.= assume C Rjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
end;
suppose
A23: i1 = i2+1 & j1 = j2;
/k1 *,-1 A6,A,java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
.= f2/.(k+1) by A5,A7,A16,A15,A14,A13,A11,A17,A20,A23;
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 8
suppose
A24: G,,1;
hence f1/.(k+1) = G j19 java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
end;
hence f1|(k+1) = (f2|k)^< thesis by A1,A2,A45,A46,GOBOARD1:;
.= f2|(k+1) by A3,FINSEQ_5 :i1 &j1 +11
end;
theorem
f1&k+1< f2 &f1 is_sequence_on G &f1 =
f2i1 j1 = j19 by A1,A48A50:;
k+)
proof
assume that
<
:+ = and
+11< java.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
:Gand
f1| |kand
: -1G and
A7: f2 cell(G,i1j2)
A8: 1 <= k-'1 by +1 ;
:12java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
then k <= len(f1|k) by A2,FINSEQ_1:59,XXREAL_0:2;
then
10 indom FINSEQ_3;
A11: f2/.k = (f2|k)/ =cellG,)A1,,,java.lang.StringIndexOutOfBoundsException: Range [76, 47) out of bounds for length 76
k-'1 <= k by NAT_D:35;
then k-'1 <= len(f1|k) by A2,A9,FINSEQ_1:59,XXREAL_0:2;
then
A12: k-'1 in dom(f1|k) by A8,FINSEQ_3:25;
then
A13: f2/.(k-'1) = (f2|k)/.(k-'1) by A5,FINSEQ_4:70;
A14: f1/.k = (f1|k)/.k by A10,FINSEQ_4:70;
A15: f1/.(k-'1) = (f1|k)/.(k-'1) by A12,FINSEQ_4:70;
A16: k = k-'1+1 by A1,XREAL_1:235;
k <= len f1 by A2,A9,XXREAL_0:2;
then consider i1,j1,i2,j2 being Nat such that
A17: [i1,j1] in Indices G & f1/.(k-'1) = G*(i1,j1) & [i2,j2] in Indices
G & f1/.k = G*(i2,j2) and
A18: i1 = i2 & j1+1 = j2 or i1+1 = i2 & j1 = j2 or i1 = i2+1 & j1 = j2
or i1 = i2 & j1 = j2+1 by A4,A8,A16,JORDAN8:3;
A19: j1+1 > j1 & j2+1 > j2 by NAT_1:13;
A20: i1+1 > i1 & i2+1 > i2 by NAT_1:13;
now
per cases by A18;
suppose
A21: i1 = i2 & j1+1 = j2;
hence f1/.(k+1) = G*(i2,j2+1) by A6,A16,A17,A19
.= f2/.(k+1) by A5,A7,A16,A15,A14,A13,A11,A17,A19,A21;
end;
suppose
A22: i1+1 = i2 & j1 = j2;
hence f1/.(k+1) = G*(i2+1,j2) by A6,A16,A17,A20
.= f2/.(k+1) by A5,A7,A16,A15,A14,A13,A11,A17,A20,A22;
end;
suppose
A23: i1 = i2+1 & j1 = j2;
hence f1/.(k+1) = G*(i2-'1,j2) by A6,A16,A17,A20
.= f2/.(k+1) by A5,A7,A16,A15,A14,A13,A11,A17,A20,A23;
end;
suppose
A24: i1 = i2 & j1 = j2+1;
hence f1/.(k+1) = G*(i2,j2-'1) by A6,A16,A17,A19
.= f2/.(k+1) by A5,A7,A16,A15,A14,A13,A11,A17,A19,A24;
end;
end;
hence f1|(k+1) = (f2|k)^<*f2/.(k+1)*> by A2,A5,FINSEQ_5:82
.= f2|(k+1) by A3,FINSEQ_5:82;
end;
¤ Dauer der Verarbeitung: 0.272 Sekunden
¤
*Bot Zugriff
|
|
2026-11-23
|