:: GOBRD13 semantic presentation :: Showing IDV graph ... (Click the Palm Trees again to close it)
:: deftheorem defines Values GOBRD13:def 1 :
theorem Th1: :: GOBRD13:1 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: GOBRD13:2 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem Th3: :: GOBRD13:3 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th4: :: GOBRD13:4 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th5: :: GOBRD13:5 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th6: :: GOBRD13:6 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th7: :: GOBRD13:7 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: GOBRD13:8 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: GOBRD13:9 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th10: :: GOBRD13:10 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th11: :: GOBRD13:11 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th12: :: GOBRD13:12 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th13: :: GOBRD13:13 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th14: :: GOBRD13:14 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th15: :: GOBRD13:15 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th16: :: GOBRD13:16 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th17: :: GOBRD13:17 :: Showing IDV graph ... (Click the Palm Tree again to close it)
Lm1:
for i, j being Nat
for D being non empty set
for M being Matrix of D st 1 <= i & i <= len M & 1 <= j & j <= width M holds
M * i,j in Values M
theorem Th18: :: GOBRD13:18 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
i1,
j1,
i2,
j2 being
Nat 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
theorem Th19: :: GOBRD13:19 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
i1,
j1,
i2,
j2 being
Nat 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
theorem Th20: :: GOBRD13:20 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
i1,
j1,
i2,
j2 being
Nat 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)
Lm2:
for i, j being Nat
for f being non empty FinSequence of (TOP-REAL 2) st 1 <= i & i <= len (GoB f) & 1 <= j & j <= width (GoB f) holds
ex k being Nat st
( k in dom f & (f /. k) `1 = ((GoB f) * i,j) `1 )
Lm3:
for i, j being Nat
for f being non empty FinSequence of (TOP-REAL 2) st 1 <= i & i <= len (GoB f) & 1 <= j & j <= width (GoB f) holds
ex k being Nat st
( k in dom f & (f /. k) `2 = ((GoB f) * i,j) `2 )
theorem Th21: :: GOBRD13:21 :: Showing IDV graph ... (Click the Palm Tree again to close it)
definition
let f be
FinSequence of
(TOP-REAL 2);
let G be
Go-board;
let k be
Nat;
assume that A1:
( 1
<= k &
k + 1
<= len f )
and A2:
f is_sequence_on G
;
consider i1,
j1,
i2,
j2 being
Nat such that A3:
(
[i1,j1] in Indices G &
f /. k = G * i1,
j1 )
and A4:
(
[i2,j2] in Indices G &
f /. (k + 1) = G * i2,
j2 )
and A5:
( (
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:6;
func right_cell f,
k,
G -> Subset of
(TOP-REAL 2) means :
Def2:
:: GOBRD13:def 2
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 & not (
i1 = i2 &
j1 + 1
= j2 &
it = cell G,
i1,
j1 ) & not (
i1 + 1
= i2 &
j1 = j2 &
it = cell G,
i1,
(j1 -' 1) ) & not (
i1 = i2 + 1 &
j1 = j2 &
it = cell G,
i2,
j2 ) holds
(
i1 = i2 &
j1 = j2 + 1 &
it = cell G,
(i1 -' 1),
j2 );
existence
ex b1 being Subset of (TOP-REAL 2) st
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 & not ( i1 = i2 & j1 + 1 = j2 & b1 = cell G,i1,j1 ) & not ( i1 + 1 = i2 & j1 = j2 & b1 = cell G,i1,(j1 -' 1) ) & not ( i1 = i2 + 1 & j1 = j2 & b1 = cell G,i2,j2 ) holds
( i1 = i2 & j1 = j2 + 1 & b1 = cell G,(i1 -' 1),j2 )
uniqueness
for b1, b2 being Subset of (TOP-REAL 2) st ( 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 & not ( i1 = i2 & j1 + 1 = j2 & b1 = cell G,i1,j1 ) & not ( i1 + 1 = i2 & j1 = j2 & b1 = cell G,i1,(j1 -' 1) ) & not ( i1 = i2 + 1 & j1 = j2 & b1 = cell G,i2,j2 ) holds
( i1 = i2 & j1 = j2 + 1 & b1 = cell G,(i1 -' 1),j2 ) ) & ( 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 & not ( i1 = i2 & j1 + 1 = j2 & b2 = cell G,i1,j1 ) & not ( i1 + 1 = i2 & j1 = j2 & b2 = cell G,i1,(j1 -' 1) ) & not ( i1 = i2 + 1 & j1 = j2 & b2 = cell G,i2,j2 ) holds
( i1 = i2 & j1 = j2 + 1 & b2 = cell G,(i1 -' 1),j2 ) ) holds
b1 = b2
func left_cell f,
k,
G -> Subset of
(TOP-REAL 2) means :
Def3:
:: GOBRD13:def 3
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 & not (
i1 = i2 &
j1 + 1
= j2 &
it = cell G,
(i1 -' 1),
j1 ) & not (
i1 + 1
= i2 &
j1 = j2 &
it = cell G,
i1,
j1 ) & not (
i1 = i2 + 1 &
j1 = j2 &
it = cell G,
i2,
(j2 -' 1) ) holds
(
i1 = i2 &
j1 = j2 + 1 &
it = cell G,
i1,
j2 );
existence
ex b1 being Subset of (TOP-REAL 2) st
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 & not ( i1 = i2 & j1 + 1 = j2 & b1 = cell G,(i1 -' 1),j1 ) & not ( i1 + 1 = i2 & j1 = j2 & b1 = cell G,i1,j1 ) & not ( i1 = i2 + 1 & j1 = j2 & b1 = cell G,i2,(j2 -' 1) ) holds
( i1 = i2 & j1 = j2 + 1 & b1 = cell G,i1,j2 )
uniqueness
for b1, b2 being Subset of (TOP-REAL 2) st ( 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 & not ( i1 = i2 & j1 + 1 = j2 & b1 = cell G,(i1 -' 1),j1 ) & not ( i1 + 1 = i2 & j1 = j2 & b1 = cell G,i1,j1 ) & not ( i1 = i2 + 1 & j1 = j2 & b1 = cell G,i2,(j2 -' 1) ) holds
( i1 = i2 & j1 = j2 + 1 & b1 = cell G,i1,j2 ) ) & ( 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 & not ( i1 = i2 & j1 + 1 = j2 & b2 = cell G,(i1 -' 1),j1 ) & not ( i1 + 1 = i2 & j1 = j2 & b2 = cell G,i1,j1 ) & not ( i1 = i2 + 1 & j1 = j2 & b2 = cell G,i2,(j2 -' 1) ) holds
( i1 = i2 & j1 = j2 + 1 & b2 = cell G,i1,j2 ) ) holds
b1 = b2
end;
:: deftheorem Def2 defines right_cell GOBRD13:def 2 :
for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board for
k being
Nat st 1
<= k &
k + 1
<= len f &
f is_sequence_on G holds
for
b4 being
Subset of
(TOP-REAL 2) holds
(
b4 = right_cell f,
k,
G iff 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 & not (
i1 = i2 &
j1 + 1
= j2 &
b4 = cell G,
i1,
j1 ) & not (
i1 + 1
= i2 &
j1 = j2 &
b4 = cell G,
i1,
(j1 -' 1) ) & not (
i1 = i2 + 1 &
j1 = j2 &
b4 = cell G,
i2,
j2 ) holds
(
i1 = i2 &
j1 = j2 + 1 &
b4 = cell G,
(i1 -' 1),
j2 ) );
:: deftheorem Def3 defines left_cell GOBRD13:def 3 :
for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board for
k being
Nat st 1
<= k &
k + 1
<= len f &
f is_sequence_on G holds
for
b4 being
Subset of
(TOP-REAL 2) holds
(
b4 = left_cell f,
k,
G iff 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 & not (
i1 = i2 &
j1 + 1
= j2 &
b4 = cell G,
(i1 -' 1),
j1 ) & not (
i1 + 1
= i2 &
j1 = j2 &
b4 = cell G,
i1,
j1 ) & not (
i1 = i2 + 1 &
j1 = j2 &
b4 = cell G,
i2,
(j2 -' 1) ) holds
(
i1 = i2 &
j1 = j2 + 1 &
b4 = cell G,
i1,
j2 ) );
theorem Th22: :: GOBRD13:22 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
k,
i,
j being
Nat for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board st 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) holds
left_cell f,
k,
G = cell G,
(i -' 1),
j
theorem Th23: :: GOBRD13:23 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
k,
i,
j being
Nat for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board st 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) holds
right_cell f,
k,
G = cell G,
i,
j
theorem Th24: :: GOBRD13:24 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
k,
i,
j being
Nat for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board st 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 holds
left_cell f,
k,
G = cell G,
i,
j
theorem Th25: :: GOBRD13:25 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
k,
i,
j being
Nat for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board st 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 holds
right_cell f,
k,
G = cell G,
i,
(j -' 1)
theorem Th26: :: GOBRD13:26 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
k,
i,
j being
Nat for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board st 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 holds
left_cell f,
k,
G = cell G,
i,
(j -' 1)
theorem Th27: :: GOBRD13:27 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
k,
i,
j being
Nat for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board st 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 holds
right_cell f,
k,
G = cell G,
i,
j
theorem Th28: :: GOBRD13:28 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
k,
i,
j being
Nat for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board st 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 holds
left_cell f,
k,
G = cell G,
i,
j
theorem Th29: :: GOBRD13:29 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
k,
i,
j being
Nat for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board st 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 holds
right_cell f,
k,
G = cell G,
(i -' 1),
j
theorem :: GOBRD13:30 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: GOBRD13:31 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: GOBRD13:32 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: GOBRD13:33 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: GOBRD13:34 :: Showing IDV graph ... (Click the Palm Tree again to close it)
definition
let f be
FinSequence of
(TOP-REAL 2);
let G be
Go-board;
let k be
Nat;
assume that A1:
( 1
<= k &
k + 1
<= len f )
and A2:
f is_sequence_on G
;
consider i1,
j1,
i2,
j2 being
Nat such that A3:
(
[i1,j1] in Indices G &
f /. k = G * i1,
j1 )
and A4:
(
[i2,j2] in Indices G &
f /. (k + 1) = G * i2,
j2 )
and A5:
( (
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:6;
func front_right_cell f,
k,
G -> Subset of
(TOP-REAL 2) means :
Def4:
:: GOBRD13:def 4
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 & not (
i1 = i2 &
j1 + 1
= j2 &
it = cell G,
i2,
j2 ) & not (
i1 + 1
= i2 &
j1 = j2 &
it = cell G,
i2,
(j2 -' 1) ) & not (
i1 = i2 + 1 &
j1 = j2 &
it = cell G,
(i2 -' 1),
j2 ) holds
(
i1 = i2 &
j1 = j2 + 1 &
it = cell G,
(i2 -' 1),
(j2 -' 1) );
existence
ex b1 being Subset of (TOP-REAL 2) st
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 & not ( i1 = i2 & j1 + 1 = j2 & b1 = cell G,i2,j2 ) & not ( i1 + 1 = i2 & j1 = j2 & b1 = cell G,i2,(j2 -' 1) ) & not ( i1 = i2 + 1 & j1 = j2 & b1 = cell G,(i2 -' 1),j2 ) holds
( i1 = i2 & j1 = j2 + 1 & b1 = cell G,(i2 -' 1),(j2 -' 1) )
uniqueness
for b1, b2 being Subset of (TOP-REAL 2) st ( 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 & not ( i1 = i2 & j1 + 1 = j2 & b1 = cell G,i2,j2 ) & not ( i1 + 1 = i2 & j1 = j2 & b1 = cell G,i2,(j2 -' 1) ) & not ( i1 = i2 + 1 & j1 = j2 & b1 = cell G,(i2 -' 1),j2 ) holds
( i1 = i2 & j1 = j2 + 1 & b1 = cell G,(i2 -' 1),(j2 -' 1) ) ) & ( 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 & not ( i1 = i2 & j1 + 1 = j2 & b2 = cell G,i2,j2 ) & not ( i1 + 1 = i2 & j1 = j2 & b2 = cell G,i2,(j2 -' 1) ) & not ( i1 = i2 + 1 & j1 = j2 & b2 = cell G,(i2 -' 1),j2 ) holds
( i1 = i2 & j1 = j2 + 1 & b2 = cell G,(i2 -' 1),(j2 -' 1) ) ) holds
b1 = b2
func front_left_cell f,
k,
G -> Subset of
(TOP-REAL 2) means :
Def5:
:: GOBRD13:def 5
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 & not (
i1 = i2 &
j1 + 1
= j2 &
it = cell G,
(i2 -' 1),
j2 ) & not (
i1 + 1
= i2 &
j1 = j2 &
it = cell G,
i2,
j2 ) & not (
i1 = i2 + 1 &
j1 = j2 &
it = cell G,
(i2 -' 1),
(j2 -' 1) ) holds
(
i1 = i2 &
j1 = j2 + 1 &
it = cell G,
i2,
(j2 -' 1) );
existence
ex b1 being Subset of (TOP-REAL 2) st
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 & not ( i1 = i2 & j1 + 1 = j2 & b1 = cell G,(i2 -' 1),j2 ) & not ( i1 + 1 = i2 & j1 = j2 & b1 = cell G,i2,j2 ) & not ( i1 = i2 + 1 & j1 = j2 & b1 = cell G,(i2 -' 1),(j2 -' 1) ) holds
( i1 = i2 & j1 = j2 + 1 & b1 = cell G,i2,(j2 -' 1) )
uniqueness
for b1, b2 being Subset of (TOP-REAL 2) st ( 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 & not ( i1 = i2 & j1 + 1 = j2 & b1 = cell G,(i2 -' 1),j2 ) & not ( i1 + 1 = i2 & j1 = j2 & b1 = cell G,i2,j2 ) & not ( i1 = i2 + 1 & j1 = j2 & b1 = cell G,(i2 -' 1),(j2 -' 1) ) holds
( i1 = i2 & j1 = j2 + 1 & b1 = cell G,i2,(j2 -' 1) ) ) & ( 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 & not ( i1 = i2 & j1 + 1 = j2 & b2 = cell G,(i2 -' 1),j2 ) & not ( i1 + 1 = i2 & j1 = j2 & b2 = cell G,i2,j2 ) & not ( i1 = i2 + 1 & j1 = j2 & b2 = cell G,(i2 -' 1),(j2 -' 1) ) holds
( i1 = i2 & j1 = j2 + 1 & b2 = cell G,i2,(j2 -' 1) ) ) holds
b1 = b2
end;
:: deftheorem Def4 defines front_right_cell GOBRD13:def 4 :
for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board for
k being
Nat st 1
<= k &
k + 1
<= len f &
f is_sequence_on G holds
for
b4 being
Subset of
(TOP-REAL 2) holds
(
b4 = front_right_cell f,
k,
G iff 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 & not (
i1 = i2 &
j1 + 1
= j2 &
b4 = cell G,
i2,
j2 ) & not (
i1 + 1
= i2 &
j1 = j2 &
b4 = cell G,
i2,
(j2 -' 1) ) & not (
i1 = i2 + 1 &
j1 = j2 &
b4 = cell G,
(i2 -' 1),
j2 ) holds
(
i1 = i2 &
j1 = j2 + 1 &
b4 = cell G,
(i2 -' 1),
(j2 -' 1) ) );
:: deftheorem Def5 defines front_left_cell GOBRD13:def 5 :
for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board for
k being
Nat st 1
<= k &
k + 1
<= len f &
f is_sequence_on G holds
for
b4 being
Subset of
(TOP-REAL 2) holds
(
b4 = front_left_cell f,
k,
G iff 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 & not (
i1 = i2 &
j1 + 1
= j2 &
b4 = cell G,
(i2 -' 1),
j2 ) & not (
i1 + 1
= i2 &
j1 = j2 &
b4 = cell G,
i2,
j2 ) & not (
i1 = i2 + 1 &
j1 = j2 &
b4 = cell G,
(i2 -' 1),
(j2 -' 1) ) holds
(
i1 = i2 &
j1 = j2 + 1 &
b4 = cell G,
i2,
(j2 -' 1) ) );
theorem :: GOBRD13:35 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
k,
i,
j being
Nat for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board st 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) holds
front_left_cell f,
k,
G = cell G,
(i -' 1),
(j + 1)
theorem :: GOBRD13:36 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
k,
i,
j being
Nat for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board st 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) holds
front_right_cell f,
k,
G = cell G,
i,
(j + 1)
theorem :: GOBRD13:37 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
k,
i,
j being
Nat for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board st 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 holds
front_left_cell f,
k,
G = cell G,
(i + 1),
j
theorem :: GOBRD13:38 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
k,
i,
j being
Nat for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board st 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 holds
front_right_cell f,
k,
G = cell G,
(i + 1),
(j -' 1)
theorem :: GOBRD13:39 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
k,
i,
j being
Nat for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board st 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 holds
front_left_cell f,
k,
G = cell G,
(i -' 1),
(j -' 1)
theorem :: GOBRD13:40 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
k,
i,
j being
Nat for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board st 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 holds
front_right_cell f,
k,
G = cell G,
(i -' 1),
j
theorem :: GOBRD13:41 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
k,
i,
j being
Nat for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board st 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 holds
front_left_cell f,
k,
G = cell G,
i,
(j -' 1)
theorem :: GOBRD13:42 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
k,
i,
j being
Nat for
f being
FinSequence of
(TOP-REAL 2) for
G being
Go-board st 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 holds
front_right_cell f,
k,
G = cell G,
(i -' 1),
(j -' 1)
theorem :: GOBRD13:43 :: Showing IDV graph ... (Click the Palm Tree again to close it)
definition
let D be
set ;
let f be
FinSequence of
D;
let G be
Matrix of
D;
let k be
Nat;
pred f turns_right k,
G means :
Def6:
:: GOBRD13:def 6
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 & not (
i1 = i2 &
j1 + 1
= j2 &
[(i2 + 1),j2] in Indices G &
f /. (k + 2) = G * (i2 + 1),
j2 ) & not (
i1 + 1
= i2 &
j1 = j2 &
[i2,(j2 -' 1)] in Indices G &
f /. (k + 2) = G * i2,
(j2 -' 1) ) & not (
i1 = i2 + 1 &
j1 = j2 &
[i2,(j2 + 1)] in Indices G &
f /. (k + 2) = G * i2,
(j2 + 1) ) holds
(
i1 = i2 &
j1 = j2 + 1 &
[(i2 -' 1),j2] in Indices G &
f /. (k + 2) = G * (i2 -' 1),
j2 );
pred f turns_left k,
G means :
Def7:
:: GOBRD13:def 7
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 & not (
i1 = i2 &
j1 + 1
= j2 &
[(i2 -' 1),j2] in Indices G &
f /. (k + 2) = G * (i2 -' 1),
j2 ) & not (
i1 + 1
= i2 &
j1 = j2 &
[i2,(j2 + 1)] in Indices G &
f /. (k + 2) = G * i2,
(j2 + 1) ) & not (
i1 = i2 + 1 &
j1 = j2 &
[i2,(j2 -' 1)] in Indices G &
f /. (k + 2) = G * i2,
(j2 -' 1) ) holds
(
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 :
Def8:
:: GOBRD13:def 8
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 & not (
i1 = i2 &
j1 + 1
= j2 &
[i2,(j2 + 1)] in Indices G &
f /. (k + 2) = G * i2,
(j2 + 1) ) & not (
i1 + 1
= i2 &
j1 = j2 &
[(i2 + 1),j2] in Indices G &
f /. (k + 2) = G * (i2 + 1),
j2 ) & not (
i1 = i2 + 1 &
j1 = j2 &
[(i2 -' 1),j2] in Indices G &
f /. (k + 2) = G * (i2 -' 1),
j2 ) holds
(
i1 = i2 &
j1 = j2 + 1 &
[i2,(j2 -' 1)] in Indices G &
f /. (k + 2) = G * i2,
(j2 -' 1) );
end;
:: deftheorem Def6 defines turns_right GOBRD13:def 6 :
for
D being
set for
f being
FinSequence of
D for
G being
Matrix of
D for
k being
Nat holds
(
f turns_right k,
G iff 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 & not (
i1 = i2 &
j1 + 1
= j2 &
[(i2 + 1),j2] in Indices G &
f /. (k + 2) = G * (i2 + 1),
j2 ) & not (
i1 + 1
= i2 &
j1 = j2 &
[i2,(j2 -' 1)] in Indices G &
f /. (k + 2) = G * i2,
(j2 -' 1) ) & not (
i1 = i2 + 1 &
j1 = j2 &
[i2,(j2 + 1)] in Indices G &
f /. (k + 2) = G * i2,
(j2 + 1) ) holds
(
i1 = i2 &
j1 = j2 + 1 &
[(i2 -' 1),j2] in Indices G &
f /. (k + 2) = G * (i2 -' 1),
j2 ) );
:: deftheorem Def7 defines turns_left GOBRD13:def 7 :
for
D being
set for
f being
FinSequence of
D for
G being
Matrix of
D for
k being
Nat holds
(
f turns_left k,
G iff 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 & not (
i1 = i2 &
j1 + 1
= j2 &
[(i2 -' 1),j2] in Indices G &
f /. (k + 2) = G * (i2 -' 1),
j2 ) & not (
i1 + 1
= i2 &
j1 = j2 &
[i2,(j2 + 1)] in Indices G &
f /. (k + 2) = G * i2,
(j2 + 1) ) & not (
i1 = i2 + 1 &
j1 = j2 &
[i2,(j2 -' 1)] in Indices G &
f /. (k + 2) = G * i2,
(j2 -' 1) ) holds
(
i1 = i2 &
j1 = j2 + 1 &
[(i2 + 1),j2] in Indices G &
f /. (k + 2) = G * (i2 + 1),
j2 ) );
:: deftheorem Def8 defines goes_straight GOBRD13:def 8 :
for
D being
set for
f being
FinSequence of
D for
G being
Matrix of
D for
k being
Nat holds
(
f goes_straight k,
G iff 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 & not (
i1 = i2 &
j1 + 1
= j2 &
[i2,(j2 + 1)] in Indices G &
f /. (k + 2) = G * i2,
(j2 + 1) ) & not (
i1 + 1
= i2 &
j1 = j2 &
[(i2 + 1),j2] in Indices G &
f /. (k + 2) = G * (i2 + 1),
j2 ) & not (
i1 = i2 + 1 &
j1 = j2 &
[(i2 -' 1),j2] in Indices G &
f /. (k + 2) = G * (i2 -' 1),
j2 ) holds
(
i1 = i2 &
j1 = j2 + 1 &
[i2,(j2 -' 1)] in Indices G &
f /. (k + 2) = G * i2,
(j2 -' 1) ) );
theorem :: GOBRD13:44 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: GOBRD13:45 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: GOBRD13:46 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: GOBRD13:47 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: GOBRD13:48 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: GOBRD13:49 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: GOBRD13:50 :: Showing IDV graph ... (Click the Palm Tree again to close it)