Dehn’s algorithm for simple diagrams
Dehn gave an algorithm for deciding if two cyclic words in the standard presentation of the fundamental group of a closed oriented surface of positive genus represent the same conjugacy class. A simple diagram on a surface is a disjoint union of simple closed curves none of which bound a disk. If [Formula: see text] is a once punctured closed surface of negative Euler characteristic, simple diagrams are classified up to isotopy by their geometric intersection numbers with the edges of an ideal triangulation of [Formula: see text]. Simple diagrams on the unpunctured surface [Formula: see text] can be represented by simple diagrams on [Formula: see text]. The weight of a simple diagram is the sum of its geometric intersection numbers with the edges of the triangulation. We show that you can pass from any representative to a least weight representative via a sequence of elementary moves, that monotonically decrease weights. This leads to a geometric analog of Dehn’s algorithm for simple diagrams.