---
title: "Attributes of Genus One Models"
canonical: "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/ModelsOfGenusOneCurves/attributes.html"
source: "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/ModelsOfGenusOneCurves/attributes.md"
part: "Arithmetic Geometry"
chapter: "Models of Genus One Curves"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Arithmetic Geometry", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/index-arithmetic-geometry.md"}
  - {"title": "Models of Genus One Curves", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/ModelsOfGenusOneCurves/index-models-of-genus-one-curves.md"}
prev: {"title": "Creation of Genus One Models", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/ModelsOfGenusOneCurves/creation.md"}
next: {"title": "Transformations between Genus One Models", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/ModelsOfGenusOneCurves/transformations.md"}
intrinsics:
  - {"name": "Degree", "signature": "Degree(model): ModelG1 -> RngIntElt"}
  - {"name": "DefiningEquations", "signature": "DefiningEquations(model): ModelG1 -> [ RngMPolElt ]"}
  - {"name": "Equations", "signature": "Equations(model): ModelG1 -> [ RngMPolElt ]"}
  - {"name": "Matrix", "signature": "Matrix(model): ModelG1 -> Mtrx"}
  - {"name": "Curve", "signature": "Curve(model): ModelG1 -> Crv"}
  - {"name": "HyperellipticCurve", "signature": "HyperellipticCurve(model): ModelG1 -> CrvHyp"}
  - {"name": "QuadricIntersection", "signature": "QuadricIntersection(model): ModelG1 -> Crv"}
  - {"name": "Matrices", "signature": "Matrices(model): ModelG1 -> [ AlgMatElt ]"}
  - {"name": "BaseRing", "signature": "BaseRing(model): ModelG1 -> Rng"}
  - {"name": "PolynomialRing", "signature": "PolynomialRing(model): ModelG1 -> RngMPol"}
  - {"name": "ModelToSequence", "signature": "ModelToSequence(model): ModelG1 -> [ RngElt ]"}
  - {"name": "Eltseq", "signature": "Eltseq(model): ModelG1 -> [ RngElt ]"}
  - {"name": "ModelToString", "signature": "ModelToString(model): ModelG1 -> MonStgElt"}
---

# Attributes of Genus One Models

<a id="function-degree-modelg1"></a>
## `Degree(model): ModelG1 -> RngIntElt`

The degree (2, 3, 4, or 5) of the given model.

<a id="function-definingequations-modelg1"></a>
## `DefiningEquations(model): ModelG1 -> [ RngMPolElt ]`

A sequence containing the equations by which the given genus one model (which must have degree 2, 3, or 4) is defined.

<a id="function-equations-modelg1"></a>
## `Equations(model): ModelG1 -> [ RngMPolElt ]`

A sequence containing equations for the scheme associated to the given genus one model (of any degree). For degree 2, 3, or 4 this is the same as `DefiningEquations`.

<a id="function-matrix-modelg1"></a>
## `Matrix(model): ModelG1 -> Mtrx`

The defining matrix of a genus one model of degree 5.

<a id="function-curve-modelg1"></a>
## `Curve(model): ModelG1 -> Crv`

<a id="function-hyperellipticcurve-modelg1"></a>
## `HyperellipticCurve(model): ModelG1 -> CrvHyp`

<a id="function-quadricintersection-modelg1"></a>
## `QuadricIntersection(model): ModelG1 -> Crv`

The curve associated to the given genus one model.

In the degree $2$ case the curve is hyperelliptic of the form $y^2 + f(x,z) y - g(x,z) = 0$, but is only created explicitly as a hyperelliptic curve when `HyperellipticCurve` is called; otherwise it is created as a general curve in a weighted projective space in which the variables $x$, $z$, and $y$ have weights 1, 1, and 2).

In the degree 4 case the curve is an intersection of two quadrics in ${\mathbb{P}}^3$.

An error results in degenerate cases where the equations of the model do not define a curve

<a id="function-matrices-modelg1"></a>
## `Matrices(model): ModelG1 -> [ AlgMatElt ]`

For a genus one model of degree 4 this function returns a sequence containing two $4 \times 4$ symmetric matrices representing the quadrics.

<a id="function-basering-modelg1"></a>
## `BaseRing(model): ModelG1 -> Rng`

The coefficient ring of the given model.

<a id="function-polynomialring-modelg1"></a>
## `PolynomialRing(model): ModelG1 -> RngMPol`

The polynomial ring used to define the model.

<a id="function-modeltosequence-modelg1"></a>
## `ModelToSequence(model): ModelG1 -> [ RngElt ]`

<a id="function-eltseq-modelg1"></a>
## `Eltseq(model): ModelG1 -> [ RngElt ]`

A sequence containing the defining coefficients of the given genus one model.

<a id="function-modeltostring-modelg1"></a>
## `ModelToString(model): ModelG1 -> MonStgElt`

A string containing the defining coefficients of the given genus one model.
