---
title: "Creation of Lazy Series Rings"
canonical: "https://docs.magma-maths.org/v2.30-1/LocalFields/LazyPowerSeriesRings/creation.html"
source: "https://docs.magma-maths.org/v2.30-1/LocalFields/LazyPowerSeriesRings/creation.md"
part: "Local Fields"
chapter: "Lazy Power Series Rings"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Local Fields", "source": "https://docs.magma-maths.org/v2.30-1/LocalFields/index-local-fields.md"}
  - {"title": "Lazy Power Series Rings", "source": "https://docs.magma-maths.org/v2.30-1/LocalFields/LazyPowerSeriesRings/index-lazy-power-series-rings.md"}
prev: {"title": "Introduction", "source": "https://docs.magma-maths.org/v2.30-1/LocalFields/LazyPowerSeriesRings/introduction.md"}
next: {"title": "Functions on Lazy Series Rings", "source": "https://docs.magma-maths.org/v2.30-1/LocalFields/LazyPowerSeriesRings/ring_ops.md"}
intrinsics:
  - {"name": "LazyPowerSeriesRing", "signature": "LazyPowerSeriesRing(C, n): Rng, RngIntElt -> RngPowLaz"}
  - {"name": "ChangeRing", "signature": "ChangeRing(L, C): RngPowLaz, Rng -> RngPowLaz, Map"}
examples:
  - "ex-085add"
---

# Creation of Lazy Series Rings

Both univariate and multivariate lazy series rings can be created.

<a id="function-lazypowerseriesring-rng-rngintelt"></a>
## `LazyPowerSeriesRing(C, n): Rng, RngIntElt -> RngPowLaz`

The lazy power series ring with coefficient ring $C$ and $n$ variables. Any ring is valid input for $C$ and $n$ can be any positive integer.

<a id="function-changering-rngpowlaz-rng"></a>
## `ChangeRing(L, C): RngPowLaz, Rng -> RngPowLaz, Map`

Given a lazy series ring $L$ defined over a ring $R$ and some ring $C$, return the lazy series ring with coefficient ring $C$ but the same number of variables as $L$. A map from $L$ to the new lazy series ring is also returned which takes a series $s$ in $L$ to a series whose coefficients are those of $s$ coerced into $C$.

<a id="example-ex-085add"></a>
## `Example: Creating Lazy Power Series Rings (ex-085add)`

Here we illustrate the creation and printing of lazy power series rings.

```magma
> L := LazyPowerSeriesRing(Rationals(), 5);
> L;
Lazy power series ring in 5 variables over Rational Field
> ChangeRing(L, MaximalOrder(CyclotomicField(7)));
Lazy power series ring in 5 variables over Maximal Equation Order with defining
polynomial x^6 + x^5 + x^4 + x^3 + x^2 + x + 1 over Z
```
