ArticleslgStudy

mathematics

Least fixed point

Least fixed point is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Least fixed point rather than just read about it. In short: In order theory, a branch of mathematics, the least fixed point (lfp or LFP, sometimes also smallest fixed point) of a function from a partially ordered set ("poset" for short) to itself is the fixed point which is less than each other fixed point, according to the order of the poset. A function need not have a least fixed point, but if it does, then the least fixed point is unique.

Least fixed point — main illustration
Least fixed point — illustration

Key takeaways

  • Least fixed point belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Least fixed point to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Least fixed point from memory before moving on to harder problems.

Reference excerpt

In order theory, a branch of mathematics, the least fixed point (lfp or LFP, sometimes also smallest fixed point) of a function from a partially ordered set ("poset" for short) to itself is the fixed point which is less than each other fixed point, according to the order of the poset. A function need not have a least fixed point, but if it does, then the least fixed point is unique.

Examples With the usual order on the real numbers, the least fixed point of the real function f(x) = x2 is x = 0 (since the only other fixed point is 1 and 0 < 1). In contrast, f(x) = x + 1 has no fixed points at all, so has no least one, and f(x) = x has infinitely many fixed points, but has no least one. Let G=(V,A) be a directed graph and v be a vertex. The set of vertices accessible from v can be defined as the least fixed-point of the function f:℘(V)→℘(V), defined as f(X)={v}∪{x∈V: for some w∈X there is an edge from w to x}. The set of vertices which are co-accessible from v is defined by a similar least fix-point. The strongly connected component of v is the intersection of those two least fixed-points. Let G=(V,Σ,R,S0) be a context-free grammar. The set E of symbols which produces the empty string ε can be obtained as the least fixed-point of the function f:℘(V)→℘(V), defined as f(X)={S∈V:S∈X or (S→ε)∈R or (S→S1…Sn)∈R and Si∈X, for all i}, where ℘(V) denotes the power set of V.

Applications Many fixed-point theorems yield algorithms for locating the least fixed point. Least fixed points often have desirable properties that arbitrary fixed points do not.

Denotational semantics

In computer science, the denotational semantics approach uses least fixed points to obtain from a given program text a corresponding mathematical function, called its semantics. To this end, an artificial mathematical object, ⊥, is introduced, denoting the exceptional value "undefined". Given e.g. the program datatype int, its mathematical counterpart is defined as ℤ⊥=ℤ∪{⊥}; it is made a partially ordered set by defining ⊥⊏n for each n∈ℤ and letting any two different members n,m∈ℤ be uncomparable w.r.t. ⊏, see picture. The semantics of a program definition int f(int n){...} is some mathematical function f:ℤ⊥→ℤ⊥. If the program definition f does not terminate for some input n, this can be expressed mathematically as f(n)=⊥. The set of all mathematical functions is made partially ordered by defining f⊑g if, for each n, the relation f(n)⊑g(n) holds, that is, if f(n) is less defined or equal to g(n). For example, the semantics of the expression x+x/x is less defined than that of x+1, since the former, but not the latter, maps 0 to ⊥, and they agree otherwise. Given some program text f, its mathematical counterpart is obtained as least fixed point of some mapping from functions to functions that can be obtained by "translating" f. For example, the C definition

is translated to a mapping

F:(ℤ⊥→ℤ⊥)→(ℤ⊥→ℤ⊥), defined as (F(f))(n)={1if n=0,n⋅f(n−1)if n≠⊥ and n≠0,⊥if n=⊥. The mapping F is defined in a non-recursive way, although fact was defined recursively. Under certain restrictions (see Kleene fixed-point theorem), which are met in the example, F necessarily has a least fixed point, fact, that is (F(fact⁡))(n)=fact⁡(n) for all n∈ℤ⊥. It is possible to show that

fact⁡(n)={n!if n≥0,⊥if n<0 or n=⊥. A larger fixed point of F is e.g. the function fact0, defined by

fact0(n)={n!if n≥0,0if n<0,⊥if n=⊥, however, this function does not correctly reflect the behavior of the above program text for negative n; e.g. the call fact(-1) will not terminate at all, let alone return 0. Only the least fixed point, fact⁡, can reasonably be used as a mathematical program semantic.

Descriptive complexity Immerman and Vardi independently showed the descriptive complexity result that the polynomial-time computable properties of linearly ordered structures are definable in FO(LFP), i.e. in first-order logic with a least fixed point operator. However, FO(LFP) is too weak to express all polynomial-time properties of unordered structures (for instance that a structure has even size).

Greatest fixed points The greatest fixed point of a function can be defined analogously to the least fixed point, as the fixed point which is greater than any other fixed point, according to the order of the poset. In computer science, greatest fixed points are much less commonly used than least fixed points. Specifically, the posets found in domain theory usually do not have a greatest element, hence for a given function, there may be multiple, mutually incomparable maximal fixed points, and the greatest fixed point of that function may not exist. To address this issue, the optimal fixed point has been defined as the most-defined fixed point compatible with all other fixed points. The optimal fixed point always exists, and is the greatest fixed point if the greatest fixed point exists. The optimal fixed point allows formal study of recursive and corecursive functions that do not converge with the least fixed point. Unfortunately, whereas Kleene's recursion theorem shows that the least fixed point is effectively computable, the optimal fixed point of a computable function may be a non-computable function.

See also Knaster–Tarski theorem Fixed-point logic

Notes

References Immerman, Neil. Descriptive Complexity, 1999, Springer-Verlag. Libkin, Leonid. Elements of Finite Model Theory, 2004, Springer.

Illustrations

Least fixed point: The function f(x) = x2 − 4 has two fixed points, shown as the intersection with the blue line; its least one is at 1/2 − √17/2.
The function f(x) = x2 − 4 has two fixed points, shown as the intersection with the blue line; its least one is at 1/2 − √17/2.
Least fixed point: Partial order on ℤ⊥
Partial order on ℤ⊥

Worked examples

Example 1 — a first encounter with Least fixed point

Start with the simplest possible case. Write down what Least fixed point claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Least fixed point before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Least fixed point ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Least fixed point

In research
Least fixed point appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Least fixed point in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Least fixed point is common in secondary-school and first-year university syllabi. It links to neighbouring topics Fixed points (mathematics), Order theory, so understanding it makes those chapters shorter.
In everyday life
Look for Least fixed point outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Least fixed point” →

How to study Least fixed point in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Least fixed point means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Least fixed point out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Least fixed point in simple terms?

In order theory, a branch of mathematics, the least fixed point (lfp or LFP, sometimes also smallest fixed point) of a function from a partially ordered set ("poset" for short) to itself is the fixed point which is less than each other fixed point, according to the order of the poset. A function ne…

Why does Least fixed point matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Least fixed point?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Least fixed point.

Tags

  • Fixed points (mathematics)
  • Order theory

Keep exploring