begin
theorem Th1:
for
m,
k,
n being
Nat holds
( (
m + 1
<= k &
k <= n ) iff ex
i being
Element of
NAT st
(
m <= i &
i < n &
k = i + 1 ) )
Lm1:
for m, n being Element of NAT
for F being finite set st F = { k where k is Element of NAT : ( m <= k & k <= m + n ) } holds
card F = n + 1
begin
Lm2:
for p being FinSequence
for m, n being Element of NAT st 1 <= m & m <= n + 1 & n <= len p holds
( (len ((m,n) -cut p)) + m = n + 1 & ( for i being Element of NAT st i < len ((m,n) -cut p) holds
((m,n) -cut p) . (i + 1) = p . (m + i) ) )
begin
begin
then Lm4:
<*1,2*> is TwoValued
by Lm3;
Lm5:
now for i being Nat st 1 <= i & i + 1 <= len <*1,2*> holds
<*1,2*> . i <> <*1,2*> . (i + 1)
let i be
Nat;
( 1 <= i & i + 1 <= len <*1,2*> implies <*1,2*> . i <> <*1,2*> . (i + 1) )set p =
<*1,2*>;
assume that A1:
1
<= i
and A2:
i + 1
<= len <*1,2*>
;
<*1,2*> . i <> <*1,2*> . (i + 1)
i + 1
<= 1
+ 1
by A2, FINSEQ_1:44;
then
i <= 1
by XREAL_1:6;
then A3:
i = 1
by A1, XXREAL_0:1;
then
<*1,2*> . i = 1
by FINSEQ_1:44;
hence
<*1,2*> . i <> <*1,2*> . (i + 1)
by A3, FINSEQ_1:44;
verum
end;
Lm6:
<*1,2*> is Alternating
by Def4, Lm5;
begin
begin
theorem Th30:
for
G being
Graph for
v1,
v2,
v3,
v4 being
Element of
G for
e being
set st
e joins v1,
v2 &
e joins v3,
v4 & not (
v1 = v3 &
v2 = v4 ) holds
(
v1 = v4 &
v2 = v3 )
Lm7:
for D being non empty set st ( for x, y being set st x in D & y in D holds
x = y ) holds
card D = 1
begin
Lm8:
for G being Graph
for v being Element of G holds <*v*> is_vertex_seq_of {}
begin
:: The following chain:
:: .--->.
:: ^ |
:: | v
:: .--->.<---.--->.
:: | ^
:: v |
:: .--->.
:: is a case in point: