---
title: "Local Computations"
canonical: "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/EllipticCurvesOverFunctionFields/local.html"
source: "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/EllipticCurvesOverFunctionFields/local.md"
part: "Arithmetic Geometry"
chapter: "Elliptic Curves over Function Fields"
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": "Elliptic Curves over Function Fields", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/EllipticCurvesOverFunctionFields/index-elliptic-curves-over-function-fields.md"}
prev: {"title": "An Overview of Relevant Theory", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/EllipticCurvesOverFunctionFields/theory.md"}
next: {"title": "Elliptic Curves of Given Conductor", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/EllipticCurvesOverFunctionFields/ecsearch.md"}
intrinsics:
  - {"name": "BadPlaces", "signature": "BadPlaces(E): CrvEll -> [ PlcFunElt ]"}
  - {"name": "Conductor", "signature": "Conductor(E): CrvEll -> DivFunElt"}
  - {"name": "LocalInformation", "signature": "LocalInformation(E, Pl): CrvEll[FldFun], PlcFunElt -> Tup, CrvEll"}
  - {"name": "LocalInformation", "signature": "LocalInformation(E, f): CrvEll[FldFunRat], FldFunRatUElt -> Tup, CrvEll"}
  - {"name": "LocalInformation", "signature": "LocalInformation(E): CrvEll -> [ < Tup > ]"}
  - {"name": "KodairaSymbols", "signature": "KodairaSymbols(E): CrvEll -> [ <SymKod, RngIntElt> ]"}
  - {"name": "NumberOfComponents", "signature": "NumberOfComponents(K): SymKod -> RngIntElt"}
  - {"name": "MinimalModel", "signature": "MinimalModel(E): CrvEll[FldFunG] -> CrvEll, MapIsoSch"}
  - {"name": "MinimalDegreeModel", "signature": "MinimalDegreeModel(E): CrvEll[FldFunRat] -> CrvEll, Map, Map"}
  - {"name": "IsConstantCurve", "signature": "IsConstantCurve(E): CrvEll[FldFunRat] -> BoolElt, CrvEll"}
  - {"name": "TraceOfFrobenius", "signature": "TraceOfFrobenius(E, p): CrvEll[FldFunRat], RngElt -> BoolElt, CrvEll"}
---

# Local Computations

<a id="function-badplaces-crvell"></a>
## `BadPlaces(E): CrvEll -> [ PlcFunElt ]`

A sequence containing the places where the given model of $E$ has bad reduction, for an elliptic curve $E$ defined over a function field.

<a id="function-conductor-crvell"></a>
## `Conductor(E): CrvEll -> DivFunElt`

The conductor of an elliptic curve $E$ defined over a function field $F$. In general this is returned as a divisor of $F$. When $F$ is a rational function field it is returned as a sequence of tuples $\langle f, e \rangle$ of places (specified by field elements $f$) and multiplicities $e$.

<a id="function-localinformation-crvell-fldfun-plcfunelt"></a>
## `LocalInformation(E, Pl): CrvEll[FldFun], PlcFunElt -> Tup, CrvEll`

<a id="function-localinformation-crvell-fldfunrat-fldfunratuelt"></a>
## `LocalInformation(E, f): CrvEll[FldFunRat], FldFunRatUElt -> Tup, CrvEll`

This function performs Tate’s algorithm for an elliptic curve $E$ over a function field to determine the reduction type and a minimal model at the given place $Pl$. When $E$ is defined over a rational function field $F(t)$ the place is simply given as a field element $f$ (which must either be $1/t$ or an irreducible polynomial in $t$.)

The model is not required to be integral on input. The output is of the form $\langle Pl, v_p(d), f_p, c_p, K, split \rangle$ and $E_{min}$ where $Pl$ is the place, $v_p(d)$ is the valuation of the local minimal discriminant, $f_p$ is the valuation of the conductor, $c_p$ is the Tamagawa number, $K$ is the Kodaira Symbol, $split$ is a boolean that is false if reduction is of nonsplit multiplicative type and true otherwise, and $E_{min}$ is a model of $E$ (integral and) minimal at $Pl$.

<a id="function-localinformation-crvell"></a>
## `LocalInformation(E): CrvEll -> [ < Tup > ]`

Returns a sequence of tuples as described above for all places of bad reduction of the elliptic curve $E$.

<a id="function-kodairasymbols-crvell"></a>
## `KodairaSymbols(E): CrvEll -> [ <SymKod, RngIntElt> ]`

A sequence of tuples $\left< K, n \right>$, corresponding to the places of bad reduction of the elliptic curve $E$. Here $K$ is the Kodaira symbol and $n$ is the degree of the corresponding place.

<a id="function-numberofcomponents-symkod"></a>
## `NumberOfComponents(K): SymKod -> RngIntElt`

The number of components of a fibre with the Kodaira symbol $K$.

<a id="function-minimalmodel-crvell-fldfung"></a>
## `MinimalModel(E): CrvEll[FldFunG] -> CrvEll, MapIsoSch`

A model of the elliptic curve $E$ (defined over a function field, which must have genus $0$) that is minimal at all finite places, together with a map from $E$ to this minimal model.

<a id="function-minimaldegreemodel-crvell-fldfunrat"></a>
## `MinimalDegreeModel(E): CrvEll[FldFunRat] -> CrvEll, Map, Map`

A model of the elliptic curve $E$ (defined over a rational function field) which minimises the quantity Max([Degree$(a_i)/i$]), where $a_1, a_2, a_3, a_4, a_6$ are the Weierstrass coefficients.

<a id="function-isconstantcurve-crvell-fldfunrat"></a>
## `IsConstantCurve(E): CrvEll[FldFunRat] -> BoolElt, CrvEll`

For an elliptic curve $E$ defined over a rational function field $F(t)$, the function returns `true` if and only if $E$ is isomorphic over $F(t)$ to an elliptic curve with coefficients in $F$ (and also returns such a curve in that case).

<a id="function-traceoffrobenius-crvell-fldfunrat-rngelt"></a>
## `TraceOfFrobenius(E, p): CrvEll[FldFunRat], RngElt -> BoolElt, CrvEll`

The trace of Frobenius $a_p$ for the reduction of $E$ at the place $p$, specified as an element of the base field.
