The general formula of any machine of function f is:
p ← f(p, x)
f: function of the machinep: present statex: unpredictable inputp consists of variables which are part of the machine.p is a defining choice.x and p have fixed sizes and form the domain of f.f(p, x) becomes the next state of p.