A continuous mapping that satisfies the homotopy extension property with respect to all spaces.
In homotopy theory, a continuous mapping $$i: A\to X,$$ where $A$ and $X$ are topological spaces, is a cofibration if it satisfies the homotopy extension property with respect to all spaces $Y$. This definition is dual to that of a fibration, which is required to satisfy the homotopy lifting property with respect to all spaces. This duality is informally referred to as Eckmann–Hilton duality.
A more general notion of cofibration is developed in the theory of model categories.