---
title: "Automorphisms"
canonical: "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularCurves/automorphisms-2.html"
source: "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularCurves/automorphisms-2.md"
part: "Modular Arithmetic Geometry"
chapter: "Modular Curves"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Modular Arithmetic Geometry", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/index-modular-arithmetic-geometry.md"}
  - {"title": "Modular Curves", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularCurves/index-modular-curves.md"}
prev: {"title": "Associated Structures", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularCurves/functions.md"}
next: {"title": "Class Polynomials", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularCurves/attribute-3.md"}
intrinsics:
  - {"name": "CanonicalInvolution", "signature": "CanonicalInvolution(X): CrvMod -> MapSch"}
  - {"name": "AtkinLehnerInvolution", "signature": "AtkinLehnerInvolution(X, N): CrvMod, RngIntElt -> MapSch"}
---

# Automorphisms

<a id="function-canonicalinvolution-crvmod"></a>
## `CanonicalInvolution(X): CrvMod -> MapSch`

<a id="function-atkinlehnerinvolution-crvmod-rngintelt"></a>
## `AtkinLehnerInvolution(X, N): CrvMod, RngIntElt -> MapSch`

Given a projective modular curve $X = X_0(N)$, the function returns the Atkin-Lehner involution of the modular curve as a map of schemes. Currently, the only Atkin-Lehner involution returned is that for $N$ equal to the level of $X$.
