let G be Go-board; :: thesis: for f being FinSequence of (TOP-REAL 2) st 1 <= len f & f /. 1 in rng (Col G,1) & f /. (len f) in rng (Col G,(width G)) & f is_sequence_on G holds
( ( for i being Element of NAT st 1 <= i & i <= width G holds
ex k being Element of NAT st
( k in dom f & f /. k in rng (Col G,i) ) ) & ( for i being Element of NAT st 1 <= i & i <= width G & 2 <= len f holds
L~ f meets rng (Col G,i) ) & ( for i, j, k, m being Element of NAT st 1 <= i & i <= width G & 1 <= j & j <= width G & k in dom f & m in dom f & f /. k in rng (Col G,i) & ( for n being Element of NAT st n in dom f & f /. n in rng (Col G,i) holds
n <= k ) & k < m & f /. m in rng (Col G,j) holds
i < j ) )
let f be FinSequence of (TOP-REAL 2); :: thesis: ( 1 <= len f & f /. 1 in rng (Col G,1) & f /. (len f) in rng (Col G,(width G)) & f is_sequence_on G implies ( ( for i being Element of NAT st 1 <= i & i <= width G holds
ex k being Element of NAT st
( k in dom f & f /. k in rng (Col G,i) ) ) & ( for i being Element of NAT st 1 <= i & i <= width G & 2 <= len f holds
L~ f meets rng (Col G,i) ) & ( for i, j, k, m being Element of NAT st 1 <= i & i <= width G & 1 <= j & j <= width G & k in dom f & m in dom f & f /. k in rng (Col G,i) & ( for n being Element of NAT st n in dom f & f /. n in rng (Col G,i) holds
n <= k ) & k < m & f /. m in rng (Col G,j) holds
i < j ) ) )
assume that
A1:
( 1 <= len f & f /. 1 in rng (Col G,1) )
and
A2:
f /. (len f) in rng (Col G,(width G))
and
A3:
f is_sequence_on G
; :: thesis: ( ( for i being Element of NAT st 1 <= i & i <= width G holds
ex k being Element of NAT st
( k in dom f & f /. k in rng (Col G,i) ) ) & ( for i being Element of NAT st 1 <= i & i <= width G & 2 <= len f holds
L~ f meets rng (Col G,i) ) & ( for i, j, k, m being Element of NAT st 1 <= i & i <= width G & 1 <= j & j <= width G & k in dom f & m in dom f & f /. k in rng (Col G,i) & ( for n being Element of NAT st n in dom f & f /. n in rng (Col G,i) holds
n <= k ) & k < m & f /. m in rng (Col G,j) holds
i < j ) )
A4:
( 1 in dom f & len f in dom f & dom f = Seg (len f) )
by A1, FINSEQ_1:def 3, FINSEQ_3:27;
defpred S1[ Element of NAT ] means ( 1 <= $1 & $1 <= width G implies ex k being Element of NAT st
( k in dom f & f /. k in rng (Col G,$1) ) );
A5:
S1[ 0 ]
;
A6:
for k being Element of NAT st S1[k] holds
S1[k + 1]
proof
let k be
Element of
NAT ;
:: thesis: ( S1[k] implies S1[k + 1] )
assume A7:
( 1
<= k &
k <= width G implies ex
i being
Element of
NAT st
(
i in dom f &
f /. i in rng (Col G,k) ) )
;
:: thesis: S1[k + 1]
assume A8:
( 1
<= k + 1 &
k + 1
<= width G )
;
:: thesis: ex k being Element of NAT st
( k in dom f & f /. k in rng (Col G,(k + 1)) )
then A9:
k + 1
in Seg (width G)
by FINSEQ_1:3;
per cases
( k = 0 or k <> 0 )
;
suppose
k <> 0
;
:: thesis: ex k being Element of NAT st
( k in dom f & f /. k in rng (Col G,(k + 1)) )then
(
0 < k &
k <= k + 1 )
by NAT_1:11;
then A11:
(
0 + 1
<= k &
k <= width G )
by A8, NAT_1:13;
defpred S2[
Nat]
means ( $1
in dom f &
f /. $1
in rng (Col G,k) );
A12:
ex
i being
Nat st
S2[
i]
by A7, A11;
A13:
for
i being
Nat st
S2[
i] holds
i <= len f
by FINSEQ_3:27;
A14:
k in Seg (width G)
by A11, FINSEQ_1:3;
consider m being
Nat such that A15:
(
S2[
m] & ( for
i being
Nat st
S2[
i] holds
i <= m ) )
from NAT_1:sch 6(A13, A12);
take n =
m + 1;
:: thesis: ( n in dom f & f /. n in rng (Col G,(k + 1)) )
for
i being
Element of
NAT st
S2[
i] holds
i <= m
by A15;
hence
(
n in dom f &
f /. n in rng (Col G,(k + 1)) )
by A1, A2, A3, A9, A14, A15, Th48;
:: thesis: verum end; end;
end;
thus A16:
for i being Element of NAT holds S1[i]
from NAT_1:sch 1(A5, A6); :: thesis: ( ( for i being Element of NAT st 1 <= i & i <= width G & 2 <= len f holds
L~ f meets rng (Col G,i) ) & ( for i, j, k, m being Element of NAT st 1 <= i & i <= width G & 1 <= j & j <= width G & k in dom f & m in dom f & f /. k in rng (Col G,i) & ( for n being Element of NAT st n in dom f & f /. n in rng (Col G,i) holds
n <= k ) & k < m & f /. m in rng (Col G,j) holds
i < j ) )
thus
for i being Element of NAT st 1 <= i & i <= width G & 2 <= len f holds
L~ f meets rng (Col G,i)
:: thesis: for i, j, k, m being Element of NAT st 1 <= i & i <= width G & 1 <= j & j <= width G & k in dom f & m in dom f & f /. k in rng (Col G,i) & ( for n being Element of NAT st n in dom f & f /. n in rng (Col G,i) holds
n <= k ) & k < m & f /. m in rng (Col G,j) holds
i < j
let m, k, i, j be Element of NAT ; :: thesis: ( 1 <= m & m <= width G & 1 <= k & k <= width G & i in dom f & j in dom f & f /. i in rng (Col G,m) & ( for n being Element of NAT st n in dom f & f /. n in rng (Col G,m) holds
n <= i ) & i < j & f /. j in rng (Col G,k) implies m < k )
assume A19:
( 1 <= m & m <= width G & 1 <= k & k <= width G & i in dom f & j in dom f & f /. i in rng (Col G,m) & ( for n being Element of NAT st n in dom f & f /. n in rng (Col G,m) holds
n <= i ) & i < j & f /. j in rng (Col G,k) )
; :: thesis: m < k
then A20:
( 1 <= i & i <= len f & 1 <= j & j <= len f )
by FINSEQ_3:27;
now per cases
( m = width G or m <> width G )
;
case
m <> width G
;
:: thesis: m < kthen
m < width G
by A19, XXREAL_0:1;
then
( 1
<= m + 1 &
m + 1
<= width G )
by NAT_1:11, NAT_1:13;
then
(
m + 1
in Seg (width G) &
m in Seg (width G) )
by A19, FINSEQ_1:3;
then A21:
(
i + 1
in dom f &
f /. (i + 1) in rng (Col G,(m + 1)) &
m + 1
in Seg (width G) )
by A1, A2, A3, A19, Th48;
defpred S2[
set ]
means for
n,
l being
Element of
NAT st
n = $1 &
n > 0 &
i + n in dom f &
f /. (i + n) in rng (Col G,l) &
l in Seg (width G) holds
m < l;
A22:
S2[
0 ]
;
A23:
for
o being
Element of
NAT st
S2[
o] holds
S2[
o + 1]
A33:
for
o being
Element of
NAT holds
S2[
o]
from NAT_1:sch 1(A22, A23);
A34:
(
0 < j - i &
i <= j )
by A19, XREAL_1:52;
reconsider l =
j - i as
Element of
NAT by A19, INT_1:18;
(
i + l = j &
k in Seg (width G) )
by A19, FINSEQ_1:3;
hence
m < k
by A19, A33, A34;
:: thesis: verum end; end; end;
hence
m < k
; :: thesis: verum