Pullback (category theory)

In category theory, a branch of mathematics, a pullback (also called a fiber product, fibre product, fibered product or Cartesian square) is the limit of a diagram consisting of two morphisms $f : X → Z$ and $g : Y → Z$ with a common codomain. The pullback is written



Usually the morphisms $f$ and $g$ are omitted from the notation, and then the pullback is written



The pullback comes equipped with two natural morphisms $P = X ×_{f, Z, g} Y$ and $P = X ×_{Z} Y$. The pullback of two morphisms $P → X$ and $P → Y$ need not exist, but if it does, it is essentially uniquely defined by the two morphisms. In many situations, $f$ may intuitively be thought of as consisting of pairs of elements $g$ with $X ×_{Z} Y$ in $(x, y)$, $x$ in $X$, and $y$. For the general definition, a universal property is used, which essentially expresses the fact that the pullback is the "most general" way to complete the two given morphisms to a commutative square.

The dual concept of the pullback is the pushout.

Universal property
Explicitly, a pullback of the morphisms $f$ and $g$ consists of an object $P$ and two morphisms $Y$ and $f(x) = g(y)$ for which the diagram


 * Categorical pullback.svg

commutes. Moreover, the pullback $p_{1} : P → X$ must be universal with respect to this diagram. That is, for any other such triple $p_{2} : P → Y$ where $(P, p_{1}, p_{2})$ and $(Q, q_{1}, q_{2})$ are morphisms with $q_{1} : Q → X$, there must exist a unique $q_{2} : Q → Y$ such that


 * $$p_1 \circ u=q_1, \qquad p_2\circ u=q_2.$$

This situation is illustrated in the following commutative diagram.
 * Categorical pullback (expanded).svg

As with all universal constructions, a pullback, if it exists, is unique up to isomorphism. In fact, given two pullbacks $f q_{1} = g q_{2}$ and $u : Q → P$ of the same cospan $(A, a_{1}, a_{2})$, there is a unique isomorphism between $A$ and $B$ respecting the pullback structure.

Pullback and product
The pullback is similar to the product, but not the same. One may obtain the product by "forgetting" that the morphisms $f$ and $g$ exist, and forgetting that the object $Z$ exists. One is then left with a discrete category containing only the two objects $X$ and $Y$, and no arrows between them. This discrete category may be used as the index set to construct the ordinary binary product. Thus, the pullback can be thought of as the ordinary (Cartesian) product, but with additional structure. Instead of "forgetting" $Z$, $f$, and $g$, one can also "trivialize" them by specializing $Z$ to be the terminal object (assuming it exists). $f$ and $g$ are then uniquely determined and thus carry no information, and the pullback of this cospan can be seen to be the product of $X$ and $Y$.

Commutative rings
In the category of commutative rings (with identity), the pullback is called the fibered product. Let $A$, $B$, and $C$ be commutative rings (with identity) and $(B, b_{1}, b_{2})$ and $X → Z ← Y$ (identity preserving) ring homomorphisms. Then the pullback of this diagram exists and is given by the subring of the product ring $α : A → C$ defined by


 * $$A \times_{C} B = \left\{(a,b) \in A \times B \; \big| \; \alpha(a) = \beta(b) \right\}$$

along with the morphisms


 * $$\beta' \colon A \times_{C} B \to A, \qquad \alpha'\colon A \times_{C} B \to B$$

given by $$\beta'(a, b) = a$$ and $$\alpha'(a, b) = b$$ for all $$(a, b) \in A \times_C B$$. We then have


 * $$\alpha \circ \beta' = \beta \circ \alpha'.$$

Groups and modules
In complete analogy to the example of commutative rings above, one can show that all pullbacks exist in the category of groups and in the category of modules over some fixed ring.

Sets
In the category of sets, the pullback of functions $β : B → C$ and $A × B$ always exists and is given by the set


 * $$X\times_Z Y = \{(x, y) \in X \times Y| f(x) = g(y)\} = \bigcup_{z \in f(X) \cap g(Y)} f^{-1}[\{z\}] \times g^{-1}[\{z\}] ,$$

together with the restrictions of the projection maps $f : X → Z$ and $g : Y → Z$ to $π_{1}$.

Alternatively one may view the pullback in $π_{2}$ asymmetrically:


 * $$X\times_Z Y \cong \coprod_{x\in X} g^{-1}[\{f(x)\}] \cong \coprod_{y\in Y} f^{-1}[\{g(y)\}]$$

where $$\coprod$$ is the disjoint union of sets (the involved sets are not disjoint on their own unless $f$ resp. $g$ is injective). In the first case, the projection $X ×_{Z} Y$ extracts the $x$ index while $Set$ forgets the index, leaving elements of $Y$.

This example motivates another way of characterizing the pullback: as the equalizer of the morphisms $π_{1}$ where $π_{2}$ is the binary product of $X$ and $Y$ and $f ∘ p_{1}, g ∘ p_{2} : X × Y → Z$ and $X × Y$ are the natural projections. This shows that pullbacks exist in any category with binary products and equalizers. In fact, by the existence theorem for limits, all finite limits exist in a category with binary products and equalizers; equivalently, all finite limits exist in a category with terminal object and pullbacks (by the fact that binary product = pullback on the terminal object, and that an equalizer is a pullback involving binary product).

Graphs of functions
A specific example of a pullback is given by the graph of a function. Suppose that $$f \colon X \to Y$$ is a function. The graph of $f$ is the set $$\Gamma_f = \{(x, f(x)) \colon x \in X\} \subseteq X \times Y.$$ The graph can be reformulated as the pullback of $f$ and the identity function on $Y$. By definition, this pullback is $$X \times_{f,Y,1_Y} Y = \{(x, y) \colon f(x) = 1_Y(y)\} = \{(x, y) \colon f(x) = y\} \subseteq X \times Y,$$ and this equals $$\Gamma_f$$.

Fiber bundles
Another example of a pullback comes from the theory of fiber bundles: given a bundle map $p_{1}$ and a continuous map $p_{2}$, the pullback (formed in the category of topological spaces with continuous maps) $π : E → B$ is a fiber bundle over $X$ called the pullback bundle. The associated commutative diagram is a morphism of fiber bundles. This is also the case in the category of differentiable manifolds. A special case is the pullback of two fiber bundles $f : X → B$. In this case $X ×_{B} E$ is a fiber bundle over $E_{1}, E_{2} → B$, and pulling back along the diagonal map $E_{1} × E_{2}$ gives a space homeomorphic (diffeomorphic) to $B × B$, which is a fiber bundle over $B → B × B$. The pullback of two smooth transverse maps into the same differentiable manifold is also a differentiable manifold, and the tangent space of the pullback is the pullback of the tangent spaces along the differential maps.

Preimages and intersections
Preimages of sets under functions can be described as pullbacks as follows:

Suppose $E_{1} ×_{B} E_{2}$, $B$. Let $g$ be the inclusion map $f : A → B$. Then a pullback of $f$ and $g$ (in $B_{0} ⊆ B$) is given by the preimage $B_{0} ↪ B$ together with the inclusion of the preimage in $A$



and the restriction of $f$ to $Set$



Because of this example, in a general category the pullback of a morphism $f^{−1}[B_{0}]$ and a monomorphism $f^{−1}[B_{0}] ↪ A$ can be thought of as the "preimage" under $f^{−1}[B_{0}]$ of the subobject specified by $f^{−1}[B_{0}] → B_{0}$. Similarly, pullbacks of two monomorphisms can be thought of as the "intersection" of the two subobjects.

Least common multiple
Consider the multiplicative monoid of positive integers $f$ as a category with one object. In this category, the pullback of two positive integers $g$ and $f$ is just the pair $$\left(\frac{\operatorname{lcm}(m,n)}{m}, \frac{\operatorname{lcm}(m,n)}{n}\right)$$, where the numerators are both the least common multiple of $g$ and $Z_{+}$. The same pair is also the pushout.

Properties

 * In any category with a terminal object $T$, the pullback $m$ is just the ordinary product $n$.
 * Monomorphisms are stable under pullback: if the arrow $f$ in the diagram is monic, then so is the arrow $m$. Similarly, if $g$ is monic, then so is $n$.
 * Isomorphisms are also stable, and hence, for example, $X ×_{T} Y$ for any map $X × Y$ (where the implied map $p_{2}$ is the identity).
 * In an abelian category all pullbacks exist, and they preserve kernels, in the following sense: if
 * Categorical pullback.svg
 * is a pullback diagram, then the induced morphism $p_{1}$ is an isomorphism, and so is the induced morphism $X ×_{X} Y ≅ Y$. Every pullback diagram thus gives rise to a commutative diagram of the following form, where all rows and columns are exact:
 * is a pullback diagram, then the induced morphism $Y → X$ is an isomorphism, and so is the induced morphism $X → X$. Every pullback diagram thus gives rise to a commutative diagram of the following form, where all rows and columns are exact:

$$ \begin{array}{ccccccc} &&&&0&&0\\ &&&&\downarrow&&\downarrow\\ &&&&L&=&L\\ &&&&\downarrow&&\downarrow\\ 0&\rightarrow&K&\rightarrow&P&\rightarrow&Y \\ &&\parallel&&\downarrow& & \downarrow\\ 0&\rightarrow&K&\rightarrow&X&\rightarrow&Z \end{array} $$
 * Furthermore, in an abelian category, if $ker(p_{2}) → ker(f)$ is an epimorphism, then so is its pullback $ker(p_{1}) → ker(g)$, and symmetrically: if $X → Z$ is an epimorphism, then so is its pullback $P → Y$. In these situations, the pullback square is also a pushout square.


 * There is a natural isomorphism (A×CB)×B D &cong; A×CD. Explicitly, this means:
 * if maps f : A &rarr; C, g : B &rarr; C and h : D &rarr; B are given and
 * the pullback of f and g is given by r : P &rarr; A and s : P &rarr; B, and
 * the pullback of s and h is given by t : Q &rarr; P and u : Q &rarr; D ,
 * then the pullback of f and gh is given by rt : Q &rarr; A and u : Q &rarr; D.
 * Graphically this means that two pullback squares, placed side by side and sharing one morphism, form a larger pullback square when ignoring the inner shared morphism.

$$ \begin{array}{ccccc} Q&\xrightarrow{t}&P& \xrightarrow{r} & A \\ \downarrow_{u} & & \downarrow_{s} & &\downarrow_{f}\\ D & \xrightarrow{h} & B &\xrightarrow{g} & C \end{array} $$


 * Any category with pullbacks and products has equalizers.

Weak pullbacks
A weak pullback of a cospan $Y → Z$ is a cone over the cospan that is only weakly universal, that is, the mediating morphism $P → X$ above is not required to be unique.