set f1 = <*(NW-corner D),(NE-corner D),(SE-corner D)*>;
set f2 = <*(SW-corner D),(NW-corner D)*>;
A1:
( len <*(NW-corner D),(NE-corner D),(SE-corner D)*> = 3 & len <*(SW-corner D),(NW-corner D)*> = 2 )
by FINSEQ_1:61, FINSEQ_1:62;
then A2:
len (<*(NW-corner D),(NE-corner D),(SE-corner D)*> ^ <*(SW-corner D),(NW-corner D)*>) = 3 + 2
by FINSEQ_1:35;
set f = SpStSeq D;
1 in dom <*(NW-corner D),(NE-corner D),(SE-corner D)*>
by A1, FINSEQ_3:27;
then A3: (SpStSeq D) /. 1 =
<*(NW-corner D),(NE-corner D),(SE-corner D)*> /. 1
by FINSEQ_4:83
.=
NW-corner D
by FINSEQ_4:27
;
2 in dom <*(NW-corner D),(NE-corner D),(SE-corner D)*>
by A1, FINSEQ_3:27;
then A4: (SpStSeq D) /. 2 =
<*(NW-corner D),(NE-corner D),(SE-corner D)*> /. 2
by FINSEQ_4:83
.=
NE-corner D
by FINSEQ_4:27
;
3 in dom <*(NW-corner D),(NE-corner D),(SE-corner D)*>
by A1, FINSEQ_3:27;
then A5: (SpStSeq D) /. 3 =
<*(NW-corner D),(NE-corner D),(SE-corner D)*> /. 3
by FINSEQ_4:83
.=
SE-corner D
by FINSEQ_4:27
;
1 in dom <*(SW-corner D),(NW-corner D)*>
by A1, FINSEQ_3:27;
then A6: (SpStSeq D) /. (3 + 1) =
<*(SW-corner D),(NW-corner D)*> /. 1
by A1, FINSEQ_4:84
.=
SW-corner D
by FINSEQ_4:26
;
2 in dom <*(SW-corner D),(NW-corner D)*>
by A1, FINSEQ_3:27;
then A7: (SpStSeq D) /. (3 + 2) =
<*(SW-corner D),(NW-corner D)*> /. 2
by A1, FINSEQ_4:84
.=
NW-corner D
by FINSEQ_4:26
;
1 + 1 = 2
;
then A8:
LSeg (SpStSeq D),1 = LSeg (NW-corner D),(NE-corner D)
by A2, A3, A4, TOPREAL1:def 5;
2 + 1 = 3
;
then A9:
LSeg (SpStSeq D),2 = LSeg (NE-corner D),(SE-corner D)
by A2, A4, A5, TOPREAL1:def 5;
A10:
LSeg (SpStSeq D),3 = LSeg (SE-corner D),(SW-corner D)
by A2, A5, A6, TOPREAL1:def 5;
4 + 1 = 5
;
then A11:
LSeg (SpStSeq D),4 = LSeg (SW-corner D),(NW-corner D)
by A2, A6, A7, TOPREAL1:def 5;
thus
SpStSeq D is special
:: thesis: ( SpStSeq D is unfolded & SpStSeq D is circular & SpStSeq D is s.c.c. & SpStSeq D is standard )
thus
SpStSeq D is unfolded
:: thesis: ( SpStSeq D is circular & SpStSeq D is s.c.c. & SpStSeq D is standard )
thus
SpStSeq D is circular
by A2, A3, A7, FINSEQ_6:def 1; :: thesis: ( SpStSeq D is s.c.c. & SpStSeq D is standard )
thus
SpStSeq D is s.c.c.
:: thesis: SpStSeq D is standard
set Xf1 = <*(W-bound D),(E-bound D),(E-bound D)*>;
set Xf2 = <*(W-bound D),(W-bound D)*>;
reconsider Xf = <*(W-bound D),(E-bound D),(E-bound D)*> ^ <*(W-bound D),(W-bound D)*> as FinSequence of REAL ;
A28:
( len <*(W-bound D),(E-bound D),(E-bound D)*> = 3 & len <*(W-bound D),(W-bound D)*> = 2 )
by FINSEQ_1:61, FINSEQ_1:62;
then A29:
len Xf = 3 + 2
by FINSEQ_1:35;
1 in dom <*(W-bound D),(E-bound D),(E-bound D)*>
by A28, FINSEQ_3:27;
then A30: Xf . 1 =
<*(W-bound D),(E-bound D),(E-bound D)*> . 1
by FINSEQ_1:def 7
.=
W-bound D
by FINSEQ_1:62
;
2 in dom <*(W-bound D),(E-bound D),(E-bound D)*>
by A28, FINSEQ_3:27;
then A31: Xf . 2 =
<*(W-bound D),(E-bound D),(E-bound D)*> . 2
by FINSEQ_1:def 7
.=
E-bound D
by FINSEQ_1:62
;
3 in dom <*(W-bound D),(E-bound D),(E-bound D)*>
by A28, FINSEQ_3:27;
then A32: Xf . 3 =
<*(W-bound D),(E-bound D),(E-bound D)*> . 3
by FINSEQ_1:def 7
.=
E-bound D
by FINSEQ_1:62
;
1 in dom <*(W-bound D),(W-bound D)*>
by A28, FINSEQ_3:27;
then A33: Xf . (3 + 1) =
<*(W-bound D),(W-bound D)*> . 1
by A28, FINSEQ_1:def 7
.=
W-bound D
by FINSEQ_1:61
;
2 in dom <*(W-bound D),(W-bound D)*>
by A28, FINSEQ_3:27;
then A34: Xf . (3 + 2) =
<*(W-bound D),(W-bound D)*> . 2
by A28, FINSEQ_1:def 7
.=
W-bound D
by FINSEQ_1:61
;
then A36:
Xf = X_axis (SpStSeq D)
by A2, A29, GOBOARD1:def 3;
A37:
W-bound D < E-bound D
by Th33;
A38: rng <*(W-bound D),(E-bound D),(E-bound D)*> =
{(W-bound D),(E-bound D),(E-bound D)}
by FINSEQ_2:148
.=
{(E-bound D),(E-bound D),(W-bound D)}
by ENUMSET1:102
.=
{(W-bound D),(E-bound D)}
by ENUMSET1:70
;
rng <*(W-bound D),(W-bound D)*> =
{(W-bound D),(W-bound D)}
by FINSEQ_2:147
.=
{(W-bound D)}
by ENUMSET1:69
;
then A39: rng Xf =
{(W-bound D),(E-bound D)} \/ {(W-bound D)}
by A38, FINSEQ_1:44
.=
{(W-bound D),(W-bound D),(E-bound D)}
by ENUMSET1:42
.=
{(W-bound D),(E-bound D)}
by ENUMSET1:70
;
then A40:
rng <*(W-bound D),(E-bound D)*> = rng Xf
by FINSEQ_2:147;
A41: len <*(W-bound D),(E-bound D)*> =
2
by FINSEQ_1:61
.=
card (rng Xf)
by A37, A39, CARD_2:76
;
<*(W-bound D),(E-bound D)*> is increasing
proof
let n,
m be
Element of
NAT ;
:: according to SEQM_3:def 1 :: thesis: ( not n in proj1 <*(W-bound D),(E-bound D)*> or not m in proj1 <*(W-bound D),(E-bound D)*> or m <= n or not K502(<*(W-bound D),(E-bound D)*>,m) <= K502(<*(W-bound D),(E-bound D)*>,n) )
len <*(W-bound D),(E-bound D)*> = 2
by FINSEQ_1:61;
then A42:
dom <*(W-bound D),(E-bound D)*> = {1,2}
by FINSEQ_1:4, FINSEQ_1:def 3;
assume
(
n in dom <*(W-bound D),(E-bound D)*> &
m in dom <*(W-bound D),(E-bound D)*> )
;
:: thesis: ( m <= n or not K502(<*(W-bound D),(E-bound D)*>,m) <= K502(<*(W-bound D),(E-bound D)*>,n) )
then A43:
( (
n = 1 or
n = 2 ) & (
m = 1 or
m = 2 ) )
by A42, TARSKI:def 2;
assume
n < m
;
:: thesis: not K502(<*(W-bound D),(E-bound D)*>,m) <= K502(<*(W-bound D),(E-bound D)*>,n)
then
(
<*(W-bound D),(E-bound D)*> . n = W-bound D &
<*(W-bound D),(E-bound D)*> . m = E-bound D )
by A43, FINSEQ_1:61;
hence
<*(W-bound D),(E-bound D)*> . n < <*(W-bound D),(E-bound D)*> . m
by Th33;
:: thesis: verum
end;
then A44:
<*(W-bound D),(E-bound D)*> = Incr (X_axis (SpStSeq D))
by A36, A40, A41, GOBOARD2:def 2;
set Yf1 = <*(N-bound D),(N-bound D),(S-bound D)*>;
set Yf2 = <*(S-bound D),(N-bound D)*>;
A45:
S-bound D < N-bound D
by Th34;
reconsider Yf = <*(N-bound D),(N-bound D),(S-bound D)*> ^ <*(S-bound D),(N-bound D)*> as FinSequence of REAL ;
A46:
( len <*(N-bound D),(N-bound D),(S-bound D)*> = 3 & len <*(S-bound D),(N-bound D)*> = 2 )
by FINSEQ_1:61, FINSEQ_1:62;
then A47:
len Yf = 3 + 2
by FINSEQ_1:35;
1 in dom <*(N-bound D),(N-bound D),(S-bound D)*>
by A46, FINSEQ_3:27;
then A48: Yf . 1 =
<*(N-bound D),(N-bound D),(S-bound D)*> . 1
by FINSEQ_1:def 7
.=
N-bound D
by FINSEQ_1:62
;
2 in dom <*(N-bound D),(N-bound D),(S-bound D)*>
by A46, FINSEQ_3:27;
then A49: Yf . 2 =
<*(N-bound D),(N-bound D),(S-bound D)*> . 2
by FINSEQ_1:def 7
.=
N-bound D
by FINSEQ_1:62
;
3 in dom <*(N-bound D),(N-bound D),(S-bound D)*>
by A46, FINSEQ_3:27;
then A50: Yf . 3 =
<*(N-bound D),(N-bound D),(S-bound D)*> . 3
by FINSEQ_1:def 7
.=
S-bound D
by FINSEQ_1:62
;
1 in dom <*(S-bound D),(N-bound D)*>
by A46, FINSEQ_3:27;
then A51: Yf . (3 + 1) =
<*(S-bound D),(N-bound D)*> . 1
by A46, FINSEQ_1:def 7
.=
S-bound D
by FINSEQ_1:61
;
2 in dom <*(S-bound D),(N-bound D)*>
by A46, FINSEQ_3:27;
then A52: Yf . (3 + 2) =
<*(S-bound D),(N-bound D)*> . 2
by A46, FINSEQ_1:def 7
.=
N-bound D
by FINSEQ_1:61
;
then A54:
Yf = Y_axis (SpStSeq D)
by A2, A47, GOBOARD1:def 4;
A55: rng <*(N-bound D),(N-bound D),(S-bound D)*> =
{(N-bound D),(N-bound D),(S-bound D)}
by FINSEQ_2:148
.=
{(S-bound D),(N-bound D)}
by ENUMSET1:70
;
rng <*(S-bound D),(N-bound D)*> = {(S-bound D),(N-bound D)}
by FINSEQ_2:147;
then A56: rng Yf =
{(S-bound D),(N-bound D)} \/ {(S-bound D),(N-bound D)}
by A55, FINSEQ_1:44
.=
{(S-bound D),(N-bound D)}
;
then A57:
rng <*(S-bound D),(N-bound D)*> = rng Yf
by FINSEQ_2:147;
A58: len <*(S-bound D),(N-bound D)*> =
2
by FINSEQ_1:61
.=
card (rng Yf)
by A45, A56, CARD_2:76
;
<*(S-bound D),(N-bound D)*> is increasing
proof
let n,
m be
Element of
NAT ;
:: according to SEQM_3:def 1 :: thesis: ( not n in proj1 <*(S-bound D),(N-bound D)*> or not m in proj1 <*(S-bound D),(N-bound D)*> or m <= n or not K502(<*(S-bound D),(N-bound D)*>,m) <= K502(<*(S-bound D),(N-bound D)*>,n) )
len <*(S-bound D),(N-bound D)*> = 2
by FINSEQ_1:61;
then A59:
dom <*(S-bound D),(N-bound D)*> = {1,2}
by FINSEQ_1:4, FINSEQ_1:def 3;
assume
(
n in dom <*(S-bound D),(N-bound D)*> &
m in dom <*(S-bound D),(N-bound D)*> )
;
:: thesis: ( m <= n or not K502(<*(S-bound D),(N-bound D)*>,m) <= K502(<*(S-bound D),(N-bound D)*>,n) )
then A60:
( (
n = 1 or
n = 2 ) & (
m = 1 or
m = 2 ) )
by A59, TARSKI:def 2;
assume
n < m
;
:: thesis: not K502(<*(S-bound D),(N-bound D)*>,m) <= K502(<*(S-bound D),(N-bound D)*>,n)
then
(
<*(S-bound D),(N-bound D)*> . n = S-bound D &
<*(S-bound D),(N-bound D)*> . m = N-bound D )
by A60, FINSEQ_1:61;
hence
<*(S-bound D),(N-bound D)*> . n < <*(S-bound D),(N-bound D)*> . m
by Th34;
:: thesis: verum
end;
then A61:
<*(S-bound D),(N-bound D)*> = Incr (Y_axis (SpStSeq D))
by A54, A57, A58, GOBOARD2:def 2;
set S = |[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|;
A62: len (|[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|) =
2
by MATRIX_2:3
.=
len (Incr (X_axis (SpStSeq D)))
by A44, FINSEQ_1:61
;
A63: width (|[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|) =
2
by MATRIX_2:3
.=
len (Incr (Y_axis (SpStSeq D)))
by A61, FINSEQ_1:61
;
for n, m being Element of NAT st [n,m] in Indices (|[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|) holds
(|[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|) * n,m = |[((Incr (X_axis (SpStSeq D))) . n),((Incr (Y_axis (SpStSeq D))) . m)]|
proof
let n,
m be
Element of
NAT ;
:: thesis: ( [n,m] in Indices (|[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|) implies (|[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|) * n,m = |[((Incr (X_axis (SpStSeq D))) . n),((Incr (Y_axis (SpStSeq D))) . m)]| )
assume
[n,m] in Indices (|[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|)
;
:: thesis: (|[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|) * n,m = |[((Incr (X_axis (SpStSeq D))) . n),((Incr (Y_axis (SpStSeq D))) . m)]|
then
[n,m] in [:{1,2},{1,2}:]
by FINSEQ_1:4, MATRIX_2:3;
then A64:
[n,m] in {[1,1],[1,2],[2,1],[2,2]}
by MCART_1:25;
A65:
(
<*(S-bound D),(N-bound D)*> . 1
= S-bound D &
<*(S-bound D),(N-bound D)*> . 2
= N-bound D )
by FINSEQ_1:61;
per cases
( [n,m] = [1,1] or [n,m] = [1,2] or [n,m] = [2,1] or [n,m] = [2,2] )
by A64, ENUMSET1:def 2;
suppose
[n,m] = [1,1]
;
:: thesis: (|[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|) * n,m = |[((Incr (X_axis (SpStSeq D))) . n),((Incr (Y_axis (SpStSeq D))) . m)]|then A66:
(
n = 1 &
m = 1 )
by ZFMISC_1:33;
hence (|[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|) * n,
m =
|[(W-bound D),(S-bound D)]|
by MATRIX_2:6
.=
|[((Incr (X_axis (SpStSeq D))) . n),((Incr (Y_axis (SpStSeq D))) . m)]|
by A44, A61, A65, A66, FINSEQ_1:61
;
:: thesis: verum end; suppose
[n,m] = [1,2]
;
:: thesis: (|[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|) * n,m = |[((Incr (X_axis (SpStSeq D))) . n),((Incr (Y_axis (SpStSeq D))) . m)]|then A67:
(
n = 1 &
m = 2 )
by ZFMISC_1:33;
hence (|[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|) * n,
m =
|[(W-bound D),(N-bound D)]|
by MATRIX_2:6
.=
|[((Incr (X_axis (SpStSeq D))) . n),((Incr (Y_axis (SpStSeq D))) . m)]|
by A44, A61, A65, A67, FINSEQ_1:61
;
:: thesis: verum end; suppose
[n,m] = [2,1]
;
:: thesis: (|[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|) * n,m = |[((Incr (X_axis (SpStSeq D))) . n),((Incr (Y_axis (SpStSeq D))) . m)]|then A68:
(
n = 2 &
m = 1 )
by ZFMISC_1:33;
hence (|[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|) * n,
m =
|[(E-bound D),(S-bound D)]|
by MATRIX_2:6
.=
|[((Incr (X_axis (SpStSeq D))) . n),((Incr (Y_axis (SpStSeq D))) . m)]|
by A44, A61, A65, A68, FINSEQ_1:61
;
:: thesis: verum end; suppose
[n,m] = [2,2]
;
:: thesis: (|[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|) * n,m = |[((Incr (X_axis (SpStSeq D))) . n),((Incr (Y_axis (SpStSeq D))) . m)]|then A69:
(
n = 2 &
m = 2 )
by ZFMISC_1:33;
hence (|[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]|) * n,
m =
|[(E-bound D),(N-bound D)]|
by MATRIX_2:6
.=
|[((Incr (X_axis (SpStSeq D))) . n),((Incr (Y_axis (SpStSeq D))) . m)]|
by A44, A61, A65, A69, FINSEQ_1:61
;
:: thesis: verum end; end;
end;
then A70: |[(W-bound D),(S-bound D)]|,|[(W-bound D),(N-bound D)]| ][ |[(E-bound D),(S-bound D)]|,|[(E-bound D),(N-bound D)]| =
GoB (Incr (X_axis (SpStSeq D))),(Incr (Y_axis (SpStSeq D)))
by A62, A63, GOBOARD2:def 1
.=
GoB (SpStSeq D)
by GOBOARD2:def 3
;
then A71:
(SpStSeq D) /. 1 = (GoB (SpStSeq D)) * 1,2
by A3, MATRIX_2:6;
A72:
(SpStSeq D) /. 2 = (GoB (SpStSeq D)) * 2,2
by A4, A70, MATRIX_2:6;
A73:
(SpStSeq D) /. 3 = (GoB (SpStSeq D)) * 2,1
by A5, A70, MATRIX_2:6;
A74:
(SpStSeq D) /. 4 = (GoB (SpStSeq D)) * 1,1
by A6, A70, MATRIX_2:6;
thus
SpStSeq D is standard
:: thesis: verumproof
thus
for
k being
Element of
NAT st
k in dom (SpStSeq D) holds
ex
i,
j being
Element of
NAT st
(
[i,j] in Indices (GoB (SpStSeq D)) &
(SpStSeq D) /. k = (GoB (SpStSeq D)) * i,
j )
:: according to GOBOARD1:def 11,
GOBOARD5:def 5 :: thesis: for b1 being Element of NAT holds
( not b1 in dom (SpStSeq D) or not b1 + 1 in dom (SpStSeq D) or for b2, b3, b4, b5 being Element of NAT holds
( not [b2,b3] in Indices (GoB (SpStSeq D)) or not [b4,b5] in Indices (GoB (SpStSeq D)) or not (SpStSeq D) /. b1 = (GoB (SpStSeq D)) * b2,b3 or not (SpStSeq D) /. (b1 + 1) = (GoB (SpStSeq D)) * b4,b5 or (abs (b2 - b4)) + (abs (b3 - b5)) = 1 ) )proof
let k be
Element of
NAT ;
:: thesis: ( k in dom (SpStSeq D) implies ex i, j being Element of NAT st
( [i,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * i,j ) )
assume
k in dom (SpStSeq D)
;
:: thesis: ex i, j being Element of NAT st
( [i,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * i,j )
then A75:
(
k >= 1 &
k <= 5 )
by A2, FINSEQ_3:27;
per cases
( k = 1 or k = 2 or k = 3 or k = 4 or k = 5 )
by A75, NAT_1:30;
suppose A76:
k = 1
;
:: thesis: ex i, j being Element of NAT st
( [i,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * i,j )take
1
;
:: thesis: ex j being Element of NAT st
( [1,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * 1,j )take
2
;
:: thesis: ( [1,2] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * 1,2 )thus
[1,2] in Indices (GoB (SpStSeq D))
by A70, MATRIX_2:4;
:: thesis: (SpStSeq D) /. k = (GoB (SpStSeq D)) * 1,2thus
(SpStSeq D) /. k = (GoB (SpStSeq D)) * 1,2
by A3, A70, A76, MATRIX_2:6;
:: thesis: verum end; suppose A77:
k = 2
;
:: thesis: ex i, j being Element of NAT st
( [i,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * i,j )take
2
;
:: thesis: ex j being Element of NAT st
( [2,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * 2,j )take
2
;
:: thesis: ( [2,2] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * 2,2 )thus
[2,2] in Indices (GoB (SpStSeq D))
by A70, MATRIX_2:4;
:: thesis: (SpStSeq D) /. k = (GoB (SpStSeq D)) * 2,2thus
(SpStSeq D) /. k = (GoB (SpStSeq D)) * 2,2
by A4, A70, A77, MATRIX_2:6;
:: thesis: verum end; suppose A78:
k = 3
;
:: thesis: ex i, j being Element of NAT st
( [i,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * i,j )take
2
;
:: thesis: ex j being Element of NAT st
( [2,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * 2,j )take
1
;
:: thesis: ( [2,1] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * 2,1 )thus
[2,1] in Indices (GoB (SpStSeq D))
by A70, MATRIX_2:4;
:: thesis: (SpStSeq D) /. k = (GoB (SpStSeq D)) * 2,1thus
(SpStSeq D) /. k = (GoB (SpStSeq D)) * 2,1
by A5, A70, A78, MATRIX_2:6;
:: thesis: verum end; suppose A79:
k = 4
;
:: thesis: ex i, j being Element of NAT st
( [i,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * i,j )take
1
;
:: thesis: ex j being Element of NAT st
( [1,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * 1,j )take
1
;
:: thesis: ( [1,1] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * 1,1 )thus
[1,1] in Indices (GoB (SpStSeq D))
by A70, MATRIX_2:4;
:: thesis: (SpStSeq D) /. k = (GoB (SpStSeq D)) * 1,1thus
(SpStSeq D) /. k = (GoB (SpStSeq D)) * 1,1
by A6, A70, A79, MATRIX_2:6;
:: thesis: verum end; suppose A80:
k = 5
;
:: thesis: ex i, j being Element of NAT st
( [i,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * i,j )take
1
;
:: thesis: ex j being Element of NAT st
( [1,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * 1,j )take
2
;
:: thesis: ( [1,2] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * 1,2 )thus
[1,2] in Indices (GoB (SpStSeq D))
by A70, MATRIX_2:4;
:: thesis: (SpStSeq D) /. k = (GoB (SpStSeq D)) * 1,2thus
(SpStSeq D) /. k = (GoB (SpStSeq D)) * 1,2
by A7, A70, A80, MATRIX_2:6;
:: thesis: verum end; end;
end;
let n be
Element of
NAT ;
:: thesis: ( not n in dom (SpStSeq D) or not n + 1 in dom (SpStSeq D) or for b1, b2, b3, b4 being Element of NAT holds
( not [b1,b2] in Indices (GoB (SpStSeq D)) or not [b3,b4] in Indices (GoB (SpStSeq D)) or not (SpStSeq D) /. n = (GoB (SpStSeq D)) * b1,b2 or not (SpStSeq D) /. (n + 1) = (GoB (SpStSeq D)) * b3,b4 or (abs (b1 - b3)) + (abs (b2 - b4)) = 1 ) )
assume that A81:
n in dom (SpStSeq D)
and A82:
n + 1
in dom (SpStSeq D)
;
:: thesis: for b1, b2, b3, b4 being Element of NAT holds
( not [b1,b2] in Indices (GoB (SpStSeq D)) or not [b3,b4] in Indices (GoB (SpStSeq D)) or not (SpStSeq D) /. n = (GoB (SpStSeq D)) * b1,b2 or not (SpStSeq D) /. (n + 1) = (GoB (SpStSeq D)) * b3,b4 or (abs (b1 - b3)) + (abs (b2 - b4)) = 1 )
let m,
k,
i,
j be
Element of
NAT ;
:: thesis: ( not [m,k] in Indices (GoB (SpStSeq D)) or not [i,j] in Indices (GoB (SpStSeq D)) or not (SpStSeq D) /. n = (GoB (SpStSeq D)) * m,k or not (SpStSeq D) /. (n + 1) = (GoB (SpStSeq D)) * i,j or (abs (m - i)) + (abs (k - j)) = 1 )
assume that A83:
[m,k] in Indices (GoB (SpStSeq D))
and A84:
[i,j] in Indices (GoB (SpStSeq D))
and A85:
(SpStSeq D) /. n = (GoB (SpStSeq D)) * m,
k
and A86:
(SpStSeq D) /. (n + 1) = (GoB (SpStSeq D)) * i,
j
;
:: thesis: (abs (m - i)) + (abs (k - j)) = 1
A87:
n <> 0
by A81, FINSEQ_3:27;
n + 1
<= 4
+ 1
by A2, A82, FINSEQ_3:27;
then A88:
n <= 4
by XREAL_1:8;
per cases
( n = 1 or n = 2 or n = 3 or n = 4 )
by A87, A88, NAT_1:29;
suppose A89:
n = 1
;
:: thesis: (abs (m - i)) + (abs (k - j)) = 1
[1,2] in Indices (GoB (SpStSeq D))
by A70, MATRIX_2:4;
then A90:
(
m = 1 &
k = 2 )
by A71, A83, A85, A89, GOBOARD1:21;
[2,2] in Indices (GoB (SpStSeq D))
by A70, MATRIX_2:4;
then A91:
(
i = 1
+ 1 &
j = 2 )
by A72, A84, A86, A89, GOBOARD1:21;
then
abs (m - i) = 1
by A90, GOBOARD1:1;
hence
(abs (m - i)) + (abs (k - j)) = 1
by A90, A91, GOBOARD1:2;
:: thesis: verum end; suppose A92:
n = 2
;
:: thesis: (abs (m - i)) + (abs (k - j)) = 1
[2,2] in Indices (GoB (SpStSeq D))
by A70, MATRIX_2:4;
then A93:
(
m = 2 &
k = 1
+ 1 )
by A72, A83, A85, A92, GOBOARD1:21;
[2,1] in Indices (GoB (SpStSeq D))
by A70, MATRIX_2:4;
then A94:
(
i = 2 &
j = 1 )
by A73, A84, A86, A92, GOBOARD1:21;
then
abs (k - j) = 1
by A93, GOBOARD1:1;
hence
(abs (m - i)) + (abs (k - j)) = 1
by A93, A94, GOBOARD1:2;
:: thesis: verum end; suppose A95:
n = 3
;
:: thesis: (abs (m - i)) + (abs (k - j)) = 1
[2,1] in Indices (GoB (SpStSeq D))
by A70, MATRIX_2:4;
then A96:
(
m = 1
+ 1 &
k = 1 )
by A73, A83, A85, A95, GOBOARD1:21;
[1,1] in Indices (GoB (SpStSeq D))
by A70, MATRIX_2:4;
then A97:
(
i = 1 &
j = 1 )
by A74, A84, A86, A95, GOBOARD1:21;
then
abs (m - i) = 1
by A96, GOBOARD1:1;
hence
(abs (m - i)) + (abs (k - j)) = 1
by A96, A97, GOBOARD1:2;
:: thesis: verum end; suppose A98:
n = 4
;
:: thesis: (abs (m - i)) + (abs (k - j)) = 1
[1,1] in Indices (GoB (SpStSeq D))
by A70, MATRIX_2:4;
then A99:
(
m = 1 &
k = 1 )
by A74, A83, A85, A98, GOBOARD1:21;
[1,2] in Indices (GoB (SpStSeq D))
by A70, MATRIX_2:4;
then A100:
(
i = 1 &
j = 1
+ 1 )
by A3, A7, A71, A84, A86, A98, GOBOARD1:21;
then
abs (k - j) = 1
by A99, GOBOARD1:1;
hence
(abs (m - i)) + (abs (k - j)) = 1
by A99, A100, GOBOARD1:2;
:: thesis: verum end; end;
end;