let k, n be natural number ; :: thesis: for f being FinSequence st k < n holds
(Del f,n) . k = f . k

let f be FinSequence; :: thesis: ( k < n implies (Del f,n) . k = f . k )
assume A2: k < n ; :: thesis: (Del f,n) . k = f . k
per cases ( ( n in dom f & f <> {} ) or not n in dom f or f = {} ) ;
suppose that A3: n in dom f and
B1: f <> {} ; :: thesis: (Del f,n) . k = f . k
consider m being Nat such that
A1: len f = m + 1 by B1, NAT_1:6;
now
per cases ( 1 <= k or not 1 <= k ) ;
suppose A4: 1 <= k ; :: thesis: (Del f,n) . k = f . k
set X = (dom f) \ {n};
A5: dom (Sgm ((dom f) \ {n})) = Seg (len (Sgm ((dom f) \ {n}))) by FINSEQ_1:def 3;
A6: dom f = Seg (len f) by FINSEQ_1:def 3;
then A7: len (Sgm ((dom f) \ {n})) = m by A1, A3, Th116;
(dom f) \ {n} c= Seg (len f) by A6, XBOOLE_1:36;
then rng (Sgm ((dom f) \ {n})) = (dom f) \ {n} by FINSEQ_1:def 13;
then A8: dom (f * (Sgm ((dom f) \ {n}))) = dom (Sgm ((dom f) \ {n})) by RELAT_1:46, XBOOLE_1:36;
n <= m + 1 by A1, A3, Th27;
then k < m + 1 by A2, XXREAL_0:2;
then k <= m by NAT_1:13;
then A9: k in Seg m by A4, FINSEQ_1:3;
then ( 1 <= k & k < n implies (Sgm ((dom f) \ {n})) . k = k ) by A1, A3, A6, Th117;
hence (Del f,n) . k = f . k by A2, A4, A9, A5, A8, A7, FUNCT_1:22; :: thesis: verum
end;
end;
end;
hence (Del f,n) . k = f . k ; :: thesis: verum
end;
suppose ( not n in dom f or f = {} ) ; :: thesis: (Del f,n) . k = f . k
hence (Del f,n) . k = f . k by Th113; :: thesis: verum
end;
end;