Abstract:Let 𝑃𝑛 be the path graph on [𝑛] = {1,â€Ļ, 𝑛}, with graph distance 𝑑(đ‘Ĩ, đ‘Ļ) = |đ‘Ĩ − đ‘Ļ|. A linear digraph is a digraph in which every vertex has in-degree and out-degree at most 1 (equivalently, a partial injection of [𝑛]). A contraction digraph on 𝑃𝑛 is a linear digraph whose arcs are non-crossing and never increase the 𝑃𝑛-distance between the endpoints of two arcs. Such digraphs are closed under composition, and their components are loops and monotone directed paths. We show that a non-crossing linear digraph is a contraction digraph if and only if its sequence of signed arc lengths 𝑏𝑖 − 𝑎𝑖 is weakly decreasing, that a contraction digraph is acyclic if and only if it has no loop, and that the index of an acyclic contraction digraph equals one plus the length of a longest directed path. Our main theorem states that a contraction digraph is a composition of acyclic ones if and only if 1 is not a tail, or 𝑛 is not a tail, or two consecutive arcs have signed lengths differing by at least 2. Consequently, two acyclic factors always suffice, the set of such compositions is a right ideal, and a linear-time algorithm (stated with a proof of correctness and a certificate of its output) decides membership and returns an explicit factorisation. The factors may have index aslarge as 𝑛.