---
title: "Addition of Extra Generators"
canonical: "https://docs.magma-maths.org/v2.30-1/FinitelyPresentedGroups/GroupsOfStraightLinePrograms/extra-generators.html"
source: "https://docs.magma-maths.org/v2.30-1/FinitelyPresentedGroups/GroupsOfStraightLinePrograms/extra-generators.md"
part: "Finitely Presented Groups"
chapter: "Groups of Straight-Line Programs"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Finitely Presented Groups", "source": "https://docs.magma-maths.org/v2.30-1/FinitelyPresentedGroups/index-finitely-presented-groups.md"}
  - {"title": "Groups of Straight-Line Programs", "source": "https://docs.magma-maths.org/v2.30-1/FinitelyPresentedGroups/GroupsOfStraightLinePrograms/index-groups-of-straight-line-programs.md"}
prev: {"title": "Arithmetic with Elements", "source": "https://docs.magma-maths.org/v2.30-1/FinitelyPresentedGroups/GroupsOfStraightLinePrograms/operation.md"}
next: {"title": "Creating Homomorphisms", "source": "https://docs.magma-maths.org/v2.30-1/FinitelyPresentedGroups/GroupsOfStraightLinePrograms/homomorphisms.md"}
intrinsics:
  - {"name": "AddRedundantGenerators", "signature": "AddRedundantGenerators(G, Q): GrpSLP, [ GrpSLPElt ] -> GrpSLP"}
---

# Addition of Extra Generators

It is often the case that a particular expression in the original generators is important in some homomorphic image of the group in the sense that it will very often form a common subexpression of subsequent expression. For this reason, Magma provides facilities to build related SLP-groups in which particular words acquire generator status themselves.

<a id="function-addredundantgenerators-grpslp-grpslpelt"></a>
## `AddRedundantGenerators(G, Q): GrpSLP, [ GrpSLPElt ] -> GrpSLP`

An SLP-group $H$ on $n + q$ generators (where $G$ has $n$ generators and $Q$ has $q$ elements). Furthermore, the identification of $G.i$ with $H.i$ ($i\leq n$) and of $Q[i]$ with $H.(n+i)$ is maintained, allowing coercion between $G$ and $H$ and also simple definition of homomorphisms.
