Creating all homomorphisms into a finite group
Let G=<g1,…,gn|r1,…rk> be a finite presentation of a group and let S be a finite group, let's say for concreteness the symmetric group on 4 elements.
We want to create all homomorphisms G→S.
One could just do the brute force search by looking at all maps from the set of generators g1,…,gn to S and check which ones are homomorphisms.
Is this (or a more clever way of doing this) already implemented?