reconsider i = len p as Element of NAT ;
let s1, s2 be FinSequence of the Instructions of SCM+FSA ; ( ex pp being FinSequence of the Instructions of SCM+FSA * st
( len pp = len p & ( for k being Element of NAT st 1 <= k & k <= len p holds
ex i being Integer st
( i = p . k & pp . k = ((aSeq (intloc 1),k) ^ (aSeq (intloc 2),i)) ^ <*(f,(intloc 1) := (intloc 2))*> ) ) & s1 = FlattenSeq pp ) & ex pp being FinSequence of the Instructions of SCM+FSA * st
( len pp = len p & ( for k being Element of NAT st 1 <= k & k <= len p holds
ex i being Integer st
( i = p . k & pp . k = ((aSeq (intloc 1),k) ^ (aSeq (intloc 2),i)) ^ <*(f,(intloc 1) := (intloc 2))*> ) ) & s2 = FlattenSeq pp ) implies s1 = s2 )
assume that
A5:
ex pp being FinSequence of the Instructions of SCM+FSA * st
( len pp = len p & ( for k being Element of NAT st 1 <= k & k <= len p holds
ex i being Integer st
( i = p . k & pp . k = ((aSeq (intloc 1),k) ^ (aSeq (intloc 2),i)) ^ <*(f,(intloc 1) := (intloc 2))*> ) ) & s1 = FlattenSeq pp )
and
A6:
ex pp being FinSequence of the Instructions of SCM+FSA * st
( len pp = len p & ( for k being Element of NAT st 1 <= k & k <= len p holds
ex i being Integer st
( i = p . k & pp . k = ((aSeq (intloc 1),k) ^ (aSeq (intloc 2),i)) ^ <*(f,(intloc 1) := (intloc 2))*> ) ) & s2 = FlattenSeq pp )
; s1 = s2
consider pp1 being FinSequence of the Instructions of SCM+FSA * such that
A7:
len pp1 = len p
and
A8:
for k being Element of NAT st 1 <= k & k <= len p holds
ex i being Integer st
( i = p . k & pp1 . k = ((aSeq (intloc 1),k) ^ (aSeq (intloc 2),i)) ^ <*(f,(intloc 1) := (intloc 2))*> )
and
A9:
s1 = FlattenSeq pp1
by A5;
consider pp2 being FinSequence of the Instructions of SCM+FSA * such that
A10:
len pp2 = len p
and
A11:
for k being Element of NAT st 1 <= k & k <= len p holds
ex i being Integer st
( i = p . k & pp2 . k = ((aSeq (intloc 1),k) ^ (aSeq (intloc 2),i)) ^ <*(f,(intloc 1) := (intloc 2))*> )
and
A12:
s2 = FlattenSeq pp2
by A6;
( len pp1 = i & len pp2 = i & ( for k being Nat st k in dom pp1 holds
pp1 . k = pp2 . k ) )
hence
s1 = s2
by A9, A12, FINSEQ_2:10; verum