let f be non empty unfolded s.n.c. FinSequence of (TOP-REAL 2); :: thesis: for i being Element of NAT st 1 <= i & i < len f holds
(LSeg (f,i)) /\ (rng f) = {(f /. i),(f /. (i + 1))}

let i be Element of NAT ; :: thesis: ( 1 <= i & i < len f implies (LSeg (f,i)) /\ (rng f) = {(f /. i),(f /. (i + 1))} )
assume that
A1: 1 <= i and
A2: i < len f ; :: thesis: (LSeg (f,i)) /\ (rng f) = {(f /. i),(f /. (i + 1))}
A3: i in dom f by A1, A2, FINSEQ_3:25;
then f /. i = f . i by PARTFUN1:def 6;
then A4: f /. i in rng f by A3, FUNCT_1:3;
assume A5: (LSeg (f,i)) /\ (rng f) <> {(f /. i),(f /. (i + 1))} ; :: thesis: contradiction
A6: i + 1 <= len f by A2, NAT_1:13;
then f /. i in LSeg (f,i) by A1, TOPREAL1:21;
then A7: f /. i in (LSeg (f,i)) /\ (rng f) by A4, XBOOLE_0:def 4;
A8: 1 < i + 1 by A1, XREAL_1:29;
then A9: i + 1 in dom f by A6, FINSEQ_3:25;
then f /. (i + 1) = f . (i + 1) by PARTFUN1:def 6;
then A10: f /. (i + 1) in rng f by A9, FUNCT_1:3;
f /. (i + 1) in LSeg (f,i) by A1, A6, TOPREAL1:21;
then f /. (i + 1) in (LSeg (f,i)) /\ (rng f) by A10, XBOOLE_0:def 4;
then {(f /. i),(f /. (i + 1))} c= (LSeg (f,i)) /\ (rng f) by A7, ZFMISC_1:32;
then not (LSeg (f,i)) /\ (rng f) c= {(f /. i),(f /. (i + 1))} by A5, XBOOLE_0:def 10;
then consider x being set such that
A11: x in (LSeg (f,i)) /\ (rng f) and
A12: not x in {(f /. i),(f /. (i + 1))} by TARSKI:def 3;
reconsider x = x as Point of (TOP-REAL 2) by A11;
A13: x in LSeg (f,i) by A11, XBOOLE_0:def 4;
x in rng f by A11, XBOOLE_0:def 4;
then consider j being set such that
A14: j in dom f and
A15: x = f . j by FUNCT_1:def 3;
A16: x = f /. j by A14, A15, PARTFUN1:def 6;
reconsider j = j as Element of NAT by A14;
A17: 1 <= j by A14, FINSEQ_3:25;
reconsider j = j as Element of NAT ;
A18: x <> f /. i by A12, TARSKI:def 2;
then A19: j <> i by A14, A15, PARTFUN1:def 6;
A20: x <> f /. (i + 1) by A12, TARSKI:def 2;
then A21: j <> i + 1 by A14, A15, PARTFUN1:def 6;
now
per cases ( j + 1 > len f or ( i < j & j + 1 <= len f ) or j < i ) by A19, XXREAL_0:1;
suppose A22: j + 1 > len f ; :: thesis: contradiction
end;
end;
end;
hence contradiction ; :: thesis: verum