Macaulay2 » Documentation
Packages » WittVectors :: truncate(ZZ,WittPolynomialRing)
next | previous | forward | backward | up | index | toc

truncate(ZZ,WittPolynomialRing) -- Crop Witt ring to the ring of Witt vectors of a given length

Description

This crops W to have length n if n is less than or equal than the length of W.

i1 : S=ZZ/3[x,y]

o1 = S

o1 : PolynomialRing
i2 : W=witt(3,S)

o2 = Witt (S)
         3

o2 : WittPolynomialRing
i3 : truncate(2,W)

o3 = WittRingMap Witt (S) <-- Witt (S)
                     2            3

o3 : WittRingMap

This should give V a Witt ring with WittLength 2

We get an error if we try to truncate to something longer. For instance, truncate(4,W) above would return an error.

Ways to use this method:


The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/WittVectors/Documentation.m2:888:0.