Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2016/iii/paper-120/1/f/solution

Construct as above, and run the equality group multiplier automaton on . Both inputs belong to , so
The final finite-state automaton run takes time. The word problem for a group is therefore decidable in quadratic time:
The empty word is accepted immediately. Comparing and as literal strings would be incorrect, since an automatic structure for a group need not give unique representatives.

New to topics? Read the docs here!