---
title: "Parents of Maps"
canonical: "https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/Mappings/parents.html"
source: "https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/Mappings/parents.md"
part: "Sets, Sequences, and Mappings"
chapter: "Mappings"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Sets, Sequences, and Mappings", "source": "https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/index-sets-sequences-mappings.md"}
  - {"title": "Mappings", "source": "https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/Mappings/index-mappings.md"}
prev: {"title": "Images and Preimages", "source": "https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/Mappings/image-preimage.md"}
next: {"title": "Basic Rings", "source": "https://docs.magma-maths.org/v2.30-1/BasicRings/index-basic-rings.md"}
intrinsics:
  - {"name": "Parent", "signature": "Parent(m): Map -> PowMap"}
  - {"name": "Domain", "signature": "Domain(P): PowMap -> Str"}
  - {"name": "Codomain", "signature": "Codomain(P): PowMap -> Str"}
  - {"name": "Maps", "signature": "Maps(D, C): Str, Str -> PowMap"}
  - {"name": "Iso", "signature": "Iso(D, C): Str, Str -> PowMap"}
  - {"name": "Aut", "signature": "Aut(S): Str -> PowMapAut"}
---

# Parents of Maps

Parents of maps are structures knowing a domain and a codomain. They are often used in automorphism group calculations where a map is returned from an automorphism group into the set of all automorphisms of some structure. Parents of maps all inherit from the type `PowMap`. The type `PowMapAut` which inherits from `PowMap` is the type which the parents of automorphisms inherit from.

There is also a power structure of maps (of type `PowStr`, similar to that of other structures) which is used as a common overstructure of the different parents.

<a id="function-parent-map"></a>
## `Parent(m): Map -> PowMap`

The parent of $m$.

<a id="function-domain-powmap"></a>
## `Domain(P): PowMap -> Str`

<a id="function-codomain-powmap"></a>
## `Codomain(P): PowMap -> Str`

The domain and codomain of the maps for which $P$ is the parent.

<a id="function-maps-str-str"></a>
## `Maps(D, C): Str, Str -> PowMap`

<a id="function-iso-str-str"></a>
## `Iso(D, C): Str, Str -> PowMap`

The parent of maps (or isomorphisms) from $D$ to $C$. `Iso` will only return a different structure to `Maps` if it has been specifically implemented for such maps.

<a id="function-aut-str"></a>
## `Aut(S): Str -> PowMapAut`

The parent of automorphisms of $S$.
