let k, n be Element of NAT ; for D being set
for f being FinSequence of D
for G being Matrix of st 1 <= k & k + 2 <= n & f | n goes_straight k,G holds
f goes_straight k,G
let D be set ; for f being FinSequence of D
for G being Matrix of st 1 <= k & k + 2 <= n & f | n goes_straight k,G holds
f goes_straight k,G
let f be FinSequence of D; for G being Matrix of st 1 <= k & k + 2 <= n & f | n goes_straight k,G holds
f goes_straight k,G
let G be Matrix of ; ( 1 <= k & k + 2 <= n & f | n goes_straight k,G implies f goes_straight k,G )
assume that
A1:
( 1 <= k & k + 2 <= n )
and
A2:
f | n goes_straight k,G
; f goes_straight k,G
per cases
( len f <= n or n < len f )
;
suppose A3:
n < len f
;
f goes_straight k,Glet i1',
j1',
i2',
j2' be
Element of
NAT ;
GOBRD13:def 8 ( [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' ) implies ( i1' = i2' & j1' = j2' + 1 & [i2',(j2' -' 1)] in Indices G & f /. (k + 2) = G * i2',(j2' -' 1) ) )A4:
len (f | n) = n
by A3, FINSEQ_1:80;
then
k + 1
in dom (f | n)
by A1, GOBOARD2:4;
then A5:
(f | n) /. (k + 1) = f /. (k + 1)
by FINSEQ_4:85;
k + 2
in dom (f | n)
by A1, A4, GOBOARD2:4;
then A6:
(f | n) /. (k + 2) = f /. (k + 2)
by FINSEQ_4:85;
k in dom (f | n)
by A1, A4, GOBOARD2:4;
then
(f | n) /. k = f /. k
by FINSEQ_4:85;
hence
(
[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' ) implies (
i1' = i2' &
j1' = j2' + 1 &
[i2',(j2' -' 1)] in Indices G &
f /. (k + 2) = G * i2',
(j2' -' 1) ) )
by A2, A5, A6, Def8;
verum end; end;