Fixpoints
For a function f:X→X and x0∈X, tfae:
f(x0)=x0
x0 is
fixed by f
x0 is a
fixpoint of f
f fixes x0
Warning: this section is colloquial rather than mathematical. It is intended to aid cognition and intuition, but does not present rigorous mathematics.
Fixpoints often turn up alongside infinities. For instance, consider the function
cons1:N∗→N∗=x↦1⊕x
Taking in a sequence of natural numbers, such as [5,0,2] and prepending a 1, in this case producing [1,5,0,2].
One fixpoint of this function is the list of ininite ones [1,1,1,…], because prepending a 1 to this list has no effect.
Loose justification for the presence of infinity with relation to fixpoints is to note that the fixpoint equation
x=f(x)
is in some sense equivalent to the infinite equation
x=f(f( ⋯ f(f(x)) ⋯ ))
or just
x=f(f( ⋯ ))
To see why, note that we can go from the first equation to the second with infinitely-repeated substitution, and we can go from the second to the first with a single substitution.
This means we can roughly interpret “fixpoint of f" to mean “value obtained by infinitely-repeated applications of f".