scheme :: AMI_8:sch 7
AutonomySch{ F1() -> PartFunc of (FinPartSt SCM),(FinPartSt SCM), F2() -> Instruction of SCM, F3( object ) -> Nat } :
provided
A1: ( F2() = AddTo ((dl. 2),(dl. 1)) or F2() = SubFrom ((dl. 2),(dl. 1)) or F2() = MultBy ((dl. 2),(dl. 1)) ) and
A2: for x being object st x in dom F1() holds
ex n being Nat st x = ((dl. 0),(dl. 1),(dl. 2)) --> (1,n,F3(n)) and
A3: for P, Q being Instruction-Sequence of SCM st IterativeAlgorithm F2() c= P & IterativeAlgorithm F2() c= Q holds
for x being FinPartState of SCM st x in dom F1() holds
for s1, s2 being State of SCM st Initialize x c= s1 & Initialize x c= s2 holds
for k being Nat holds (Comput (P,s1,k)) . (dl. 2) = (Comput (Q,s2,k)) . (dl. 2)