Open Access
This article is

- freely available
- re-usable

*Symmetry*
**2019**,
*11*(11),
1327;
https://doi.org/10.3390/sym11111327

Article

The Root Extraction Problem for Generic Braids

^{1}

Institut de Mathématiques de Bourgogne, UMR 5584, CNRS, Univ. Bourgogne Franche-Comté, 21000 Dijon, France

^{2}

Department of Mathematics, Heriot-Watt University, Edinburgh, Scotland EH14 4AS, UK

^{3}

Departamento de Álgebra, Universidad de Sevilla, 41012 Sevilla, Spain

^{4}

Departamento de Ciencias Integradas, Universidad de Huelva, 21007 Huelva, Spain

^{*}

Authors to whom correspondence should be addressed.

Received: 24 September 2019 / Accepted: 17 October 2019 / Published: 23 October 2019

## Abstract

**:**

We show that, generically, finding the k-th root of a braid is very fast. More precisely, we provide an algorithm which, given a braid x on n strands and canonical length l, and an integer $k>1$, computes a k-th root of x, if it exists, or guarantees that such a root does not exist. The generic-case complexity of this algorithm is $O(l(l+n){n}^{3}logn)$. The non-generic cases are treated using a previously known algorithm by Sang-Jin Lee. This algorithm uses the fact that the ultra summit set of a braid is, generically, very small and symmetric (through conjugation by the Garside element $\Delta $), consisting of either a single orbit conjugated to itself by $\Delta $ or two orbits conjugated to each other by $\Delta $.

Keywords:

braid groups; algorithms in groups; group-based cryptography## 1. Introduction

Group theory is `the language of symmetry’, as it is beautifully explained by Marcus du Sautoy in his book Symmetry. In this paper we will deal with a fascinating family of groups discovered by Emil Artin: Braid groups.

There are several computational problems in braid groups that have been proposed for their potential applications in cryptography [1]. Initially, the conjugacy problem in the braid group ${\mathbb{B}}_{n}$ was proposed as a non-commutative alternative to the discrete logarithm problem [2,3]. Later, some other problems were proposed, including the k-th root extraction problem: given $x\in {\mathbb{B}}_{n}$ and an integer $k>1$, find $a\in {\mathbb{B}}_{n}$ such that ${a}^{k}=x$.

The interest of braid groups for cryptography has decreased considerably, mainly due to the appearance of algorithms which solve the conjugacy problem extremely fast in the generic case [4,5,6]. The main problem with the proposed cryptographic protocols turns out to be the key generation. Public and secret keys are chosen `at random’, and this implies that the protocols are insecure against algorithms which have a fast generic-case complexity.

While the future of braid-cryptography depends on finding a good key-generation procedure, there are some other problems in braid groups whose generic-case complexity is still to be studied. This is the case of the k-th root (extraction) problem.

A priori, the study of the generic case for the k-th root problem could be though to be nonsense as, generically, the k-th root of a braid x does not exist. But we should think of the braid x as the k-th power of a generic braid: in protocols based on this problem, a secret braid a is chosen at random, and the braid $x={a}^{k}$ is made public. Hence we are dealing with braids for which a k-th root is known to exist. In any case, the algorithm in this paper not only shows that root extraction in braid groups is generically very fast, but can also be used by those mathematicians needing a simple algorithm for finding a k-th root of a braid (or proving that it does not exist), which works in most cases.

There are already known algorithms to solve the k-th root problem in braid groups and, more generally, in Garside groups [7,8]. But these algorithms can be simplified a lot in the generic case, as we will show in this paper.

The plan of this paper is as follows. In Section 2 we provide the necessary tools to describe the situation and attack the problem. Then in Section 3, we prove the theoretical results needed for our proposed algorithm, which is given in Section 4, together with the study of its generic-case complexity.

This generic-case complexity turns out to be quadratic on the canonical length l of the braid, if the number n of strands is fixed. More precisely, the generic-case complexity is $O(l(l+n){n}^{3}logn)$ (Theorem 6).

## 2. Preliminaries

#### 2.1. Garside Structure of ${\mathbb{B}}_{n}$

A group G is said to be a Garside group [9] if it admits a submonoid $\mathcal{P}$ (whose elements are called positive) such that $\mathcal{P}\cap {\mathcal{P}}^{-1}=\left\{1\right\}$, and a special element $\Delta \in \mathcal{P}$, called Garside element, satisfying the following properties:

- The partial order ≼ in G defined by $a\preccurlyeq b$ if ${a}^{-1}b\in \mathcal{P}$ is a lattice order. If $a\preccurlyeq b$ we say that a is a prefix of b. The lattice structure implies that for all $a,b\in G$ there exists a unique meet $a\wedge b$ and a unique join $a\vee b$ with respect to ≼. Notice that this partial order is invariant under left-multiplication.
- The set of simple elements $\mathcal{S}\text{:}=\{s\in G\phantom{\rule{0.166667em}{0ex}}|\phantom{\rule{0.166667em}{0ex}}1\preccurlyeq s\preccurlyeq \Delta \}$ is finite and generates G.
- Conjugation by $\Delta $ preserves $\mathcal{P}$, that is, ${\Delta}^{-1}\mathcal{P}\Delta =\mathcal{P}$.
- $\mathcal{P}$ is atomic: the atoms are the indivisible elements of $\mathcal{P}$ (elements $a\in \mathcal{P}$ for which there is no decomposition $a=bc$ with non-trivial elements $b,c\in \mathcal{P}$). Then, for every $x\in \mathcal{P}$ there is an upper bound on the number of atoms in a decomposition of the form $x={a}_{1}{a}_{2}\cdots {a}_{n}$, where each ${a}_{i}$ is an atom.

One of the main examples of Garside groups is the braid group on n strands, denoted by ${\mathbb{B}}_{n}$. This group has a standard presentation due to Artin [10]:

$${\mathbb{B}}_{n}=\u2329{\sigma}_{1},{\sigma}_{2},\dots ,{\sigma}_{n-1}\left|\begin{array}{cc}{\sigma}_{i}{\sigma}_{j}{\sigma}_{i}={\sigma}_{j}{\sigma}_{i}{\sigma}_{j}& if|i-j|=1\\ {\sigma}_{i}{\sigma}_{j}={\sigma}_{j}{\sigma}_{i}& if|i-j|>1\end{array}\right.\u232a.$$

Attending to the above presentation, a braid is said to be positive if it can be written as a product of positive powers of the generators ${\left\{{\sigma}_{i}\right\}}_{i=1}^{n}$. The set of positive braids forms the monoid $\mathcal{P}$ corresponding to the classical Garside structure of ${\mathbb{B}}_{n}$. We will denote this monoid by ${\mathbb{B}}_{n}^{+}$.

The usual Garside element in ${\mathbb{B}}_{n}^{+}$, which we denote ${\Delta}_{n}$, is defined recursively setting ${\Delta}_{2}={\sigma}_{1}$ and
for all $n>2$. We will often write $\Delta $ and omit the subindex n when there is no ambiguity.

$${\Delta}_{n}={\Delta}_{n-1}{\sigma}_{n-1}{\sigma}_{n-2}\cdots {\sigma}_{1},$$

Consider now the inner automorphism $\tau :{\mathbb{B}}_{n}\to {\mathbb{B}}_{n}$ determined by $\Delta $. That is, $\tau \left(x\right)={\Delta}^{-1}x\Delta $. One can easily show from the presentation of ${\mathbb{B}}_{n}$ that $\tau \left({\sigma}_{i}\right)={\sigma}_{n-i}$ for $1\le i\le n-1$. Hence $\tau $ has order 2 and ${\Delta}^{2}$ is central. In fact, the center of ${\mathbb{B}}_{n}$ is cyclic, generated by ${\Delta}^{2}$ [11].

The set $\mathcal{S}$ of simple elements and the automorphism $\tau $ will be very important in the sequel.

#### 2.2. Normal Forms, Cyclings and Decyclings

It is well-known that Garside groups have solvable word problem, as one can compute a normal form for each element.

Let us first define the right complement of a simple element $s\in \mathcal{S}$ as $\partial \left(s\right)={s}^{-1}\Delta $. That is, $\partial \left(s\right)$ is the only element $t\in \mathcal{P}$ such that $st=\Delta $. Let us see that $\partial \left(s\right)=t$ is also a simple element. Recall that the simple elements are the positive prefixes of $\Delta $. Since $\tau $ preserves $\mathcal{P}$ (by definition of Garside group), we have that $\tau \left(s\right)$ is positive. Now
hence $t\tau \left(s\right)=\Delta $, which implies that t is a positive prefix of $\Delta $, that is, $t\in \mathcal{S}$. It follows that we have a map $\partial :\phantom{\rule{0.222222em}{0ex}}\mathcal{S}\to \mathcal{S}$. Notice that, by definition, ${\partial}^{2}\equiv \tau $.

$$st\tau \left(s\right)=\Delta \tau \left(s\right)=s\Delta ,$$

Given two simple elements $s,t\in \mathcal{S}$, we say that the decomposition $st$ is left weighted if s is the biggest possible simple element (with respect to ≼) in any decomposition of the element $st$ as a product of two simple elements. This condition can be restated as $\partial \left(s\right)\wedge t=1$, i.e., $\partial \left(s\right)$ and t have no non-trivial prefixes in common.

**Definition**

**1**

([12,13])

**.**The left normal form of an element $x\in {\mathbb{B}}_{n}$ is the unique decomposition $x={\Delta}^{p}{x}_{1}\cdots {x}_{l}$ so that $p\in \mathbb{Z}$, $l\ge 0$, ${x}_{i}\in \mathcal{S}\backslash \{1,\Delta \}$ for $i=1,\dots ,l$, and ${x}_{i}{x}_{i+1}$ is a left weighted decomposition, for $i=1,\dots ,l-1$.Given such a decomposition, we define the infimum, supremum and canonical length of x as $inf\left(x\right)=p$, $sup\left(x\right)=p+l$ and $\ell \left(x\right)=l$, respectively. Equivalently, the infimum and supremum of x can be defined as the maximum and minimum integers p and s so that ${\Delta}^{p}\preccurlyeq x\preccurlyeq {\Delta}^{s}$ (see [12]).

It is important to notice that conjugation by $\Delta $ preserves the Garside structure of ${\mathbb{B}}_{n}$. Hence, if the left normal form of a braid x is ${\Delta}^{p}{x}_{1}\cdots {x}_{l}$, then the left normal form of $\tau \left(x\right)$ is ${\Delta}^{p}\tau \left({x}_{1}\right)\cdots \tau \left({x}_{l}\right)$. We will make use of this property later.

Garside groups also have solvable conjugacy problem. One of the main tools to solve problems related to conjugacy in braid groups are the summit sets, which are subsets of the conjugacy class of a braid. Throughout this article we are going to use two of them: the super summit set [12] and the ultra summit set [4]. Let us first introduce some concepts:

**Definition**

**2.**

Let$x={\Delta}^{p}{x}_{1}\cdots {x}_{l}$be in left normal form, with$l>0$. Notice that we can write:
We define the initial factor of x as$\iota \left(x\right)={\tau}^{-p}\left({x}_{1}\right)$, and the final factor of x as$\phi \left(x\right)={x}_{l}$. We can then write:
If$l=0$, we set$\iota \left(x\right)=1$and$\phi \left(x\right)=\Delta $.

$$x={\tau}^{-p}\left({x}_{1}\right){\Delta}^{p}{x}_{2}\cdots {x}_{l}.$$

$$x=\iota \left(x\right){\Delta}^{p}{x}_{2}\cdots {x}_{l}\phantom{\rule{0.166667em}{0ex}}\phantom{\rule{1.em}{0ex}}and\phantom{\rule{1.em}{0ex}}\phantom{\rule{0.166667em}{0ex}}x={\Delta}^{p}{x}_{1}\cdots {x}_{l-1}\phi \left(x\right).$$

Notice that, as ${\tau}^{2}$ is the identity, we actually have either $\iota \left(x\right)={x}_{1}$ if p is even, or $\iota \left(x\right)=\tau \left({x}_{1}\right)$ if p is odd. This happens in braid groups, but not in other Garside groups in which the order of $\tau $ is bigger.

**Definition**

**3**

([12])

**.**Let $x={\Delta}^{p}{x}_{1}\cdots {x}_{l}$ be in left normal form, with $l>0$. The cycling and decycling of x are the conjugates of x defined, respectively, as
$$\mathbf{c}\left(x\right)={\Delta}^{p}{x}_{2}\cdots {x}_{l}\iota \left(x\right)\phantom{\rule{0.166667em}{0ex}}\phantom{\rule{1.em}{0ex}}and\phantom{\rule{1.em}{0ex}}\phantom{\rule{0.166667em}{0ex}}\mathbf{d}\left(x\right)=\phi \left(x\right){\Delta}^{p}{x}_{1}\cdots {x}_{l-1}.$$

Thus $\mathbf{c}\left(x\right)$ is the conjugate of x by $\iota \left(x\right)$, and that $\mathbf{d}\left(x\right)$ is the conjugate of x by $\phi {\left(x\right)}^{-1}$.

Cyclings and decyclings were defined in [12] in order to try to simplify the braid x by conjugations. Usually, if $l\ge 2$, the decomposition ${\Delta}^{p}{x}_{2}\cdots {x}_{l}\iota \left(x\right)$ is

**not**the left normal form of $\mathbf{c}\left(x\right)$. So $\mathbf{c}\left(x\right)$ could a priori have a shorter normal form (with less factors). A similar situation happens for $\mathbf{d}\left(x\right)$.If ${\Delta}^{p}{x}_{2}\cdots {x}_{l}\iota \left(x\right)$ is actually the left normal form of $\mathbf{c}\left(x\right)$ (when $l\ge 2$), we say that the braid x is rigid. This happens if and only if ${x}_{l}\iota \left(x\right)$ (that is, $\phi \left(x\right)\iota \left(x\right)$) is a left weighted decomposition. We can extend this definition to every case, when $l\ge 0$:

**Definition**

**4.**

We say that $x\in {\mathbb{B}}_{n}$ is rigid if $\phi \left(x\right)\iota \left(x\right)$ is a left weighted decomposition.

If x is rigid, neither cycling nor decycling can simplify its normal form $x={\Delta}^{p}{x}_{1}\cdots {x}_{l}$. Actually, the normal forms of the iterated cyclings of x are, if p is even:
so ${\mathbf{c}}^{l}\left(x\right)=x$ in this case. In the case when p is odd we have:
so ${\mathbf{c}}^{2l}\left(x\right)=x$ in this case.

$$\mathbf{c}\left(x\right)={\Delta}^{p}{x}_{2}\cdots {x}_{l}{x}_{1},\phantom{\rule{2.em}{0ex}}{\mathbf{c}}^{2}\left(x\right)={\Delta}^{p}{x}_{3}\cdots {x}_{l}{x}_{1}{x}_{2},\phantom{\rule{2.em}{0ex}}\dots $$

$$\mathbf{c}\left(x\right)={\Delta}^{p}{x}_{2}\cdots {x}_{l}\tau \left({x}_{1}\right),\phantom{\rule{2.em}{0ex}}{\mathbf{c}}^{2}\left(x\right)={\Delta}^{p}{x}_{3}\cdots {x}_{l}\tau \left({x}_{1}\right)\tau \left({x}_{2}\right),\phantom{\rule{2.em}{0ex}}\dots $$

In the same way, if x is rigid we have, for p even:
so ${\mathbf{d}}^{l}\left(x\right)=x$ in this case. If p is odd we get:
so ${\mathbf{d}}^{2l}\left(x\right)=x$ in this case. We then see that, if x is rigid, iterated cyclings and decyclings correspond to cyclic permutations of the factors in the normal form of x (possibly conjugated by $\Delta $, if p is odd); moreover, when applied to rigid braids, $\mathbf{c}$ and $\mathbf{d}$ are inverses of each other.

$$\mathbf{d}\left(x\right)={\Delta}^{p}{x}_{l}{x}_{1}\cdots {x}_{l-1},\phantom{\rule{2.em}{0ex}}{\mathbf{d}}^{2}\left(x\right)={\Delta}^{p}{x}_{l-1}{x}_{l}{x}_{1}\cdots {x}_{l-2},\phantom{\rule{2.em}{0ex}}\dots $$

$$\mathbf{d}\left(x\right)={\Delta}^{p}\tau \left({x}_{l}\right){x}_{1}\cdots {x}_{l-1},\phantom{\rule{2.em}{0ex}}{\mathbf{d}}^{2}\left(x\right)={\Delta}^{p}\tau \left({x}_{l-1}\right)\tau \left({x}_{l}\right){x}_{1}\cdots {x}_{l-2},\phantom{\rule{2.em}{0ex}}\dots $$

#### 2.3. Summit Sets

Let now $x\in {\mathbb{B}}_{n}$ be an arbitrary braid (not necessarily rigid). Consider the conjugacy class of x, denoted ${x}^{{\mathbb{B}}_{n}}$, and write ${inf}_{s}\left(x\right)$ (resp. ${sup}_{s}\left(x\right)$) for the maximal infimum (resp. the minimal supremum) of an element in ${x}^{{\mathbb{B}}_{n}}$. These numbers are known to exist [12], and are called the summit infimum and the summit supremum of x, respectively. Set ${\ell}_{s}\left(x\right)={sup}_{s}\left(x\right)-{inf}_{s}\left(x\right)$, the summit length of x. It is shown in [12] that the elements in ${x}^{{\mathbb{B}}_{n}}$ having the shortest possible normal form are those whose canonical length is precisely ${\ell}_{s}\left(x\right)$, and they coincide with the elements whose infimum and supremum are equal to ${inf}_{s}\left(x\right)$ and ${sup}_{s}\left(x\right)$, respectively. The set formed by these elements is called the supper summit set of the braid x:

$$SSS\left(x\right)=\left\{y\in {x}^{{\mathbb{B}}_{n}}\phantom{\rule{0.166667em}{0ex}}|\phantom{\rule{0.166667em}{0ex}}\ell \left(y\right)={\ell}_{s}\left(x\right)\right\}=\left\{y\in {x}^{{\mathbb{B}}_{n}}\phantom{\rule{0.166667em}{0ex}}|\phantom{\rule{0.166667em}{0ex}}inf\left(y\right)={inf}_{s}\left(x\right),\phantom{\rule{0.166667em}{0ex}}\phantom{\rule{0.166667em}{0ex}}sup\left(y\right)={sup}_{s}\left(x\right)\right\}.$$

Starting from x, it is possible to obtain an element in $SSS\left(x\right)$ by applying cyclings and decyclings iteratively. It is known [12] that if $inf\left(x\right)<{inf}_{s}\left(x\right)$ then the infimum of x can be increased by iterated cycling. Actually, in this case $inf\left(x\right)<inf\left({\mathbf{c}}^{k}\left(x\right)\right)$ for some $k<\frac{n(n-1)}{2}$ (see [14]). Hence, every $\frac{n(n-1)}{2}$ iterations either the infimum has increased, or one is sure to have an element whose infimum is the summit infimum.

In the same way, if $sup\left(x\right)>{sup}_{s}\left(x\right)$, then the supremum of x can be decreased by iterated decycling [12], and in that case $sup\left(x\right)>sup\left({\mathbf{d}}^{k}\left(x\right)\right)$ for some $k<\frac{n(n-1)}{2}$ [14]. Hence, every $\frac{n(n-1)}{2}$ iterations either the supremum has decreased, or we are sure to have an element whose supremum is the summit supremum. Since decycling can never decrease the infimum of an element, it follows that starting with any $x\in {\mathbb{B}}_{n}$ and applying iterated cycling (until summit infimum is obtained) followed by iterated decycling (until summit supremum is obtained) yields an element $y\in SSS\left(x\right)$.

The super summit set $SSS\left(x\right)$ is a finite set, but it is usually huge, so smaller subsets of the conjugacy class of x were defined in order to solve the conjugacy problem of x more efficiently. Namely, the ultra summit set of x, denoted by $USS\left(x\right)$, is a subset of $SSS\left(x\right)$ defined as follows [4]:

$$USS\left(x\right)=\{y\in SSS\left(x\right)\phantom{\rule{0.166667em}{0ex}}|\phantom{\rule{0.166667em}{0ex}}{\mathbf{c}}^{m}\left(y\right)=y\phantom{\rule{4.pt}{0ex}}\mathrm{for}\phantom{\rule{4.pt}{0ex}}\mathrm{some}\phantom{\rule{4.pt}{0ex}}m>0\}.$$

Since $SSS\left(x\right)$ is finite, the subset $USS\left(x\right)$ is also finite. It is then clear that one obtains an element is $USS\left(x\right)$ by iterated application of cycling, starting from an element in $SSS\left(x\right)$, when a repeated element is obtained. Actually, the whole orbit under cycling of an element in $USS\left(x\right)$ belongs to $USS\left(x\right)$. So $USS\left(x\right)$ is a finite set of orbits under cycling.

Notice that every rigid braid belongs to its ultra summit set, as cylings and decyclings are basically cyclic permutations of its factors. It is shown in [15] that, if x is conjugate to a rigid braid and ${\ell}_{s}\left(x\right)>1$, then $USS\left(x\right)$ coincides with the set of rigid conjugates of x.

There is actually a simpler way, in the general case, to obtain an element in $USS\left(x\right)$ starting from x. Instead of using cyclings and decyclings, one can use the following single type of conjugation:

**Definition**

**5**

([5])

**.**Given $x\in {\mathbb{B}}_{n}$, the cyclic sliding of x is defined as $\mathfrak{s}\left(x\right)=\mathfrak{p}{\left(x\right)}^{-1}x\phantom{\rule{0.222222em}{0ex}}\mathfrak{p}\left(x\right)$, where $\mathfrak{p}\left(x\right)=\iota \left(x\right)\wedge \partial \left(\phi \right(x\left)\right)$.**Theorem**

**1**

([5])

**.**Given $x\in {\mathbb{B}}_{n}$, there are integers $0\le k<t$ such that ${\mathfrak{s}}^{k}\left(x\right)={\mathfrak{s}}^{t}\left(x\right)$. For every such pair of integers, one has ${\mathfrak{s}}^{k}\left(x\right)\in USS\left(x\right)$.By the above result, one can obtain an element in $USS\left(x\right)$ by iterated cyclic sliding starting form x. Furthermore, if x is conjugate to a rigid element (this will be the generic situation, as we will see in Section 2.4), iterated cyclic sliding yields the shortest positive conjugating element from x to a rigid element.

**Theorem**

**2**

([5])
is the smallest positive element (with respect to ≼) conjugating x to a rigid element, meaning that for every positive element β such that ${\beta}^{-1}x\beta $ is rigid, one has $\alpha \preccurlyeq \beta $.

**.**Let $x\in {\mathbb{B}}_{n}$ and suppose that x is conjugate to a rigid braid. Then there is an integer $k>0$ such that ${\mathfrak{s}}^{k}\left(x\right)$ is rigid. Moreover, the conjugating element α from x to ${\mathfrak{s}}^{k}\left(x\right)$, that is,
$$\alpha =\mathfrak{p}\left(x\right)\phantom{\rule{0.222222em}{0ex}}\mathfrak{p}\left(\mathfrak{s}\left(x\right)\right)\phantom{\rule{0.222222em}{0ex}}\mathfrak{p}\left({\mathfrak{s}}^{2}\left(x\right)\right)\cdots \mathfrak{p}\left({\mathfrak{s}}^{k-1}\left(x\right)\right)$$

After obtaining one element in $USS\left(x\right)$, it is possible to compute all elements in $USS\left(x\right)$ together with conjugating elements connecting them. In this way, one solves the conjugacy problem in ${\mathbb{B}}_{n}$, as two elements x and y are conjugate if and only if $USS\left(x\right)=USS\left(y\right)$ or, equivalently, if $USS\left(x\right)\cap USS\left(y\right)\ne \varnothing $. Then, in order to check whether x and y are conjugate, one can compute the whole set $USS\left(x\right)$, and one element $\tilde{y}\in USS\left(y\right)$. Then, x and y are conjugate if and only if $\tilde{y}\in USS\left(x\right)$. By construction, one can even compute a conjugating element from x to y.

In order to understand the forthcoming proofs in this paper, we will need to describe some conjugating elements connecting the elements of $USS\left(x\right)$.

**Definition**

**6**

([4])

**.**Let $x\in {\mathbb{B}}_{n}$ and $y\in USS\left(x\right)$. A simple non-trivial element $s\in \mathcal{S}$ is said to be a minimal simple elementfor y if ${y}^{s}\in USS\left(x\right)$ and ${y}^{t}\notin USS\left(x\right)$, for every $1\prec t\prec s$.In [4], Gebhardt showed that for any two elements $y,z\in USS\left(x\right)$ there exists a sequence
where ${c}_{i}$ is a minimal simple element for ${y}_{i}$, and ${y}_{i+1}={c}_{i}^{-1}{y}_{i}{c}_{i}$, for $i=1,\dots ,t$. Moreover, he introduced an algorithm to compute all minimal simple elements for a given $y\in USS\left(x\right)$. This allows to construct a directed graph ${\Gamma}_{x}$, whose vertices correspond to elements of $USS\left(x\right)$, and whose arrows correspond to minimal simple elements, in such a way that for every minimal simple element s for y, there is an edge with label s from y to ${y}^{s}={s}^{-1}ys$. By the above discussion, it follows that ${\Gamma}_{x}$ is a connected graph, and this is why $USS\left(x\right)$ can be computed starting with a single vertex, iteratively computing the minimal simple elements corresponding to each known vertex, until all vertices are obtained.

$$y={y}_{1}\stackrel{{c}_{1}}{\u27f6}{y}_{2}\stackrel{{c}_{2}}{\u27f6}\cdots \to {y}_{t}\stackrel{{c}_{t}}{\u27f6}{y}_{t+1}=z,$$

We will later see that, generically, ultra summit sets are really small. Actually, they usually have a very simple structure, that we explain now.

**Lemma**

**1**

([16])

**.**Let $y\in USS\left(x\right)$ with $\ell \left(y\right)>0$ and let s be a minimal simple element for y. Then, s is a prefix of either $\iota \left(y\right)$ or $\partial \left(\phi \right(y\left)\right)$, or both.The above lemma allows us to classify the arrows in ${\Gamma}_{x}$ into two groups: a directed edge labelled by s starting at $y\in USS\left(x\right)$ is black (resp. grey), if s is a prefix of $\iota \left(x\right)$ (resp. of $\partial \left(\phi \right(y\left)\right)$). In principle, an edge could be of both colors at the same time (a bi-colored arrow, whose label is a prefix of both $\iota \left(x\right)$ and $\partial \left(\phi \right(x\left)\right)$), but not in the case of rigid braids, as $\iota \left(x\right)\wedge \partial \left(\phi \right(x\left)\right)=1$ if x is rigid. Actually, this is a necessary and sufficient condition:

**Lemma**

**2**

([16])

**.**A braid $y\in USS\left(x\right)$ with $\ell \left(y\right)>0$ is rigid if and only if none of the edges starting at y is bi-colored.**Definition**

**7.**

Given a braid $x\in {\mathbb{B}}_{n}$, its associated $USS\left(x\right)$ isminimalif ${\ell}_{s}\left(x\right)>1$ and, for every vertex y in the graph ${\Gamma}_{x}$, there are exactly two directed edges starting at y, a black one labeled $\iota \left(y\right)$ and a grey one labeled $\partial \left(\phi \right(y\left)\right)$.

Notice that, as a consequence of Lemma 2, if $USS\left(x\right)$ is minimal then all elements in $USS\left(x\right)$ are rigid. Moreover, the arrow labeled $\iota \left(y\right)$ corresponds to a cycling of y, and the arrow labeled $\partial \left(\phi \right(y\left)\right)$ corresponds to a twisted decycling of y, meaning a decycling followed by the automorphism $\tau $. This implies that, if $USS\left(x\right)$ is minimal, the elements of $USS\left(x\right)$ are obtained from y by applying $\mathbf{c}$ and $\tau \circ \mathbf{d}$ in every possible way. Since y is rigid, cyclings and decyclings basically correspond to cyclic permutations of the factors. Therefore, if $USS\left(x\right)$ is minimal, it consists of either two orbits under cycling (conjugate to each other by $\Delta $), or one orbit under cycling (conjugate to itself by $\Delta $). If the infimum of y is even, the orbit of y has at most $\ell \left(y\right)={\ell}_{s}\left(x\right)\le \ell \left(x\right)$ elements, so the size of $USS\left(x\right)$ is at most $2\ell \left(x\right)$. If the infimum of y is odd, the orbit of y has at most $2\ell \left(y\right)\le 2\ell \left(x\right)$ elements, and it is conjugate to itself by $\Delta $, so it is the only orbit. Therefore, in any case, if $USS\left(x\right)$ is minimal it has at most $2\ell \left(x\right)$ elements.

**Remark**

**1.**

In order to see whether $USS\left(x\right)$ is minimal, one should a priori check the condition in Definition 7 for every element in $USS\left(x\right)$. But it is actually shown in ([17], Theorem 4.6) that, given $y\in USS\left(x\right)$, the set $USS\left(x\right)$ is minimal if and only if $\ell \left(y\right)>1$ and the minimal simple elements for y are precisely $\iota \left(y\right)$ and $\partial \left(\phi \right(y\left)\right)$. Hence, one just needs to compute the minimal elements for a single arbitrary element $y\in USS\left(x\right)$.

Let us see that this case, in which $USS\left(x\right)$ is so small and has such a simple structure, is generic.

#### 2.4. Generic Braids

Since ${\mathbb{B}}_{n}$ is an infinite set, it is necessary to explain what we mean by `picking a random braid’ or by saying that a braid is `generic’. Even if we fix the subset of braids of a given length, we must specify if we choose braids from the subset with a uniform distribution, or if we pick braids by choosing a random walk in the Cayley graph, which are the two usual situations.

We will consider the Cayley graph of the braid group ${\mathbb{B}}_{n}$, taking as generators the simple braids, and assume that each edge of the Cayley graph has length 1, so it becomes a metric space. Let us point out that left normal forms of braids are closely related to geodesics in this Cayley graph [18].

Now let $B\left(r\right)$ denote the ball of radius r centered at the trivial braid 1. As the number of simple braids is finite, the set $B\left(r\right)$ is a finite subset of ${\mathbb{B}}_{n}$. We will consider the uniform distribution within this set. It turns out that `most’ elements in $B\left(r\right)$ have a very simple ultra summit set:

**Theorem**

**3**

([17])

**.**The proportion of braids in $B\left(r\right)$ whose ultra summit set is minimal tends to 1 exponentially fast, as r tends to infinity.This is why we can say that the ultra summit set of a `generic braid’ is minimal. Moreover, the above result was obtained by refining the following theorem, which gives some important information concerning the elements in $B\left(r\right)$. We have simplified the statement to adapt it to our situation:

**Theorem**

**4**

([19])

**.**The proportion of braids x in $B\left(r\right)$ which are conjugate to a rigid braid $y={\alpha}^{-1}x\alpha $, in such a way that α is a positive braid with $\ell \left(\alpha \right)<\ell \left(x\right)$, tends to 1 exponentially fast, as r tends to infinity.Therefore, not only generic braids have minimal ultra summit sets (made of rigid braids), but one can also obtain a rigid conjugate of a generic braid x very fast, applying iterated cyclic sliding to x. By Theorem 2, the obtained conjugating element will be the smallest possible positive conjugator, so its canonical length will be smaller than $\ell \left(x\right)$. Once that a rigid conjugate y (which belongs to $USS\left(x\right)$) is obtained, one can compute the whole $USS\left(x\right)$ very fast, as it consists of at most $2\ell \left(x\right)$ elements, connected by cyclings and twisted decyclings. This is why solving the conjugacy problem in braid groups is generically very fast.

We will also be interested in the centralizer $Z\left(x\right)$ of a braid x. Notice that if $y={\alpha}^{-1}x\alpha $, then $Z\left(y\right)={\alpha}^{-1}Z\left(x\right)\alpha $. Therefore, knowing $Z\left(y\right)$ is equivalent to knowing $Z\left(x\right)$, via $\alpha $. We will then be interested in $Z\left(y\right)$ for $y\in USS\left(x\right)$.

**Definition**

**8.**

Let$x\in {\mathbb{B}}_{n}$and$y\in USS\left(x\right)$, and let t be the smallest positive integer such that${\mathbf{c}}^{t}\left(y\right)=y$. Denote${p}_{i}:=\iota \left({\mathbf{c}}^{i-1}\left(y\right)\right)$the positive element conjugating ${\mathbf{c}}^{i-1}\left(y\right)$to ${\mathbf{c}}^{i}\left(y\right)$, for$i=1,\dots ,t$. Then the preferred cycling conjugator of y is defined as
In other words, $PC\left(y\right)$ corresponds to the conjugating element along the whole cycling orbit of y. By construction, $PC\left(y\right)$commutes with y.

$$PC\left(y\right)={p}_{1}{p}_{2}\cdots {p}_{t}.$$

In the generic case (when $USS\left(x\right)$ is minimal), it turns out that $Z\left(x\right)$ is isomorphic to ${\mathbb{Z}}^{2}$, and one can describe the generators of $Z\left(y\right)$ for any $y\in USS\left(x\right)$ (and thus of $Z\left(x\right)$) in a very explicit way:

**Theorem**

**5**

([17])

**.**Let $x\in {\mathbb{B}}_{n}$ and $y\in USS\left(x\right)$. Let $PC\left(y\right)={p}_{1}\cdots {p}_{t}$ as above. If $USS\left(x\right)$ is minimal, then all elements in $USS\left(x\right)$ are rigid, $Z\left(x\right)\simeq Z\left(y\right)\simeq {\mathbb{Z}}^{2}$, and one of the following conditions holds:- (i)
- $USS\left(x\right)$has two orbits under cycling, conjugate to each other by Δ, and $Z\left(y\right)=\langle {\Delta}^{2},PC\left(y\right)\rangle $.
- (ii)
- $USS\left(x\right)$has one orbit under cycling, conjugate to itself by Δ, and:
- -
- If$\tau \left(y\right)=y$, then$Z\left(y\right)=\langle \Delta ,PC\left(y\right)\rangle $.
- -
- If$\tau \left(y\right)\ne y$, then t is even and$Z\left(y\right)=\langle {\Delta}^{2},\phantom{\rule{0.222222em}{0ex}}{p}_{1}\cdots {p}_{\frac{t}{2}}{\Delta}^{-1}\rangle $.

## 3. k-th Root Problem

Now we come to the central problem in this paper: given $x\in {\mathbb{B}}_{n}$ and an integer $k>1$, find a k-th root of x. In other words, we want to either find $a\in {\mathbb{B}}_{n}$ such that ${a}^{k}=x$, or show that such a braid does not exist.

Notice that if ${a}^{k}=x$ then a belongs to $Z\left(x\right)$, the centralizer of x. It is interesting to know that finding a single solution a to the k-th root equation is basically the same as finding all possible solutions, as the complete set of solutions coincides with the conjugacy class of a in $Z\left(x\right)$:

**Proposition**

**1.**

Let$a,x\in {\mathbb{B}}_{n}$be such that${a}^{k}=x$for some integer$k>1$. Then the set$\sqrt[k]{x}$of k-th roots of x is precisely

$$\sqrt[k]{x}={a}^{Z\left(x\right)}=\left\{b\in {\mathbb{B}}_{n}\phantom{\rule{0.166667em}{0ex}}|\phantom{\rule{0.166667em}{0ex}}\phantom{\rule{4pt}{0ex}}b={u}^{-1}au,\phantom{\rule{4pt}{0ex}}u\in Z\left(x\right)\right\}.$$

**Proof.**

In [20], the second author proved that the k-th root of a braid is unique, up to conjugacy. That is, if $a,b\in {\mathbb{B}}_{n}$ satisfy ${a}^{k}={b}^{k}=x$, then $a={u}^{-1}bu$ for some $u\in {\mathbb{B}}_{n}$. Then one has $x={b}^{k}={u}^{-1}{a}^{k}u={u}^{-1}xu$, and hence $u\in Z\left(x\right)$. This proves that $\sqrt[k]{x}\subset {a}^{Z\left(x\right)}$.

On the other hand, if $b={a}^{Z\left(x\right)}$ and we write $b={u}^{-1}au$ for some $u\in Z\left(x\right)$, we have ${b}^{k}={u}^{-1}{a}^{k}u={u}^{-1}xu=x$, so $b\in \sqrt[k]{x}$. □

Observe that ${a}^{k}=x$ if and only if ${\left({\alpha}^{-1}a\alpha \right)}^{k}={\alpha}^{-1}x\alpha $ for any $\alpha \in {\mathbb{B}}_{n}$. Hence, given x, it suffices to solve the k-th root problem for any conjugate of x, for instance for some $y\in USS\left(x\right)$.

We will focus our attention in the generic case in which $USS\left(x\right)$ is minimal. Recall from Theorem 5 that in this case $Z\left(x\right)\simeq Z\left(y\right)\simeq {\mathbb{Z}}^{2}$. If we express the centralizer of y as $Z\left(y\right)=\langle v,w\rangle $, where v and w commute, we know that y has the form $y={v}^{c}{w}^{d}$, for some $c,d\in \mathbb{Z}$ (and that this expression is unique, as any other expression would yield a different element of $Z\left(y\right)$). If we are able to express y in this way, then the k-th root problem is trivially solved:

**Proposition**

**2.**

Let$x\in {\mathbb{B}}_{n}$. Let$y\in USS\left(x\right)$and suppose that$USS\left(x\right)$is minimal. Let$Z\left(y\right)=\langle v,w\rangle $and let$c,d\in \mathbb{Z}$be such that$y={v}^{c}{w}^{d}$. Then y admits a k-th root if and only if both c and d are multiples of k, and in this case the only k-th root of y is:

$$a={v}^{\frac{c}{k}}{w}^{\frac{d}{k}}.$$

**Proof.**

We know from Theorem 5 that $Z\left(y\right)\simeq {\mathbb{Z}}^{2}$, so it is abelian. Hence, by Proposition 1, if a k-th root a of y exists then $\sqrt[k]{y}={a}^{Z\left(y\right)}=\left\{a\right\}$. Therefore, if a k-th root exists, it is unique.

Suppose that the k-th root problem for y has a solution $a\in {\mathbb{B}}_{n}$. Then $a\in Z\left(y\right)$, and hence $a={v}^{r}{w}^{s}$ for some $r,s\in \mathbb{Z}$. But since v and w commute, we have:

$${v}^{c}{w}^{d}=y={a}^{k}={\left({v}^{r}{w}^{s}\right)}^{k}={v}^{rk}{w}^{sk}.$$

This implies that c and d are multiples of k, and that $a={v}^{r}{w}^{s}={v}^{\frac{c}{k}}{w}^{\frac{d}{k}}.$

Conversely, if c and d are multiples of k, we write $c=rk$ and $d=sk$ for some integers $r,s$, and we consider the element $a={v}^{r}{w}^{s}$. Since v and w commute, it follows that ${a}^{k}=y$. □

By the above result, it follows that the only difficulty in solving the k-th root problem, in the generic case in which $USS\left(x\right)$ is minimal, is to express some $y\in USS\left(x\right)$ in terms of the generators of $Z\left(y\right)$. We know from Theorem 5 that there are three possible cases, depending on whether $USS\left(x\right)$ has two orbits under cycling, or has one orbit with $\tau \left(y\right)=y$, or has one orbit with $\tau \left(y\right)\ne y$. The three following results address each case:

**Proposition**

**3.**

Let$x\in {\mathbb{B}}_{n}$, and let$y={\Delta}^{p}{y}_{1}\cdots {y}_{l}\in USS\left(x\right)$, written in left normal form. Suppose that$USS\left(x\right)$is minimal. Suppose also that$USS\left(x\right)$has two orbits under cycling, conjugate to each other by Δ. Let $v={\Delta}^{2}$ and $w=PC\left(y\right)={p}_{1}\cdots {p}_{t}$, so:
If we write $c=p/2$ and $d=l/t$, then c and d are integers and we have: $y={v}^{c}{w}^{d}$.

$$Z\left(y\right)=\langle v,w\rangle =\langle {\Delta}^{2},PC\left(y\right)\rangle .$$

**Proof.**

We know that, since $USS\left(x\right)$ is minimal, it consists of rigid elements. Hence iterated cycling corresponds to a cyclic permutation of the factors in the normal form of y (with possible conjugations by $\Delta $, if p is odd).

Suppose that p is odd. Then ${\mathbf{c}}^{l}\left(y\right)$ is obtained from y by cyclically permuting all its l factors, conjugating all of them by $\Delta $. Hence ${\mathbf{c}}^{l}\left(y\right)=\tau \left(y\right)$. This implies that $\tau \left(y\right)={\Delta}^{-1}y\Delta $ is in the same orbit of y under cycling, but this is a contradiction with the hypotheses, as $USS\left(x\right)$ has two distinct orbits (the one containing y and the one containing $\tau \left(y\right)$). Therefore p is even.

Since p is even, iterated cyclings of y correspond exactly to cyclic permutations of the factors of y. By definition, t is the smallest positive integer such that ${\mathbf{c}}^{t}\left(y\right)=y$, and it is then clear that ${\mathbf{c}}^{m}\left(y\right)=y$ for some positive integer m if and only if m is a multiple of t. Since ${\mathbf{c}}^{l}\left(y\right)=y$, we finally obtain that l is a multiple of t. Then the normal form of y is as follows:
where $PC\left(y\right)={y}_{1}\cdots {y}_{t}$, and there are $l/t$ parenthesized factors.

$$y={\Delta}^{p}{y}_{1}\cdots {y}_{l}={\Delta}^{p}({y}_{1}\cdots {y}_{t})({y}_{1}\cdots {y}_{t})\cdots ({y}_{1}\cdots {y}_{t}),$$

Now, if we write $c=p/2$ and $d=l/t$, these numbers are integers and we have:
□

$${v}^{c}{w}^{d}={\left({\Delta}^{2}\right)}^{c}{\left(PC\left(y\right)\right)}^{d}={\Delta}^{2c}{({y}_{1}\cdots {y}_{t})}^{d}={\Delta}^{p}{y}_{1}\cdots {y}_{l}=y.$$

**Proposition**

**4.**

Let$x\in {\mathbb{B}}_{n}$, and let$y={\Delta}^{p}{y}_{1}\cdots {y}_{l}\in USS\left(x\right)$, written in left normal form. Suppose that$USS\left(x\right)$is minimal. Suppose also that$USS\left(x\right)$has one orbit under cycling, conjugate to itself by Δ, and that $\tau \left(y\right)=y$. Let $v=\Delta $ and $w=PC\left(y\right)={p}_{1}\cdots {p}_{t}$, so:
If we write $c=p$ and $d=l/t$, then c and d are integers and we have: $y={v}^{c}{w}^{d}$.

$$Z\left(y\right)=\langle v,w\rangle =\langle \Delta ,PC\left(y\right)\rangle .$$

**Proof.**

We know that the left normal form of $\tau \left(y\right)$ is ${\Delta}^{p}\tau \left({y}_{1}\right)\cdots \tau \left({y}_{l}\right)$. Since $\tau \left(y\right)=y$, the normal forms of y and $\tau \left(y\right)$ must coincide, hence $\tau \left({y}_{i}\right)={y}_{i}$ for $i=1,\dots ,l$.

This implies that iterated cyclings correspond to cyclic permutations of the factors of y. We do not care about the parity of p, as every factor of y is invariant under $\tau $. It then follows that $PC\left(y\right)={y}_{1}\cdots {y}_{t}$, that t divides l and that the normal form of y is:
$$y={\Delta}^{p}{y}_{1}\cdots {y}_{l}={\Delta}^{p}({y}_{1}\cdots {y}_{t})({y}_{1}\cdots {y}_{t})\cdots ({y}_{1}\cdots {y}_{t}),$$
where there are $l/t$ parenthesized factors.

Now, if we write $c=p$ and $d=l/t$, these numbers are integers and we have:
□

$${v}^{c}{w}^{d}={\Delta}^{c}{\left(PC\left(y\right)\right)}^{d}={\Delta}^{c}{({y}_{1}\cdots {y}_{t})}^{d}={\Delta}^{p}{y}_{1}\cdots {y}_{l}=y.$$

**Proposition**

**5.**

Let$x\in {\mathbb{B}}_{n}$, and let$y={\Delta}^{p}{y}_{1}\cdots {y}_{l}\in USS\left(x\right)$, written in left normal form. Suppose that$USS\left(x\right)$is minimal. Suppose also that$USS\left(x\right)$has one orbit under cycling, conjugate to itself by Δ, and that $\tau \left(y\right)\ne y$. Let $v={\Delta}^{2}$, $PC\left(y\right)={p}_{1}\cdots {p}_{t}$ and $w={p}_{1}\cdots {p}_{\frac{t}{2}}{\Delta}^{-1}$ (recall from Theorem 5 that t is even), so:
If we write $c=\frac{pt+2l}{2t}$ and $d=\frac{2l}{t}$, then c and d are integers and we have: $y={v}^{c}{w}^{d}$.

$$Z\left(y\right)=\langle v,w\rangle =\langle \Delta ,\phantom{\rule{0.222222em}{0ex}}{p}_{1}\cdots {p}_{\frac{t}{2}}{\Delta}^{-1}\rangle .$$

**Proof.**

We know from Theorem 5 that t is even, but let us see why this holds. We know that there exists some $m>0$ so that $\tau \left(y\right)={\mathbf{c}}^{m}\left(y\right)$; we take m as small as possible, and this implies that ${\mathbf{c}}^{r}\left(y\right)\ne y$ for $0<r<m$. Now, it follows from their own definitions that $\tau $ and $\mathbf{c}$ commute, and therefore $y={\tau}^{2}\left(y\right)=\tau \left({\mathbf{c}}^{m}\left(y\right)\right)={\mathbf{c}}^{m}\left(\tau \left(y\right)\right)={\mathbf{c}}^{2m}\left(y\right)$. This implies that the length of the cycling orbit of y is a divisor of $2m$. It cannot be m (as ${\mathbf{c}}^{m}\left(y\right)=\tau \left(y\right)\ne y$), and it cannot be smaller than m (as ${\mathbf{c}}^{r}\left(y\right)\ne y$ for every $r<m$). Therefore, the length of the orbit is precisely $t=2m$. The generators of $Z\left(y\right)$ are then $v={\Delta}^{2}$ and $w={p}_{1}\cdots {p}_{m}{\Delta}^{-1}$.

We consider now two cases, depending on the parity of p. If p is even, since the first m cyclings transform y into $\tau \left(y\right)$, it follows that the left normal form of y is:

$$y={\Delta}^{p}\phantom{\rule{4pt}{0ex}}\left({y}_{1}\cdots {y}_{m}\right)\phantom{\rule{4pt}{0ex}}\left(\tau \left({y}_{1}\right)\cdots \tau \left({y}_{m}\right)\right)\phantom{\rule{4pt}{0ex}}\cdots \phantom{\rule{4pt}{0ex}}\left({y}_{1}\cdots {y}_{m}\right)\phantom{\rule{4pt}{0ex}}\left(\tau \left({y}_{1}\right)\cdots \tau \left({y}_{m}\right)\right).$$

Then $l=2rm$ for some positive integer r.

Recall that $PC\left(y\right)$ is the product of the first $t=2m$ conjugating elements for cycling. The first m conjugating elements are ${y}_{1},\dots ,{y}_{m}$, so ${p}_{i}={y}_{i}$ for $i=1,\dots ,m$. The following m conjugating elements are $\tau \left({y}_{1}\right),\dots ,\tau \left({y}_{m}\right)$. Hence, we have that

$$\begin{array}{ccc}\hfill PC\left(y\right)& =& {p}_{1}\cdots {p}_{t}\hfill \\ & =& {y}_{1}\cdots {y}_{m}\tau \left({y}_{1}\right)\cdots \tau \left({y}_{m}\right)\hfill \\ & =& {y}_{1}\cdots {y}_{m}\phantom{\rule{0.277778em}{0ex}}\tau ({y}_{1}\cdots {y}_{m})\hfill \\ & =& {p}_{1}\cdots {p}_{m}{\Delta}^{-1}{p}_{1}\cdots {p}_{m}\Delta \hfill \\ & =& \left({p}_{1}\cdots {p}_{m}{\Delta}^{-1}\right)\left({p}_{1}\cdots {p}_{m}{\Delta}^{-1}\right){\Delta}^{2}\hfill \\ & =& {w}^{2}v.\hfill \end{array}$$

Therefore, if p is even:
where $c=\frac{pt+2l}{2t}$ and $d=\frac{2l}{t}$ (recall that $l=2rm=rt$).

$$y={\Delta}^{p}PC{\left(y\right)}^{r}={v}^{\frac{p}{2}}{\left({w}^{2}v\right)}^{r}={v}^{\frac{p}{2}+r}{w}^{2r}={v}^{c}{w}^{d},$$

Consider now the case when p is odd. In this case, the left normal form of y is:

$$y={\Delta}^{p}\phantom{\rule{4pt}{0ex}}\left({y}_{1}\cdots {y}_{m}\right)\phantom{\rule{4pt}{0ex}}\left(\tau \left({y}_{1}\right)\cdots \tau \left({y}_{m}\right)\right)\phantom{\rule{4pt}{0ex}}\cdots \phantom{\rule{4pt}{0ex}}\left({y}_{1}\cdots {y}_{m}\right)\phantom{\rule{4pt}{0ex}}\left(\tau \left({y}_{1}\right)\cdots \tau \left({y}_{m}\right)\right)\phantom{\rule{4pt}{0ex}}\left({y}_{1}\cdots {y}_{m}\right).$$

Then $l=(2r+1)m$ for some positive integer r.

As before, $PC\left(y\right)$ is the product of the first $t=2m$ conjugating elements for cycling, but this time the first m conjugating elements for cycling are $\tau \left({y}_{1}\right),\dots ,\tau \left({y}_{m}\right)$, and therefore ${p}_{i}=\tau \left({y}_{i}\right)$ for $i=1,\dots ,m$. The following m conjugating elements are ${y}_{1},\dots ,{y}_{m}$, so we have:

$$\begin{array}{ccc}\hfill PC\left(y\right)& =& {p}_{1}\cdots {p}_{t}\hfill \\ & =& \tau \left({y}_{1}\right)\cdots \tau \left({y}_{m}\right){y}_{1}\cdots {y}_{m}\hfill \\ & =& {p}_{1}\cdots {p}_{m}\phantom{\rule{0.277778em}{0ex}}\tau ({p}_{1}\cdots {p}_{m})\hfill \\ & =& {p}_{1}\cdots {p}_{m}{\Delta}^{-1}{p}_{1}\cdots {p}_{m}\Delta \hfill \\ & =& \left({p}_{1}\cdots {p}_{m}{\Delta}^{-1}\right)\left({p}_{1}\cdots {p}_{m}{\Delta}^{-1}\right){\Delta}^{2}\hfill \\ & =& {w}^{2}v.\hfill \end{array}$$

Hence $PC\left(y\right)={w}^{2}v$ also when p is odd. Finally, we have:
where $c=\frac{pt+2l}{2t}$ and $d=\frac{2l}{t}$ (recall that $2l=2(2r+1)m=(2r+1)t$ in this case). □

$$\begin{array}{ccc}\hfill y& =& {\Delta}^{p}({y}_{1}\cdots {y}_{m})(\tau \left({y}_{1}\right)\cdots \tau \left({y}_{m}\right))\cdots ({y}_{1}\cdots {y}_{m})(\tau \left({y}_{1}\right)\cdots \tau \left({y}_{m}\right))({y}_{1}\cdots {y}_{m})\hfill \\ & =& (\tau \left({y}_{1}\right)\cdots \tau \left({y}_{m}\right))({y}_{1}\cdots {y}_{m})\cdots (\tau \left({y}_{1}\right)\cdots \tau \left({y}_{m}\right))({y}_{1}\cdots {y}_{m}){\Delta}^{p}({y}_{1}\cdots {y}_{m})\hfill \\ & =& PC{\left(y\right)}^{r}{\Delta}^{p}({y}_{1}\cdots {y}_{m})\hfill \\ & =& PC{\left(y\right)}^{r}{\Delta}^{p+1}{\Delta}^{-1}({y}_{1}\cdots {y}_{m})\hfill \\ & =& PC{\left(y\right)}^{r}{\Delta}^{p+1}({p}_{1}\cdots {p}_{m}){\Delta}^{-1}\hfill \\ & =& {\left({w}^{2}v\right)}^{r}{v}^{\frac{p+1}{2}}w\hfill \\ & =& {v}^{\frac{2r+1+p}{2}}{w}^{2r+1}\hfill \\ & =& {v}^{c}{w}^{d},\hfill \end{array}$$

## 4. An Algorithm to Find the k-th Root of a Braid

We end this paper by providing a detailed algorithm that summarizes the results from the previous section, together with a study of its complexity.

The results of the previous section are valid when $USS\left(x\right)$ is minimal (which is the generic case). In order to have an algorithm which always succeeds in finding the k-th root of a braid x, we need to include instructions on what to do if $USS\left(x\right)$ is not minimal. In those cases, one can use the algorithm in [7], which finds the k-th root of x in any case, considering the Garside group $G=\mathbb{Z}\u22c9{\left({\mathbb{B}}_{n}\right)}^{k}$, where $\mathbb{Z}=\langle \delta \rangle $ acts on ${\left({\mathbb{B}}_{n}\right)}^{k}$ by cyclic permutation of the coordinates. S. J. Lee shows that the braid x has a k-th root if and only if the ultra summit set of $\delta (x,1,\dots ,1)$ in G has an element of the form $\delta (h,\dots ,h)$. Hence, computing an ultra summit set in such a group also solves the root extraction problem in ${\mathbb{B}}_{n}$. It is not clear to us how big these ultra summit sets are in generic cases, while the algorithm presented in this paper is very simple, and generically very fast.

If one is not interested in programming the algorithm in [7], one could tell our algorithm to return `fail’ when $USS\left(x\right)$ is not minimal, obtaining an algorithm which will succeed only in the generic case. In any case, we present now the main result:

**Theorem**

**6.**

There is an algorithm that takes as input a braid $x={\Delta}^{p}{x}_{1}\dots ,{x}_{l}\in {\mathbb{B}}_{n}$ written in left normal form, and a positive integer $k>1$, and finds a braid $a\in {\mathbb{B}}_{n}$ such that ${a}^{k}=x$, or guarantees that such a braid does not exist, whose generic-case complexity is $O(l(l+n){n}^{3}logn)$.

**Proof.**

Algorithm 1, which uses the results from the previous section, constitutes a proof of the theorem. Let us describe it in detail.

The input is a braid $x={\Delta}^{p}{x}_{1}\cdots {x}_{l}\in {\mathbb{B}}_{n}$ in left normal form and an integer $k>1$. First (lines 2–5), the algorithm applies iterated cyclic sliding to x, checking at each iteration whether the resulting braid y is rigid. As we will now see, if the algorithm applies cyclic sliding $l\left(\frac{n(n-1)}{2}-1\right)$ times and no rigid braid is obtained, then we are not in the generic case stated in Theorem 4, hence the algorithm in [7] is applied. The number $l\left(\frac{n(n-1)}{2}-1\right)$ is precisely l times the length of $\Delta $ minus one. Recall from Theorem 4 that in the generic case there is a positive element $\alpha $ conjugating x to a rigid braid, such that $\ell \left(\alpha \right)<\ell \left(x\right)=l$. If $\alpha $ is the smallest possible one, there is no $\Delta $ in its normal form. Hence, the length of $\alpha $ in terms of atoms (${\sigma}_{i}$’s) is at most $l\left(\frac{n(n-1)}{2}-1\right)$. Now, from Theorem 2 we know that the smallest positive conjugator to a rigid braid is obtained by iterated cyclic sliding. Since at every iteration the conjugating element gets bigger, if we are in the generic case we must obtain a rigid element in at most $l\left(\frac{n(n-1)}{2}-1\right)$ iterations, as we claimed.

If the braid y obtained after the loop in lines 2-5 is rigid, as the algorithms stores the conjugating elements for cyclic sliding at each iteration, we will have a braid $\alpha $ such that ${\alpha}^{-1}x\alpha =y$.

Now the algorithm checks whether $USS\left(y\right)$ is minimal (the generic case we are interested in), as explained in Remark 1, checking whether the minimal simple elements for y are precisely $\iota \left(y\right)$ and $\partial \left(\phi \right(y\left)\right)$.

In general, it is not known how fast it is to compute the minimal simple elements for a given arbitrary braid y. But if y is rigid, one can easily find the minimal simple elements for y. We know that every such element must be a prefix of either $\iota \left(y\right)$ or $\partial \left(\phi \right(y\left)\right)$. For every generator ${\sigma}_{i}$, one can consider ${\sigma}_{i}^{-1}y{\sigma}_{i}$ and apply iterated cyclic sliding to it, until it becomes rigid. The obtained conjugating element is the smallest conjugating element from y to a rigid braid, having ${\sigma}_{i}$ as a prefix. We do this for all ${\sigma}_{i}$ which are prefixes of $\iota \left(y\right)$, and either we find a conjugating element which is a proper prefix of $\iota \left(y\right)$ (in which case $\iota \left(y\right)$ is not minimal), or we have shown that $\iota \left(y\right)$ is minimal. Then we do the same for all generators which are prefixes of $\partial \left(\phi \right(y\left)\right)$. The number of iterations in each case is bounded by the length of $\iota \left(y\right)$ (resp. $\partial \left(\phi \right(y\left)\right)$), which are simple elements, while the total number of generators is $n-1$. So the total number of cyclic slidings used to check whether $\iota \left(y\right)$ and $\partial \left(\phi \right(y\left)\right)$ are minimal (and hence whether $USS\left(y\right)$ is minimal) is $O\left({n}^{3}\right)$.

If $USS\left(y\right)$ is not minimal, we are not in the generic case stated in Theorem 4, hence the algorithm in [7] is applied. Otherwise, we are in one of the situations described in Propositions 3–5. The rest of the algorithm just applies these propositions together with Proposition 2: after decomposing y in the form $y={v}^{c}{w}^{d}$, it checks whether both c and d are multiples of k. If this is the case, then ${v}^{\frac{c}{k}}{w}^{\frac{d}{k}}$ is the (unique) k-th root of y, and since $x=\alpha y{\alpha}^{-1}$, it follows that $\alpha {v}^{\frac{c}{k}}{w}^{\frac{d}{k}}{\alpha}^{-1}$ is the desired k-th root of x; otherwise, the algorithm returns the sentence “A k-th root does not exist”.

We study now the complexity of our algorithm, assuming that we are in the generic case in which $USS\left(x\right)$ is minimal, and we can quickly conjugate x to a rigid braid. Computing the complement or applying $\tau $ to a simple element is $O\left(n\right)$, and computing $s\wedge t$ for two simple elements s and t is $O(nlogn)$ ([13], Proposition 9.5.1). Starting with an element y in left normal form, computing $\mathfrak{s}\left(y\right)$ consists of computing a complement ($\partial \left(\phi \right(y\left)\right)$), a meet ($\iota \left(x\right)\wedge \partial \left(\phi \right(x\left)\right)$) and the normal form of the conjugate of y by a simple element of length at most l (which is $O(lnlogn)$). Hence the total complexity of applying a cyclic sliding is $O(lnlogn)$.

The first loop (lines 2–5) is repeated $O\left(l{n}^{2}\right)$ times, checking the condition takes $O(nlogn)$ and the body of the loop takes $O(lnlogn)$. Hence the total complexity of the loop in lines 2–5 is $O({l}^{2}{n}^{3}logn)$.

The “If” statement in lines 6–7 is negligible compared with the previous “while” loop.

Next, in lines 8–9 the algorithm checks whether $\iota \left(y\right)$ and $\partial \left(\phi \right(y\left)\right)$ are minimal, for the rigid element y. By the arguments above, this applies $O\left({n}^{3}\right)$ cyclic slidings, hence the total complexity of this step is $O(l{n}^{4}logn)$.

In line 11 and in the loop in lines 12–15, some cyclings are applied. Since the involved braids are rigid of canonical length at most l, and cycling is just a cyclic permutation of the factors with a possible application of $\tau $ to a simple element, this final part of the algorithm is negligible with respect to the previous one.

Therefore, the generic-case complexity of Algorithm 1 is $O(l(l+n){n}^{3}logn)$. □

**Remark**

**2.**

Although the integers p and k are part of the input, the computed complexity does not involve them, as treating with these integers is usually negligible, in reasonable examples, with respect to the calculated complexity. If p is really big, one should take into account the number $logp$. The case of k is somehow different, as one would have a positive answer only if k is a divisor of the integers c and d (with $d\ne 0$), which are $O(p+l)$, so it makes no sense to ask for a k-th root of x, in the generic case, if k is too big compared with p and l.

Algorithm 1: ind a k-th root of a braid x. |

## Author Contributions

Investigation and writing: M.C., J.G.-M. and M.S.

## Funding

Authors partially supported by the Spanish research project MTM2016-76453-C2-1-P and FEDER. First author was also supported by EPSRC New Investigator Award EP/S010963/1. Third author was also supported by the Basque Government grant IT974-16 and Centro de Estudios Avanzados en Física, Matemáticas y Computación de la Universidad de Huelva.

## Conflicts of Interest

The authors declare no conflict of interest.

## References

- Dehornoy, P. Braid-based cryptography. In Group Theory, Statistics, and Cryptography; Volume 360 of Contemporary Mathematics; American Mathematical Society: Providence, RI, USA, 2004; pp. 5–33. [Google Scholar]
- Anshel, I.; Anshel, M.; Goldfeld, D. An algebraic method for public-key cryptography. Math. Res. Lett.
**1999**, 6, 287–291. [Google Scholar] [CrossRef] - Ko, K.H.; Lee, S.J.; Cheon, J.H.; Han, J.W.; Kang, J.; Park, C. New public-key cryptosystem using braid groups. In Advances in Cryptology — CRYPTO 2000; Bellare, M., Ed.; Springer: Berlin/Heidelberg, Germany, 2000; pp. 166–183. [Google Scholar]
- Gebhardt, V. A new approach to the conjugacy problem in Garside groups. J. Algebra
**2005**, 292, 282–302. [Google Scholar] [CrossRef] - Gebhardt, V.; González-Meneses, J. Solving the conjugacy problem in Garside groups by cyclic sliding. J. Symb. Comput.
**2010**, 45, 629–656. [Google Scholar] [CrossRef] - Gebhardt, V.; González-Meneses, J. The cyclic sliding operation in Garside groups. Math. Z.
**2010**, 265, 85–114. [Google Scholar] [CrossRef] - Lee, S.-J. Garside groups are strongly translation discrete. J. Algebra
**2007**, 309, 594–609. [Google Scholar] [CrossRef] - Sibert, H. Extraction of roots in Garside groups. Comm. Algebra
**2002**, 30, 2915–2927. [Google Scholar] [CrossRef] - Dehornoy, P. Foundations of Garside Theory; Volume 22 of EMS Tracts in Mathematics; Digne, F., Godelle, E., Krammer, D., Michel, J., Eds.; European Mathematical Society (EMS): Zürich, Switzerland, 2015. [Google Scholar]
- Artin, E. Theory of Braids. Ann. Math.
**1947**, 48, 101–126. [Google Scholar] [CrossRef] - Chow, W.-L. On the algebraical braid group. Ann. Math.
**1948**, 49, 654–658. [Google Scholar] [CrossRef] - Elrifai, E.A.; Morton, H.R. Algorithms for positive braids. Q. J. Math.
**1994**, 45, 479–497. [Google Scholar] [CrossRef] - Epstein, D.A.; Cannon, J.W.; Holt, D.F.; Levy, S.V.; Paterson, M.S.; Thurston, W.P. Word Processing in Groups; A. K. Peters, Ltd.: Natick, MA, USA, 1992. [Google Scholar]
- Birman, J.S.; Ko, K.H.; Lee, S.J. The Infimum, Supremum, and Geodesic Length of a Braid Conjugacy Class. Adv. Math.
**2001**, 164, 41–56. [Google Scholar] [CrossRef] - Birman, J.S.; Gebhardt, V.; González-Meneses, J. Conjugacy in Garside groups. I. Cyclings, powers and rigidity. Groups Geom. Dyn.
**2007**, 1, 221–279. [Google Scholar] [CrossRef] - Birman, J.S.; Gebhardt, V.; González-Meneses, J. Conjugacy in Garside groups II: Structure of the ultra summit set. Groups Geom. Dyn.
**2008**, 2, 13–61. [Google Scholar] [CrossRef] - González-Meneses, J.; Valladares, D. On the centralizer of generic braids. J. Group Theory
**2018**, 21, 973–1000. [Google Scholar] [CrossRef] - Charney, R. Artin groups of finite type are biautomatic. Math. Ann.
**1992**, 292, 671–683. [Google Scholar] [CrossRef] - Caruso, S.; Wiest, B. On the genericity of pseudo-Anosov braids II: Conjugations to rigid braids. Groups Geom. Dyn.
**2017**, 11, 549–565. [Google Scholar] [CrossRef] - González-Meneses, J. The n-th root of a braid is unique up to conjugacy. Algebraic Geom. Topol.
**2003**, 3, 1103–1118. [Google Scholar] [CrossRef]

© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).