---
title: "Abstract Group Predicates"
canonical: "https://docs.magma-maths.org/v2.30-1/FiniteGroups/MatrixGroupsOverGeneralRings/abstract-group.html"
source: "https://docs.magma-maths.org/v2.30-1/FiniteGroups/MatrixGroupsOverGeneralRings/abstract-group.md"
part: "Finite Groups"
chapter: "Matrix Groups over General Rings"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Finite Groups", "source": "https://docs.magma-maths.org/v2.30-1/FiniteGroups/index-finite-groups.md"}
  - {"title": "Matrix Groups over General Rings", "source": "https://docs.magma-maths.org/v2.30-1/FiniteGroups/MatrixGroupsOverGeneralRings/index-matrix-groups-over-general-rings.md"}
prev: {"title": "Global Properties", "source": "https://docs.magma-maths.org/v2.30-1/FiniteGroups/MatrixGroupsOverGeneralRings/global-properties.md"}
next: {"title": "Conjugacy", "source": "https://docs.magma-maths.org/v2.30-1/FiniteGroups/MatrixGroupsOverGeneralRings/conjugate.md"}
intrinsics:
  - {"name": "IsAbelian", "signature": "IsAbelian(G): GrpMat -> BoolElt"}
  - {"name": "IsCyclic", "signature": "IsCyclic(G): GrpMat -> BoolElt"}
  - {"name": "IsElementaryAbelian", "signature": "IsElementaryAbelian(G): GrpMat -> BoolElt"}
  - {"name": "IsNilpotent", "signature": "IsNilpotent(G): GrpMat -> BoolElt"}
  - {"name": "IsSoluble", "signature": "IsSoluble(G): GrpMat -> BoolElt"}
  - {"name": "IsSolvable", "signature": "IsSolvable(G): GrpMat -> BoolElt"}
  - {"name": "IsPerfect", "signature": "IsPerfect(G): GrpMat -> BoolElt"}
  - {"name": "IsSimple", "signature": "IsSimple(G): GrpMat -> BoolElt"}
examples:
  - "ex-3d20f4"
---

# Abstract Group Predicates

<a id="function-isabelian-grpmat"></a>
## `IsAbelian(G): GrpMat -> BoolElt`

Returns `true` if the group $G$ is abelian, `false` otherwise.

<a id="function-iscyclic-grpmat"></a>
## `IsCyclic(G): GrpMat -> BoolElt`

Returns `true` if the group $G$ is cyclic, `false` otherwise.

<a id="function-iselementaryabelian-grpmat"></a>
## `IsElementaryAbelian(G): GrpMat -> BoolElt`

Returns `true` if the group $G$ is elementary abelian, `false` otherwise.

<a id="function-isnilpotent-grpmat"></a>
## `IsNilpotent(G): GrpMat -> BoolElt`

Returns `true` if the group $G$ is nilpotent, `false` otherwise.

<a id="function-issoluble-grpmat"></a>
## `IsSoluble(G): GrpMat -> BoolElt`

<a id="function-issolvable-grpmat"></a>
## `IsSolvable(G): GrpMat -> BoolElt`

Returns `true` if the group $G$ is soluble, `false` otherwise.

<a id="function-isperfect-grpmat"></a>
## `IsPerfect(G): GrpMat -> BoolElt`

Returns `true` if the group $G$ is perfect, `false` otherwise.

<a id="function-issimple-grpmat"></a>
## `IsSimple(G): GrpMat -> BoolElt`

Returns `true` if the group $G$ is simple, `false` otherwise.

<a id="example-ex-3d20f4"></a>
## `Example: Order and Predicates of a Matrix Group (ex-3d20f4)`

We illustrate the functions of the last two section by applying them to a group of degree $6$ over the field ${\bf F}_{9}$.

```magma
> F9<w> := GF(9);
> y := w^6;  z := w^2;
> J2A2 := MatrixGroup< 6, F9 | [y, 1-y, z,0,0,0, 1-y ,z, -1,0,0,0, z, -1,1+y,
>                               0,0,0,0,0,0, z, 1+y, y, 0,0,0,1+y, y, -1, 0,
>                               0,0, y ,-1,1-y],
>                              [1+y, z, y, 0,0,0, z, 1+y, z, 0,0,0, y, z, 1+y,
>                               0,0,0, z, 0,0,1-y, y, z, 0, z, 0, y, 1-y, y,
>                               0,0, z, z, y, 1-y],
>                              [0,0,0,y, 0,0, 0,0,0,0,y, 0, 0,0,0,0,0,y,
>                               y, 0,0,0,0,0, 0,y, 0,0,0,0, 0,0,y, 0,0,0] >;
> J2A2;
MatrixGroup(6, GF(3, 2))
Generators:
[w^6 w^3 w^2   0   0   0]
[w^3 w^2   2   0   0   0]
[w^2   2   w   0   0   0]
[  0   0   0 w^2   w w^6]
[  0   0   0   w w^6   2]
[  0   0   0 w^6   2 w^3]

[  w w^2 w^6   0   0   0]
[w^2   w w^2   0   0   0]
[w^6 w^2   w   0   0   0]
[w^2   0   0 w^3 w^6 w^2]
[  0 w^2   0 w^6 w^3 w^6]
[  0   0 w^2 w^2 w^6 w^3]

[  0   0   0 w^6   0   0]
[  0   0   0   0 w^6   0]
[  0   0   0   0   0 w^6]
[w^6   0   0   0   0   0]
[  0 w^6   0   0   0   0]
[  0   0 w^6   0   0   0]
> Order(J2A2);
1209600
> FactoredOrder(J2A2);
[ <2, 8>, <3, 3>, <5, 2>, <7, 1> ]
> IsSoluble(J2A2);
false
> IsPerfect(J2A2);
true
> IsSimple(J2A2);
false
```

Thus the group is non-soluble and perfect but it is not a simple group. We examine its Sylow$2$-subgroup.

```magma
> S2 := SylowSubgroup(J2A2, 2);
> IsAbelian(S2);
false
> IsNilpotent(S2);
true
> IsSpecial(S2);
false
```
