Fiveable

📊Order Theory Unit 2 Review

QR code for Order Theory practice questions

2.7 Intervals in posets

2.7 Intervals in posets

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
📊Order Theory
Unit & Topic Study Guides

Definition of intervals

An interval in a poset is a subset of elements that fall between two specified points according to the partial order. Intervals give you a way to "zoom in" on a portion of a poset and study its local structure, much like intervals on the real number line let you focus on a specific range.

Open vs closed intervals

These work similarly to intervals on the real line, but generalized to any poset (P,)(P, \leq) with elements aba \leq b:

  • Closed interval: includes both endpoints. [a,b]={xPaxb}[a,b] = \{x \in P \mid a \leq x \leq b\}
  • Open interval: excludes both endpoints. (a,b)={xPa<x<b}(a,b) = \{x \in P \mid a < x < b\}
  • Half-open intervals: include one endpoint but not the other. Written (a,b](a,b] or [a,b)[a,b) with the expected meanings.

One thing to watch: in a poset, a<x<ba < x < b means axa \leq x, xbx \leq b, xax \neq a, and xbx \neq b. Because posets aren't necessarily total orders, an open interval (a,b)(a,b) can behave quite differently from what you'd expect on the real line. It might even be empty when aa and bb are comparable but have no elements strictly between them.

Bounded vs unbounded intervals

  • Bounded intervals have both a lower and upper bound within the poset. All the interval types above ([a,b][a,b], (a,b)(a,b), etc.) are bounded.
  • Unbounded intervals extend without limit in at least one direction. If the poset has no maximum or minimum element, you get intervals like (,a]={xPxa}(\leftarrow, a] = \{x \in P \mid x \leq a\} or [a,)={xPax}[a, \rightarrow) = \{x \in P \mid a \leq x\}.

Note: the notation (,a)(-\infty, a) and (a,)(a, \infty) is borrowed from the real line. In a general poset, \infty and -\infty aren't actual elements; they just signal that the interval has no bound in that direction.

Types of intervals in posets

Because posets generalize the real line to structures where not every pair of elements is comparable, several specialized interval types become useful.

Principal intervals

A principal interval (also called a principal ideal or principal filter) is defined by a single element aPa \in P:

  • Principal downset (lower set): a={xPxa}{\downarrow}a = \{x \in P \mid x \leq a\}. This collects everything at or below aa.
  • Principal upset (upper set): a={xPax}{\uparrow}a = \{x \in P \mid a \leq x\}. This collects everything at or above aa.

These are useful for studying the local neighborhood of a specific element. For example, in a poset of divisors of 12 ordered by divisibility, 6={1,2,3,6}{\downarrow}6 = \{1, 2, 3, 6\}.

Convex intervals

A subset SPS \subseteq P is convex if whenever x,ySx, y \in S and xzyx \leq z \leq y, then zSz \in S as well. In other words, a convex set contains everything "between" any two of its elements.

Every closed interval [a,b][a,b] is automatically convex. But convexity is a more general property: a convex subset doesn't have to be defined by just two endpoints. Convex subsets are important because they preserve the order structure of the parent poset and show up naturally when studying sublattices and order-preserving maps.

Proper intervals

A proper interval is one that is neither empty nor equal to the entire poset PP. This just filters out the trivial cases so you can focus on substructures that actually reveal something about the poset's internal organization.

Properties of intervals

Lattice structure of intervals

The collection of all closed intervals in a poset, ordered by set inclusion, often forms a lattice:

  • Meet (greatest lower bound): the intersection of two intervals
  • Join (least upper bound): the smallest interval containing both

This lattice of intervals gives you a higher-level view of how the poset's substructures relate to each other.

Interval topology

You can build a topology on a poset by using intervals (or complements of closed intervals) as a basis for open sets. This interval topology connects order-theoretic ideas with topological ones. It tends to be coarser (fewer open sets) than other natural topologies you might put on a poset, but it's useful for studying continuity of order-preserving functions.

Interval orders

An interval order is a special kind of partial order that arises when you represent each element as an interval on the real line, then say x<yx < y exactly when xx's interval lies entirely to the left of yy's interval.

Open vs closed intervals, Double Integrals over Rectangular Regions · Calculus

Definition and characteristics

Formally, a partial order (X,<)(X, <) is an interval order if you can assign to each xXx \in X a real interval f(x)=[lx,rx]f(x) = [l_x, r_x] such that:

x<y    rx<lyx < y \iff r_x < l_y

That is, xx precedes yy exactly when xx's interval finishes before yy's interval starts.

A key characterization: a poset is an interval order if and only if it contains no induced subposet isomorphic to 2+2\mathbf{2} + \mathbf{2} (two disjoint two-element chains). In concrete terms, you can never find four elements a<ba < b and c<dc < d where a,ba, b are incomparable with c,dc, d. This is sometimes called the Fishburn condition.

Representation theorem

Fishburn's theorem states that a finite poset is an interval order if and only if it avoids the 2+2\mathbf{2} + \mathbf{2} configuration. Every such poset can be represented by a family of real intervals as described above. The representation isn't unique (you can stretch or shift the intervals), but this flexibility is actually useful since it allows you to choose representations that suit your application.

Applications of intervals

Scheduling problems

Intervals naturally model time slots for tasks. If each job occupies a time interval, then two jobs conflict exactly when their intervals overlap. This leads to interval graphs, where vertices are jobs and edges connect conflicting pairs. Algorithms on interval graphs (like greedy interval coloring) solve resource allocation problems efficiently, and tools like PERT/CPM use interval-based reasoning for project management.

Temporal reasoning

In AI and knowledge representation, intervals model time periods for events. Allen's interval algebra (covered below) provides a formal system for reasoning about how events relate in time. This supports applications in natural language processing (understanding sentences like "the meeting happened during lunch") and automated planning systems.

Interval algebra

Allen's interval algebra

Allen's interval algebra defines 13 basic relations that can hold between two time intervals. These are: before, after, meets, met-by, overlaps, overlapped-by, starts, started-by, during, contains, finishes, finished-by, and equals.

Any two intervals on a timeline stand in exactly one of these 13 relations. The power of the algebra is that you can compose relations: if you know how interval A relates to B, and how B relates to C, you can infer possible relations between A and C using a composition table. This forms the basis for constraint propagation in temporal reasoning systems.

Operations on intervals

Standard set-theoretic operations apply to intervals, though the results aren't always intervals themselves:

  • Union: combines overlapping or adjacent intervals (e.g., [1,3][2,5]=[1,5][1,3] \cup [2,5] = [1,5])
  • Intersection: finds the common part (e.g., [1,3][2,5]=[2,3][1,3] \cap [2,5] = [2,3])
  • Complement: the set of elements not in the interval
  • Scaling and translation: modify interval size and position (primarily relevant for real-valued intervals)

Interval-valued functions

These are functions whose outputs are intervals rather than single values. They're useful whenever you need to represent uncertainty or imprecision.

Interval-valued probability

Instead of assigning a single probability P(A)=0.3P(A) = 0.3 to an event, you assign a range like P(A)[0.2,0.4]P(A) \in [0.2, 0.4]. This is valuable when you don't have enough data to pin down an exact probability. Interval-valued probabilities show up in risk analysis and decision-making under ambiguity, generalizing classical probability to handle imprecise information.

Open vs closed intervals, An Introduction to Fuzzy Topological Spaces

Interval analysis

Interval analysis (pioneered by Ramon Moore in the 1960s) replaces single numbers with intervals in computations to track how errors and uncertainties propagate. For example, if x[1.9,2.1]x \in [1.9, 2.1] and y[2.9,3.1]y \in [2.9, 3.1], then x+y[4.8,5.2]x + y \in [4.8, 5.2]. This provides guaranteed bounds on results, which matters in scientific computing, global optimization, and engineering where rounding errors can accumulate.

Computational aspects

Algorithms for interval manipulation

  • Interval trees: a balanced binary search tree that stores intervals and supports efficient queries like "find all intervals overlapping a given point" in O(logn+k)O(\log n + k) time, where kk is the number of results.
  • Sweep line algorithms: process a collection of intervals by "sweeping" a vertical line across sorted endpoints. Useful for finding all pairwise overlaps among nn intervals in O(nlogn+k)O(n \log n + k) time.
  • Interval arithmetic: direct algorithms for addition, subtraction, multiplication, and division of intervals, each running in constant time.

Complexity considerations

Many interval problems are efficiently solvable:

  • Recognizing whether a graph is an interval graph can be done in O(n+m)O(n + m) time (linear in vertices and edges).
  • Sorting intervals by endpoints and applying greedy algorithms solves many scheduling problems in O(nlogn)O(n \log n).

Some problems remain hard. For instance, certain interval coloring variants and optimization problems over interval orders are NP-hard, requiring approximation algorithms or heuristics.

Generalization to other structures

Intervals in metric spaces

In a metric space (X,d)(X, d), you can define a "ball" B(c,r)={xXd(c,x)r}B(c, r) = \{x \in X \mid d(c, x) \leq r\} as an analogue of an interval. These metric intervals generalize the concept beyond linear orders and appear in computational geometry and spatial database queries (e.g., "find all points within 5 km of this location").

Intervals in graphs

In a graph GG, an interval [u,v][u, v] can be defined as the set of all vertices lying on some shortest path between uu and vv. This notion connects Order Theory with Graph Theory and is central to the study of interval graphs, which represent intersection patterns of intervals on a line. Interval graphs have applications in genetics (modeling DNA fragment overlaps), scheduling, and network analysis.

Historical development

Origins of interval theory

  • Intervals as subsets of the real line have been studied since the foundations of analysis and topology.
  • Ramon Moore developed interval arithmetic in the 1960s as a tool for bounding computational errors.
  • Peter Fishburn formalized interval orders in the 1970s, connecting them to measurement theory and preference modeling.
  • James F. Allen introduced his interval algebra for temporal reasoning in 1983, which became foundational in AI.

Key contributors and milestones

  • Georg Cantor's set theory provided the framework for rigorously defining intervals and their properties.
  • Garrett Birkhoff's work on lattice theory established the algebraic tools used to study intervals in posets.
  • More recent work has extended interval concepts into fuzzy set theory and soft computing, broadening their applicability to problems involving vagueness and gradual membership.