let i, n be Nat; :: thesis: for D being non empty set
for d being Element of D st i in Seg (n + 1) holds
Del ((n + 1) |-> d),i = n |-> d
let D be non empty set ; :: thesis: for d being Element of D st i in Seg (n + 1) holds
Del ((n + 1) |-> d),i = n |-> d
let d be Element of D; :: thesis: ( i in Seg (n + 1) implies Del ((n + 1) |-> d),i = n |-> d )
assume A1:
i in Seg (n + 1)
; :: thesis: Del ((n + 1) |-> d),i = n |-> d
set n1 = n + 1;
set n1d = (n + 1) |-> d;
set nd = n |-> d;
set Dn = Del ((n + 1) |-> d),i;
A2:
( len ((n + 1) |-> d) = n + 1 & len (n |-> d) = n & dom ((n + 1) |-> d) = Seg (len ((n + 1) |-> d)) )
by FINSEQ_1:def 3, FINSEQ_1:def 18;
then A3:
len (Del ((n + 1) |-> d),i) = n
by A1, FINSEQ_3:118;
hence
Del ((n + 1) |-> d),i = n |-> d
by A2, A3, FINSEQ_1:18; :: thesis: verum