Given , the function is defined by minimalization from if
where is the minimalization operator: returns the least natural number such that holds. If does not hold for any , then the result is undefined.
In modern algorithmic notation, can be computed by a while loop of the form
n := 0; while (g(n,n1,n2,...,nk) != 0) {n := n+1}; return n;
For example, consider the function defined as follows: , if . If is not a power of 2, is undefined. The function can be defined by minimalization from the function .12.2