let z be Nat; for N being with_zero set
for l being Element of NAT
for i being Element of the InstructionsF of (STC N) st l = z & InsCode i = 1 holds
NIC (i,l) = {(z + 1)}
let N be with_zero set ; for l being Element of NAT
for i being Element of the InstructionsF of (STC N) st l = z & InsCode i = 1 holds
NIC (i,l) = {(z + 1)}
let l be Element of NAT ; for i being Element of the InstructionsF of (STC N) st l = z & InsCode i = 1 holds
NIC (i,l) = {(z + 1)}
let i be Element of the InstructionsF of (STC N); ( l = z & InsCode i = 1 implies NIC (i,l) = {(z + 1)} )
assume that
A1:
l = z
and
A2:
InsCode i = 1
; NIC (i,l) = {(z + 1)}
set M = STC N;
set F = { (IC (Exec (i,ss))) where ss is Element of product (the_Values_of (STC N)) : IC ss = l } ;
now for y being object holds
( ( y in { (IC (Exec (i,ss))) where ss is Element of product (the_Values_of (STC N)) : IC ss = l } implies y in {(z + 1)} ) & ( y in {(z + 1)} implies y in { (IC (Exec (i,ss))) where ss is Element of product (the_Values_of (STC N)) : IC ss = l } ) )reconsider f =
NAT --> i as
Instruction-Sequence of
(STC N) ;
reconsider l9 =
l as
Element of
Values (IC ) by MEMSTR_0:def 6;
reconsider w = the
l -started State of
(STC N) as
Element of
product (the_Values_of (STC N)) by CARD_3:107;
set u =
(IC ) .--> l9;
A3:
dom ((IC ) .--> l9) = {(IC )}
by FUNCOP_1:13;
let y be
object ;
( ( y in { (IC (Exec (i,ss))) where ss is Element of product (the_Values_of (STC N)) : IC ss = l } implies y in {(z + 1)} ) & ( y in {(z + 1)} implies y in { (IC (Exec (i,ss))) where ss is Element of product (the_Values_of (STC N)) : IC ss = l } ) )reconsider t =
w +* ((IC ) .--> l9) as
Element of
product (the_Values_of (STC N)) by CARD_3:107;
assume
y in {(z + 1)}
;
y in { (IC (Exec (i,ss))) where ss is Element of product (the_Values_of (STC N)) : IC ss = l } then A4:
y = z + 1
by TARSKI:def 1;
IC in dom ((IC ) .--> l9)
by A3, TARSKI:def 1;
then A5:
IC t =
((IC ) .--> l9) . (IC )
by FUNCT_4:13
.=
z
by A1, FUNCOP_1:72
;
then
IC (Exec (i,t)) = z + 1
by A2, Lm2;
hence
y in { (IC (Exec (i,ss))) where ss is Element of product (the_Values_of (STC N)) : IC ss = l }
by A1, A4, A5;
verum end;
hence
NIC (i,l) = {(z + 1)}
by TARSKI:2; verum