reconsider Sb = S-bound D, Nb = N-bound D, Wb = W-bound D, Eb = E-bound D as Element of REAL by XREAL_0:def 1;
A1: <*Sb,Nb*> is increasing
proof
let n, m be Nat; :: according to SEQM_3:def 1 :: thesis: ( not n in K93(<*Sb,Nb*>) or not m in K93(<*Sb,Nb*>) or m <= n or not <*Sb,Nb*> . m <= <*Sb,Nb*> . n )
assume that
A2: n in dom <*Sb,Nb*> and
A3: m in dom <*Sb,Nb*> ; :: thesis: ( m <= n or not <*Sb,Nb*> . m <= <*Sb,Nb*> . n )
len <*(S-bound D),(N-bound D)*> = 2 by FINSEQ_1:44;
then A4: dom <*(S-bound D),(N-bound D)*> = {1,2} by FINSEQ_1:2, FINSEQ_1:def 3;
then A5: ( n = 1 or n = 2 ) by A2, TARSKI:def 2;
assume A6: n < m ; :: thesis: not <*Sb,Nb*> . m <= <*Sb,Nb*> . n
A7: ( m = 1 or m = 2 ) by A4, A3, TARSKI:def 2;
then A8: <*(S-bound D),(N-bound D)*> . m = N-bound D by A5, A6;
<*(S-bound D),(N-bound D)*> . n = S-bound D by A5, A7, A6;
hence <*Sb,Nb*> . n < <*Sb,Nb*> . m by A8, Th32; :: thesis: verum
end;
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)]|);
set Yf1 = <*Nb,Nb,Sb*>;
set Yf2 = <*Sb,Nb*>;
set Xf1 = <*Wb,Eb,Eb*>;
set Xf2 = <*Wb,Wb*>;
set f = SpStSeq D;
set f1 = <*(NW-corner D),(NE-corner D),(SE-corner D)*>;
set f2 = <*(SW-corner D),(NW-corner D)*>;
reconsider Xf = <*Wb,Eb,Eb*> ^ <*Wb,Wb*> as FinSequence of REAL ;
A9: rng <*Wb,Wb*> = {(W-bound D),(W-bound D)} by FINSEQ_2:127
.= {(W-bound D)} by ENUMSET1:29 ;
rng <*Wb,Eb,Eb*> = {(W-bound D),(E-bound D),(E-bound D)} by FINSEQ_2:128
.= {(E-bound D),(E-bound D),(W-bound D)} by ENUMSET1:60
.= {(W-bound D),(E-bound D)} by ENUMSET1:30 ;
then A10: rng Xf = {(W-bound D),(E-bound D)} \/ {(W-bound D)} by A9, FINSEQ_1:31
.= {(W-bound D),(W-bound D),(E-bound D)} by ENUMSET1:2
.= {(W-bound D),(E-bound D)} by ENUMSET1:30 ;
then A11: rng <*(W-bound D),(E-bound D)*> = rng Xf by FINSEQ_2:127;
A12: <*Wb,Eb*> is increasing
proof
let n, m be Nat; :: according to SEQM_3:def 1 :: thesis: ( not n in K93(<*Wb,Eb*>) or not m in K93(<*Wb,Eb*>) or m <= n or not <*Wb,Eb*> . m <= <*Wb,Eb*> . n )
assume that
A13: n in dom <*Wb,Eb*> and
A14: m in dom <*Wb,Eb*> ; :: thesis: ( m <= n or not <*Wb,Eb*> . m <= <*Wb,Eb*> . n )
len <*(W-bound D),(E-bound D)*> = 2 by FINSEQ_1:44;
then A15: dom <*(W-bound D),(E-bound D)*> = {1,2} by FINSEQ_1:2, FINSEQ_1:def 3;
then A16: ( n = 1 or n = 2 ) by A13, TARSKI:def 2;
assume A17: n < m ; :: thesis: not <*Wb,Eb*> . m <= <*Wb,Eb*> . n
A18: ( m = 1 or m = 2 ) by A15, A14, TARSKI:def 2;
then A19: <*(W-bound D),(E-bound D)*> . m = E-bound D by A16, A17;
<*(W-bound D),(E-bound D)*> . n = W-bound D by A16, A18, A17;
hence <*Wb,Eb*> . n < <*Wb,Eb*> . m by A19, Th31; :: thesis: verum
end;
A20: S-bound D < N-bound D by Th32;
reconsider Yf = <*Nb,Nb,Sb*> ^ <*Sb,Nb*> as FinSequence of REAL ;
A21: rng <*Sb,Nb*> = {(S-bound D),(N-bound D)} by FINSEQ_2:127;
rng <*Nb,Nb,Sb*> = {(N-bound D),(N-bound D),(S-bound D)} by FINSEQ_2:128
.= {(S-bound D),(N-bound D)} by ENUMSET1:30 ;
then A22: rng Yf = {(S-bound D),(N-bound D)} \/ {(S-bound D),(N-bound D)} by A21, FINSEQ_1:31
.= {(S-bound D),(N-bound D)} ;
then A23: rng <*(S-bound D),(N-bound D)*> = rng Yf by FINSEQ_2:127;
A24: len <*(S-bound D),(N-bound D)*> = 2 by FINSEQ_1:44
.= card (rng Yf) by A20, A22, CARD_2:57 ;
A25: len <*Nb,Nb,Sb*> = 3 by FINSEQ_1:45;
then 1 in dom <*Nb,Nb,Sb*> by FINSEQ_3:25;
then A26: Yf . 1 = <*Nb,Nb,Sb*> . 1 by FINSEQ_1:def 7
.= N-bound D ;
A27: len <*Sb,Nb*> = 2 by FINSEQ_1:44;
then A28: len Yf = 3 + 2 by A25, FINSEQ_1:22;
2 in dom <*Sb,Nb*> by A27, FINSEQ_3:25;
then A29: Yf . (3 + 2) = <*Sb,Nb*> . 2 by A25, FINSEQ_1:def 7
.= N-bound D ;
3 in dom <*Nb,Nb,Sb*> by A25, FINSEQ_3:25;
then A30: Yf . 3 = <*Nb,Nb,Sb*> . 3 by FINSEQ_1:def 7
.= S-bound D ;
2 in dom <*Nb,Nb,Sb*> by A25, FINSEQ_3:25;
then A31: Yf . 2 = <*Nb,Nb,Sb*> . 2 by FINSEQ_1:def 7
.= N-bound D ;
A32: len <*(NW-corner D),(NE-corner D),(SE-corner D)*> = 3 by FINSEQ_1:45;
then 1 in dom <*(NW-corner D),(NE-corner D),(SE-corner D)*> by FINSEQ_3:25;
then A33: (SpStSeq D) /. 1 = <*(NW-corner D),(NE-corner D),(SE-corner D)*> /. 1 by FINSEQ_4:68
.= NW-corner D by FINSEQ_4:18 ;
3 in dom <*(NW-corner D),(NE-corner D),(SE-corner D)*> by A32, FINSEQ_3:25;
then A34: (SpStSeq D) /. 3 = <*(NW-corner D),(NE-corner D),(SE-corner D)*> /. 3 by FINSEQ_4:68
.= SE-corner D by FINSEQ_4:18 ;
2 in dom <*(NW-corner D),(NE-corner D),(SE-corner D)*> by A32, FINSEQ_3:25;
then A35: (SpStSeq D) /. 2 = <*(NW-corner D),(NE-corner D),(SE-corner D)*> /. 2 by FINSEQ_4:68
.= NE-corner D by FINSEQ_4:18 ;
A36: len <*(SW-corner D),(NW-corner D)*> = 2 by FINSEQ_1:44;
then A37: len (<*(NW-corner D),(NE-corner D),(SE-corner D)*> ^ <*(SW-corner D),(NW-corner D)*>) = 3 + 2 by A32, FINSEQ_1:22;
1 in dom <*(SW-corner D),(NW-corner D)*> by A36, FINSEQ_3:25;
then A38: (SpStSeq D) /. (3 + 1) = <*(SW-corner D),(NW-corner D)*> /. 1 by A32, FINSEQ_4:69
.= SW-corner D by FINSEQ_4:17 ;
then A39: LSeg ((SpStSeq D),3) = LSeg ((SE-corner D),(SW-corner D)) by A37, A34, TOPREAL1:def 3;
2 in dom <*(SW-corner D),(NW-corner D)*> by A36, FINSEQ_3:25;
then A40: (SpStSeq D) /. (3 + 2) = <*(SW-corner D),(NW-corner D)*> /. 2 by A32, FINSEQ_4:69
.= NW-corner D by FINSEQ_4:17 ;
thus SpStSeq D is special :: thesis: ( SpStSeq D is unfolded & SpStSeq D is circular & SpStSeq D is s.c.c. & SpStSeq D is standard )
proof
let i be Nat; :: according to TOPREAL1:def 5 :: thesis: ( not 1 <= i or not i + 1 <= len (SpStSeq D) or ((SpStSeq D) /. i) `1 = ((SpStSeq D) /. (i + 1)) `1 or ((SpStSeq D) /. i) `2 = ((SpStSeq D) /. (i + 1)) `2 )
assume 1 <= i ; :: thesis: ( not i + 1 <= len (SpStSeq D) or ((SpStSeq D) /. i) `1 = ((SpStSeq D) /. (i + 1)) `1 or ((SpStSeq D) /. i) `2 = ((SpStSeq D) /. (i + 1)) `2 )
then 1 + 1 <= i + 1 by XREAL_1:6;
then A41: 1 < i + 1 by XXREAL_0:2;
assume i + 1 <= len (SpStSeq D) ; :: thesis: ( ((SpStSeq D) /. i) `1 = ((SpStSeq D) /. (i + 1)) `1 or ((SpStSeq D) /. i) `2 = ((SpStSeq D) /. (i + 1)) `2 )
then A42: not not i + 1 = 0 & ... & not i + 1 = 5 by A37;
per cases ( i = 1 or i = 2 or i = 3 or i = 4 ) by A41, A42;
suppose A43: i = 1 ; :: thesis: ( ((SpStSeq D) /. i) `1 = ((SpStSeq D) /. (i + 1)) `1 or ((SpStSeq D) /. i) `2 = ((SpStSeq D) /. (i + 1)) `2 )
((SpStSeq D) /. 1) `2 = N-bound D by A33, EUCLID:52
.= ((SpStSeq D) /. (1 + 1)) `2 by A35, EUCLID:52 ;
hence ( ((SpStSeq D) /. i) `1 = ((SpStSeq D) /. (i + 1)) `1 or ((SpStSeq D) /. i) `2 = ((SpStSeq D) /. (i + 1)) `2 ) by A43; :: thesis: verum
end;
suppose A44: i = 2 ; :: thesis: ( ((SpStSeq D) /. i) `1 = ((SpStSeq D) /. (i + 1)) `1 or ((SpStSeq D) /. i) `2 = ((SpStSeq D) /. (i + 1)) `2 )
((SpStSeq D) /. 2) `1 = E-bound D by A35, EUCLID:52
.= ((SpStSeq D) /. (2 + 1)) `1 by A34, EUCLID:52 ;
hence ( ((SpStSeq D) /. i) `1 = ((SpStSeq D) /. (i + 1)) `1 or ((SpStSeq D) /. i) `2 = ((SpStSeq D) /. (i + 1)) `2 ) by A44; :: thesis: verum
end;
suppose A45: i = 3 ; :: thesis: ( ((SpStSeq D) /. i) `1 = ((SpStSeq D) /. (i + 1)) `1 or ((SpStSeq D) /. i) `2 = ((SpStSeq D) /. (i + 1)) `2 )
((SpStSeq D) /. 3) `2 = S-bound D by A34, EUCLID:52
.= ((SpStSeq D) /. (3 + 1)) `2 by A38, EUCLID:52 ;
hence ( ((SpStSeq D) /. i) `1 = ((SpStSeq D) /. (i + 1)) `1 or ((SpStSeq D) /. i) `2 = ((SpStSeq D) /. (i + 1)) `2 ) by A45; :: thesis: verum
end;
suppose A46: i = 4 ; :: thesis: ( ((SpStSeq D) /. i) `1 = ((SpStSeq D) /. (i + 1)) `1 or ((SpStSeq D) /. i) `2 = ((SpStSeq D) /. (i + 1)) `2 )
((SpStSeq D) /. 4) `1 = W-bound D by A38, EUCLID:52
.= ((SpStSeq D) /. (4 + 1)) `1 by A40, EUCLID:52 ;
hence ( ((SpStSeq D) /. i) `1 = ((SpStSeq D) /. (i + 1)) `1 or ((SpStSeq D) /. i) `2 = ((SpStSeq D) /. (i + 1)) `2 ) by A46; :: thesis: verum
end;
end;
end;
4 + 1 = 5 ;
then A47: LSeg ((SpStSeq D),4) = LSeg ((SW-corner D),(NW-corner D)) by A37, A38, A40, TOPREAL1:def 3;
2 + 1 = 3 ;
then A48: LSeg ((SpStSeq D),2) = LSeg ((NE-corner D),(SE-corner D)) by A37, A35, A34, TOPREAL1:def 3;
1 in dom <*Sb,Nb*> by A27, FINSEQ_3:25;
then A49: Yf . (3 + 1) = <*Sb,Nb*> . 1 by A25, FINSEQ_1:def 7
.= S-bound D ;
now :: thesis: for n being Nat st n in dom Yf holds
Yf . n = ((SpStSeq D) /. n) `2
let n be Nat; :: thesis: ( n in dom Yf implies Yf . b1 = ((SpStSeq D) /. b1) `2 )
assume A50: n in dom Yf ; :: thesis: Yf . b1 = ((SpStSeq D) /. b1) `2
then A51: n <> 0 by FINSEQ_3:25;
n <= 5 by A28, A50, FINSEQ_3:25;
then not not n = 0 & ... & not n = 5 ;
per cases then ( n = 1 or n = 2 or n = 3 or n = 4 or n = 5 ) by A51;
suppose n = 1 ; :: thesis: Yf . b1 = ((SpStSeq D) /. b1) `2
hence Yf . n = ((SpStSeq D) /. n) `2 by A33, A26, EUCLID:52; :: thesis: verum
end;
suppose n = 2 ; :: thesis: Yf . b1 = ((SpStSeq D) /. b1) `2
hence Yf . n = ((SpStSeq D) /. n) `2 by A35, A31, EUCLID:52; :: thesis: verum
end;
suppose n = 3 ; :: thesis: Yf . b1 = ((SpStSeq D) /. b1) `2
hence Yf . n = ((SpStSeq D) /. n) `2 by A34, A30, EUCLID:52; :: thesis: verum
end;
suppose n = 4 ; :: thesis: Yf . b1 = ((SpStSeq D) /. b1) `2
hence Yf . n = ((SpStSeq D) /. n) `2 by A38, A49, EUCLID:52; :: thesis: verum
end;
suppose n = 5 ; :: thesis: Yf . b1 = ((SpStSeq D) /. b1) `2
hence Yf . n = ((SpStSeq D) /. n) `2 by A40, A29, EUCLID:52; :: thesis: verum
end;
end;
end;
then Yf = Y_axis (SpStSeq D) by A37, A28, GOBOARD1:def 2;
then A52: <*(S-bound D),(N-bound D)*> = Incr (Y_axis (SpStSeq D)) by A23, A24, A1, SEQ_4:def 21;
1 + 1 = 2 ;
then A53: LSeg ((SpStSeq D),1) = LSeg ((NW-corner D),(NE-corner D)) by A37, A33, A35, TOPREAL1:def 3;
thus SpStSeq D is unfolded :: thesis: ( SpStSeq D is circular & SpStSeq D is s.c.c. & SpStSeq D is standard )
proof
let i be Nat; :: according to TOPREAL1:def 6 :: thesis: ( not 1 <= i or not i + 2 <= len (SpStSeq D) or (LSeg ((SpStSeq D),i)) /\ (LSeg ((SpStSeq D),(i + 1))) = {((SpStSeq D) /. (i + 1))} )
assume 1 <= i ; :: thesis: ( not i + 2 <= len (SpStSeq D) or (LSeg ((SpStSeq D),i)) /\ (LSeg ((SpStSeq D),(i + 1))) = {((SpStSeq D) /. (i + 1))} )
then A54: 1 + 2 <= i + 2 by XREAL_1:6;
assume A55: i + 2 <= len (SpStSeq D) ; :: thesis: (LSeg ((SpStSeq D),i)) /\ (LSeg ((SpStSeq D),(i + 1))) = {((SpStSeq D) /. (i + 1))}
A56: 2 < i + 2 by A54, XXREAL_0:2;
not not i + 2 = 0 & ... & not i + 2 = 5 by A37, A55;
per cases then ( i = 1 or i = 2 or i = 3 ) by A56;
suppose i = 1 ; :: thesis: (LSeg ((SpStSeq D),i)) /\ (LSeg ((SpStSeq D),(i + 1))) = {((SpStSeq D) /. (i + 1))}
hence (LSeg ((SpStSeq D),i)) /\ (LSeg ((SpStSeq D),(i + 1))) = {((SpStSeq D) /. (i + 1))} by A35, A53, A48, Th28; :: thesis: verum
end;
suppose i = 2 ; :: thesis: (LSeg ((SpStSeq D),i)) /\ (LSeg ((SpStSeq D),(i + 1))) = {((SpStSeq D) /. (i + 1))}
hence (LSeg ((SpStSeq D),i)) /\ (LSeg ((SpStSeq D),(i + 1))) = {((SpStSeq D) /. (i + 1))} by A34, A48, A39, Th29; :: thesis: verum
end;
suppose i = 3 ; :: thesis: (LSeg ((SpStSeq D),i)) /\ (LSeg ((SpStSeq D),(i + 1))) = {((SpStSeq D) /. (i + 1))}
hence (LSeg ((SpStSeq D),i)) /\ (LSeg ((SpStSeq D),(i + 1))) = {((SpStSeq D) /. (i + 1))} by A38, A39, A47, Th30; :: thesis: verum
end;
end;
end;
thus SpStSeq D is circular by A37, A33, A40, 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
proof
let i be Nat; :: according to GOBOARD5:def 4 :: thesis: for b1 being set holds
( b1 <= i + 1 or ( ( i <= 1 or len (SpStSeq D) <= b1 ) & len (SpStSeq D) <= b1 + 1 ) or LSeg ((SpStSeq D),i) misses LSeg ((SpStSeq D),b1) )

let j be Nat; :: thesis: ( j <= i + 1 or ( ( i <= 1 or len (SpStSeq D) <= j ) & len (SpStSeq D) <= j + 1 ) or LSeg ((SpStSeq D),i) misses LSeg ((SpStSeq D),j) )
assume that
A57: i + 1 < j and
A58: ( ( i > 1 & j < len (SpStSeq D) ) or j + 1 < len (SpStSeq D) ) ; :: thesis: LSeg ((SpStSeq D),i) misses LSeg ((SpStSeq D),j)
j + 1 <= 5 by A37, A58, NAT_1:13;
then A59: not not j + 1 = 0 & ... & not j + 1 = 5 ;
A60: (i + 1) + 1 = i + (1 + 1) ;
then A61: i + 2 <> 0 + 1 ;
A62: i + 2 <= j by A57, A60, NAT_1:13;
A63: now :: thesis: ( ( j = 2 & i = 0 ) or ( j = 3 & ( i = 0 or i = 1 ) ) or ( j = 4 & ( i = 0 or i = 2 ) ) )
per cases ( j = 2 or j = 3 or j = 4 ) by A57, A59, NAT_1:11;
case j = 2 ; :: thesis: i = 0
then i + 2 <= 2 by A62;
then not not i + 2 = 0 & ... & not i + 2 = 2 ;
hence i = 0 by A57; :: thesis: verum
end;
case j = 3 ; :: thesis: ( i = 0 or i = 1 )
then i + 2 <= 3 by A62;
then not not i + 2 = 0 & ... & not i + 2 = 3 ;
hence ( i = 0 or i = 1 ) by A57; :: thesis: verum
end;
case A64: j = 4 ; :: thesis: ( i = 0 or i = 2 )
then i + 2 <= 4 by A62;
then not not i + 2 = 0 & ... & not i + 2 = 4 ;
hence ( i = 0 or i = 2 ) by A37, A58, A61, A64; :: thesis: verum
end;
end;
end;
per cases ( i = 0 or ( i = 1 & j = 3 ) or ( i = 2 & j = 4 ) ) by A63;
suppose i = 0 ; :: thesis: LSeg ((SpStSeq D),i) misses LSeg ((SpStSeq D),j)
then LSeg ((SpStSeq D),i) = {} by TOPREAL1:def 3;
hence (LSeg ((SpStSeq D),i)) /\ (LSeg ((SpStSeq D),j)) = {} ; :: according to XBOOLE_0:def 7 :: thesis: verum
end;
suppose ( i = 1 & j = 3 ) ; :: thesis: LSeg ((SpStSeq D),i) misses LSeg ((SpStSeq D),j)
then LSeg ((SpStSeq D),i) misses LSeg ((SpStSeq D),j) by A53, A39, Th34;
hence (LSeg ((SpStSeq D),i)) /\ (LSeg ((SpStSeq D),j)) = {} ; :: according to XBOOLE_0:def 7 :: thesis: verum
end;
suppose ( i = 2 & j = 4 ) ; :: thesis: LSeg ((SpStSeq D),i) misses LSeg ((SpStSeq D),j)
then LSeg ((SpStSeq D),i) misses LSeg ((SpStSeq D),j) by A48, A47, Th33;
hence (LSeg ((SpStSeq D),i)) /\ (LSeg ((SpStSeq D),j)) = {} ; :: according to XBOOLE_0:def 7 :: thesis: verum
end;
end;
end;
A65: W-bound D < E-bound D by Th31;
A66: len <*(W-bound D),(E-bound D)*> = 2 by FINSEQ_1:44
.= card (rng Xf) by A65, A10, CARD_2:57 ;
A67: len <*Wb,Eb,Eb*> = 3 by FINSEQ_1:45;
then 1 in dom <*Wb,Eb,Eb*> by FINSEQ_3:25;
then A68: Xf . 1 = <*Wb,Eb,Eb*> . 1 by FINSEQ_1:def 7
.= W-bound D ;
A69: len <*Wb,Wb*> = 2 by FINSEQ_1:44;
then A70: len Xf = 3 + 2 by A67, FINSEQ_1:22;
2 in dom <*Wb,Wb*> by A69, FINSEQ_3:25;
then A71: Xf . (3 + 2) = <*Wb,Wb*> . 2 by A67, FINSEQ_1:def 7
.= W-bound D ;
3 in dom <*Wb,Eb,Eb*> by A67, FINSEQ_3:25;
then A72: Xf . 3 = <*Wb,Eb,Eb*> . 3 by FINSEQ_1:def 7
.= E-bound D ;
2 in dom <*Wb,Eb,Eb*> by A67, FINSEQ_3:25;
then A73: Xf . 2 = <*Wb,Eb,Eb*> . 2 by FINSEQ_1:def 7
.= E-bound D ;
1 in dom <*Wb,Wb*> by A69, FINSEQ_3:25;
then A74: Xf . (3 + 1) = <*Wb,Wb*> . 1 by A67, FINSEQ_1:def 7
.= W-bound D ;
now :: thesis: for n being Nat st n in dom Xf holds
Xf . n = ((SpStSeq D) /. n) `1
let n be Nat; :: thesis: ( n in dom Xf implies Xf . b1 = ((SpStSeq D) /. b1) `1 )
assume A75: n in dom Xf ; :: thesis: Xf . b1 = ((SpStSeq D) /. b1) `1
then A76: n <> 0 by FINSEQ_3:25;
n <= 5 by A70, A75, FINSEQ_3:25;
then not not n = 0 & ... & not n = 5 ;
per cases then ( n = 1 or n = 2 or n = 3 or n = 4 or n = 5 ) by A76;
suppose n = 1 ; :: thesis: Xf . b1 = ((SpStSeq D) /. b1) `1
hence Xf . n = ((SpStSeq D) /. n) `1 by A33, A68, EUCLID:52; :: thesis: verum
end;
suppose n = 2 ; :: thesis: Xf . b1 = ((SpStSeq D) /. b1) `1
hence Xf . n = ((SpStSeq D) /. n) `1 by A35, A73, EUCLID:52; :: thesis: verum
end;
suppose n = 3 ; :: thesis: Xf . b1 = ((SpStSeq D) /. b1) `1
hence Xf . n = ((SpStSeq D) /. n) `1 by A34, A72, EUCLID:52; :: thesis: verum
end;
suppose n = 4 ; :: thesis: Xf . b1 = ((SpStSeq D) /. b1) `1
hence Xf . n = ((SpStSeq D) /. n) `1 by A38, A74, EUCLID:52; :: thesis: verum
end;
suppose n = 5 ; :: thesis: Xf . b1 = ((SpStSeq D) /. b1) `1
hence Xf . n = ((SpStSeq D) /. n) `1 by A40, A71, EUCLID:52; :: thesis: verum
end;
end;
end;
then Xf = X_axis (SpStSeq D) by A37, A70, GOBOARD1:def 1;
then A77: <*(W-bound D),(E-bound D)*> = Incr (X_axis (SpStSeq D)) by A11, A66, A12, SEQ_4:def 21;
A78: for n, m being 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 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:2, MATRIX_0:47;
then A80: [n,m] in {[1,1],[1,2],[2,1],[2,2]} by MCART_1:23;
per cases ( [n,m] = [1,1] or [n,m] = [1,2] or [n,m] = [2,1] or [n,m] = [2,2] ) by A80, ENUMSET1:def 2;
suppose A82: [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 A83: m = 1 by XTUPLE_0:1;
A84: n = 1 by A82, XTUPLE_0:1;
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 A83, MATRIX_0:50
.= |[((Incr (X_axis (SpStSeq D))) . n),((Incr (Y_axis (SpStSeq D))) . m)]| by A77, A52, A84, A83 ;
:: thesis: verum
end;
suppose A85: [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 A86: m = 2 by XTUPLE_0:1;
A87: n = 1 by A85, XTUPLE_0:1;
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 A86, MATRIX_0:50
.= |[((Incr (X_axis (SpStSeq D))) . n),((Incr (Y_axis (SpStSeq D))) . m)]| by A77, A52, A87, A86 ;
:: thesis: verum
end;
suppose A88: [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 A89: m = 1 by XTUPLE_0:1;
A90: n = 2 by A88, XTUPLE_0:1;
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 A89, MATRIX_0:50
.= |[((Incr (X_axis (SpStSeq D))) . n),((Incr (Y_axis (SpStSeq D))) . m)]| by A77, A52, A90, A89 ;
:: thesis: verum
end;
suppose A91: [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 A92: m = 2 by XTUPLE_0:1;
A93: n = 2 by A91, XTUPLE_0:1;
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 A92, MATRIX_0:50
.= |[((Incr (X_axis (SpStSeq D))) . n),((Incr (Y_axis (SpStSeq D))) . m)]| by A77, A52, A93, A92 ;
:: thesis: verum
end;
end;
end;
A94: 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_0:47
.= len (Incr (Y_axis (SpStSeq D))) by A52, FINSEQ_1:44 ;
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_0:47
.= len (Incr (X_axis (SpStSeq D))) by A77, FINSEQ_1:44 ;
then A95: (|[(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 A94, A78, GOBOARD2:def 1
.= GoB (SpStSeq D) by GOBOARD2:def 2 ;
then A96: (SpStSeq D) /. 2 = (GoB (SpStSeq D)) * (2,2) by A35, MATRIX_0:50;
A97: (SpStSeq D) /. 4 = (GoB (SpStSeq D)) * (1,1) by A38, A95, MATRIX_0:50;
A98: (SpStSeq D) /. 3 = (GoB (SpStSeq D)) * (2,1) by A34, A95, MATRIX_0:50;
A99: (SpStSeq D) /. 1 = (GoB (SpStSeq D)) * (1,2) by A33, A95, MATRIX_0:50;
thus SpStSeq D is standard :: thesis: verum
proof
thus for k being Nat st k in dom (SpStSeq D) holds
ex i, j being Nat st
( [i,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * (i,j) ) :: according to GOBOARD1:def 9,GOBOARD5:def 5 :: thesis: for b1 being set holds
( not b1 in dom (SpStSeq D) or not b1 + 1 in dom (SpStSeq D) or for b2, b3, b4, b5 being set 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 |.(b2 - b4).| + |.(b3 - b5).| = 1 ) )
proof
let k be Nat; :: thesis: ( k in dom (SpStSeq D) implies ex i, j being Nat st
( [i,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * (i,j) ) )

assume A100: k in dom (SpStSeq D) ; :: thesis: ex i, j being Nat st
( [i,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * (i,j) )

then A101: k >= 1 by FINSEQ_3:25;
k <= 5 by A37, A100, FINSEQ_3:25;
then not not k = 0 & ... & not k = 5 ;
per cases then ( k = 1 or k = 2 or k = 3 or k = 4 or k = 5 ) by A101;
suppose A102: k = 1 ; :: thesis: ex i, j being Nat st
( [i,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * (i,j) )

take 1 ; :: thesis: ex j being 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 A95, MATRIX_0:48; :: thesis: (SpStSeq D) /. k = (GoB (SpStSeq D)) * (1,2)
thus (SpStSeq D) /. k = (GoB (SpStSeq D)) * (1,2) by A33, A95, A102, MATRIX_0:50; :: thesis: verum
end;
suppose A103: k = 2 ; :: thesis: ex i, j being Nat st
( [i,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * (i,j) )

take 2 ; :: thesis: ex j being 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 A95, MATRIX_0:48; :: thesis: (SpStSeq D) /. k = (GoB (SpStSeq D)) * (2,2)
thus (SpStSeq D) /. k = (GoB (SpStSeq D)) * (2,2) by A35, A95, A103, MATRIX_0:50; :: thesis: verum
end;
suppose A104: k = 3 ; :: thesis: ex i, j being Nat st
( [i,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * (i,j) )

take 2 ; :: thesis: ex j being 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 A95, MATRIX_0:48; :: thesis: (SpStSeq D) /. k = (GoB (SpStSeq D)) * (2,1)
thus (SpStSeq D) /. k = (GoB (SpStSeq D)) * (2,1) by A34, A95, A104, MATRIX_0:50; :: thesis: verum
end;
suppose A105: k = 4 ; :: thesis: ex i, j being Nat st
( [i,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * (i,j) )

take 1 ; :: thesis: ex j being 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 A95, MATRIX_0:48; :: thesis: (SpStSeq D) /. k = (GoB (SpStSeq D)) * (1,1)
thus (SpStSeq D) /. k = (GoB (SpStSeq D)) * (1,1) by A38, A95, A105, MATRIX_0:50; :: thesis: verum
end;
suppose A106: k = 5 ; :: thesis: ex i, j being Nat st
( [i,j] in Indices (GoB (SpStSeq D)) & (SpStSeq D) /. k = (GoB (SpStSeq D)) * (i,j) )

take 1 ; :: thesis: ex j being 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 A95, MATRIX_0:48; :: thesis: (SpStSeq D) /. k = (GoB (SpStSeq D)) * (1,2)
thus (SpStSeq D) /. k = (GoB (SpStSeq D)) * (1,2) by A40, A95, A106, MATRIX_0:50; :: thesis: verum
end;
end;
end;
let n be Nat; :: thesis: ( not n in dom (SpStSeq D) or not n + 1 in dom (SpStSeq D) or for b1, b2, b3, b4 being set 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 |.(b1 - b3).| + |.(b2 - b4).| = 1 ) )

assume that
A107: n in dom (SpStSeq D) and
A108: n + 1 in dom (SpStSeq D) ; :: thesis: for b1, b2, b3, b4 being set 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 |.(b1 - b3).| + |.(b2 - b4).| = 1 )

A109: n <> 0 by A107, FINSEQ_3:25;
n + 1 <= 4 + 1 by A37, A108, FINSEQ_3:25;
then A110: n <= 4 by XREAL_1:6;
let m, k, i, j be 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 |.(m - i).| + |.(k - j).| = 1 )
assume that
A111: [m,k] in Indices (GoB (SpStSeq D)) and
A112: [i,j] in Indices (GoB (SpStSeq D)) and
A113: (SpStSeq D) /. n = (GoB (SpStSeq D)) * (m,k) and
A114: (SpStSeq D) /. (n + 1) = (GoB (SpStSeq D)) * (i,j) ; :: thesis: |.(m - i).| + |.(k - j).| = 1
not not n = 0 & ... & not n = 4 by A110;
per cases then ( n = 1 or n = 2 or n = 3 or n = 4 ) by A109;
end;
end;