---
title: "Local Solubility"
canonical: "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/ModelsOfGenusOneCurves/local-solubility.html"
source: "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/ModelsOfGenusOneCurves/local-solubility.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": "Minimisation and Reduction", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/ModelsOfGenusOneCurves/g1minred.md"}
next: {"title": "Genus One Models as Coverings", "source": "https://docs.magma-maths.org/v2.30-1/ArithmeticGeometry/ModelsOfGenusOneCurves/coverings.md"}
intrinsics:
  - {"name": "IsLocallySoluble", "signature": "IsLocallySoluble(model, p): ModelG1, RngIntElt -> BoolElt, Any"}
  - {"name": "IsLocallySoluble", "signature": "IsLocallySoluble(model): ModelG1 -> BoolElt"}
---

# Local Solubility

Efficient routines are provided for testing local solubility for models of all degrees over ${\mathbb{Q}}$.

<a id="function-islocallysoluble-modelg1-rngintelt"></a>
## `IsLocallySoluble(model, p): ModelG1, RngIntElt -> BoolElt, Any`

```magma
Transformation: BoolElt                    Default: false
Random        : BoolElt                    Default: false
LocSol        : Verbose                    Default: 1
```

This determines whether the given genus one model (which must be defined over ${\mathbb{Q}}$ and nonsingular) has a ${\mathbb{Q}}_p$-rational point. When this is the case, then it also returns a ${\mathbb{Q}}_p$ point.

If the optional argument `Transformation` is `true`, then the second returned value is *not* a point but instead a transformation $g$ such that `g*model` has a smooth point on its reduction modulo $p$.

If `Random` is `true`, then (for models of some degrees, including $4$) the local point returned is not always the same, when the function is called several times with the same input.

<a id="function-islocallysoluble-modelg1"></a>
## `IsLocallySoluble(model): ModelG1 -> BoolElt`

This determines whether the given genus one model (which must be defined over ${\mathbb{Q}}$ and nonsingular) has a ${\mathbb{Q}}_p$-rational point for all primes $p$.

This is done by calling `IsLocallySoluble(model, p)` for all bad primes $p$.
