The octahedral axiom concerns composable morphisms XfYgZX\xrightarrow{f}Y\xrightarrow{g}Z in a . Choose distinguished triangles for ff, gg, and gfg\circ f. The axiom requires connecting morphisms between their third objects so that the resulting octahedral diagram commutes and those third objects themselves form a .

Conceptually, it states that forming cones is coherent with composition. It is often labeled TR4. In mathlib, IsTriangulated is precisely the assertion that the required octahedron exists for every such composable pair and choices of distinguished triangles.