let f, g be FinSequence of (TOP-REAL 2); ( f ^' g is unfolded & f ^' g is s.c.c. & len g >= 2 implies ( f is unfolded & f is s.n.c. ) )
assume that
A1:
( f ^' g is unfolded & f ^' g is s.c.c. )
and
A2:
len g >= 2
; ( f is unfolded & f is s.n.c. )
A3:
g <> {}
by A2, CARD_1:27;
A4:
now
1
= 2
- 1
;
then
(len g) - 1
>= 1
by A2, XREAL_1:9;
then A5:
(len g) - 1
> 0
by XXREAL_0:2;
assume
not
f is
s.n.c.
;
contradictionthen consider i,
j being
Nat such that A6:
i + 1
< j
and A7:
not
LSeg (
f,
i)
misses LSeg (
f,
j)
by TOPREAL1:def 7;
A8:
j in NAT
by ORDINAL1:def 12;
then
j < len f
by NAT_1:13;
then A10:
LSeg (
(f ^' g),
j)
= LSeg (
f,
j)
by A8, TOPREAL8:28;
(len (f ^' g)) + 1
= (len f) + (len g)
by A3, GRAPH_2:13;
then
((len (f ^' g)) + 1) - 1
= (len f) + ((len g) - 1)
;
then
len f < len (f ^' g)
by A5, XREAL_1:29;
then A11:
j + 1
< len (f ^' g)
by A9, XXREAL_0:2;
A12:
i in NAT
by ORDINAL1:def 12;
then
i < len f
by NAT_1:13;
then
LSeg (
(f ^' g),
i)
= LSeg (
f,
i)
by A12, TOPREAL8:28;
hence
contradiction
by A1, A6, A7, A11, A12, A8, A10, GOBOARD5:def 4;
verum end;
now assume
not
f is
unfolded
;
contradictionthen consider i being
Nat such that A13:
1
<= i
and A14:
i + 2
<= len f
and A15:
(LSeg (f,i)) /\ (LSeg (f,(i + 1))) <> {(f /. (i + 1))}
by TOPREAL1:def 6;
A16:
1
<= i + 1
by A13, NAT_1:13;
i + 1
< (i + 1) + 1
by NAT_1:13;
then A17:
i + 1
< len f
by A14, NAT_1:13;
then A18:
LSeg (
(f ^' g),
(i + 1))
= LSeg (
f,
(i + 1))
by TOPREAL8:28;
A19:
len f <= len (f ^' g)
by TOPREAL8:7;
then
i + 1
<= len (f ^' g)
by A17, XXREAL_0:2;
then A20:
i + 1
in dom (f ^' g)
by A16, FINSEQ_3:25;
(
i in NAT &
i < len f )
by A17, NAT_1:13, ORDINAL1:def 12;
then A21:
LSeg (
(f ^' g),
i)
= LSeg (
f,
i)
by TOPREAL8:28;
i + 1
in dom f
by A16, A17, FINSEQ_3:25;
then A22:
f /. (i + 1) =
f . (i + 1)
by PARTFUN1:def 6
.=
(f ^' g) . (i + 1)
by A16, A17, GRAPH_2:14
.=
(f ^' g) /. (i + 1)
by A20, PARTFUN1:def 6
;
i + 2
<= len (f ^' g)
by A14, A19, XXREAL_0:2;
hence
contradiction
by A1, A13, A15, A22, A21, A18, TOPREAL1:def 6;
verum end;
hence
( f is unfolded & f is s.n.c. )
by A4; verum